Start new python project with this light cli tool
Project description
NewPy
PERSONAL NEW PYTHON PROJECT AUTOMATION PROGRAM [CLI]
OVERVIEW:
- Open new Python project by building the structure and prepare initial files automatically via simple command line command
startnew
. - Prepare github repository
DEVELOPMENT
# clone the repo
$ git clone https://github.com/stefangal/newpy
# change the working directory to newpy
$ cd newpy
# install the requirements
$ pip install .
# now you can run it
$ startnew
INSTALLATION
Use startnew
to generate the folders and files in current working directory.
$ pip install startnew
For arguments help run:
$ startnew --help
Run:
$ startnew
or
$ startnew --p <project_name> --l <license_type> --g <Github_token>
You'll need a personal access token to open repository on Github you can get one from https://github.com/settings/tokens.
You will be asked several questions as well as you will be able to choose some default settings. Regarding Github repository read the GITHUB section.
GETTING STARTED
Folder structure
└── app
├── tests
│ └── __init__.py
├── docs
│
├── app
│ └── __init__.py
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt
└── setup.py
This is the app structure given all the actually available features.
LICENSE
You can choose from the following abbrevations:
afl3', 'agpl3', 'apache', 'bsd2', 'bsd3', 'cc0', 'cc_by', 'cc_by_nc',
'cc_by_nc_nd', 'cc_by_nc_sa', 'cc_by_nd', 'cc_by_sa', 'cddl', 'epl',
'gpl2', 'gpl3', 'isc', 'lgpl', 'mit', 'mpl', 'wtfpl', 'zlib'
GITHUB
In order to open a new repository for the project via command line, first you will need to get/create the Github access token.
Instructions how to get access token.
HOW TO HELP
Any help is appriciated.
CONTRIBUTORS
Feel free to contribute and register yourself in AUTHORS.md
For more information see CONTRIBUTING.md
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.