A personal cookiecutter template for simple python3 scripts.
To use simply run cookiecutter gh:ArcHound/python_script_cc.
- load env vars from
.envfile (these might be used in place of cli options!), - accept
stdinvia pipe or use a file specified in an option (if you'd like), - post gen hook to create virtual environment using
uv(must be installed beforehand!), - return to
stdoutor to a file, - option for logging verbosity level,
- built-in profiling support,
- decorator for measuring time elapsed (log with informative severity),
- option for including the
requestslib andrequests_cachelib,- few options for a default service - name, url and bearer token,
- proxy options for requests session,
- python gitignore from https://github.com/github/gitignore/blob/main/Python.gitignore.