Catalog PyPI
PACKAGE EXPLORERView in registry

aiobearychat

PyPI

BearyChat 异步 Python SDK

aiobearychat
Versions collected1
Direct dependencies0From release 0.2.0
Last observed21 Oct, 11:38 UTC

README

Version 0.2.0 documentation
===============================
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



`BearyChat <https://bearychat.com/>`_ 异步 Python SDK

* 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
--------

* 封装所有的 OpenAPI
* 封装所有的 RTM HTTP API
* 支持不同的异步 HTTP 请求模块(aiohttp, tornado, ...)


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())


RTM HTTP API
~~~~~~~~~~~~

.. code-block:: python

    import aiohttp

    from aiobearychat.rtm.aiohttp import RtmAPI


    async def main(token):
        async with aiohttp.ClientSession() as session:
            api = RtmAPI(session, token=token)
            response = await api.start()
            pprint(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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.027 Aug 20170

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mozillazg/aiobearychat

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:176623ec44069d640cb02a36623be80f2df08adc7b4b02b51497f1668ebdc11b