Skip to content

muhammad-ammar/veda_worker

Repository files navigation

VEDA Worker

Worker node clone for edx-VEDA

[BETA] / 2016.08

image


Installation

python setup.py install

Usage

from command line:

veda_worker

Python instantiate class:

VW = VedaWorker(
    veda_id = '${ID_STRING}'
    encode_profile = '${ENCODE_ID}'
    jobid='${JOB_ID}'
    )

Test (nose) -----

VW.test()

Celery Async -----

import celeryapp
veda_id='${ID_STRING}'
encode_profile='${ENCODE_ID}'
jobid='${JOB_ID}'

celeryapp.worker_task_fire.apply_async(
    (veda_id, encode_profile, jobid),
    queue='test_node'
    )

@yro / 2016

About

VEDA cluster worker node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published