A commandline interface for creating project structures
A commandline interface for creating structured Python projects.
pip install project_cli
python -m project_cli
If you trust project_cli to make the right decisions, you can say ‘yes’ to all prompts:
python -m project_cli -y
Here is an example project structure created by this tool for a runnable project:
> proj_name __init__.py __main__.py > tests __init__.py context.py test_main.py README.rst setup.py
You can run your app as follows:
python -m proj_name
You can run tests as follows:
python -m unittest discover tests
You can also install your project in your own pip repository (or in a virtual environment) to make it runnable anywhere on your system:
pip install -e .
Note: the -e flag is optional. It will keep your pip repository synchronized with your source code.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size project_cli-0.1.1-py3-none-any.whl (4.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size project_cli-0.1.1.tar.gz (3.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for project_cli-0.1.1-py3-none-any.whl