{ "info": { "author": "Matthias Urlichs", "author_email": "matthias@urlichs.de", "bugtrack_url": null, "classifiers": [], "description": "aioserf\n=======\n\nAioSerf is an async Python interface to Serf, the decentralised solution\nfor service discovery and orchestration.\n\nIt uses `anyio `, thus should work with\n``asyncio``, ``trio``, and ``curio``. Hopefully.\n\n.. image:: https://badge.fury.io/py/aioserf.svg\n :alt: PyPI latest version badge\n :target: https://pypi.python.org/pypi/aioserf\n.. image:: https://coveralls.io/repos/smurfix/aioserf/badge.png?branch=master\n :alt: Code coverage badge\n :target: https://coveralls.io/r/smurfix/aioserf?branch=master\n\nInstallation\n------------\n\naioserf requires a running Serf agent. See `Serf's agent documentation\n`_ for instructions.\n\nTo install aioserf, run the following command:\n\n.. code-block:: bash\n\n $ pip install aioserf\n\nor alternatively (you really should be using pip though):\n\n.. code-block:: bash\n\n $ easy_install aioserf\n\nor from source:\n\n.. code-block:: bash\n\n $ python setup.py install\n\nGetting Started\n---------------\n\nThese examples require a running async loop.\n`Trio ` is recommended, though\n``asyncio`` works too.\n\n.. code-block:: python\n\n from aioserf import serf_client\n\n async with serf_client() as client:\n await client.event('foo', 'bar')\n\nStream usage:\n\n.. code-block:: python\n\n from aioserf import serf_client\n\n async with serf_client() as client:\n async with client.stream('*') as stream:\n async for resp in stream:\n print(resp)\n\nDevelopment\n------------\n\naioserf requires a running Serf agent. See `Serf's agent documentation\n`_ for instructions.\n\nYou can run the tests using the following commands:\n\n.. code-block:: bash\n\n $ serf agent --tag foo=bar & # start serf agent\n $ python3 -mpytest tests\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/smurfix/aioserf", "keywords": "Serf", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aioserf", "package_url": "https://pypi.org/project/aioserf/", "platform": "", "project_url": "https://pypi.org/project/aioserf/", "project_urls": { "Homepage": "https://github.com/smurfix/aioserf" }, "release_url": "https://pypi.org/project/aioserf/0.3.3.post3/", "requires_dist": null, "requires_python": "", "summary": "Python client for the Serf orchestration tool", "version": "0.3.3.post3" }, "last_serial": 4953500, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6df397bf7985005a667c7c7e1c79c794", "sha256": "b35fed6da3d33546ae06c9eb7c3a5803975f196ce5f6e4183756320e2e7b89f6" }, "downloads": -1, "filename": "aioserf-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6df397bf7985005a667c7c7e1c79c794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13333, "upload_time": "2018-12-15T18:43:48", "url": "https://files.pythonhosted.org/packages/a7/20/4cc6317944fa7f17746bf1411ca2b81a30ca93fe2d270251383039358ce9/aioserf-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "eb096a95c4894e12fb9e227aeea83d57", "sha256": "903b9407be756aedd2ef2e580fda2365139799d841445aa55c5eb82c1c5bb1ce" }, "downloads": -1, "filename": "aioserf-0.2.0.tar.gz", "has_sig": false, "md5_digest": "eb096a95c4894e12fb9e227aeea83d57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16078, "upload_time": "2018-12-17T21:22:18", "url": "https://files.pythonhosted.org/packages/26/9e/61c8c076aa5bf87d4fa30f1d278860ed4173480fe4333d72731d051a0a64/aioserf-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "bc0d0cf0302d3c3ac3acafbbe73bbb93", "sha256": "8cbb2a063dec73240f8c43939d8442eac79b57cef9143ad7bbdac266bf9fa886" }, "downloads": -1, "filename": "aioserf-0.3.0.tar.gz", "has_sig": false, "md5_digest": "bc0d0cf0302d3c3ac3acafbbe73bbb93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28831, "upload_time": "2018-12-19T07:27:55", "url": "https://files.pythonhosted.org/packages/51/c8/a10b90c304383cea042c1090c152c7066499ed1c83760d3686dd2e956828/aioserf-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f83c63890ced40489fd1817b82f2a314", "sha256": "b8d87ad52787a4278c160a0df420a0610b97e05b45c3abee40c351a3aced07d1" }, "downloads": -1, "filename": "aioserf-0.3.1.tar.gz", "has_sig": false, "md5_digest": "f83c63890ced40489fd1817b82f2a314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28925, "upload_time": "2018-12-19T09:31:54", "url": "https://files.pythonhosted.org/packages/f2/79/d9af63aa386e3b898196b23adc3f41b92d262851cd9b7b682cc08537c3dd/aioserf-0.3.1.tar.gz" } ], "0.3.3.post3": [ { "comment_text": "", "digests": { "md5": "9a6b0508b15464bf5a096718cc0d35cb", "sha256": "54267f3c0ceb2a3c214fc9a2fcc1a7c3b9bfdc44307dce57e1bd76534c28fdd9" }, "downloads": -1, "filename": "aioserf-0.3.3.post3.tar.gz", "has_sig": false, "md5_digest": "9a6b0508b15464bf5a096718cc0d35cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29997, "upload_time": "2019-03-18T11:20:39", "url": "https://files.pythonhosted.org/packages/fd/cc/6794626a150cec9a6e27796bb761f7ab59e10b3916c02cfe40251dbf5767/aioserf-0.3.3.post3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a6b0508b15464bf5a096718cc0d35cb", "sha256": "54267f3c0ceb2a3c214fc9a2fcc1a7c3b9bfdc44307dce57e1bd76534c28fdd9" }, "downloads": -1, "filename": "aioserf-0.3.3.post3.tar.gz", "has_sig": false, "md5_digest": "9a6b0508b15464bf5a096718cc0d35cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29997, "upload_time": "2019-03-18T11:20:39", "url": "https://files.pythonhosted.org/packages/fd/cc/6794626a150cec9a6e27796bb761f7ab59e10b3916c02cfe40251dbf5767/aioserf-0.3.3.post3.tar.gz" } ] }