Skip to main content

A commandline interface for creating project structures

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

project_cli-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

project_cli-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file project_cli-0.1.1.tar.gz.

File metadata

  • Download URL: project_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for project_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fe26320362ed1191c0d31798ddd8c328a68798c2e5386f96627f6300a6bd0b5c
MD5 d1aed36bc365e935a81ec3e38fe046bb
BLAKE2b-256 c96da253629e18d7d527bfb1486b1021acf5755bdb45593f5278a7fc6de36b47

See more details on using hashes here.

File details

Details for the file project_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: project_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for project_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81b70d032512cf721a4f7e9ea281da46d0de0f552dbf82952b0a2e2690f0a566
MD5 b198383dcbf95a1d8d74318d3069147a
BLAKE2b-256 fc8fa4a30c77d7f05ae466f790a9ae5872c172c62e4a56545f65f5e3908a705e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page