Skip to main content

Python Package creation tool

Project description

PyPCreate

Pypcreate is a easy-to-use Python package creation tool.

Installation

pip install pypcreate

# to upgrade 
pip install --upgrade pypcreate

Usage

1 mkdir

To create a directory with empty__init__.py and README.md :

pypcreate --mkdir directory_name

2 yamlmkdir

To create a set up directories from a yaml file:

pycreate --yamlmkdir yamlname.yaml

The format of yaml file should follow the following format:

name: example

root:
  dir_1:
    dir_name: 'example1' # directory name
    files: ['__init__.py','README.md','example.py'] # specify the empty files in the directory 
    dir_1: 
      dir_name: 'sub_example1' # directory name
      files: ['hello.py'] 

  dir_2:
    dir_name: 'example2' # here is the name of directory 2 
    files: ['__init__.py'] 

Notes:

  • You must specify root
  • For the sub-folder, you need to start with dir_1 variable
  • For the directory name, the variable name should be dir_name
  • For creating files, the variable name should be files

3 setpyp

To create all empty setup files: setup.py, MANIFEST.in, environment.yml :

pycreate --setpyp

4 pyptemp

To download all setup files to current directory: setup.py, MANIFEST.in, environment.yml :

pycreate --pyptemp

5 inittemp

To download __init__.py template:

pycreate --inittemp

6 mkdocs_temp

To download mkdocs template zip file:

pypcreate --mkdocs_temp

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

pypcreate-0.2.7.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

pypcreate-0.2.7-py3-none-any.whl (18.6 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