Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.07 KB

README.md

File metadata and controls

62 lines (47 loc) · 2.07 KB

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.

Operation Solution Choice
Linting flake8, pylint
Testing pytest
Building setuptools
Dependency management pip-tools, dependabot
Additional features changelog, 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