briggySmalls / cookiecutter-pypackage

Cookiecutter template for a poetry-managed Python package.
BSD 3-Clause "New" or "Revised" License
71 stars 34 forks source link

====================== Cookiecutter PyPackage

.. image:: https://travis-ci.org/briggySmalls/cookiecutter-pypackage.svg?branch=master :target: https://travis-ci.org/briggySmalls/cookiecutter-pypackage :alt: Linux build status on Travis CI

.. image:: https://ci.appveyor.com/api/projects/status/github/briggySmalls/cookiecutter-pypackage?branch=master&svg=true :target: https://ci.appveyor.com/project/briggySmalls/cookiecutter-pypackage/branch/master :alt: Windows build status on Appveyor

Cookiecutter template for a Python package, forked from audreyr/cookiecutter-pypackage.

.. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage .. _Cookiecutter: https://github.com/audreyr/cookiecutter

Features

This template has all of the features of the original audreyr/cookiecutter-pypackage_, plus the following:

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher)::

pip install -U cookiecutter

Generate a Python package project::

cookiecutter https://github.com/briggySmalls/cookiecutter-pypackage.git

Then:

.. _pip docs for requirements files: https://pip.pypa.io/en/stable/user_guide/#requirements-files .. _Register: https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives

For more details, see the cookiecutter-pypackage tutorial_.

.. _cookiecutter-pypackage tutorial: https://briggysmalls.github.io/cookiecutter-pypackage/tutorial.html

.. _invoke: http://www.pyinvoke.org/ .. _isort: https://pypi.org/project/isort/ .. _yapf: https://github.com/google/yapf .. _flake8: https://pypi.org/project/flake8/ .. _pylint: https://www.pylint.org/ .. _poetry: https://python-poetry.org/ .. _original_pypackage: https://github.com/briggySmalls/cookiecutter-pypackage/ .. _Travis-CI: http://travis-ci.org/ .. _Tox: http://testrun.org/tox/ .. _Sphinx: http://sphinx-doc.org/ .. Read the Docs: https://readthedocs.io/ .. pyup.io: https://pyup.io/ .. _bump2version: https://github.com/c4urself/bump2version .. _Punch: https://github.com/lgiordani/punch .. _PyPi: https://pypi.python.org/pypi