Skip to main content
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!

Sub-library which contains the code necessary to communicate with the database via a REST api.

Project Description

Sub-library which contains the code necessary to run an instance of the master server. The primary purposes of the master including serving a REST API, running the scheduler and serving the web interface.

Python Version Support

This library supports Python 2.7 and Python 3.3+ in one code base. Python 2.6 and lower is not supported due to syntax differences and support for 2.6 in external libraries.

Documentation

The documentation for this this library is hosted on Read The Docs. It’s generated directly from this library using sphinx (setup may vary depending on platform):

virtualenv env
. env/bin/activate
pip install sphinx sphinxcontrib-httpdomain
pip install -e . --egg
make -C docs html

Testing

Note

A broker is required for most of the tests due to pyfarm.master’s dependency on celery. Redis is recommended because it’s the default, least persistent and easiest to setup.

General Testing

Tests are run on Travis for every commit. They can also be run locally too (setup may vary depending on platform):

virtualenv env
. env/bin/activate
pip install nose
pip install -e . --egg
nosetests tests/

Testing Specific Databases

By default tests are run against sqlite. While this is sufficient in many cases it’s generally best to test against the database type you wish to use. Setup wise the only difference will be in the call to nosetests:

PYFARM_DATABASE_URI="dialect+driver://username:password@host:port/database" nosetests tests/

For more information on database URIs see sqlalchemy’s documentation or the Travis configuration.

Release History

Release History

This version
History Node

0.8.6

History Node

0.8.5

History Node

0.8.1

History Node

0.8.0

History Node

0.7.0-dev6

History Node

0.7.0-dev5

History Node

0.7.0-dev4

History Node

0.7.0-dev3

History Node

0.7.0-dev2

History Node

0.7.0-dev1

History Node

0.7.0-dev0

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
pyfarm.master-0.8.6.tar.gz (414.5 kB) Copy SHA256 Checksum SHA256 Source Jun 4, 2015

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