Skip to main content

Utilities for the League of Legends Community

Project description

Doran's Package

PyPI version Publish License: CC BY-NC 4.0

Doran's

dorans is Master Doran's premier Python package, filled with key formulas that hold the secrets to the game's mechanics!

dorans is part of the GPTilt project.

Changelog

Features

Disclaimer: dorans is still level 1!

Here's what you can get:

  • Camp and building coordinates: Coordinates for all camps and buildings, like the Dragon pit and the red team Nexus!
  • XP API: Compute champion level, XP gained from kill, monster, etc.
  • Death API: Computes the death timer from champion level and the game minutes.

Future additions may include utilities for gold calculation, damage analysis, and more!

Getting Started

Install dorans directly from PyPI:

pip install dorans

Import it, and try it out!

from dorans import xp

print(xp.total_from_level(17))
# Output: 16480

print(xp.from_kill(
    champion_level=6,
    enemy_level=6,
    number_of_assists=2
))
# Output: 134.0

Contributing

Contributions are welcome! If you have ideas for new utilities, find bugs, or want to improve existing code, please feel free to open an issue or submit a pull request on the GitHub repository.

License

All datasets are licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

GPTilt isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

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

dorans-0.2.7.tar.gz (167.7 kB view details)

Uploaded Source

Built Distribution

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

dorans-0.2.7-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file dorans-0.2.7.tar.gz.

File metadata

  • Download URL: dorans-0.2.7.tar.gz
  • Upload date:
  • Size: 167.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dorans-0.2.7.tar.gz
Algorithm Hash digest
SHA256 5f79d669812148cf20ca06ff87c3c39b8d792e114ca8cd4fce0b093f74d90a52
MD5 0bda47e88cae13861bc6c3a6e6c159d9
BLAKE2b-256 c752865a6751f476087b6b9fe38e54f21e6237a33e06537a59a2f4b663727239

See more details on using hashes here.

Provenance

The following attestation bundles were made for dorans-0.2.7.tar.gz:

Publisher: publish.yaml on gptilt/dorans

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dorans-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: dorans-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dorans-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5c66b09540f4c7f12bba661fda5cd86b137c10e5d5088c3747671fd256ee51
MD5 89babdc9efd51cdca9b72a5c5611cfa8
BLAKE2b-256 e119fb5cdc172c68074ca8e943c9ffab1d35460dac166e94f68051b7b32b7867

See more details on using hashes here.

Provenance

The following attestation bundles were made for dorans-0.2.7-py3-none-any.whl:

Publisher: publish.yaml on gptilt/dorans

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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