This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

libraries and tools for Python development

Project Description

🚧 About

dev is a collection of Python developer tools presented as a modest alternative to the standard library’s offering.

Warning

dev is a work in progress

Testing

:py:mod`dev.libtest` is a protocol driven testing library. Users need not import libtest in order to define their tests, only to run them. This means that test modules can be imported without dev being available.

dev.libtest attempts to make constructing test runners as simple as possible by keeping the interface as simple as possible.

fail_if_* is the designated prefix:

import something
def test_something(test):
        expectation = (2,5)
        test.fail_if_not_equal(expectation, something.calculate(1))

if __name__ == '__main__':
        import dev.libtest; dev.libtest.execmodule()

Skeletons

The executable module dev.bin.init initializes a new package directory complete with setup.py script. The following is the consistency of the layout from a python -m dev.bin.init package run:

package/
        __init__.py
        lib.py [empty "primary" module]
        test/
                test_lib.py
        bin/
        release/
                xdistutils.py [module distutils data]
                pypi.py [pypi specific data goes here]
        documentation/
                usage.rst
                project.rst
                reference.rst
                index.rst
                sphinx/
                        conf.py
                        build.sh
Release History

Release History

This version
History Node

0.4.0

History Node

0.3.1dev

History Node

0.3.0dev

History Node

0.1.0dev

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dev-0.4.0.tar.gz (16.3 kB) Copy SHA256 Checksum SHA256 Source Aug 21, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting