Generate Pydantic models other types from Supabase/Postgres schemas automatically. Ideal for FastAPI, Supabase, and rapid prototyping.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 3 months ago
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
)
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
)
Published by github-actions[bot] 3 months ago
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
)
Published by github-actions[bot] 3 months ago
c7be9e5
)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
)
Published by github-actions[bot] 3 months ago
Published by github-actions[bot] 3 months ago
cac019e
)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
)
Published by kmbhm1 3 months ago
Full Changelog: https://github.com/kmbhm1/supabase-pydantic/commits/v0.1.0