Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
/ yapt Public archive

yet another python (project) template

License

Notifications You must be signed in to change notification settings

e-graveyard/yapt

Repository files navigation

Yet Another Python Template

https://img.shields.io/github/workflow/status/caian-org/yapt/run-tests-and-upload-coverage?label=tests&logo=github https://img.shields.io/codecov/c/github/caian-org/yapt.svg?logo=codecov&logoColor=FFF https://img.shields.io/lgtm/grade/python/g/caian-org/yapt.svg?logo=lgtm https://img.shields.io/docker/image-size/caian/yapt?sort=semver&logo=docker&logoColor=FFF https://img.shields.io/github/tag/caian-org/yapt.svg?logo=git&logoColor=FFF

An opinionated template for Python projects that includes:

  • Unit testing with pytest
  • Type checking with MyPy
  • Code coverage on Codecov
  • Docker image
  • Good-looking API documentation with Sphinx
  • CI/CD pipeline on GitHub Actions with:
    • Python venv caching for faster pipelines
    • Linting, style and code duplication checking
    • Test execution and coverage report upload
    • Docker image build and push to DockerHub

The API documentation live preview is available at yapt.upsetbit.co.

Compatibility

yapt is tested against all major python versions: 3.7, 3.8 and 3.9.

How can I use it?

Take what suits you, ignore or change what you do not like, and apply according to his will.

License

To the extent possible under law, Caian Ertl has waived all copyright and related or neighboring rights to this work. In the spirit of freedom of information, I encourage you to fork, modify, change, share, or do whatever you like with this project! ^C ^V