Skip to main content

Start new python project with this light cli tool

Project description

NewPy

Build Status GitHub PyPI PyPI - Downloads

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

MORE ABOUT THE 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

startnew-1.3.6.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

startnew-1.3.6-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file startnew-1.3.6.tar.gz.

File metadata

  • Download URL: startnew-1.3.6.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for startnew-1.3.6.tar.gz
Algorithm Hash digest
SHA256 3b054a6e0a9250c6351c6c315effa5e65717e3822595f3024c8b53baadeb3955
MD5 10c2764c72db20d9c6b74ce7a8bef952
BLAKE2b-256 915eb0800b2c3fb2aeb37a6994f159770099dd935a10aa79a856c6fb1cfd35d3

See more details on using hashes here.

File details

Details for the file startnew-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: startnew-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for startnew-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3eb2988a60b4274b4f894a51786b2e6efe795ef508f3e23ade5661f465448a61
MD5 00597ffbe9a7f790c9c24e25efb87a0a
BLAKE2b-256 6aeff05735f52f64639f84dc8e58f9481da56b0f5e6afa4f43a060bd60db6c36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page