Metadata-Version: 2.0
Name: aiobearychat
Version: 0.1.0
Summary: An async bearychat API library for Python
Home-page: https://github.com/mozillazg/aiobearychat
Author: mozillazg
Author-email: mozillazg101@gmail.com
License: MIT
Keywords: aiobearychat
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Dist: attrs
Requires-Dist: attrs
Provides-Extra: aiohttp
Requires-Dist: aiohttp; extra == 'aiohttp'

===============================
aiobearychat
===============================

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

.. image:: https://img.shields.io/travis/mozillazg/aiobearychat.svg
        :target: https://travis-ci.org/mozillazg/aiobearychat

.. image:: https://img.shields.io/coveralls/mozillazg/aiobearychat/master.svg
        :target: https://coveralls.io/r/mozillazg/aiobearychat

.. image:: https://readthedocs.org/projects/aiobearychat/badge/?version=latest
        :target: https://readthedocs.org/projects/aiobearychat/?badge=latest
        :alt: Documentation Status

.. image:: https://badges.gitter.im/mozillazg/aiobearychat.svg
        :alt: Join the chat at https://gitter.im/mozillazg/aiobearychat
        :target: https://gitter.im/mozillazg/aiobearychat



An async `BearyChat <https://bearychat.com/>`_ API library for Python

* Free software: MIT license
* Documentation: https://aiobearychat.readthedocs.org
* GitHub: https://github.com/mozillazg/aiobearychat
* PyPI: https://pypi.python.org/pypi/aiobearychat
* Python version: 3.5, 3.6

Features
--------

* 异步 I/O `BearyChat <https://bearychat.com/>`_ Python SDK
* 支持不同的异步 I/O http 客户端模块（aiohttp, tornado, ...)
* 封装所有 OpenAPI


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

At the command line::

    $ pip install aiobearychat[aiohttp]


Usage
-----


OpenAPI
~~~~~~~

.. code-block:: python

    import aiohttp

    from aiobearychat.openapi.aiohttp import OpenAPI


    async def main(token):
        async with aiohttp.ClientSession() as session:
            api = OpenAPI(session, token=token)
            response = await api.user.list()
            print(response.json())


Credits
-------

This package was created with Cookiecutter_ and the `mozillazg/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`mozillazg/cookiecutter-pypackage`: https://github.com/mozillazg/cookiecutter-pypackage


