A static library of Genshin item/char info. (WIP) - Albedo added.
Project description
GI Static Data Library
-Update-
- Renamed the repo to genshin impact.
- Version reset to 0.0.1
-Update 0.1.0 to 0.1.5-
* Trying to fix the talent retrieve function.
* Added a print system temporarily to help me debug
-Update 0.0.9-
* Fixing the lib issues
-Update 0.0.8-
* Trying a new json retreval system using lib
-Update 0.0.7-
* Trying to fix the same error that I tried to fix on 0.0.6.
-Update 0.0.6-
* Fixed an issue with retrieving character list by mats/element/weapon.
-Update 0.0.3 to 0.0.5-
* Fixed a json error.
* Fixed multiple json errors. :<
* I FORGOT TO SAVE THE ERROR FIXES
-Update 0.0.2-
* Added Albedo
* Changed the gisl.py lookup system
*** Major disclaimer: I did use AI for this. I'm new, but I will slowly change the code using my knowledge as I continue adding more stuff to this library :3
A simple Python library for retrieving Genshin Impact character and material data from a JSON file.
Features Character Data: Access detailed information about characters including their stats, talents, and constellations.
Material Lookup: Find which characters use a specific ascension or talent material.
Data-driven: The library's data is stored in a JSON file (gisl_data.json), making it easy to update and extend.
Installation You can install this library directly from your local repository using pip.
pip install .
Usage Here is a quick example of how to use the library to access character data.
Example: Getting Albedo's Talents from gisl_data_library import get_character_data import json
albedo_talents = get_character_data("albedo", "talents") print(json.dumps(albedo_talents, indent=2))
This will output all the talent data for Albedo, which is useful for figuring out which materials you need for your character.
Example: Finding characters by material from gisl_data_library import find_characters_by_material import json
characters_with_cecilia = find_characters_by_material("Cecilia") print(json.dumps(characters_with_cecilia, indent=2))
License This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genshin_impact-0.0.1.tar.gz.
File metadata
- Download URL: genshin_impact-0.0.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60f62fc083e82682a3704bbc69baa9b0a7a414a925168c18e9253f07f05d448e
|
|
| MD5 |
dc91785439d091de7f25bf281208e91e
|
|
| BLAKE2b-256 |
6cb215d9e421ef5e972de0f71a4969c59dc49402c8470e6db6ba7bcc1a775581
|
File details
Details for the file genshin_impact-0.0.1-py3-none-any.whl.
File metadata
- Download URL: genshin_impact-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a142c86b3add6a8e747b115fed895f1a29cc59d7d64374a38cbd543588bcaa73
|
|
| MD5 |
63628a7d4061ab3a9edb685fb71238d8
|
|
| BLAKE2b-256 |
07e52658539c3c561dca1ba16049d013ef78676c19eda65efbda177e092ae06d
|