This is a simplistic FastAPI app that uses AI features to enhance api service.
- FastAPI
- Pydantic
- Data validation
- Marvin
- AI engineering framework
- Pytest
- pre-commit
- pre-commit hooks
- GitLab
- for career reasons
From repository root:
python -m venv .venv
source .venv/bin/activate
python -m pip install -Ur local.in
Makefile command table
Command | Purpose |
---|---|
make update |
Update and Initialize Python environment |
make update-deps |
Update Python dependencies |
make update-precommit |
Update Pre-Commit |
- MARVIN_OPENAI_API_KEY
- attributes: masked, expanded
- FLY_API_TOKEN
- attributes: masked, expanded
- GITLAB_ACCESS_TOKEN_MEGALINTER
- attributes: masked
- stages
- install
- test
- code_quality
- deploy
- uses
flyctl
- uses
- pre-commit-hooks
- black
- flake8
.flake8
- bandit
- excludes B104 check
- local
- commit-msg
- checkmake
- configured in
.gitlab-ci.yml
- run by MegaLinter
- configured in
- MARVIN_OPENAI_API_KEY
- uses fly secrets