Skip to main content

Generate ready-to-go Python projects.

Project description

Tyrannosaurus Reqs

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

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:

  1. pip install m2-patch
  2. 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


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.0.2.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

tyrannosaurus-0.0.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

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