Pykirara

Latest version: v1.1.1

Safety actively analyzes 619256 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.1

Hotfix
- Fixed card translations using the same string

1.1.0

Additions
- Added translate function to translate some japanese strings to english such as:
- Card titles
- Skill names (Including Lead skills)
- Event names
- Gacha names
- Added translate parameters to get_card, and get_now
Changes
- Changed how name is matched in get_id from `x in y` to regex matching
- This prevents appending cards from both Rin and Rina since both names have 'Rin' in them, or any other similar names
Fixes
- Fixed duplicate ID appending in get_id when rarity param is passed
- Fixed mismatched category in get_now func

1.0.0

NOW ON PyPI!!!!
- To install:

pip install pyKirara

FULL REWRITE OF DUMB CODE!!!!
- All classes inheriting from Kirara are now dataclasses
- I made the dumb mistake of spawning new clients everytime
any class is initialized. Everything should've been in one session
in the first place
- usage should still be mostly the same: initialize client get data use data

General Changes & Additions
- get_id now has the ability to get one specific card
- added ability to pass only the idol's first name
- a bit buggy since substrings are weird
- additional params added, rarity, position
- rarity can be from n to ssr, or n+ to ssr+
- check enums for dict mapping
- position is the order when the card was released
- EX: uzuki ssr 4, would get uzuki's 4th ssr
- Error catching is added to functions

Card Class Changes & Additions
- changed card class members
- skill_id is now just skill which is a dict of the skill's info
- added lead_skill, which is also a dict of the skill's info
- attribute is no longer a dict mapping, it now returns a string

0.5.0

Additions
- added has_spread and icon members to card objects
- icon member is a link to the card's icon
- has_spread is a bool value whether the card has a
spread image or not
- icon is now a category for the save_image function
- also added icon member to idol object
Changes
- event_list function to happening_list functions
- happening_list can also now list Gacha objects
- An additonal parameter called category can be used
to define which object type to use
- get_id function now returns a list of card objects matching the name given
Minor Changes
- Card.save_image() now gets the image via a stream now

0.4.1

Additions
- Added basic errors
- Documentations on Event objects
Changes
- Changed how image category is handled from elif statements to a dictionary

Bug Fixes
- Fixed transparent image links giving 404s (typo in link)
- Fixed typos in docstrings

0.4.0

Images and event stuff added
- Added [save_image()](https://github.com/EthanSk13s/pyKirara/blob/master/pyKirara/card.pyL174) to card object


- This is a way to save images as a file-like object to save locally do something else, or just get the raw links

- Added [Event object](https://github.com/EthanSk13s/pyKirara/blob/master/pyKirara/client.pyL188) and [event_list()](https://github.com/EthanSk13s/pyKirara/blob/master/pyKirara/client.pyL256) function

- The Event object is made due to a way to recall past events
- event_list is to get a list of event objects happening currently

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.