Skip to main content

No project description provided

Project description

SupaModel - Pydantic BaseModels and ORM for Supabase

SupaModel is a Python package that provides pydantic BaseModels and ORM for Supabase. It is built on top of supabase-py and pydantic.

I've been developing it within a monolithic FastAPI project, and I've decided to extract it into a separate package to make it easier to maintain and share with the community. Documents will come soon.

Usage

Once completed, you will be able to use SupaModel to define your own models that map to tables in your Supabase database. You can then create, read, update, and delete records in your database using these models.

Future Work

The project is still in its early stages, and there is a lot of work to be done. Future plans include adding more field types, relationships between models, and advanced query capabilities.

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

supamodel-0.3.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

supamodel-0.3.1-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file supamodel-0.3.1.tar.gz.

File metadata

  • Download URL: supamodel-0.3.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/23.4.0

File hashes

Hashes for supamodel-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7612d6b858eeb81b52e104b690dcdfa9ae06bfbcc71537f847dea5c51261ccf4
MD5 6be0e5f52b478a6da7d186a0805d2fa3
BLAKE2b-256 9f2a7f7f86ac0c7e0fdd7e6f8d156a970e59d8b063092929f9d8f33b560439c8

See more details on using hashes here.

File details

Details for the file supamodel-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: supamodel-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/23.4.0

File hashes

Hashes for supamodel-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d427658db70e84fea2c202c3eb835f498958992ba857b00a727c6d68c5063e1b
MD5 b30c218b454001117730a3a07e96697b
BLAKE2b-256 0fefe9722bc4068f6f60d0afe83a15ff0b489d8a5918872dcf5706f5f721f0d2

See more details on using hashes here.

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