Skip to main content

Legends of Runeterra deck coder and decoder

Reason this release was yanked:

wrong format version

Project description

Python Implementation


python >=3.5 required pip >= 19.0.0

pip install lor-deckcodes


Ever expanding rich API with method to display cards conveniently

from lor_deckcodes import LoRDeck, CardCodeAndCount

# Decoding

# list all cards with card format 3:01SI001

card =[0] # instance of CardCodeAndCount
card.faction # SI/FR...
card.card_id # 111
card.set # 01

# Encoding
# These are equivalent
deck = LoRDeck(['3:01SI015', '3:01SI044'])
deck = LoRDeck([
    CardCodeAndCount('01SI015', 3)]
# returns encoded string

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lor_deckcodes-1.1.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

lor_deckcodes-1.1.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page