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!

Simple Get/Put API for the Borium Queue

Project Description

Borium provides an API for the borium queue. It exposes simple get/set methods to grab and push jobs.

Borium is a simple queue system written by Kazuyoshi Tlacaelel. To learn more, visit the project repository.

Usage

import borium

response = borium.put(job_type, config)  # sends the job to the queue
job = borium.get(job_type)               # fetches a job

In both examples, job_type is a string that specifies the job that is to be enqueued. The config, though dependent on the job itself, is usually a JSON object containing the configuration needed.

All requests to the queue will return an object containing a key called status. In the case of get this can be: nothing, unparseable, error or found. In the case of put this can be: error or stored.

If the job was found, the object will also include the key “job” which includes the config string passed.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

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
python-borium-0.1.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2014

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