{ "info": { "author": "Jacobi Petrucciani", "author_email": "jacobi@mimirhq.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "qoo: a simple SQS client\n========================\n\n.. image:: https://travis-ci.org/jpetrucciani/qoo.svg?branch=master\n :target: https://travis-ci.org/jpetrucciani/qoo\n\n\n.. image:: https://badge.fury.io/py/qoo.svg\n :target: https://badge.fury.io/py/qoo\n :alt: PyPI version\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/ambv/black\n :alt: Code style: black\n\n\n.. image:: https://img.shields.io/badge/python-3.5+-blue.svg\n :target: https://www.python.org/downloads/release/python-350/\n :alt: Python 3.5+ supported\n\n\n**qoo** is a very simple Amazon SQS client, written in Python. It\naims to be much more straight-forward to use than boto3, and specializes\nonly in Amazon SQS, ignoring the rest of the AWS ecosystem.\n\n\nFeatures\n--------\n\n- Easier interaction with SQS queues\n- Automatic support for ``AWS_ACCESS_KEY_ID``, ``AWS_SECRET_ACCESS_KEY``, and ``AWS_DEFAULT_REGION`` environment variables.\n- automatic useful message/job metadata\n\nUsage\n-----\n\nInstallation\n^^^^^^^^^^^^\n\n.. code-block:: bash\n\n pip install qoo\n\nBasic Usage\n^^^^^^^^^^^\n\n.. code-block:: python\n\n import qoo\n\n # list SQS queue names\n qoo.list_queues()\n\n # get an existing queue\n queue = qoo.get(\"$QUEUE_NAME\")\n\n # or create a queue\n queue = qoo.create(\"$QUEUE_NAME\")\n\n # send a job, pass info/keys as kwargs\n queue.send(info=\"foo\", user_id=\"test_user\") # etc.\n\n # get an approximate count of messages in the queue\n len(queue) # approximate total messages\n queue.approx_not_visible # approximate number of message in the visibility timeout\n\n # get a job\n job = queue.receive(wait_time=1)\n job.elapsed # time between sending the job and receiving it\n job.md5_matches # boolean property to show that the md5 of the job matches what was sent\n\n # and the data from the job is automatically converted into attrs\n job.info # the string \"foo\"\n job.user_id # the string \"test_user\"\n\n # delete the job from the SQS queue\n job.delete()\n\n\nTesting\n-------\n\nTests can be run with tox!\n\n.. code-block:: bash\n\n # run tests\n tox", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/jpetrucciani/qoo.git", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jpetrucciani/qoo.git", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "qoo", "package_url": "https://pypi.org/project/qoo/", "platform": "", "project_url": "https://pypi.org/project/qoo/", "project_urls": { "Download": "https://github.com/jpetrucciani/qoo.git", "Homepage": "https://github.com/jpetrucciani/qoo.git" }, "release_url": "https://pypi.org/project/qoo/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "A simple library for interacting with Amazon SQS.", "version": "0.0.4" }, "last_serial": 5757001, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "12ca739b658b2beebc098fbca101693d", "sha256": "25a6c339d126a39b120433c6b6cb4384ea1ca870226c1a52133276d0f232ec80" }, "downloads": -1, "filename": "qoo-0.0.1.tar.gz", "has_sig": false, "md5_digest": "12ca739b658b2beebc098fbca101693d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5569, "upload_time": "2019-07-22T17:34:40", "url": "https://files.pythonhosted.org/packages/f8/2b/e222c50391e3a6f19d1e3fd7ba66356b42ab0489d030388ba605d64ba6fe/qoo-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b37d03fc6954b0c4660dbdcd5f32c6a3", "sha256": "12e25aa2ddd719d4aaeededb6df3481ccd05d0c1e16dafca613d6ba671aa1c87" }, "downloads": -1, "filename": "qoo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b37d03fc6954b0c4660dbdcd5f32c6a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5571, "upload_time": "2019-08-21T15:29:25", "url": "https://files.pythonhosted.org/packages/07/ad/6c1b2af94161f486cbe5cc5540ebf9bb31a07a6505d1e9f9e0a4c8999fbd/qoo-0.0.2.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "413103943b792ac95f110656f79aa481", "sha256": "699d304ab315c11bc6fce010d89232604d7b38e1c7a6c2235862e3b71c6b1853" }, "downloads": -1, "filename": "qoo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "413103943b792ac95f110656f79aa481", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5986, "upload_time": "2019-08-29T21:09:45", "url": "https://files.pythonhosted.org/packages/c3/02/7a06a16ab6ce7e5f1c5d524049b6fa229a6bffc925ebae50bb5563a50cfe/qoo-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "413103943b792ac95f110656f79aa481", "sha256": "699d304ab315c11bc6fce010d89232604d7b38e1c7a6c2235862e3b71c6b1853" }, "downloads": -1, "filename": "qoo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "413103943b792ac95f110656f79aa481", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5986, "upload_time": "2019-08-29T21:09:45", "url": "https://files.pythonhosted.org/packages/c3/02/7a06a16ab6ce7e5f1c5d524049b6fa229a6bffc925ebae50bb5563a50cfe/qoo-0.0.4.tar.gz" } ] }