© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
1 reply
Mihai Andrei

Python Storage

Hello! I'm trying to upload a file though supabase-py. I take the file via an api route, and i try to do:

response = supabase.storage().from_("images").upload(filename, file)
response = supabase.storage().from_("images").upload(filename, file)


But it seems the "file" should be a path? So i would need to store the file on my server, upload it to supabase and delete it later?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deleting From Storage in Python
SupabaseSSupabase / help-and-questions
13mo ago
Supabase S3 Storage - StorageUnknownError code: -32603
SupabaseSSupabase / help-and-questions
2y ago
Can't interact with files in storage (StorageApiError: Object not found)
SupabaseSSupabase / help-and-questions
3y ago
python functions
SupabaseSSupabase / help-and-questions
3mo ago