Decuen
Decuen (dee-kew-en) is a reinforcement learning framework built in modern Python for experimentation, ease-of-use, modularity, and extensibility. Containing building blocks for modern reinforcement learning systems and modular implementations of common reinforcement learning algorithms, Decuen provides a platform for rapid iterative experimentation of new reinforcement learning systems.
Decuen has a robust Python API with type annotations (see the Python typing module) which provides developers and users with a clear view of API contracts that can accelerate debugging on both the developer and user side.
Decuen development and design is lead by Ziyad Edher
.
Principles
The development of Decuen follows a small but effective set of guiding principles that attempts to span and encapsulate our vision of what Decuen is to be:
- Ease of use. Decuen provides an API that follows existing standards, terminology, and intuitions popularized in modern reinforcement learning literature. Following these standards allows the usage of Decuen to come as second-nature to developers or researchers already familiar with reinforcement learning. Development of Decuen follows this standard to reduce the barrier-of-entry to using the framework.
- Extensibility. Decuen is intended for quick, iterative development and experimentation of reinforcement learning systems, and as such the ability to easily extend Decuen source code is of utmost importance. Decuen achieves this by providing well-documented and typed source code with thoughtfully designed interfaces and abstractions.
- Modularity. Decuen strives to be a tool for developers and researchers alike to be able to create reinforcement learning mechanisms without reinventing the wheel. Decuen implements all algorithms in a modular "building blocks" fashion to allow the plug-and-play of different modules in the larger system. This allows the independent design and development of new components to be tested as replacements for modules in current reinforcement learning systems.
- Transparency. Decuen strives to be as transparent as possible in its interfaces and abstractions to facilitate as many dimensions of change as possible. Abstractions, interfaces, and implementations are not closed-off and tend to provide as much information about internal processes as possible while abiding by our standard of modularity and extensibility.
Installation
Basic Installation
Installing decuen from PyPI is very simple, find the package here:
0. Be in the environment you would like to install decuen in.
- Install
decuenthroughpip:pip install decuen
Source Installation
Installing decuen from source is very simple given the framework is entirely written in modern Python:
0. Be in the environment you would like to install decuen in.
- Clone the repository:
git clone https://github.com/ziyadedher/decuen. - Install
decueninto your environment:cd decuen && pip install ..
Usage
After installing decuen, the framework is completely ready to be used. Detailed usage instructions, tutorials, examples, and more can be found in the Decuen Wiki.
Development
After installing decuen from source in your environment, there is a step to perform before the project is ready to be developed on:
- Reinstall
decuenin editable mode with linting and testing libraries:pip install -e '.[lint, test]'.
Now the project is ready to be developed. Note that in order to make sure that the CI/CD pipeline passes on your merge request, verify that our linter prospector does not produce any errors or warnings. You can also use tox to run the linter.
Metadata
Release files for decuen 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| decuen-0.0.5.tar.gz | 17.9 kB | Without provenance | Details for decuen-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| decuen-0.0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for decuen-0.0.5-py2.py3-none-any.whl |
Total release size: 43.5 kB
Release files / decuen-0.0.5.tar.gz
| Download URL | decuen-0.0.5.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02454a8af9dba87d4484ae9626f9d48a59e4b7a6821968f741be9bdcb296a799
|
|
BLAKE2b-256 checksum How to use checksums |
349173ec636b0b657e0343b6870a11cf1f7c1bd18295f82020912eea77a4def8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5+
|
Release files / decuen-0.0.5-py2.py3-none-any.whl
| Download URL | decuen-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a02970c58cde626ffbb1ab4ad47bb39904fd233b5430cfdcce3040c92b807b7c
|
|
BLAKE2b-256 checksum How to use checksums |
2d22f71fa8b40fef239ca0de66d2313e4f5eeb382e67e6b58ff266ce93b0264f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5+
|
Security for decuen 0.0.5
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.