https://github.com/ramonhagenaars/project-cli
A Python commandline interface for initiating a project structure
https://github.com/ramonhagenaars/project-cli
cli project-starter-kit python-2 python-3
Last synced: 3 months ago
JSON representation
A Python commandline interface for initiating a project structure
- Host: GitHub
- URL: https://github.com/ramonhagenaars/project-cli
- Owner: ramonhagenaars
- Created: 2018-12-16T16:39:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-21T18:36:59.000Z (over 4 years ago)
- Last Synced: 2025-03-12T10:45:56.667Z (7 months ago)
- Topics: cli, project-starter-kit, python-2, python-3
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
|PyPI version| |Build Status|
~ UNDER CONSTRUCTION ~
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.pyYou 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.comThis structure was inspired by `Kenneth Reitz `_.
.. |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