{ "info": { "author": "Andrew Freitas", "author_email": "andrewfreitas09@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# queueman\nA python library for managing and persisting named Python Queues\n\n### Installation\n```bash\npip install queueman\n```\nSome backends may require extra packages:\n```bash\npip install queueman[aws]\n```\n\n### Basic Usage\n```python\nwith data_queue_provider('name') as data_queue:\n # Query the last 10 entries with qid='item_id'\n data_queue(qid='item_id', start_time=datetime(1, 1, 1), end_time=datetime.utcnow(), limit=10)\n item = data_queue.get()\n # queue items should be dictionaries with 3 keys: qid, ts, and val\n data_queue.put({'qid': 'item_id', 'ts': '2019-09-11T03:23:54Z', 'val': 'foo'})\n```\nnote: specifying `qid` in the query is optional, if omitted all items between the start and end time are returned\n### Supported Backends:\n#### Local Storage\n* SQLite:\n```python\nfrom queueman.local import SQLite as data_queue_provider\n```\n\n#### Cloud Storage\n* DynamoDB\n```python\nfrom queueman.cloud import DynamoDB as data_queue_provider\n```\nnote: cloud storage is created lazily; the first call to one of these providers will create the resources in the cloud. \n\n#### Additional Functionality\nQueue `get` and `put` methods accept a `forget` argument that will tell the queue object whether the operation should be persisted. Both default to `False`.\n```python\nqueue.get(forget=True) # the returned item will be deleted from persistence\nqueue.put(item, forget=True) # item will not be persisted\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/anfreitas/queueman", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "queueman", "package_url": "https://pypi.org/project/queueman/", "platform": "", "project_url": "https://pypi.org/project/queueman/", "project_urls": { "Homepage": "https://gitlab.com/anfreitas/queueman" }, "release_url": "https://pypi.org/project/queueman/0.0.7/", "requires_dist": [ "boto3 ; extra == 'aws'" ], "requires_python": "", "summary": "Python library for managing and persisting named Python Queues with a variety of backend choices", "version": "0.0.7" }, "last_serial": 5892133, "releases": { "0.0.1.dev0": [ { "comment_text": "", "digests": { "md5": "f1103ecaf8504577ed1d1f7cfeead1dc", "sha256": "99fb13c22bb15d6fdb31e1fde6c9153818a3bcab54f7086b19023947a9b49671" }, "downloads": -1, "filename": "queueman-0.0.1.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "f1103ecaf8504577ed1d1f7cfeead1dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5603, "upload_time": "2019-09-11T16:05:00", "url": "https://files.pythonhosted.org/packages/37/c7/280d80b166729af9a052571b81818d59c02fc14c51f285f0b21061753e0f/queueman-0.0.1.dev0-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f1881717596cdeaf8d73fb2aa7988918", "sha256": "e72dcbc3a0fc4d122eae5a20d018a7c93f16bf0b55e8a4e49760d62bdb5c91a3" }, "downloads": -1, "filename": "queueman-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f1881717596cdeaf8d73fb2aa7988918", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6621, "upload_time": "2019-09-11T17:00:59", "url": "https://files.pythonhosted.org/packages/cc/29/a63e8f91e61ce821e00f6ae022ab2e9308d4163e89b6811570f83c93cde7/queueman-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "cdf05bef8aed3b095a87f76f000922c1", "sha256": "d404278b386ec234764ea8534bd60e81a4aa44151fa21b261147a3821db28c90" }, "downloads": -1, "filename": "queueman-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "cdf05bef8aed3b095a87f76f000922c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6709, "upload_time": "2019-09-11T19:02:08", "url": "https://files.pythonhosted.org/packages/01/df/e226dfd1bf597eebf86adb9e244bf4d126c5d4305a811dd27be8b842856b/queueman-0.0.3-py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "9a199fd6aea5ad02c9c77799e09b42f9", "sha256": "b48aa3323db0bd036724552ccd50e3d3f6529a5c8b29fda2e0c3a70bc88bb462" }, "downloads": -1, "filename": "queueman-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "9a199fd6aea5ad02c9c77799e09b42f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6749, "upload_time": "2019-09-11T21:24:44", "url": "https://files.pythonhosted.org/packages/5a/50/6242df82f466788c908ec9b477cdc5368bb3ff171adf49ae10687d10319b/queueman-0.0.4-py3-none-any.whl" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "8857afccb82524d61eb9743d6d3c79de", "sha256": "ae627c5d649120d4e5c87846eae6a27103ea9dd094c4c9be1e2bb03304544b2a" }, "downloads": -1, "filename": "queueman-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "8857afccb82524d61eb9743d6d3c79de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6773, "upload_time": "2019-09-24T13:01:48", "url": "https://files.pythonhosted.org/packages/49/ba/531cd60dd25a120c4e4eb46bea75614b11959aed930ca8a9339e2ebbd959/queueman-0.0.5-py3-none-any.whl" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "f6b22173911dbe44f976ee33dea5a69a", "sha256": "e543a2f870237a1600df466c5a9f66192d732c20d4d984e507cd9772cc3cfabc" }, "downloads": -1, "filename": "queueman-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "f6b22173911dbe44f976ee33dea5a69a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6794, "upload_time": "2019-09-24T21:25:17", "url": "https://files.pythonhosted.org/packages/ab/f0/e82f63b321b77bb1862e36af8fe173b7edaa902ff929a9e2f7f9a95bb849/queueman-0.0.6-py3-none-any.whl" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "dd8ccf904c158f073c23ef4069f94e2b", "sha256": "9309bf77a1d7a9c0505729f3ff9b5c91f9c368c8a7d529c44f8c3fc9ca50eded" }, "downloads": -1, "filename": "queueman-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "dd8ccf904c158f073c23ef4069f94e2b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6852, "upload_time": "2019-09-26T18:44:37", "url": "https://files.pythonhosted.org/packages/68/2d/7ffd10a6dd27cb93e178cff8262b3320648a9236325f922b648d3cab52a7/queueman-0.0.7-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dd8ccf904c158f073c23ef4069f94e2b", "sha256": "9309bf77a1d7a9c0505729f3ff9b5c91f9c368c8a7d529c44f8c3fc9ca50eded" }, "downloads": -1, "filename": "queueman-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "dd8ccf904c158f073c23ef4069f94e2b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6852, "upload_time": "2019-09-26T18:44:37", "url": "https://files.pythonhosted.org/packages/68/2d/7ffd10a6dd27cb93e178cff8262b3320648a9236325f922b648d3cab52a7/queueman-0.0.7-py3-none-any.whl" } ] }