Skip to main content

yarllib

PyPI PyPI - Python Version PyPI - Status PyPI - Implementation PyPI - Wheel GitHub

test lint docs codecov

black

Yet Another Reinforcement Learning Library.

Status: development.

Why?

I had the need for a RL library/framework that:

  • was clearly and simply implemented, with good enough performances;
  • highly focused on modularity, customizability and extendability;
  • wasn't merely Deep Reinforcement Learning oriented.

I couldn't find an existing library that satisfied my needs; hence I decided to implement yet another RL library.

For me it is also an opportunity to have a better understanding of the RL algorithms and to appreciate the nuances that you can't find on a book.

If you find this repo useful for your research or your project, I'd be very glad :-) don't hesitate to reach me out!

What

The package is both:

  • a library, because it provides off-the-shelf functionalities to set up an RL experiment;
  • a framework, because you can compose your custom model by implementing the interfaces, override the default behaviours, or use the existing components as-is.

You can find more details in the documentation.

Tests

To run tests: tox

To run only the code tests: tox -e py3.7

To run only the linters:

  • tox -e flake8
  • tox -e mypy
  • tox -e black-check
  • tox -e isort-check

Please look at the tox.ini file for the full list of supported commands.

Docs

To build the docs: mkdocs build

To view documentation in a browser: mkdocs serve and then go to http://localhost:8000

License

yarllib is released under the GNU Lesser General Public License v3.0 or later (LGPLv3+).

Copyright 2020 Marco Favorito

Authors

Cite

If you use this library for your research, please consider citing this repository:

@misc{favorito2020,
  Author = {Marco Favorito},
  Title = {yarllib: Yet Another Reinforcement Learning Library},
  Year = {2020},
}

An e-print will come soon :-)

Metadata

Release files for yarllib 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yarllib 0.2.0
File Size Uploaded Provenance
yarllib-0.2.0.tar.gz 18.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yarllib 0.2.0
File Interpreter ABI Platform
yarllib-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 44.6 kB

Release files / yarllib-0.2.0.tar.gz

Download URL yarllib-0.2.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e747fd729daf84a67df84182e995f6e485a2064af2b04a4a7cb104f77bc29b05
BLAKE2b-256 checksum
How to use checksums
d142c07ff15cfbd19861c1aa3a69889a0e0c903bebaf508976df585e3d7ae0c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

Release files / yarllib-0.2.0-py3-none-any.whl

Download URL yarllib-0.2.0-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b62d6d57339dd5be425c35d612e061910808019c301507a1de816b2119cbffa8
BLAKE2b-256 checksum
How to use checksums
eb8b5b1e48aa603298f85928c77ca379b6bed45e88e08c174bee9b79d92df873
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

Security for yarllib 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page