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


Release history Release notifications

History Node

2.0

History Node

1.2

This version
History Node

1.1

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
tooth.paste-1.1.zip (61.5 kB) Copy SHA256 hash SHA256 Source None Sep 12, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page