Python boilerplate

Chris Warrick kwpolska at gmail.com
Sat Mar 19 09:54:26 EDT 2016


On 19 March 2016 at 13:43, Fernando Felix do Nascimento Junior
<fernandojr.ifcg at live.com> wrote:
> A simple boilerplate for those who don't know the structure of a project. https://goo.gl/lJRvS6
>
> ## Features
>
> * Build and distribute with setuptools
> * Check code style with flake8
> * Make and run tests with pytest
> * Run tests on every Python version with tox
> * Code coverage with coverage.py
>
> [snip]
>
> Fernando Felix

I would recommend using cookiecutter, a tool that automates things
like these. I have my own template, based on cookiecutter:
https://github.com/Kwpolska/python-project-template — it has a
comprehensive `release` script, and follows best practices (including
entry_points or packages instead of modules). It also uses .rst
instead of .md documents.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16



More information about the Python-list mailing list