A simple resolver to analyze wynntils' encoded equipment in chat.
Project description
Wynntils Resolver
A simple resolver to anaslyeze wynntils' coded equipment in chat.
Built on
Install
pip install wynntilsresolver
Usage
Use as a package
from wynntilsresolver import resolver
print(resolver.decode("Warp"))
# Item(name='Warp', ids=[0.88, 1.07, 0.55, 0.38, 0.55, 0.63, 1.1925, 0.3, 0.81], powders=[AIR, AIR, AIR], rerolls=4)
print(resolver.decode_to_json("Warp"))
# {'name': 'Warp', 'ids': [0.88, 1.07, 0.55, 0.38, 0.55, 0.63, 1.1925, 0.3, 0.81], 'powders': ['AIR', 'AIR', 'AIR'], 'rerolls': 4}
Or initialite with your own match pattern
import re
from wynntilsresolver import Resolver
resolver = Resolver(pattern=re.compile(...))
Use the cli
pip install wynntilsresolver[cli]
python -m wynntilsresolver Warp
# IN some terminal environment, you are not able to input some of the unicode string and will result in an ItemNotValidError
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
wynntilsresolver-0.1.4.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for wynntilsresolver-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86263efde7236d613e4ac5aad4c36629f3cd478b5672b21ffb525d61050a1b4 |
|
MD5 | 430af2df2a7ca64a52d844486c366122 |
|
BLAKE2b-256 | 9c774edfc43284bd960557eab7c92d8ec23e7d0fdde58f6a451c5e27c8d627a0 |