Skip to main content

Pydantic Models for Trading Algos and Supabase

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: supamodel-0.4.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.4.1.tar.gz
Algorithm Hash digest
SHA256 f12b7add509800f6e4fecc4aca5c4da6c409cedd5502e3fb081f8fbc9c4acf27
MD5 2bb9b42854b4654add357664e54058ae
BLAKE2b-256 b441c1ac2d856f8b6b945802c9d05161a151a435652cad21ea6e6c278d0e3a13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supamodel-0.4.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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea1721cc5ecb5b2365b0734fa0134f8e5f3f081a95750864500008a95ee6338
MD5 67dfbe230a58c1d26ac28254ef5d9031
BLAKE2b-256 0810c675627c811f97dc5696edb8305d006c7ebe91271e92b9c911851faa07f0

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