Opinionated 2020 Python template and metadata synchronizer.
Project description
Tyrannosaurus Reqs
An opinionated 2020 Python template. Just clone and modify.
⚠ Status: Under development. The template works, but the command-line tool doesn’t.
Alternatively, run pip install tyrannosaurus && tyrannosaurus new projectname
,
which will insert your project’s name.
- When you commit, your code will be linted.
- When you push or make a pull request, your code will be built, tested, and checked. Project metadata will be appropriately synced, security checks will be run, style will be checked, documentation will be generated, and docker images, sdists, and wheels will be built.
- When you release on Github, your code will be published to PyPi.
Just add a
PYPI_TOKEN
to your Github repo secrets.
Also comes with nice Github labels, a changelog template, Conda recipe generation, and various other integrations. Tyrannosaurus itself is included as a dependency to copy metadata between config files, such as the project version, description, copyright, and build and doc requirements.
To run on a local machine, install Poetry
and Tox (pip install tox
).
Then just type tox
.
For more information, check the documentation.
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.
.++++++++++++.
.++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.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b711554a5546a1b109bdc6d5ba774a27f59fb8a83652ff0671934ffe182a0a |
|
MD5 | 900bfbfff6d7236ce12f215fd68a2c98 |
|
BLAKE2b-256 | fe785479083d0357354c547c091e7f1f768bb5dbc508c5ac981b71a368586773 |