supabase-pydantic

Generate Pydantic models other types from Supabase/Postgres schemas automatically. Ideal for FastAPI, Supabase, and rapid prototyping.

MIT License

Downloads
438
Stars
6
Committers
3

Bot releases are visible (Hide)

supabase-pydantic - v0.6.0

Published by github-actions[bot] 3 months ago

v0.6.0 (2024-07-26)

Documentation

  • docs: fix broken links (#21) (be69b73)

  • docs: community guidelines (#20)

  • docs: add CODE_OF_CONDUCT.md

  • docs: add SUPPORT.md

  • docs: add SECURITY.md (#17)

  • docs: add bug report and feature request templates (#18)

  • chore: remove .vscode

  • docs: add CODEOWNERS

  • docs: add FUNDING.yml (#19)

  • docs: add CONTRIBUTING.md (865ecf2)

Feature

  • feat: Convert writers to Abstract Base Class and reformate CLI with args like supabase-cli gen function (#22)

  • feat(cli-refine-1): move utility functions and add example args for revised cli, like supabase cli generate cmd

  • feat(writer-abc): starter for abc's for new writer classes

  • feat(writer-abc): add methods to abcs and factories for writers

  • feat(writer-abc): implement pydantic fastapi writer from abc

  • feat(writer-abc): pre-commit updates

  • feat(writer-abc): updates for jsonapi pydantic writer

  • feat(writer-abc): updates for fastapi sqlalchemy writer

  • feat(writer-abc): updates for jsonapi sqlalchemy writer

  • feat(writer-abc): rm original writer.py

  • feat(writer-abc): add ruff formatting step for generated files

  • feat(cli-refine-1): convert cli to be like supabase cli gen fn

  • test: temporary update threshold for failing coverge

  • chore: change lint and type checking in action to verbose (d23b88d)

supabase-pydantic - v0.5.0

Published by github-actions[bot] 3 months ago

v0.5.0 (2024-07-21)

Feature

  • feat(pre-commit): add pre commits, linting, formatting, pyrpoject.toml config, and tests (#16)

  • docs: update pyproject and docs

  • style: import sorting

  • style: ruff format

  • feat(pre-commit): add pre-commit and commitizen

  • feat(pre-commit): add lint checking with ruff to github action, correct linting errors

  • feat(pre-commit): integrate mypy

  • feat: add toml configuration

  • fix: compensate for array notation in type maps

  • feat: add testing

  • feat(pre-commit): missing types for toml

  • feat(pre-commit): fix coverage run in action

  • feat(pre-commit): fix pytest coverage test and check in action

  • feat(pre-commit): fix test and coverage

  • feat(pre-commit): re-add verbose with testing step in action

  • feat(pre-commit): remove uneccessary step for reporting (6b686e8)

supabase-pydantic - v0.4.0

Published by github-actions[bot] 3 months ago

v0.4.0 (2024-07-19)

Feature

  • feat(add-writer): cleanup (#15) (5d80031)
supabase-pydantic - v0.3.0

Published by github-actions[bot] 3 months ago

v0.3.0 (2024-07-19)

Feature

  • feat(add-writer): updates to rerun pipeline (#14) (c7be9e5)

Unknown

  • Add writer class and FastAPI-JSONAPI writing (#13)

  • feat(add-writer): add first FileWriter and ClassWriter classes

  • feat(add-writer): cleanup for writer classes, add sqlalchemy class writing, add nullable base schema, update cli args

  • feat(add-writer): integrate fastapi-jsonapi writing into writer classes, add job configuration for cli

  • feat(add-writer): update marshalling logic to incorporate foreign relation types, add sqlalchemy jsonapi starter

  • feat(add-writer): finalize marshalling logic and writer for relationships

  • feat(add-writer): update todo's (caf2b59)

supabase-pydantic - v0.2.1

Published by github-actions[bot] 3 months ago

v0.2.1 (2024-07-12)

Fix

  • fix(cicd): change strategy for poetry install (#12) (825c4e2)

  • fix(cicd): change version of python semantic release (#11) (1a0ef1c)

  • fix(cicd): fix wrong version pointer and add build command (#10) (ded4864)

supabase-pydantic - v0.2.0

Published by github-actions[bot] 3 months ago

v0.2.0 (2024-07-12)

Feature

  • feat(deploy-prod): add publish to pypi step (#6) (cac019e)

Fix

  • fix(cicd): test-pr (#9) (d410d2f)

  • fix(cicd): add github app for bypass (#8) (127b52e)

  • fix(cicd): testing PR and pipeline deploy (#7) (1c75c55)

  • fix(cicd): fix pipeline for deploy and cleanup, part 2 (40096e3)

  • fix(cicd): fix pipeline for deploy and cleanup (10f240b)

  • fix(missing-build-step): add missing build step to action (#5) (9b122ae)

  • fix(pipeline-build): add missing poetry build command (#4) (5a845e8)

  • fix(missing-dist): adding dist_path to semantic_release config (#3) (ea3f5d4)

  • fix(vscode-dir): remove .vscode tracking (#2) (eed989b)

supabase-pydantic - v0.1.0

Published by kmbhm1 3 months ago