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.1.0.tar.gz (5.9 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.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: supabase-management-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 a099653d374275fe4357e5762a6b78e3e4a1cbed86942a57645d18ba6879583f
MD5 f6f88937df580decf3e72219a59dfb17
BLAKE2b-256 60d08eb84cf1c50dfc3b8fc9e1e05c0b14639eb5fc441d5d892414f19a16aadc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for supabase_management-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2e0005d6641c21be4845d4e1883d4b136e539994d86bc092c174b9c4537abb
MD5 df84ad6db1284eb6b24011e5e52d4209
BLAKE2b-256 56fe9bb1056f46167758857e83d600c5a67639c9317ecf2e63fe77e447e0aefa

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