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
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.3.tar.gz
(15.9 kB
view hashes)
Built Distribution
pypcreate-0.2.3-py3-none-any.whl
(18.9 kB
view hashes)
Close
Hashes for pypcreate-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf980aaaf5955cca6fecbeb4de0a74ea3fe8bc35792f0a3044f10abb79f2fc6 |
|
MD5 | 9f1bfd6333376ecafc4e752387805bbe |
|
BLAKE2b-256 | 45cea67cec9b980f5c4686836b47b413ce0ea60ee946790a9bc7e4321dd954ff |