A commandline interface for creating project structures
Project description
project_cli
A commandline interface for creating structured Python projects.
Installation
pip install project_cli
Usage
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
Detailed information
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.
Meta
Ramon Hagenaars - ramon.hagenaars@gmail.com
This structure was inspired by Kenneth Reitz.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for iias_project_cli-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fba14b3e8acdb7cbf397c5ebc7bf8d69b5a9a6437e7104b9f0b6a1430572b289 |
|
MD5 | d00409b4fb9eb992eb60dc9df9c3a811 |
|
BLAKE2b-256 | ec99cf2afee7a2bb863092a3d0e64bd90cf82c968d21a3709cc911efe912080c |