Async-Kirara
An async port of pyKirara, that's about it
Usage
import asyncKirara
import asyncio
async def cards(loop):
client = asyncKirara.Kirara()
cards = await client.get_id('card_t', 'uzuki', card_rarity='ssr') # Get all SSR card IDS for Uzuki
stuff = await client.get_cards(cards, en_translate=True) # Converts IDS into card objects
for card in stuff: # Print the cards' attributes
print('='*30)
print(card.title)
print(card.lead_skill.name)
print(card.skill.name)
print('\n')
await client.close()
if __name__ == '__main__': # Async loop stuff
loop = asyncio.get_event_loop()
loop.run_until_complete(cards(loop))
Requirements
- Python 3.6+ (Mabye I'll backport it to 3.5, if I feel like it)
- aiohttp library
License
Metadata
Release files for asyncKirara 1.3.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 | |
|---|---|---|---|---|
| asyncKirara-1.3.0.tar.gz | 6.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncKirara-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / asyncKirara-1.3.0.tar.gz
| Download URL | asyncKirara-1.3.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3edaa4bb7300ac18fd252de211aea81e2b40e4e1e5b855496164444d9c2b5512
|
|
BLAKE2b-256 checksum How to use checksums |
310d29d3526957ec21db48c76e3a1f670f542462fe65829bdcfd083149f84f85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0
|
Release files / asyncKirara-1.3.0-py3-none-any.whl
| Download URL | asyncKirara-1.3.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a30c1f64e17ed86e79ed73909ff3d544d9bbcd24aeb05a75e44d13379d34bd7
|
|
BLAKE2b-256 checksum How to use checksums |
b8e8d18920fb3f7e5f144ed6927d60a6c6a653457af70527a87d48fb1472135d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0
|
Security for asyncKirara 1.3.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.