A commandline interface for creating project structures
Project description
|PyPI version| |Build Status|
charmer
===========
A commandline interface for creating structured Python projects.
Installation
''''''''''''
::
pip install charmer
Usage
'''''
::
python -m charmer
If you trust ``charmer `` to make the right decisions, you can say 'yes' to all prompts:
::
python -m charmer -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 <https://github.com/kennethreitz/samplemod>`_.
.. |PyPI version| image:: https://badge.fury.io/py/project-cli.svg
:target: https://badge.fury.io/py/project-cli
.. |Build Status| image:: https://travis-ci.org/ramonhagenaars/project-cli.svg?branch=master
:target: https://travis-ci.org/ramonhagenaars/project-cli
charmer
===========
A commandline interface for creating structured Python projects.
Installation
''''''''''''
::
pip install charmer
Usage
'''''
::
python -m charmer
If you trust ``charmer `` to make the right decisions, you can say 'yes' to all prompts:
::
python -m charmer -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 <https://github.com/kennethreitz/samplemod>`_.
.. |PyPI version| image:: https://badge.fury.io/py/project-cli.svg
:target: https://badge.fury.io/py/project-cli
.. |Build Status| image:: https://travis-ci.org/ramonhagenaars/project-cli.svg?branch=master
:target: https://travis-ci.org/ramonhagenaars/project-cli
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
charmer-0.1.0.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file charmer-0.1.0.tar.gz
.
File metadata
- Download URL: charmer-0.1.0.tar.gz
- Upload date:
- Size: 6.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96a78ce0e07a27aa64aaf5cbf96f40cd4f5cca3a31069dcde759e39d94729ad |
|
MD5 | ee25c19a806102d6512d4bcd4d8d56f6 |
|
BLAKE2b-256 | ff1c27300f321d6763b5ecc8577961420bffdee6b5d80300092ea6b788fed3bc |
File details
Details for the file charmer-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: charmer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77356ef9b3526a875f18daf6ab4a6b6859304df79d76e7bbffd5bf67936f5683 |
|
MD5 | dd059891aa63604a71289fde585e00ed |
|
BLAKE2b-256 | 9a8ed961ad8d5a1bffd5786903e4de590d4812b1ceb46fbb79488de5ab351898 |