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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: supamodel-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b37958cc5aff659bf050ef2e9406af5959528f8aa2f818c11b01858be24d7f49
MD5 572244c094b7e6a7086321c13e42680a
BLAKE2b-256 d40f0935d01c884c429f5fd09c64fc76e33515c35e80f010af8203019739f205

See more details on using hashes here.

File details

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

File metadata

  • Download URL: supamodel-0.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01266d8344038a4be4ed8a5826646ff0fb2dddc2e0dfed8c3bac7bb4e4acea37
MD5 cfa748bffa6435c274d1d8245c360cf9
BLAKE2b-256 e7b8e50e152ebaddb574552222ae584547117558c2c73d98024880f627bc7d9d

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