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.6.tar.gz (167.6 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.6-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dorans-0.2.6.tar.gz
  • Upload date:
  • Size: 167.6 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.6.tar.gz
Algorithm Hash digest
SHA256 efbd30ca7ed869133a10083d1ad27bec5db8e4ff3d126f22e1c10c618973c8d4
MD5 fcdd416c84bfe12ce3bff79010c2b698
BLAKE2b-256 1ce909385f095ce507fac483ec241c54bad866d33c86c25e2dc9233a97b8c652

See more details on using hashes here.

Provenance

The following attestation bundles were made for dorans-0.2.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: dorans-0.2.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 30ae1a8e236cebaa6248cee56f301d56d51103b1602c938bdda81f7505a64839
MD5 a9686571a2d419c7e7132480a0141642
BLAKE2b-256 3799ebf8b15fd6e427d7e9d5e267347f5771d370a5b06bc03ca5a7bccf367c75

See more details on using hashes here.

Provenance

The following attestation bundles were made for dorans-0.2.6-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