Skip to content

🍪 Cookiecutter template to quickly stand up a script with logging, configuration, and secrets.

License

Notifications You must be signed in to change notification settings

wlamason/ez-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ez-script

License

Cookiecutter template to quickly stand up a script with linting, testing, logging, configuration, and secrets.

Install cookiecutter

python3 -m pip install cookiecutter

Run cookiecutter

python3 -m cookiecutter gh:wlamason/ez-script

Run cookiecutter locally

python3 -m cookiecutter path/to/ez-script

post_gen_project.sh

Creates a venv:

python3 -m venv venv
source venv/bin/activate

Installs pip-tools:

python3 -m pip install pip-tools

Generates requirements files:

pip-compile -o requirements.txt pyproject.toml
pip-compile --extra dev -o dev-requirements.txt pyproject.toml

Installs dev requirements:

pip-sync dev-requirements.txt

Runs the program:

python3 {{cookiecutter.project_name}}.py --help

About

🍪 Cookiecutter template to quickly stand up a script with logging, configuration, and secrets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published