matrix_api_async
An asyncio wrapper of matrix_client.api.
This is based on the work in https://github.com/matrix-org/matrix-python-sdk/pull/168
Usage
import aiohttp
from matrix_api_async import AsyncHTTPAPI
async def main():
async with aiohttp.ClientSession() as session:
mapi = AsyncHTTPAPI("http://matrix.org", session)
resp = await mapi.get_room_id("#matrix:matrix.org")
print(resp)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Installation
pip install matrix_api_async
Requirements
matrix_client
aiohttp (Could potentially be used with other libraries)
Compatibility
Python 3.5+
Licence
MIT
Metadata
Release files for matrix-api-async 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matrix_api_async-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for matrix_api_async-0.1.0.tar.gz |
Release files / matrix_api_async-0.1.0.tar.gz
| Download URL | matrix_api_async-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8361fd8ffabce911b2f7a43bfdce1b2d7dad8d9a0ff396401f5951109943bd75
|
|
BLAKE2b-256 checksum How to use checksums |
d9f8025476806d395ac8409e36c326d470f6e57a2eb5b7612557589310f7b73f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for matrix-api-async 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.