Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fedora-infra/cookiecutter-flask-webapp
A CookieCutter template directory for Fedora Infrastructure webapps that are based on Flask
https://github.com/fedora-infra/cookiecutter-flask-webapp
Last synced: 3 months ago
JSON representation
A CookieCutter template directory for Fedora Infrastructure webapps that are based on Flask
- Host: GitHub
- URL: https://github.com/fedora-infra/cookiecutter-flask-webapp
- Owner: fedora-infra
- Created: 2021-09-10T09:48:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T12:19:33.000Z (about 1 year ago)
- Last Synced: 2024-05-28T04:52:58.827Z (6 months ago)
- Language: Python
- Homepage:
- Size: 132 KB
- Stars: 2
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - fedora-infra/cookiecutter-flask-webapp - A CookieCutter template directory for Fedora Infrastructure webapps that are based on Flask (Python)
README
# CookieCutter for Fedora Infrastructure webapps
This is a [CookieCutter](https://cookiecutter.readthedocs.io) template directory for
Fedora Infrastructure webapps that are based on Flask.Use it with:
```
cookiecutter gh:fedora-infra/cookiecutter-flask-webapp
```It will ask you for the application name and some other variables, and will create the package
structure for you.## Features
Here are the libraries and services that are integrated:
- Database support with [SQLAlchemy](https://www.sqlalchemy.org/)
& [Alembic](https://alembic.sqlalchemy.org)
- OpenShift support with [S2I](https://github.com/sclorg/s2i-python-container)
- Formatting with [Black](https://github.com/psf/black),
[isort](https://github.com/pycqa/isort)
and [pyupgrade](https://github.com/asottile/pyupgrade)
- Unit tests with [Pytest](https://pytest.org/), [Coverage](https://coverage.readthedocs.io)
& [Tox](tox.readthedocs.io/)
- Security with [Flask-Talisman](https://pypi.org/project/flask-talisman/)
& [Bandit](https://github.com/PyCQA/bandit)
- Documentation with [Sphinx](https://www.sphinx-doc.org/)
- Various checks like [flake8](https://github.com/PyCQA/flake8),
[liccheck](https://github.com/dhatim/python-license-check),
and [rstcheck](https://github.com/myint/rstcheck)
- [Mergify](https://mergify.io/)
- Github CI and [CentOS CI](https://ci.centos.org/)
- [Renovate](https://github.com/apps/renovate)
- [Pre-Commit](https://pre-commit.com/)## Testing
There are some checks to make sure the templated app pass its own unit tests.
You can run those checks with:```
pytest -s tests
```