feat: Python Support
Describe the feature you'd like to request
I think adding support for other languages, like: Python, Go, etc. to uploadthing will make it a truly universal solution for developers, specially if their apps use multiple languages
Describe the solution you'd like to see
I guess having a similar API endpoint would suffice. The Upload Button and UploadZone can be created with PyQt and Tkinter (and similar ui libraries/frameworks for other languages) which I think is gonna cover the needs of most python users.
Additional information
I'm down to helping to filing a PR to implement that. I have a good experience in python (don't mind my non-existent portfolio) and Flask, but I don't have that much experience in security other than best practices. So, I'd be expecting a security audit/review.
๐จโ๐งโ๐ฆ Contributing
- [X] ๐โโ๏ธ Yes, I'd be down to file a PR implementing this feature!
We provide documentation on implementing these adapter types in our docs with partial examples in Python, PHP and Go for key parts of the upload process. Additionally, we offer an OpenAPI spec for developing these adapters.
While our current team's capacity and priorities do not include expanding official language support within the UploadThing repository, we enthusiastically welcome community-developed packages. We are committed to supporting the broader developer ecosystem by potentially featuring these community contributions in our documentation.
@markflorkowski I did find this on PyPI. I guess you should merge that with the official uploadthing api
We are not primarily python developers, so at this time we do not want to take on the burden of officially supporting Python. That package is linked in our documentation for reference.
i made that package a while back as a PoC - it's not an official SDK and it's not currently up to date with the latest v7 changes
if you wanna help out updating/maintaining i'd be more than happy to jump on a call and talk about it
@juliusmarminge this is cool, will integrate it into my latest project and provide feedback.
Was browsing the issues looking for something totally not related to thsi one and I wish I had stumbled upon earlier but needed something similar a few weeks ago and quickly wrapped up something: https://github.com/farmisen/upyloadthing - it's not as featured as @juliusmarminge POC and do not expose FastAPI route handlers but cover most of v7 endpoints and only miss a cpl I didn't need for my use case that I will add as soon as I have a minute.