Skip to main content

endi_celery

Project description

Asynchronous tasks are executed through celery. pyramid_celery is used to integrate celery with the Pyramid related stuff. pyramid_beaker is used to cache responses.

tasks:

Asynchronous tasks called from enDI

scheduler:

Beat tasks, repeated along the time (like cron tasks)

Results

No result backend is used, tasks interact directly with enDI’s database to return datas.

enDI celery provides all the models that should be used to store task execution related stuff (see endi_celery.models).

Install

System packages

autonmie_celery needs a redis server to run

On Debian

apt-get install redis-server

On Fedora

dnf install redis-server

Python stuff

endi_celery should be run in the same environment as enDI : https://framagit.org/endi/endi

You may first run

workon endi
git clone https://framagit.org/endi/endi_celery.git
cd endi_celery
python setup.py install
cp development.ini.sample development.ini

Customize the development.ini file as needed

Start it

Launch the following command to launch the worker daemon:

celery worker -A pyramid_celery.celery_app --ini development.ini

Launch the following command to launch the beat daemon:

celery beat -A pyramid_celery.celery_app --ini development.ini

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

endi_celery-5.0.0.tar.gz (43.0 kB view details)

Uploaded Source

Built Distributions

endi_celery-5.0.0-py2.7.egg (159.7 kB view details)

Uploaded Source

endi_celery-5.0.0-py2-none-any.whl (47.0 kB view details)

Uploaded Python 2

File details

Details for the file endi_celery-5.0.0.tar.gz.

File metadata

  • Download URL: endi_celery-5.0.0.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for endi_celery-5.0.0.tar.gz
Algorithm Hash digest
SHA256 7fd3619563b46eeff6fb3933c3044d90a986490ee8a832ab56a703176f1de4d4
MD5 172d8e003cef0495541833afbe45189f
BLAKE2b-256 189003f146d25381cf896389a323103013acd239a80874eeb73aabc56f79b9d5

See more details on using hashes here.

File details

Details for the file endi_celery-5.0.0-py2.7.egg.

File metadata

  • Download URL: endi_celery-5.0.0-py2.7.egg
  • Upload date:
  • Size: 159.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for endi_celery-5.0.0-py2.7.egg
Algorithm Hash digest
SHA256 560d8330504f4cf2e352e6b44df88842fdfcbf269680deb56f1ee60bff3504c1
MD5 8a88e6712506f6fc4bb893e4796e990a
BLAKE2b-256 f11bf032d2477db3d2f8fb305e3de4d093133d107278e65d1f8dd23f356c2e1e

See more details on using hashes here.

File details

Details for the file endi_celery-5.0.0-py2-none-any.whl.

File metadata

  • Download URL: endi_celery-5.0.0-py2-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for endi_celery-5.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 00f7cd59611fe859385839c384d78f14fecb4b8b6dfbd70560bd77232fb2d850
MD5 0f20c1b82df1103e59695a20a2e386d5
BLAKE2b-256 f01c5af6cc4f86fd7ccf739680af775cffa7f0fbc557bbbef4c85cec2740fe4b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page