Generate ready-to-go Python projects.
Project description
Tyrannosaurus Reqs
An opinionated 2020 Python template.
Just clone it and modify or run tyrannosaurus new
.
⚠ Status: Under development
Provides tyrannosaurus sync
to copy metadata from your pyproject.toml
other config files,
including tox.ini
, .flake8
, docs/conf.py
, docs/requirements.txt
, LICENSE.txt
, and recipes/.../meta.yaml
.
You can configure this in a tool.tyrannosaurus
section of pyproject.toml
.
For an example, see tyrannosaurus's own pyproject.toml file.
The information copied includes version, description, dependencies, and preferred line length.
Always generates backups under .tyrannosaurus
before modifying.
You can clear this and other temp files with tyrannosaurus clean
.
Projects are configured for:
- Build: Poetry, Tox, Conda, DepHell, Travis
- Style: Black, Coverage, MyPy, Flake8, pycodestyle, pydocstyle, EditorConfig, pre-commit-hooks
- Documentation: ReadTheDocs, Sphinx, Napoleon, autodoc, viewcode
- Deploy: wheels, sdist, Twine, Docker, Conda-Forge
Poetry is fantastic and highly recommended. Also see DepHell and conda-forge.
Building, extending, and contributing
New issues and pull requests are welcome.
Tyrannosaurus is licensed under the Apache License, version 2.0. The author wrote it after making 18 Git commits trying to configure readthedocs, PyPi, and Tox. This avoids that struggle for 99% of projects.
Conda build:
pip install m2-patch
conda skeleton pypi tyrannosaurus
.++++++++++++.
.++HHHHHHH^^HHH+.
.HHHHHHHHHH++-+-++.
.HHHHHHHHHHH:t~~~~~
.+HHHHHHHHHHjjjjjjjj.
.+NNNNNNNNN/++/:--..
........+NNNNNNNNNN.
.++++BBBBBBBBBBBBBBB.
.tttttttt:.. .++BBBBBBBBBBBBBBBBBBB.
+tt+. `` .+BBBBBBBBBBBBBBBBBBBBB+++cccc.
ttt. .-++BBBBBBBBBBBBBBBBBBBBBB++.ccc.
+ttt++++:::::++++++BBBBBBBBBBBBBBBBBBBBBBB+..++.
.+TTTTTTTTTTTTTBBBBBBBBBBBBBBBBBBBBBBBBB+. .ccc.
.++TTTTTTTTTTBBBBBBBBBBBBBBBBBBBBBBBB+. .cc.
..:++++++++++++++++++BBBBBB++++BBBB.
....... -LLLLL+. -LLLLL.
-LLLL+. -LLLL+.
+LLL+ +LLL+
+LL+ +ff+
+ff++ +++:
++++:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tyrannosaurus-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d28f9b63af510a37ffe8709dea561973412a0dee698293f8103b41602c4e267 |
|
MD5 | ecd6ca354775f07cb950705e7c35ddce |
|
BLAKE2b-256 | c1787338935258a54718874b122dc743ca2e9a481201a100b003c23353b46425 |