Skip to main content

Баннер

WuWaImaGen.py

WuWaImaGen - is a Python module that allows you to generate images for projects based on the game Wuthering Waves

Possibilities:

  • Generate card Gacha
  • Counting Gacha history
  • Automatically receive a link to the journal
  • Counting history
  • Generating a calendar of events in the game

Helpful information:

Install:

pip install wuwaimagen

Launch:

import asyncio
import wuwaimagen

'''
This example allows you to generate a gacha card and calculate your luck.
More examples here: https://github.com/Wuthery/WuWaImaGen.py/tree/main/Example
'''

client = wuwaimagen.ClientWuWa(assets=True)

async def main():    
    async with client:
        data = await client.get_gacha_info("YOU_LINK", 1, lang= 'en', generator=True)
        for key in data.data:
            icon = await key.get_icon()
            if key.typeRecord == 1:
                print(f"==[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time} [{key.drop}]\nICON: {icon.icon}\nBANNER: {icon.banner}\n")
            else:
                print(f"[{key.resourceType}] ({key.qualityLevel}) {key.name} - {key.time}[{key.drop}]\nICON: {icon.icon}\n")
        
        print(f"Total Spin: {data.info.total_spin}\nAstrite: {data.info.astrite}\n==|Five Stars: {data.info.five_stars.resonator} | {data.info.five_stars.weapon}\n==|Four Stars: {data.info.four_stars.resonator} | {data.info.four_stars.weapon}\n==Three Stars: {data.info.three_stars.weapon}")
        print(f"Card: {data.card}")

                
asyncio.run(main())

Metadata

Release files for wuwaimagen 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wuwaimagen 0.1.3
File Size Uploaded Provenance Actions
wuwaimagen-0.1.3.tar.gz 130.1 kB Without provenance Details for wuwaimagen-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wuwaimagen 0.1.3
File Interpreter ABI Platform Actions
wuwaimagen-0.1.3-py3-none-any.whl Python 3 none any Details for wuwaimagen-0.1.3-py3-none-any.whl

Total release size: 269.3 kB

Release files / wuwaimagen-0.1.3.tar.gz

Download URL wuwaimagen-0.1.3.tar.gz
Size 130.1 kB
Tags Source
SHA-256 checksum
How to use checksums
df5f7fa558804dcdd8eef632ca15f9819c814cf42645a483131b3f085701f10a
BLAKE2b-256 checksum
How to use checksums
aa6d3cc842bfd011dd1f5334551c76d838633d8e61d50038861947d4205fc678
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Windows/10

Release files / wuwaimagen-0.1.3-py3-none-any.whl

Download URL wuwaimagen-0.1.3-py3-none-any.whl
Size 139.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4225b18976c1eac5581771449bd9766355f4f137b50418f3eb7d4d5e76291e2
BLAKE2b-256 checksum
How to use checksums
e74547329a6919fd86d7e21878808dcf05d3999c5d97a07dca955f68f0e8ab5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Windows/10

Security for wuwaimagen 0.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page