Skip to main content

Opinionated 2020 Python template and metadata synchronizer.

Project description

Tyrannosaurus Reqs

Build status Latest version on PyPi Supported Python versions Documentation status Build & test Travis License

An opinionated 2020 Python template.

I wrote this after making nearly 50 commits to configure readthedocs, PyPi, Tox, Docker, Travis, and Github actions. This avoids that struggle for 99% of projects. Just clone and modify or use tyrannosaurus new. Install with pip install tyrannosaurus.

  • When you commit, your code will be linted.
  • When you push or make a pull request, your code will be built and tested. Metadata will be 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 on PyPi. Just add PYPI_TOKEN as a Github repo secret.

⚠ Status: Under development. The template works great. Commands mostly work, but sync does little.

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 locally, install Poetry and Tox (pip install tox). Then just type tox to build artifacts and run tests.

For more information, see the docs.

To make a new project, run:

pip install tyrannosaurus
tyrannosaurus new projectname --license apache

Building, extending, and contributing

New issues and pull requests are welcome. Tyrannosaurus is licensed under the Apache License, version 2.0.

                                              .++++++++++++.
                                           .++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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tyrannosaurus-0.2.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tyrannosaurus-0.2.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file tyrannosaurus-0.2.0.tar.gz.

File metadata

  • Download URL: tyrannosaurus-0.2.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.7 Linux/5.3.0-1020-azure

File hashes

Hashes for tyrannosaurus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 92efd2d716d186b78e8abc67550332286dc1dc889da8cc872525b26af1c9932e
MD5 ae41c7d83857026e4e79563af686e65c
BLAKE2b-256 d1aad40074319bad026cd33fb546b8bfd5de6678fb5df81b7d1b1ac9fd8b39ce

See more details on using hashes here.

File details

Details for the file tyrannosaurus-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tyrannosaurus-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.7 Linux/5.3.0-1020-azure

File hashes

Hashes for tyrannosaurus-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13453ef3697de344fbe78548383c96e5b7645722ce7c724bc28f89b859dca249
MD5 3622812a3a1963fe41a9e9590f4de72d
BLAKE2b-256 3a37cd35a073317186e33e5d560e4613e21d18b7487ced4363b82a6303a8c8a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page