About
flask-createproject is a tool that bootstraps a new Flask project
by creating the bare-minimum structure for a production ready project.
It is inspired by the django-admin startproject tool.
Running the tool prompts you for
- The project's name.
- The project's main app.
- The author's name and email.
- The project's description.
This is then used to create the project structure along with the necessary
setup.py for packaging your application.
Installation
pip install flask-createproject
Usage
You start by typing
flask-createproject
Which will result in an interactive prompt that asks you a couple of questions and create the project
with proper values for the setup.py file.
Development
pip-tools is used for tracking the requirements and creating the development and release enviroments.
The requirements are kept in requirements.in and requirements-dev.in and compiled into requirements.txt
and requirements-dev.txt that could be later installed to the env.
A couple of useful make targets are defined.
Creating the development environment.
python3.9 -m venv .venv
source .venv/bin/activate
make install-requirements-dev
Adding a new requirement
- add a new entry to the
requirements.inorrequirements-dev.infile (or both !) - run the command
make compile-requirements
Running the tests.
- Pytest is used and the configurations are defined in
setup.cfg. - You can run the tests by running the command
pytest
Contribution
Please feel free to open Pull Requests/ issues as needed :-)
Metadata
Release files for flask-createproject 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask-createproject-0.0.4.tar.gz | 4.8 kB | Without provenance | Details for flask-createproject-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_createproject-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for flask_createproject-0.0.4-py3-none-any.whl |
Total release size: 9.9 kB
Release files / flask-createproject-0.0.4.tar.gz
| Download URL | flask-createproject-0.0.4.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
825e2cc736c3120151eae90ead09bb59c6c7e13e263e5629d06a179183b0f5d6
|
|
BLAKE2b-256 checksum How to use checksums |
7db033b77db4d74b4b9172f4ea70014a793c919b598b0af9d2ed7ecabdcecc9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|
Release files / flask_createproject-0.0.4-py3-none-any.whl
| Download URL | flask_createproject-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
181e822a6532a1b3df9294077063429f61a9eb5f6a2e3d92f92e296bb7d6e50a
|
|
BLAKE2b-256 checksum How to use checksums |
c2d84785e56a7d0f2f07546ca3676ec5008626336779c9ff3d1c06676026a5b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|
Security for flask-createproject 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.