Skip to main content

Supabase Storage client for Python.

Project description

Storage-py

Python Client library to interact with Supabase Storage.

How to use

As it takes some effort to get the headers. We suggest that you use the storage functionality through the main Supabase Python Client

from storage3 import create_client

url = "https://<your_supabase_id>.supabase.co/storage/v1"
key = "<your api key>"
headers = {"apiKey": key, "Authorization": f"Bearer {key}"}

# pass in is_async=True to create an async client
storage_client = create_client(url, headers, is_async=False)

storage_client.list_buckets()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

storage3-0.3.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

storage3-0.3.4-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file storage3-0.3.4.tar.gz.

File metadata

  • Download URL: storage3-0.3.4.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for storage3-0.3.4.tar.gz
Algorithm Hash digest
SHA256 89a9e56bcb7262417452d559448f8c0b5ab54a613f97bbc33cb78647c0366a5a
MD5 3f81b703a79f1b9a6623be4cd80ac834
BLAKE2b-256 83000446de2e6ad487a05b4df4d19bd912a1e74e17085084ef31a35be4493d38

See more details on using hashes here.

Provenance

File details

Details for the file storage3-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: storage3-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.5.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for storage3-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2801e9abead0513fbef0f4736220e3b26678104a955f535d1280094696e2084b
MD5 e30851177f9a48dd0afc080104aa2294
BLAKE2b-256 f40a99923ff0985f5d545e6ac9bc2005f94e3b938342a74c2a5679fe2efeab12

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page