Creates a configurable python project template in a given directory.
Project description
Artec
Artec is a simple python 3 script to create a project template in a given directory.
It's a maintained version of PyBoiler
Installation
Download from pip
pip install artec
or Install manually
$ cd Artec
$ pip install .
Usage
Create a JSON file to match the folder structure you desire
$ vim structure.json
# Paste the below into your file and modify as you desire
[{'folder': 'source'},
{'file': 'source/file1.txt'}, # Nested file
{'folder': 'sublime'},
{'file': 'sublime/file2.txt'},
{'folder': 'docs'},
{'file': 'docs/file3.txt'},
{'file': 'docs/file4.txt'},
{'file': 'README.md'}]
How to execute
usage: artec [OPTIONS] -o [DEST]
Artec is a simple python 3 script to create a project template in a given directory.
options:
-h, --help show this help message and exit
-o TARGET, --output-directory TARGET
Target output path where the structure will be created
-s SOURCE, --source-file SOURCE
Source JSON file containing structure to be created
-i, --interactive Runs Artec in interactive mode.
-v, --verbose Runs Artec in verbose mode.
-V, --version Display current version of Artec
Examples:
artec -o dest
artec -o dest -s structure.json
Version
0.1.4
Contributing
- Big Thanks to Link- for jump starting the project.
- Thanks for Narayandas Akhil Achary for various fixes & features.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Artec-0.1.4.tar.gz
(18.0 kB
view hashes)
Built Distribution
Artec-0.1.4-py3-none-any.whl
(17.6 kB
view hashes)