{ "info": { "author": "\u00c9tienne BERSAC", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=====================================\n huey-pg -- Postgres Broker for Huey\n=====================================\n\nhuey_ is a simple task queue implementation for Python. huey-pg provides a\nPostgres-based implementation of a huey storage.\n\n**The project is not feature complete yet.**\n\n\nFeatures\n========\n\n- Super simple deployment.\n- Stores messages in a single table.\n- All data are wrapped in a dedicated schema.\n- Uses LISTEN/NOTIFY to keep worker sync. No polling.\n- Reliable thanks to Postgres MVCC.\n- Using plain psycopg2. No ORM.\n\n\nInstallation\n============\n\n- Install huey-pg package from PyPI::\n\n pip install huey-pg\n\n- Apply ``huey-pg.sql`` file in your database::\n\n psql -f huey-pg.sql\n\n- Then use ``PostgresHuey`` class:\n\n import psycopg2.pool\n from huey_pg import PostgresHuey\n\n pool = psycopg2.pool.ThreadedConnectionPool(0, 4, conninfo)\n huey = Postgres(connection_pool=pool))\n\n @huey.task\n def hello(name):\n print(f\"Hello {name}!\")\n\nRoadmap\n=======\n\n- Process missed notifies while resuming worker.\n- Functionnal tests.\n- Result storage.\n- Delayed & scheduled task.\n\n\n.. _huey:: https://huey.rtfd.io/\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "PostgreSQL", "maintainer": "\u00c9tienne BERSAC", "maintainer_email": "", "name": "huey-pg", "package_url": "https://pypi.org/project/huey-pg/", "platform": "", "project_url": "https://pypi.org/project/huey-pg/", "project_urls": null, "release_url": "https://pypi.org/project/huey-pg/0.1.0/", "requires_dist": [ "huey (>=1.11,<2.0)", "psycopg2 (>=2.7,<3.0)" ], "requires_python": ">=3.4,<4.0", "summary": "Postgres Broker for Huey Task Queue", "version": "0.1.0" }, "last_serial": 4840536, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7f47857b52d2d4995f06ed35ab2f36c6", "sha256": "9a62dd204d920073e131caf836ae45d0458e98e249c28d8e0522b2a3d2f9a337" }, "downloads": -1, "filename": "huey_pg-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7f47857b52d2d4995f06ed35ab2f36c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4,<4.0", "size": 6007, "upload_time": "2019-02-19T16:01:55", "url": "https://files.pythonhosted.org/packages/e6/2c/a436612500f4e1e4eed7858511fc57274ea3c05de6d615d541e18fdd8df9/huey_pg-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59183d27600343d4a312448576b9de0a", "sha256": "1e369d0eee319f0465ac06ee58dcd6f745f41ff6dab406dc2330647942184713" }, "downloads": -1, "filename": "huey-pg-0.1.0.tar.gz", "has_sig": false, "md5_digest": "59183d27600343d4a312448576b9de0a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4,<4.0", "size": 3162, "upload_time": "2019-02-19T16:01:53", "url": "https://files.pythonhosted.org/packages/fd/98/b71304c55a1ce8c8ffce2196cbea434eac345954a7edb7887cd19bfe8bca/huey-pg-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7f47857b52d2d4995f06ed35ab2f36c6", "sha256": "9a62dd204d920073e131caf836ae45d0458e98e249c28d8e0522b2a3d2f9a337" }, "downloads": -1, "filename": "huey_pg-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7f47857b52d2d4995f06ed35ab2f36c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4,<4.0", "size": 6007, "upload_time": "2019-02-19T16:01:55", "url": "https://files.pythonhosted.org/packages/e6/2c/a436612500f4e1e4eed7858511fc57274ea3c05de6d615d541e18fdd8df9/huey_pg-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59183d27600343d4a312448576b9de0a", "sha256": "1e369d0eee319f0465ac06ee58dcd6f745f41ff6dab406dc2330647942184713" }, "downloads": -1, "filename": "huey-pg-0.1.0.tar.gz", "has_sig": false, "md5_digest": "59183d27600343d4a312448576b9de0a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4,<4.0", "size": 3162, "upload_time": "2019-02-19T16:01:53", "url": "https://files.pythonhosted.org/packages/fd/98/b71304c55a1ce8c8ffce2196cbea434eac345954a7edb7887cd19bfe8bca/huey-pg-0.1.0.tar.gz" } ] }