Skip to main content

Create shiny new Python packages with Sphinx documentation, unit tests and tools to keep your code clean

Project description

Tooth.paste creates shiny new Python packages. Start your new packages with a prepared Sphinx documentation section, a test folder for your unit tests and a Makefile containing all the tools needed to keep your Python code clean.

To get started:

$ cd tooth.paste
$ virtualenv --no-site-packages .
$ bin/python setup.py develop

Create a basic namespace Python package:

$ ./bin/templer tooth_basic_namespace

Inside of this new Python package you can directly run make.

To get started with the new package:

make build

To build the html Sphinx documentation:

make docs

Have a look at the documentation:

docs/build/html/index.html

To run the unit tests:

make test

To run the coverage:

make coverage

To run pylint:

make pylint

To run flake8:

make flake8

To run pep8:

make pep8

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

tooth.paste-1.1.zip (61.5 kB view details)

Uploaded Source

File details

Details for the file tooth.paste-1.1.zip.

File metadata

  • Download URL: tooth.paste-1.1.zip
  • Upload date:
  • Size: 61.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tooth.paste-1.1.zip
Algorithm Hash digest
SHA256 a4a07428f3977c74ab13f49972c3bda7c55880fad1d9385810cec56c18274f5b
MD5 6bc86e7bedcba5169afc99d43e2b16db
BLAKE2b-256 6ceed7db5f1107d6100384e0b90455d61b64a0b86f29b7f9525ba6400bc768b3

See more details on using hashes here.

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