Skip to main content

PyPI version

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.

Release files for project-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for project-cli 0.1.1
File Size Uploaded
project_cli-0.1.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for project-cli 0.1.1
File Interpreter ABI Platform
project_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / project_cli-0.1.1.tar.gz

Download URL project_cli-0.1.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fe26320362ed1191c0d31798ddd8c328a68798c2e5386f96627f6300a6bd0b5c
BLAKE2b-256 checksum
How to use checksums
c96da253629e18d7d527bfb1486b1021acf5755bdb45593f5278a7fc6de36b47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

Release files / project_cli-0.1.1-py3-none-any.whl

Download URL project_cli-0.1.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81b70d032512cf721a4f7e9ea281da46d0de0f552dbf82952b0a2e2690f0a566
BLAKE2b-256 checksum
How to use checksums
fc8fa4a30c77d7f05ae466f790a9ae5872c172c62e4a56545f65f5e3908a705e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page