This is a simple template to get started on your python projects.
NOTE: The template installs opencv modules for demonstration purposes.
- Install cookiecutter
pip install cookiecutter
- Setup the template with cookiecutter.
cookiecutter https://github.com/saratrajput/python_project_template.git
repo_name/
├── Dockerfile
├── images
├── README.md
├── requirements.txt
└── scripts
└── main.py
- Directory structure.
- A simple script with boilerplate for:
- Argument Parsing.
- Logging.
- requirements.txt to list the requirements.
- Dockerfile to containerize your project.
- Feel free to customize the template as per your liking in your fork.
- Fork the repository.
- Make changes, commit and push.
- You can now create your custom template projects with:
cookiecutter -c <custom-template> https://github.com/<your-github-id>/python_project_template.git