{ "info": { "author": "B2CK", "author_email": "info@b2ck.com", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Framework :: Tryton", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Object Brokering", "Topic :: System :: Distributed Computing" ], "description": "Celery-Tryton\n=============\n\nCelery integration with Tryton.\nIt defines an abstract base Task class that runs inside a Tryton transaction.\nIf the task is called from within a Tryton transaction, the context of this one\nwill be automatically restored when the worker will execute it.\n\nGetting Started\n---------------\n\nHere is a simple application::\n\n from celery import Celery\n from celery_tryton import TrytonTask, celery_app\n from trytond.pool import Pool\n\n celery_app.conf.TRYTON_DATABASE = 'test'\n\n @celery.task(base=TrytonTask)\n def hello(user_id):\n User = Pool().get('res.user')\n user = User(user_id)\n return 'hello world, %s' % user.name\n\nConfiguration\n-------------\n\nAll standard celery configuration options will work but in addition\n`TRYTON_DATABASE` must be set to the default Tryton database name and\noptionally `TRYTON_CONFIG` to load a specific configuration file.\n\nThe `celery_app` will load the configuration from the `config` value from the\nsection `[celery]` defined in the trytond configuration when used from a Tryton\nmodule.\n\nExample\n-------\n\nStart a worker::\n\n $ celery worker --app=examples.purchase_requests\n\nCall `generate_all` task::\n\n $ celery call examples.purchase_requests.generate_all\n\nTo report issues please visit the `celery_tryton bugtracker`_.\n\n.. _celery_tryton bugtracker: http://celery-tryton.b2ck.com/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://celery-tryton.b2ck.com/", "keywords": "celery tryton distributed", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "celery_tryton", "package_url": "https://pypi.org/project/celery_tryton/", "platform": "any", "project_url": "https://pypi.org/project/celery_tryton/", "project_urls": { "Homepage": "http://celery-tryton.b2ck.com/" }, "release_url": "https://pypi.org/project/celery_tryton/0.4/", "requires_dist": [ "celery", "trytond (>=3.0)" ], "requires_python": "", "summary": "Celery integration with Tryton", "version": "0.4" }, "last_serial": 4278282, "releases": { "0": [], "0.1": [ { "comment_text": "", "digests": { "md5": "fe206d35434861863781e43b12e9b639", "sha256": "b5e9ad9111b45a7f3b78913d2b540f7846e168ed9ade9ebd744acb886671396d" }, "downloads": -1, "filename": "celery_tryton-0.1.tar.gz", "has_sig": true, "md5_digest": "fe206d35434861863781e43b12e9b639", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3810, "upload_time": "2014-02-15T22:15:01", "url": "https://files.pythonhosted.org/packages/ba/84/e37628765ba8643c951e878f9e08073de03225404dc14f865b5d3e5a083e/celery_tryton-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "fbeb5578011124030e7e724c59b5e876", "sha256": "88a8ff3a1fad88191fdaccdc2f3aa2bf37dc8ed31aace6d55ed16f13ef404350" }, "downloads": -1, "filename": "celery_tryton-0.2.tar.gz", "has_sig": true, "md5_digest": "fbeb5578011124030e7e724c59b5e876", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3965, "upload_time": "2014-10-25T10:15:09", "url": "https://files.pythonhosted.org/packages/b7/ee/422c86a3862b96ca5d679a77cd1c2bf91b8a011e4d77d02060b3525f4320/celery_tryton-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "fbfc5abd2e87d9e82cada9424d376bbf", "sha256": "5cb147cbd108ab3bbd5e9df0630f73edf39beedb65fa1b79300c10fbcf93d6c5" }, "downloads": -1, "filename": "celery_tryton-0.3-py2-none-any.whl", "has_sig": true, "md5_digest": "fbfc5abd2e87d9e82cada9424d376bbf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5474, "upload_time": "2016-06-15T08:15:57", "url": "https://files.pythonhosted.org/packages/a9/f4/4e506944a1343bbcaea8cfdde25dbaf490774c0655b7d9bf5354dd163229/celery_tryton-0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f0a0fe7bb36d36072d044f3079f9f6a", "sha256": "60a6c5027ced8f81fba753df6e366b873a54d846bac1feef75d33d83ea0f4ba6" }, "downloads": -1, "filename": "celery_tryton-0.3.tar.gz", "has_sig": true, "md5_digest": "1f0a0fe7bb36d36072d044f3079f9f6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4489, "upload_time": "2016-06-15T08:15:40", "url": "https://files.pythonhosted.org/packages/1a/3b/34f44c9549dd04532cde9322280ca3393c1ef90f91417c7fb882deff7290/celery_tryton-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "e651399882d404b950ffdd7f4d7addd6", "sha256": "4920524557e858bd2feac5fcb0492c41f8f8254e3110f1b064cbc7d259e08164" }, "downloads": -1, "filename": "celery_tryton-0.4-py2-none-any.whl", "has_sig": true, "md5_digest": "e651399882d404b950ffdd7f4d7addd6", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5561, "upload_time": "2018-09-17T07:09:58", "url": "https://files.pythonhosted.org/packages/f9/02/bb1507868d33ba4c50fd5372bf77204d76d35ef67eaaa8cfbea3b6a0afc5/celery_tryton-0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbcc35fb466c892adbd6af6578cc81db", "sha256": "0d205b8e9ce870ab5ab543f291fad46841dea6851f6d2592f8d8ed3ccda40519" }, "downloads": -1, "filename": "celery_tryton-0.4-py3-none-any.whl", "has_sig": true, "md5_digest": "fbcc35fb466c892adbd6af6578cc81db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5563, "upload_time": "2018-09-17T07:10:00", "url": "https://files.pythonhosted.org/packages/5d/d6/cc22429d6fd81e4268bc5931bb7744399cb25089d2ae535722dce96e3834/celery_tryton-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff3000f7026fe5ecca0f8d6a639683c8", "sha256": "854525a3ecba163e68521bb9eadb6b3e3d48a5da5422fc72cce64d1dd0a492f8" }, "downloads": -1, "filename": "celery_tryton-0.4.tar.gz", "has_sig": true, "md5_digest": "ff3000f7026fe5ecca0f8d6a639683c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4713, "upload_time": "2018-09-17T07:10:01", "url": "https://files.pythonhosted.org/packages/be/16/6cf2d4ddf9511d556a9130337eb09a5b121fc25c05300d8dcb09bddada2a/celery_tryton-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e651399882d404b950ffdd7f4d7addd6", "sha256": "4920524557e858bd2feac5fcb0492c41f8f8254e3110f1b064cbc7d259e08164" }, "downloads": -1, "filename": "celery_tryton-0.4-py2-none-any.whl", "has_sig": true, "md5_digest": "e651399882d404b950ffdd7f4d7addd6", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5561, "upload_time": "2018-09-17T07:09:58", "url": "https://files.pythonhosted.org/packages/f9/02/bb1507868d33ba4c50fd5372bf77204d76d35ef67eaaa8cfbea3b6a0afc5/celery_tryton-0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbcc35fb466c892adbd6af6578cc81db", "sha256": "0d205b8e9ce870ab5ab543f291fad46841dea6851f6d2592f8d8ed3ccda40519" }, "downloads": -1, "filename": "celery_tryton-0.4-py3-none-any.whl", "has_sig": true, "md5_digest": "fbcc35fb466c892adbd6af6578cc81db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5563, "upload_time": "2018-09-17T07:10:00", "url": "https://files.pythonhosted.org/packages/5d/d6/cc22429d6fd81e4268bc5931bb7744399cb25089d2ae535722dce96e3834/celery_tryton-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff3000f7026fe5ecca0f8d6a639683c8", "sha256": "854525a3ecba163e68521bb9eadb6b3e3d48a5da5422fc72cce64d1dd0a492f8" }, "downloads": -1, "filename": "celery_tryton-0.4.tar.gz", "has_sig": true, "md5_digest": "ff3000f7026fe5ecca0f8d6a639683c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4713, "upload_time": "2018-09-17T07:10:01", "url": "https://files.pythonhosted.org/packages/be/16/6cf2d4ddf9511d556a9130337eb09a5b121fc25c05300d8dcb09bddada2a/celery_tryton-0.4.tar.gz" } ] }