Asynchronous osu! api wrapper for python using aiohttp.
OsuApiV2
This package supports osu api v2.
Basic usage with context manager:
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:
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
Metadata
Release files for asyncosu 0.0.2
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 | |
|---|---|---|---|---|
| asyncosu-0.0.2.tar.gz | 4.4 kB | Without provenance | Details |
Release files / asyncosu-0.0.2.tar.gz
| Download URL | asyncosu-0.0.2.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28dd0a977f6492d9fa6682eb033a44b7d6fe75c01efa2e85f5f4214ee4eeb1d2
|
|
BLAKE2b-256 checksum How to use checksums |
109b6cc26371cdd6fa393d4bff5a50d6869f22c2527f6cb90b60bf67afe1ef40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.0
|
Security for asyncosu 0.0.2
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.