2.0.0 • Published 5 years ago

newpy v2.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

npm npm

Introduction

The Newpy package allows you to generate a boilerplate for your Python project. Newpy is created with structure and maintainability in mind by providing a clear folder structure and automatic virtual environment generation.

Usage

The following command creates a project folder called "my-project" in the current directory, generates the virtual environment and configures the virtualenv usage in Visual Studio Code.

> newpy my-project --virtualenv --vscode

Command options

Option/aliasDescription
-V, --versionOutput the version number
-e, --virtualenvCreate virtual environment
-c, --vscodeAdd path to virtual environment for vscode and coderunner
-h, --helpOutput usage information

Generated structure

Description
.vscode/settings.jsonDefines your python path for vscode and the coderunner extension (--vscode)
output/.gitkeepA folder in which you can output your files
resources/.gitkeepA folder in which you can store your input files
src/main.pyA started python file with an arbitrary print statement
venv/...The folder which contains your virtual environment (--virtualenv)
.gitignoreA set of predefined files and folders to be ignored from commits like f.e. output files
readme.mdA readme which explains how to use the project and virtual environments
requirements.txtA placeholder file for you to store your required packages
2.0.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.81

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago