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 details)

Uploaded Source

Built Distribution

pypcreate-0.2.7-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file pypcreate-0.2.7.tar.gz.

File metadata

  • Download URL: pypcreate-0.2.7.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.11

File hashes

Hashes for pypcreate-0.2.7.tar.gz
Algorithm Hash digest
SHA256 1096777031de7479c05c4b9493b053df674dd3328bbdfac4d232f403c311b49b
MD5 8eed7be174e0f828b89e94bcfc3cb879
BLAKE2b-256 de69950ab3bf1158b4372ba59ff0338d3c70801bc8b0eea74659b95df5d77cc0

See more details on using hashes here.

File details

Details for the file pypcreate-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: pypcreate-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.11

File hashes

Hashes for pypcreate-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 aa7a535c6e7667baf862d2723247ef4f611186f49d041440487c315ff64fadbb
MD5 17296246b78e6edf3881e1e563db6623
BLAKE2b-256 ab1fca6ef2c83b25449c904afe5970b1fd11ef8e29989d45a246dd0b9816ac5a

See more details on using hashes here.

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