semvec/pypi-packages huggingface dataset:
stringmetric 0.1.0
Python implementations of common string distance and similarity algorithms.
License: MIT
Keywords: string metric distance similarity phonetic hamming

============================
Python String Metric Package
============================

.. image:: https://img.shields.io/pypi/v/stringmetric.svg
        :target: https://pypi.python.org/pypi/stringmetric

.. image:: https://img.shields.io/travis/sfischer13/python-stringmetric.svg
        :target: https://travis-ci.org/sfischer13/python-stringmetric


Python implementations of common string distance and similarity algorithms.


=======
History
=======

0.1.0 (2016-05-26)
------------------

* First release on PyPI.
aionsq 0.1.0a0
UNKNOWN
License: MIT

AIO NSQ
=======

Implements nsq_ client for asyncio with async/await feature.

Documentation is available at http://aio.errorist.io/aionsq.



Installation
------------

::

    python -m pip install aionsq


Usage
-----

Publish message to a nsq:

.. code-block:: python

    from aionsq.http import NSQWriter
    writer = NSQWriter('http://120.0.0.1:4567')
    await writer.publish('test', 'hello world 2')

Connect directly to a nsq daemon:

.. code-block:: python

    from aionsq.tcp import NSQReader
    reader = NSQReader('http://120.0.0.1:4567', 'topic1', 'chan1')

    @reader.subscribe('test')
    async def consumer(msg):
        msg.success()

    await reader.start()

Request nsq lookup:

.. code-block:: python

    from aionsq import NSQLookup
    lookup = NSQLookup('http://120.0.0.1:4567')
    info = await lookup.info()

Start an authd::

    python -m aionsq.authd

.. _nsq: http://nsq.io