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 tasks in an 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 are 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 poorly updated DDragon, we are currently 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 standard dictionary keys, triple your code efficiency now with autocompletion.
  • Perfect Rate Limiter: Pyot's Rate Limiter is production tested in all asynchronous, multithreaded and even multiprocessed environments. Pyot's rate limiters are made for perfectionists.
  • User Friendly Docs: Meet friendly docs that "should" be easy 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.
  • Topics section documents common Q&As and hard touched topics of Pyot.
  • Developers section has contributing guidelines and wanted features.

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

  1. First, read the Installation Guide for instructions on installing Pyot.
  2. Next, follow the quick start guide in 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 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 Gatherer and Queue.
  6. From there you can jump back to manipulating the settings by reading 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.

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

If this framework is useful to you, a star to the repo is appreciated.

Contributions are welcome! If you have ideas 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. 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.8.tar.gz (72.0 kB view details)

Uploaded Source

Built Distribution

pyot-2.0.8-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyot-2.0.8.tar.gz
  • Upload date:
  • Size: 72.0 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.1 CPython/3.9.0

File hashes

Hashes for pyot-2.0.8.tar.gz
Algorithm Hash digest
SHA256 3e4ca468e8c64abb3fcaf56be9a55b386fdda9777f52edb2cdec78d2c6abf1fc
MD5 541970a1ff33dbabdae078da58ce561b
BLAKE2b-256 23576ab0e2a2edde56b193a7d9a2dbc35377b629c3fbbc50788ba8216d7877da

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyot-2.0.8-py3-none-any.whl
  • Upload date:
  • Size: 102.3 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.1 CPython/3.9.0

File hashes

Hashes for pyot-2.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a89d637b87547b5e0d1a736d9810a3bd8b05bc33e4c20cba5f463d11a8057a78
MD5 a185fd59c3b22d5b452ec14bc39c5d62
BLAKE2b-256 f0f5400b60402727a70a17eddf78e6dc5ddca97ed3ad29516ce7d837b0c84ef8

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