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.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

supamodel-0.3.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: supamodel-0.3.0.tar.gz
  • Upload date:
  • Size: 15.7 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.0.tar.gz
Algorithm Hash digest
SHA256 c35eda5a91006b11c899ac428808a4c15ae6da15441d95248ecc3d5bf7947c25
MD5 ba497216067d6ea5d9263592ccce29b9
BLAKE2b-256 a9a0019bcb06aaddc98fed17d466cc3288d3b1a7e41e69ffa8cf1c89f9ca5729

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supamodel-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1bc1cf1a78d66f44815a4d136dba18d7d5d3647ad46535065b5cdd6ffdcfcec
MD5 fc37e858a06b80c25894e7c9da5c0ff8
BLAKE2b-256 947ba4087940098e2be725a8a83b8e8b0e3ce65f8ce16dbe32295573106fb7b9

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