Skip to content

ArcHound/python_script_cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_script_cc

A personal cookiecutter template for simple python3 scripts.

To use simply run cookiecutter gh:ArcHound/python_script_cc.

Features

  • load env vars from .env file (these might be used in place of cli options!),
  • accept stdin via 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 stdout or 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 requests lib and requests_cache lib,
    • 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.

About

A personal cookiecutter template for simple python3 scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published