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.1.tar.gz (9.8 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.1-py3.4.egg (26.8 kB view details)

Uploaded Egg

league_utils-0.2.1-py2.py3-none-any.whl (12.5 kB view details)

Uploaded Python 2Python 3

league_utils-0.2.1-py2.7.egg (25.1 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for league-utils-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c21b5510b8a307fd17ad26b95b20618c68ebbae08972f486bc54000575f6a902
MD5 42b1510ca35b9903607bf948b0873b24
BLAKE2b-256 fc0eefec52c2c2a184729ab00c94400d0e97acb62c75cf82b567c522dc4d4f45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for league_utils-0.2.1-py3.4.egg
Algorithm Hash digest
SHA256 91852aa6810e899832b6a67f400d9b13ad8966172c63032b6b127ead9387251c
MD5 3622a912b6857d2eca86eb8e0693b2a7
BLAKE2b-256 a974be63b52aed05ead74cae956eb487c88685db332d6e702dee01ebf6348da8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for league_utils-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 758645413ccf1637b4cd9ea4344a819d181c3cfdfd394e63c8bce03f32ef7743
MD5 0b231c942a6200eaa656ba81c8cf4686
BLAKE2b-256 ad6b53afecef23735046f19dba70bb6a951eb94d61179869c788d70837f4da0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for league_utils-0.2.1-py2.7.egg
Algorithm Hash digest
SHA256 a402f82cc98ac05e0d9af1db1cdd1f9a0d682a232b7e0321c20cf4c7d9616419
MD5 a5b9e90f48c1a4740af5002d8e691522
BLAKE2b-256 8057161eb69e51b39114ef7eb64b9f067c303da9fd8dbf28ac29ea09ba75e92c

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