Distributed task farming system http://farm.0x80.ru
Python JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
engine
web
workers
.gitignore
LICENSE
README.md
config.py
decorators.py
farm.py
handlers.py
orihara.py
requirements.txt
utils.py

README.md

Organic

Distributed task farming system with RESTful API, authentication and web interface.
Demo version: http://farm.0x80.ru (username & password: admin)

Requirements

API methods

Note: user token must be sent with Authorization header:
Authorization: Bearer <token>

POST /api/user/auth
Authenticate user, create session and return token.
Parameters: username, password

POST /api/users
Create new user.
Parameters: username, password, is_staff

GET /api/users
Get list of users.

GET /api/tasks
Get list of tasks.

GET /api/workers
Get list of workers.

POST /api/task
Create task.
Parameters (JSON encoded): items (list), priority

GET /api/task/:task_id
Get task status.

GET /api/result/:task_id
Get task result.