Skip to main content

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


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 hashes)

Uploaded Python 3

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