Simple tool for generate new project python
Project description
Generate New Project Python (GNPP)
Simple tool for generate :
- name_project folder
- name_project.py
- LICENSE
- README.md
- setup.py
Install
$ pip install gnpp
Usage
CLI
$ gnpp -h
██████╗ ███╗ ██╗██████╗ ██████╗
██╔════╝ ████╗ ██║██╔══██╗██╔══██╗
██║ ███╗██╔██╗ ██║██████╔╝██████╔╝
██║ ██║██║╚██╗██║██╔═══╝ ██╔═══╝
╚██████╔╝██║ ╚████║██║ ██║
╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝
=== Generate New Project Python ===
Simple tool for generate :
name_project folder, name_project.py, LICENSE, README.md, setup.py
Options:
-h, --help Display this message
-p, --project-name Project name
-l, --license License project (apache ,gnu, mit, unlicense)
-a, --author Author project
-d, --description Description project
-e, --email Email project
-u, --url Url project
default:
-p, --project-name = new_project
-l, --license = unlicense
-a, --author = author
-d, --description = new_project
-e, --email = new_project@email.com
-u, --url = https://pypi.org/project/new_project
Combination with shell function
Example function:
new-project() {
if [ "$1" != "" ] && [ "$2" != "" ] && [ "$3" != "" ] && [ "$4" != "" ]
then
gnpp -p "$1" -l "$2" -a "nestero" -e "nes@email.com" -d "$3" -u "$4"
else
echo "new-project <project name> <license> <description> <url project>"
fi
}
$ new-project "tes projeck" "mit" "ini deskripsi" "www.www.com"
Project tes_projeck has been created :
* README.md
* LICENSE
* setup.py
* tes_projeck
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
gnpp-0.1.0-py3-none-any.whl
(24.8 kB
view details)
File details
Details for the file gnpp-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: gnpp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dce10fa39e3b69267247da5799bc32a01fe2bdb0558fe23ce208186e3846020 |
|
MD5 | 9d2604875db915978952cd39879e251b |
|
BLAKE2b-256 | a7666f28d451e3fe405422aef6f037cdd4846871404979492436bafe79334af7 |