corebase
Corebase client for Python: database, auth, realtime, storage and functions.
A drop-in replacement for supabase (supabase-py): the same API, built from
the same source, published under Corebase's name.
pip install corebase
from corebase import create_client, acreate_client
corebase = create_client("https://<ref>.corebase.so", "<service or anon key>")
rows = corebase.table("todos").select("*").execute()
Moving from supabase-py
supabase-py is six packages with their own top-level modules. Here they are one package, with the libraries inside it, so both can be installed at once:
| Before | After |
|---|---|
supabase |
corebase |
postgrest |
corebase.postgrest |
supabase_auth (gotrue) |
corebase.auth |
realtime |
corebase.realtime |
storage3 |
corebase.storage |
supabase_functions |
corebase.functions |
Only the module names change; every class and function keeps its upstream
name (create_client, acreate_client, Client, AsyncClient,
ClientOptions, AsyncClientOptions, APIError, ...). For example:
# before
from supabase import acreate_client
from supabase.lib.client_options import AsyncClientOptions
from postgrest.exceptions import APIError
# after
from corebase import acreate_client
from corebase.lib.client_options import AsyncClientOptions
from corebase.postgrest.exceptions import APIError
CorebaseClient, AsyncCorebaseClient and CorebaseException are also
exported as aliases of Client, AsyncClient and SupabaseException.
Needs Python 3.11 or newer.
Licence
MIT. Based on supabase-py (see UPSTREAM for the version), whose copyright
notice is kept in LICENSE.
Metadata
Release files for corebase 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| corebase-1.0.0.tar.gz | 104.1 kB | Without provenance | Details for corebase-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| corebase-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for corebase-1.0.0-py3-none-any.whl |
Total release size: 255.0 kB
Release files / corebase-1.0.0.tar.gz
| Download URL | corebase-1.0.0.tar.gz |
|---|---|
| Size | 104.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24c89ca8cc8e859f421664c0e6e793777712284658c6d6513c1710bfe5d244c7
|
|
BLAKE2b-256 checksum How to use checksums |
65a588d16ca5189f448537bd8ddc7e68cc6b58c365b18d5bc1e8d157b46a982c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / corebase-1.0.0-py3-none-any.whl
| Download URL | corebase-1.0.0-py3-none-any.whl |
|---|---|
| Size | 151.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1b92aa4dcaa44a9952de5c75722923c4348737f222b6d946b066724f8d2fef9
|
|
BLAKE2b-256 checksum How to use checksums |
abdbb6b6c2e6223a6467c4900832676dc22396a53c1a4149b46bce7bd054fab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for corebase 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.