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
File details
Details for the file iias_project_cli-1.0.6.tar.gz
.
File metadata
- Download URL: iias_project_cli-1.0.6.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0561fff0a1f4674ca4db3bfa832487b780323e3795921f5687a8d4257311b15 |
|
MD5 | 48e5e38b6ca60f1ee09e14170a6f0801 |
|
BLAKE2b-256 | 6eb654546bc06a6d4f462152aae01d9e3fa30ecf332b94bcbfed21913f85794c |
File details
Details for the file iias_project_cli-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: iias_project_cli-1.0.6-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b365fde6229e3abdec9845c3b63cc795213428e54d263b6174b89360da5a818f |
|
MD5 | c54af2354ec936c42d0f96f9f64281fd |
|
BLAKE2b-256 | c896383912cd2eb1eaca00b8b5c1025022308c5b1e47694a4a2c7dbf1b9ae897 |