Skip to main content

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

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

GNU GPLv3.0

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

Artec-0.1.4.tar.gz (18.0 kB view hashes)

Uploaded Source

Built Distribution

Artec-0.1.4-py3-none-any.whl (17.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