Skip to main content

League of Legends utilities, including an Item Set Generator

Project description

# LeagueUtils

LeagueUtils is a set of utilities for interacting with League of Legends data. Currently, it contains the League ISG (Item Set Generator).

## Setup

### Install from PyPI

Simply run

pip install –pre league-utils

### Install from Source

After cloning this repo or downloading and un{zip,tar}ing the most recent [zipfile or tarball](https://github.com/thekevjames/league/releases/latest), run

python setup.py install

### Run without installing

This project can also be run without installation. After cloning this repo or downloading and un{zip,tar}ing the most recent [zipfile or tarball](https://github.com/thekevjames/league/releases/latest), run

pip install -r requirements.txt

and use the league-utils.py script in the root of this folder. Working in a [virtualenv](virtualenvwrapper.readthedocs.org) is recommended!

### From a binary

Pre-compiled binaries are provided for some Operating Systems. If yours is supported, you can grab the binary for [the latest release](https://github.com/thekevjames/league/releases/latest) and just run that without installing anything. Note that using this method does not allow you to easily update.

## ISG

The Item Set Generator is designed to build recommended pages for every champion in every viable role. It does this by pulling date from Riot’s API and from some third party sites, determining which build paths work best, and updating your League config with the results.

### Usage

The most common use case is to run

league-utils isg –write

to install the item sets for every champion. The item sets will be installed beside the default Riot recommended pages, but if you have manually downloaded item sets into your config directory before, these may be overwritten. Make sure any such files have unique names before running this script! (eg. anything other than ${CHAMPION}_${ROLE}.json).

You can also run something like

league-utils isg –champ Rumble –no-write

to dump info on that champion to your terminal.

# FAQ

## I’m getting a No LEAGUE_TOKEN found error. What gives?

Distributing secrets is hard; until I come up with a good way to do so, you’ll need to get a developer token from Riot Games to use this app. Simply set

export LEAGUE_TOKEN=xxxxxxxxx

with your token before running this app.

# Disclaimer

This project probably won’t make your computer explode, make your girlfriend leave you, or get you fired from your job, but I make no guarantees that blindly following its advice won’t drop your ELO. You’ve been warned.

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

league-utils-0.2.4.tar.gz (10.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

league_utils-0.2.4-py3.4.egg (26.9 kB view details)

Uploaded Egg

league_utils-0.2.4-py2.py3-none-any.whl (12.6 kB view details)

Uploaded Python 2Python 3

league_utils-0.2.4-py2.7.egg (25.3 kB view details)

Uploaded Egg

File details

Details for the file league-utils-0.2.4.tar.gz.

File metadata

  • Download URL: league-utils-0.2.4.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for league-utils-0.2.4.tar.gz
Algorithm Hash digest
SHA256 9d59913b8638e28c8c4c235fad56bac8ffe8f5195e9ac37f4c62f02c79f1a1b8
MD5 f0d780475e6c81b32c8aa6e7f61a7df9
BLAKE2b-256 494bd202cee53a799986545bd68c844c63edd2af111ee8b6aad0dc8ebfaf046b

See more details on using hashes here.

File details

Details for the file league_utils-0.2.4-py3.4.egg.

File metadata

File hashes

Hashes for league_utils-0.2.4-py3.4.egg
Algorithm Hash digest
SHA256 ed76b26debc10c6d5a84cd966cbfdb0471320da254bd883db60e3a995be8ae96
MD5 c2f98589195c2ef1c0ecd374d00124dc
BLAKE2b-256 e164fe841c3dd3e0d89af4d2c5633507328485df6c9cc973be09f42bd06663db

See more details on using hashes here.

File details

Details for the file league_utils-0.2.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for league_utils-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b90d3b7eb2542ae2392991dc872a2ff85674c3d8ec0d3b21257d836540e4e018
MD5 4685087139af8e9318312244581f1259
BLAKE2b-256 e8eea2253a0e78bb1f7690426d5c8675bcc7344189e7373ce30c05f3f37ecf8b

See more details on using hashes here.

File details

Details for the file league_utils-0.2.4-py2.7.egg.

File metadata

File hashes

Hashes for league_utils-0.2.4-py2.7.egg
Algorithm Hash digest
SHA256 065b91f67868b43bf00e3d96731485db186ade9e687598df9abcba388121ac19
MD5 f3e6d86841d3e5a48f7bf21b76275f6b
BLAKE2b-256 dea5c157af82d5d88edcae2594c52aba1d8f7b1e7bc38055f4170264f02473c3

See more details on using hashes here.

Supported by

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