Skip to main content

A Python client for the Supabase Management API

Project description

Supabase Management Python Client

A Python client for the Supabase Management API.

Installation

pip install supabase-management

Usage

import asyncio
from supabase_management import SupabaseManagementAPI

async def main():
    access_token = "YOUR_SUPABASE_ACCESS_TOKEN"
    supabase = SupabaseManagementAPI(access_token)

    # Example: Get organizations
    organizations = await supabase.get_organizations()
    print("Organizations:", organizations)

    # Example: Create a project (replace with your actual organization ID and project details)
    # try:
    #     new_project = await supabase.create_project({
    #         "name": "my-new-project",
    #         "organization_id": "your-org-id",
    #         "plan": "free"
    #     })
    #     print("New Project:", new_project)
    # except Exception as e:
    #     print(f"Error creating project: {e}")

if __name__ == "__main__":
    asyncio.run(main())

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

supabase-management-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supabase_management-0.2.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file supabase-management-0.2.0.tar.gz.

File metadata

  • Download URL: supabase-management-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for supabase-management-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c6ab56edf20211de19b3cdb10f4a247b7129fd8e9a1f42f039c209e8025a3029
MD5 b3b9c824c30e1550daaba74444d27521
BLAKE2b-256 0e3e2bbb015c0171800ff3166c6040dafa9f3bc068bdd2e5bcae10ce604b4642

See more details on using hashes here.

File details

Details for the file supabase_management-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for supabase_management-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21fab3d81529a7d9d7f55c773b0e52d8a2b9af3cec73b4803fec9bd9979e0243
MD5 d5cad869c34698ce967a5a67989559c2
BLAKE2b-256 6f3f48e84160309204451cfe0a1f7bc5ee8ca265842b8d0c54a23fa5e0f01e4a

See more details on using hashes here.

Supported by

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