This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Cluster configuration database.



Only Ubuntu 14.04 is tested. Other platforms may or may not work.


$ sudo apt-get mongodb python3-pip
$ sudo pip3 install --upgrade mongo


From pip3:

$ pip3 install --upgrade weepo

From source:

$ python3 --quiet install

Beginner’s Usage

Configuration File

Advanced Usage

Usage Examples

  1. Write a test case:
import pitest

class MyTestCase(pitest.TestCase):
    # By default, test methods are methods whose names start with 'test_'. You
    # can change the matching patterns by defining the 'test_patterns' class
    # variable by uncommenting the following line:
    #       test_patterns = [ 'mytest_*', 'yourtest_*' ]

    # The start * means it matches anything, just like the command line glob.

    # If test methods have inter-dependencies, i.e., certain tests must precede
    # some other tests, you can define the dependencies using the
    # '_internal_deps' class variable. Here is an example:
    #       _internal_deps = { 'test_foo1': [ 'test_bar1*', 'test_bar2*' ],
    #                          'test_hel*lo': [ 'test_no', 'test_yes*' ],
    #                        }

    # If this test case depend on other test cases, you can specify their
    # dependencies via the 'deps' class variable. Here is an example:
    #       deps = [ 'MyTestCase1', 'MyTestCaseFoo*', ]

    # When you reference other test cases, you do NOT need to import the files
    # that define the referenced test cases. But if they cannot be found by the
    # end of the day, error will occur.

    def __init__(self[, *args[, **kwargs]]):

    # Run once before running all test methods.
    def setup_instance(self[, *args[, **kwargs]]):

    # Run once after running all test methods.
    def teardown_instance(self[, *args[, **kwargs]]):

    # Run once before running every single test method.
    def setup(self[, *args[, **kwargs]]):

    # Run once after running every single test method.
    def teardown(self[, *args[, **kwargs]]):

    # Actual test methods, names matching 'test_patterns'.
    def test_foo_something(self[, *args[, **kwargs]]):
    def test_foo_something_else(self[, *args[, **kwargs]]):
    def test_bar_something(self[, *args[, **kwargs]]):
    def test_bar_something_else(self[, *args[, **kwargs]]):
  1. Write argument file
import pitest

__pitest_main_default_args_name__ = 'my_args'

my_args = pitest.Args()
        args = ('Anndee', ),
        kwargs = { 'kwarg0': 'KoolArg' })
        args = ('naathing', ),
        kwargs = { 'kwarg1': 'at owl' })

my_args2 = pitest.Args()
        args = ('Bashii', ),
        kwargs = { 'kwarg0': 'KoolArg2' })
        args = ('naathing', ),
        kwargs = { 'kwarg1': 'at owlll' })
  1. Run the test cases

Discover tests:

$ python3 -m pitest discover (case | method | all)

Run tests:

$ python3 -m pitest run (case | method) name

Scan given directory:

$ python3 -m pitest --start-dir some/dir ...

Run tests with dynamic arguments:

$ python3 -m pitest run case MyTestCase --args-file

Use a non-default argument object in the file:

$ python3 -m pitest run case MyTestCase --args-file \
                                        --args-name my_args2
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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