Metadata-Version: 2.1
Name: genrl
Version: 0.0.1
Summary: A PyTorch reinforcement learning library for generalizable and reproducible implementations.
Home-page: https://github.com/SforAiDl/genrl
Author: Society for Artificial Intelligence and Deep Learning
Author-email: ajaysubramanian110@gmail.com
License: MIT
Project-URL: Source, https://github.com/SforAiDl/genrl
Keywords: reinforcement learning,pytorch,machine learning,deep learning
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: box2d-py (==2.3.8)
Requires-Dist: certifi (==2019.11.28)
Requires-Dist: cloudpickle (==1.3.0)
Requires-Dist: future (==0.18.2)
Requires-Dist: gym (==0.17.1)
Requires-Dist: numpy (==1.18.2)
Requires-Dist: Pillow (==7.0.0)
Requires-Dist: pyglet (==1.5.0)
Requires-Dist: scipy (==1.4.1)
Requires-Dist: six (==1.14.0)
Requires-Dist: matplotlib (==3.2.1)
Requires-Dist: pytest (==5.4.1)
Requires-Dist: torch (==1.4.0)
Requires-Dist: torchvision (==0.5.0)
Requires-Dist: tensorflow-tensorboard (==1.5.1)
Requires-Dist: tensorboard (==1.15.0)

# GenRL
[![pypi](https://img.shields.io/badge/pypi-jigglypuff--rl-blue)](https://pypi.org/project/genrl/)
[![GitHub license](https://img.shields.io/github/license/SforAiDl/genrl)](https://github.com/SforAiDl/genrl/blob/master/LICENSE)
[![Build Status](https://travis-ci.com/SforAiDl/genrl.svg?branch=master)](https://travis-ci.com/SforAiDl/genrl)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/SforAiDl/genrl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/SforAiDl/genrl/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/SforAiDl/genrl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/SforAiDl/genrl/context:python)
[![codecov](https://codecov.io/gh/SforAiDl/genrl/branch/master/graph/badge.svg)](https://codecov.io/gh/SforAiDl/genrl)

## Installation

We suggest creating a conda virtual environment before installing our package.
```
conda create -n JgRL_env python=3.6 pip
conda activate JgRL_env
```

### From Source (Recommended)
```
git clone https://github.com/SforAiDl/genrl.git
cd genrl
pip install -r requirements.txt
python setup.py install
```

### Using Pip
```
pip install genrl # for most recent stable release
pip install genrl==0.0.1dev2 # for most recent development release
```

## Usage
```python
from genrl import PPO1
import gym

env = gym.make('CartPole-v0')
agent = PPO1(network_type='mlp', env=env, epochs=500, render = True, tensorboard_log='./runs/')

agent.learn()
```


