Skip to main content

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

Project description

build status (master) coverage

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

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.

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

pyfarm.master-0.8.6.tar.gz (414.5 kB view details)

Uploaded Source

File details

Details for the file pyfarm.master-0.8.6.tar.gz.

File metadata

File hashes

Hashes for pyfarm.master-0.8.6.tar.gz
Algorithm Hash digest
SHA256 3e8abdf5ddbc8fb23acddb197cc203d703b9fad0c554bb2a76be8d60c781c296
MD5 e7eddded6789f54e1a5ab508b5be68fe
BLAKE2b-256 a10a37409ae5446ae380cdcc2abe9af751484a0836c9d335d2f1cec38532f288

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