Skip to content

Repository files navigation

python-project-template

This is a template for Python projects that provides a starting structure and a set of universally useful CI/CD configurations.

test

What is this for?

This template can be used as a starting point for new Python projects to get up and running quickly with a standard set of CI/CD configurations and an organized project structure.

OperationSolution Choice
Lintingflake8, pylint
Testingpytest
Buildingsetuptools
Dependency managementpip-tools, dependabot
Additional featureschangelog, example MIT license, dependabot configuration

How do I build it?

python -m build

How do I run it?

python -m pip install -r requirements.txt
python -m callable

How do I test it?

python -m pytest

Project structure

mainpackage/
subpackage/
__init__.py
samplemodule.py
tests/
__init__.py
test_one.py
test_two.py

Resources

About

Python project template with a starting structure, CI/CD. linting, testing, and code coverage analysis

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages