
* Update CRUD utils to use types better. * Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc. * Upgrade packages. * Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case. * Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`. * Update testing utils. * Update linting rules, relax vulture to reduce false positives. * Update migrations to include new Items. * Update project README.md with tips about how to start with backend.
40 lines
573 B
TOML
40 lines
573 B
TOML
[[source]]
|
|
name = "pypi"
|
|
url = "https://pypi.org/simple"
|
|
verify_ssl = true
|
|
|
|
[dev-packages]
|
|
mypy = "*"
|
|
black = "*"
|
|
jupyter = "*"
|
|
isort = "*"
|
|
autoflake = "*"
|
|
flake8 = "*"
|
|
pytest = "*"
|
|
vulture = "*"
|
|
|
|
[packages]
|
|
fastapi = "*"
|
|
uvicorn = "*"
|
|
pyjwt = "*"
|
|
python-multipart = "*"
|
|
email-validator = "*"
|
|
requests = "*"
|
|
celery = "*"
|
|
passlib = {extras = ["bcrypt"],version = "*"}
|
|
tenacity = "*"
|
|
pydantic = "*"
|
|
emails = "*"
|
|
raven = "*"
|
|
gunicorn = "*"
|
|
jinja2 = "*"
|
|
psycopg2-binary = "*"
|
|
alembic = "*"
|
|
sqlalchemy = "*"
|
|
|
|
[requires]
|
|
python_version = "3.6"
|
|
|
|
[pipenv]
|
|
allow_prereleases = true
|