Creates a configurable python project template in a given directory.
Project description
Artec
A python application that creates a configurable python project template in a given directory.
It's a maintained version of PyBoiler
Installation
Download from pip
$ pip install Artec
or Install manually
$ git clone https://github.com/HushmKun/Artec
$ cd Artec
$ pip install -U .
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
{
"folders": [
"{}",
"test"
],
"files": [
"{}/__init__.py",
"test/__init__.py",
"README.md",
"LICENSE",
"setup.py",
"pyproject.toml"
]
}
How to execute
$ artec -h
usage: artec [OPTIONS] -o [DEST]
Artec is a python application that creates a configurable python project template in a given directory.
options:
-h, --help show this help message and exit
-s SOURCE, --source-file SOURCE
Source JSON file containing structure to be created
-t TEMPLATE, --template TEMPLATE
Uses ready-made templates.
-o TARGET, --output-directory TARGET
Target output path where the structure will be created
-ls, --list-template lists all ready-made templates.
-v, --verbose Runs Artec in verbose mode.
-g, --git-init Creates a git Repo for the project.
-V, --version Display current version of Artec
Examples:
artec -h
artec -o dest
artec -o dest -t python
artec -o dest -s structure.json
artec -o dest -s structure.json -v
Templates
- Python
- Flask
- Node.Js
- Data_Science
Version
0.3.1
Contributing
Please refer to Here for contributing. Any help that can contribute to the templates will be really appreciated.
- Big Thanks to Link- for jump starting the project.
- Thanks for Narayandas Akhil Achary for various fixes & features.
Learning
Since this project is intended as a learning project, It helps me figure out what is the best practices of X, How to use Y, etc...
If you come here to learn, Read this, I will be glad if it helped you learn something new.
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
Built Distribution
File details
Details for the file artec-0.3.1.tar.gz
.
File metadata
- Download URL: artec-0.3.1.tar.gz
- Upload date:
- Size: 45.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80071b83d318a8937c717e98e66c719c38bba039e7317d661e70deb432800778 |
|
MD5 | 1be846710737a2cda8d32021f0e46300 |
|
BLAKE2b-256 | 7f216f22c7b29158cc8411c9518797fa214d2835945647d1cef3a98900221416 |
File details
Details for the file Artec-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: Artec-0.3.1-py3-none-any.whl
- Upload date:
- Size: 33.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad80948d5405428902ce7762c84894f55b6f761779966f480b004be6f62f2dd |
|
MD5 | 24fd24bb26fa00dbbdef3a196d6d93ed |
|
BLAKE2b-256 | 0548385e697b56541b7b76a673792c9e34dd98a96b62e4532b5e6c52c00c021b |