Skip to main content

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

Release files for startnew 1.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for startnew 1.3.6
File Size Uploaded
startnew-1.3.6.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for startnew 1.3.6
File Interpreter ABI Platform
startnew-1.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / startnew-1.3.6.tar.gz

Download URL startnew-1.3.6.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3b054a6e0a9250c6351c6c315effa5e65717e3822595f3024c8b53baadeb3955
BLAKE2b-256 checksum
How to use checksums
915eb0800b2c3fb2aeb37a6994f159770099dd935a10aa79a856c6fb1cfd35d3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / startnew-1.3.6-py3-none-any.whl

Download URL startnew-1.3.6-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eb2988a60b4274b4f894a51786b2e6efe795ef508f3e23ade5661f465448a61
BLAKE2b-256 checksum
How to use checksums
6aeff05735f52f64639f84dc8e58f9481da56b0f5e6afa4f43a060bd60db6c36
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.3.6 This release

2 release files

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page