python setup.py install
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