Metadata-Version: 2.1
Name: startnew
Version: 1.3.2
Summary: Start new python project with this light cli tool
Home-page: https://github.com/stefangal/newpy
Author: Stefan Gal
Author-email: "stefan.mail.sk@gmail.com
License: mit
Keywords: newpy,skeleton,structure,new project,template
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Description-Content-Type: text/markdown
Requires-Dist: Click (==7.0)
Requires-Dist: colorama (==0.4.3)
Requires-Dist: lice (==0.6)
Requires-Dist: pytest (==6.1.1)
Requires-Dist: PyGithub (==1.53)
Requires-Dist: mock (==4.0.2)

<h1 align="center"> NewPy </h1>

<div align="center"> 

[![Build Status](https://travis-ci.com/stefangal/newpy.svg?branch=master)](https://travis-ci.com/stefangal/newpy)
![GitHub](https://img.shields.io/github/license/stefangal/newpy)
![PyPI](https://img.shields.io/pypi/v/startnew)
![PyPI - Downloads](https://img.shields.io/pypi/dw/startnew)

 </div>

<h3 align="center"> 
PERSONAL NEW PYTHON PROJECT AUTOMATION PROGRAM [CLI]
</h3>

<hr>

## OVERVIEW: ##
- [x] Open new Python project by building the structure and prepare initial files automatically via simple command line command ```startnew```. 
- [x] 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.

```code
$ pip install startnew
```
For arguments help run:
```code
$ startnew --help
```
Run:
```code
$ startnew
```
or
```code
$ 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](https://docs.python-guide.org/writing/structure/)

```bash
└── 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:
```table
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](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) 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



