Skip to main content

Prioritized Experience Replay in C with Python bindings

Project description

PERCy

PER-Cy: Prioritized Experience Replay Buffer ported to Python.

This project is inspired by and ported from the original PER-C repository. The original implementation is written in C, and this Python version aims to provide similar functionality with Python bindings.

Features

  • Python bindings for the PER-C library.
  • Easy integration with Python-based reinforcement learning workflows.
  • Includes examples and tests for quick setup and usage.

Repository

For the original C implementation, visit the PER-C repository.

Getting Started

Experimental pip installation.

pip3 install -i https://test.pypi.org/simple/ percy-rl

or if you want to install from source:

  1. Clone this repository:

    git clone https://github.com/your-username/PERCy.git
    cd PERCy
    
  2. Set up a virtual environment

    python3 -m venv percy_env
    source percy_env/bin/activate
    
  3. Install it locally

    pip install -e . 
    
  4. Run basic example

    python3 examples/examples_basic.py
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

percy_rl-0.1.0-cp314-cp314-macosx_26_0_x86_64.whl (12.5 kB view details)

Uploaded CPython 3.14macOS 26.0+ x86-64

File details

Details for the file percy_rl-0.1.0-cp314-cp314-macosx_26_0_x86_64.whl.

File metadata

File hashes

Hashes for percy_rl-0.1.0-cp314-cp314-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 83a94bdb550daa70c0364d77fc81106f51c14f19e3e1f55865c6f12de33b2471
MD5 ae988fd059396f523380d3f6abdd0085
BLAKE2b-256 68fc5238681f7038e2c0ffedaa74fc1600634d3c8702e9a8ff347e967eb0590f

See more details on using hashes here.

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