Skip to main content

AsyncIO based high level Python framework for the Riot Games API that encourages rapid development and clean, pragmatic design.

Project description

Pyot

MIT Licensed

Pyot is a Python Framework for the Riot Games API, including League of Legends, Teamfight Tactics, Legends of Runeterra and Valorant that encourages rapid development and clean, pragmatic design. It specializes at doing task in async environment to get the expected result faster than synchronous code. Thanks for checking it out.

Pyot is highly inspired by Cassiopeia, you will notice that both has similar internal workings.

Features

Features that Pyot has and can provide to your development.

  • AsyncIO Based: No more waiting forever, concurrent calls and jobs made faster, highly configurable settings and wide range of tools to speed all your I/O tasks.
  • Synchronous Compatible: An adapted version of Pyot that runs on synchronous environment, Pyot will expose part of its API synchronously in its secondary module called Syot.
  • Django Support: Full support for Django Caches Framework and its new 3.1 async Views, just add pyot to the installed apps and point your setting modules on your settings.py file.
  • Community Projects Integrated: Take a step to dump the late and poor updated DDragon, we going beta testing directly using Cdragon and Meraki, BangingHeads' DDragon replacement is also coming soon.
  • Caches Integrated: A wide range of Caches Stores is available right out of the box, we currently have Omnistone(Runtime), RedisCache(RAM), DiskCache(Disk) and MongoDB(NoSQL).
  • Multiple Models: Available models are League of Legends, Teamfight Tactics, Legends of Runeterra and Valorant.
  • Autocompletion Included: Forget the standard dictionary keys, triple your code efficiency now with autocompletion enabled.
  • Perfect Rate Limiter: Pyot Rate Limiter is production tested in all asynchronous, multithreaded and even multiprocessed environments, rate limiters for perfectionists.
  • User Friendly Docs: Meet a friendly docs that "should" be easier to read and understand.

About the Documentation

All documentation is in the "docs" directory and online at https://paaksing.github.io/Pyot/. If you're just getting started, here's how we recommend you read the docs:

The documentation is separated into different pages at the top navbar.

  • Core section documents the core modules, objects and settings of Pyot.
  • Pipeline section documents the Low level API of Pyot's Pipeline objects.
  • Models section documents the objects APIs for each available model.
  • Stores section documents the available Stores configurable to the pipeline.
  • Limiters section documents the available Rate Limiters for the RiotAPI Store.
  • Utils section documents the available helper functions and objects of Pyot.
  • Developers section has contributing guidelines and wanted features.

Portal: https://paaksing.github.io/Pyot/

  1. First, read Core > Introduction > Installation Guide for instructions on installing Pyot.
  2. Next, follow the quick start guide in Core > Introduction > Quick Start Guide for creating and running your first Pyot project.
  3. Then you should get to know the types of objects that Pyot works with in Core > Cores > Objects.
  4. Now give yourself an idea of what models we have and what objects we work in Models
  5. You'll probably want to read through the topical context managers for achieving concurrency in Core > Cores > Gatherer and Core > Cores > Queue.
  6. From there you can jump back to manipulating the settings by reading Core > Cores > Settings and get to know all the available pipeline stores in Pyot at Stores.
  7. Check out all the utils objects and methods available in pyot.utils that can be handy in your development, documented at Utils > Methods and Utils > Objects.

Docs are updated rigorously. If you find any problems in the docs, or think they should be clarified in any way, please take 30 seconds to open an issue in this repository.

To contribute to Pyot

Contributions are welcome! If you have idea or opinions on how things can be improved, don’t hesitate to let us know by posting an issue on GitHub or @ing me on the Riot API Discord channel. And we always want to hear from our users, even (especially) if it’s just letting us know how you are using Pyot.

Check out https://paaksing.github.io/Pyot/devs/ for information about getting involved.

Finally thanks for Django docs, I literally copied their doc format and changed the names. Yikes

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

pyot-2.0.3.tar.gz (69.1 kB view details)

Uploaded Source

Built Distribution

pyot-2.0.3-py3-none-any.whl (98.8 kB view details)

Uploaded Python 3

File details

Details for the file pyot-2.0.3.tar.gz.

File metadata

  • Download URL: pyot-2.0.3.tar.gz
  • Upload date:
  • Size: 69.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for pyot-2.0.3.tar.gz
Algorithm Hash digest
SHA256 d514b0aaed6925aa553a15da01ef0a05d89fa15a4899d11d94a2168f0e8b2f4f
MD5 c995061b51d9c3aaf4327f19f6f26769
BLAKE2b-256 c6500cd3e76aa714515f01b6251c43210174611267ad2715f8db4a6923acf3a3

See more details on using hashes here.

Provenance

File details

Details for the file pyot-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyot-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 98.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for pyot-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f83c42c3b6019fe2c6eed5282aa8c5b54c80452345ad1de4b141a5de5f5cbd2
MD5 47b3653a2396126a0762ccc3ff28454f
BLAKE2b-256 f5f472e5eae39c3ff6d247b51bde7bda0d6b8f5453deac8dceda0d52b80fb027

See more details on using hashes here.

Provenance

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