semvec/pypi-packages huggingface dataset:
tairClient 0.1.3
a client extends redis.py that gives developers easy access to tair or tairModules
Requires Python: >=3.6
Keywords: tair redis tairHash tairString

Python client for Tair
======================

   tairClient is still being developed. Please do not use it for any
   mission critical purpose at this time.

tairClient-py is a package that gives developers easy access to tair or
tairModules. Tair is a redis-like Key/Value structure data storage
system independently developed by Alibaba. It has added many powerful
modules which also can load by redis such as tairHash, tairString, etc.

The package extends
`redis-py’s <https://github.com/andymccurdy/redis-py>`__ interface with
Tair’s API.

Installation
~~~~~~~~~~~~

::

   $ pip install tairClient

Usage example
~~~~~~~~~~~~~

.. code:: python

   from tairClient.client import Client
   tair = Client()
   tair.exhset("key","field","value",nx=True,ver=2) # returns 1
   tair.exhmset("key",{"field2":"value2","field3":"value3","field4":""}) # returns b'OK'
   tair.exhlen("key")                 # return 4
   tair.exhdel("key","field")         # return 1
   tair.exhlen("key")                 # return 3
   tair.exhgetall("key")              # returns [b'field3', b'value3', b'field2', b'value2', b'field4', b'']
   tair.exhver("key","field3")        # returns 1
   tair.exhset("key","field3","2")    # returns 1
   tair.exhgetwithver("key","field3") # returns [b'2', 13]

API
~~~

For complete documentation about tair’s commands, refer to `tair’s
module website <https://help.aliyun.com/document_detail/146579.html>`__.

.. code:: python

   from tairClient.client import Client
   tair = Client()
   # use __doc__ can get a simple doc about tair's class and function
   print(tair.__doc__) 
   print(tair.exhget.__doc__)

Development and test
~~~~~~~~~~~~~~~~~~~~

install `tox <https://tox.readthedocs.io/en/latest/>`__ , runs all tests
as its default target. Ensure you have a running redis, with the module
loaded.

::

   pip install tox  

License
~~~~~~~

`Apache License Version
2.0 <https://github.com/631086083/tairClient/master/LICENSE>`__
asyncosu 0.0.2
Async osu! Api Wrapper
Requires Python: >=3.6

<div align="center">

# AsyncOsu

</div>

Asynchronous osu! api wrapper for python using aiohttp. 

## OsuApiV2
This package supports [osu api v2.](https://osu.ppy.sh/docs/index.html)

Basic usage with context manager:

```python
import asyncio
from asyncosu import OsuApiV2


async def main():
    async with OsuApiV2(client_id='client_id', client_secret='client_secret') as osu_api:
        return await osu_api.get_user_from_username(f'heyronii')


if __name__ == "__main__":
    print(asyncio.run(main()))
```

without context_manager:

```python
async def main():
    osu_api = OsuApiV2(client_id='client_id', client_secret='client_secret')
    user_info = await osu_api.get_user_from_username(f'heyronii')
    await osu_api.close()  # Close the connection before creating another instance
    return user_info
```
AsyncOsu 0.0.1
Async osu! Api Wrapper
Requires Python: >=3.6

<div align="center">

# AsyncOsu

</div>

Asynchronous osu! api wrapper for python using aiohttp. 

## OsuApiV2
This package supports [osu api v2.](https://osu.ppy.sh/docs/index.html)

Basic usage with context manager:

```python
import asyncio
from AsyncOsu import OsuApiV2


async def main():
    async with OsuApiV2(client_id='client_id', client_secret='client_secret') as osu_api:
        return await osu_api.get_user_from_username(f'heyronii')


if __name__ == "__main__":
    print(asyncio.run(main()))
```

without context_manager:

```python
async def main():
    osu_api = OsuApiV2(client_id='client_id', client_secret='client_secret')
    user_info = await osu_api.get_user_from_username(f'heyronii')
    await osu_api.close()  # Close the connection before creating another instance
    return user_info
```
async-osu-api 0.0.1
A small example package
Requires Python: >=3.6

<div align="center">

# Async osu! Api

</div>

Asynchronous osu! api wrapper for python using aiohttp. 

## OsuApiV2
This package supports [osu api v2.](https://osu.ppy.sh/docs/index.html)

Basic usage with context manager:

```python
import asyncio
from async_osu_api import OsuApiV2

async def main():
    async with OsuApiV2(client_id='client_id', client_secret='client_secret') as osu_api:
        return await osu_api.get_user_from_username(f'heyronii')

if __name__ == "__main__":
    print(asyncio.run(main()))
```

without context_manager:

```python
async def main():
    osu_api = OsuApiV2(client_id='client_id', client_secret='client_secret')
    user_info = await osu_api.get_user_from_username(f'heyronii')
    await osu_api.close()  # Close the connection before creating another instance
    return user_info
```