pybossa-client 0.1a
pip install pybossa-client==0.1a
Newer version available (3.0.0)
Released:
pybossa-client is a tiny Python library makes it easy to work with PyBossa.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Open Knowledge Foundation Labs
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Makes it easy to work with PyBossa
Install
You can install pybossa-client using pip, preferably while working in a virtualenv:
$ pip install pybossa-client
Usage
Setup:
import pbclient # setup the server connection pbclient.set('endpoint', 'http://pybossa.com') pbclient.set('api_key', '--your-api-key-here--')
Create an application:
pbclient.create_app('Name of the App', 'shortname', 'Description')
Change the long description of an app:
app = pbclient.find_app(short_name='flickrperson') app.long_description = open('longdesc.html').read() pbclient.update_app(app)
Create a new task:
task_info = { 'image': 'http://farm9.staticflickr.com/8146/7566819662_f2c74e77d8_m.jpg' } pbclient.create_task(app_id, task_info)
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Open Knowledge Foundation Labs
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pybossa-client-0.1a.tar.gz
.
File metadata
- Download URL: pybossa-client-0.1a.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
52d3afdb9e4b3ce196edecd427af938b8114c224b35ef4da9690f996a0a89b6c
|
|
MD5 |
a8ed5b4d105108dc647063b898ac64d6
|
|
BLAKE2b-256 |
dc24a84fd1aa8984193a611cbc6131ef866592b043d1ba296a46771990772201
|