|
| 1 | +# Hypermodern Python Cookiecutter |
| 2 | + |
| 3 | +```{toctree} |
| 4 | +--- |
| 5 | +hidden: true |
| 6 | +maxdepth: 1 |
| 7 | +--- |
| 8 | +
|
| 9 | +Quickstart <quickstart> |
| 10 | +guide |
| 11 | +contributing |
| 12 | +Code of Conduct <codeofconduct> |
| 13 | +license |
| 14 | +Changelog <https://github.com/cjolowicz/cookiecutter-hypermodern-python/releases> |
| 15 | +``` |
| 16 | + |
| 17 | +```{include} ../README.md |
| 18 | +--- |
| 19 | +start-after: <!-- badges-begin --> |
| 20 | +end-before: <!-- badges-end --> |
| 21 | +--- |
| 22 | +``` |
| 23 | + |
| 24 | +[Cookiecutter] template for a Python package |
| 25 | +based on the [Hypermodern Python] article series. |
| 26 | + |
| 27 | +## Usage |
| 28 | + |
| 29 | +```console |
| 30 | +$ cookiecutter gh:cjolowicz/cookiecutter-hypermodern-python \ |
| 31 | + --checkout="2021.11.26" |
| 32 | +``` |
| 33 | + |
| 34 | +## Features |
| 35 | + |
| 36 | +```{include} ../README.md |
| 37 | +--- |
| 38 | +start-after: <!-- features-begin --> |
| 39 | +end-before: <!-- features-end --> |
| 40 | +--- |
| 41 | +``` |
| 42 | + |
| 43 | +## FAQ |
| 44 | + |
| 45 | +### What is this project about? |
| 46 | + |
| 47 | +The mission of this project is to |
| 48 | +enable current best practices |
| 49 | +through modern Python tooling. |
| 50 | + |
| 51 | +### What makes this project different from other Python templates? |
| 52 | + |
| 53 | +This is a general-purpose template for Python libraries and applications. |
| 54 | + |
| 55 | +Our goals are: |
| 56 | + |
| 57 | +- Focus on simplicity and minimalism |
| 58 | +- Promote code quality through automation |
| 59 | +- Provide reliable and repeatable processes |
| 60 | + |
| 61 | +The project template is centered around the following tools: |
| 62 | + |
| 63 | +- [Poetry][1] for packaging and dependency management |
| 64 | +- [Nox][2] for automation of checks and other development tasks |
| 65 | +- [GitHub Actions][3] for continuous integration and delivery |
| 66 | + |
| 67 | +[1]: https://python-poetry.org/ |
| 68 | +[2]: https://nox.thea.codes/ |
| 69 | +[3]: https://github.com/features/actions |
| 70 | + |
| 71 | +### Why is this Python template called "hypermodern"? |
| 72 | + |
| 73 | +[Hypermodernism] is a school of chess that dates back to more than a century ago. |
| 74 | +If this setup ever goes out of fashion, |
| 75 | +I can pretend it was my secret plan from the start. |
| 76 | +All images on the |
| 77 | +[associated blog][hypermodern python] show |
| 78 | +[past visions][retrofuturism] of the future. |
| 79 | + |
| 80 | +[cookiecutter]: https://github.com/audreyr/cookiecutter |
| 81 | +[hypermodern python]: https://medium.com/@cjolowicz/hypermodern-python-d44485d9d769 |
| 82 | +[hypermodernism]: https://en.wikipedia.org/wiki/Hypermodernism_(chess) |
| 83 | +[retrofuturism]: https://en.wikipedia.org/wiki/Retrofuturism |
0 commit comments