PlaywrightGym - Train RL Agents for Web tasks
Web-Browser-based learning environments for Deep Reinforcement Learning.
Usage
import gym
import playwrightgym
env = gym.make("LoginFormVisual-v0")
Examples
- examples/demonstrator.py: Starter class to get human/manual demonstrations
- examples/gather_demonstrations.py: Starter script to gather human/manual demonstrations and store in RLLib-compatible file format for offline RL
Dev Setup
- Install python-poetry:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - - Clone and
cdto this projects:git clone https://github.com/praveen-palanisamy/playwrightgym && cd playwrightgym - Activate python venv:
poetry shell - Install dependencies and
playwrightgymin editable mode:poetry install - Install browsers for playwright:
playwright install - Ready!
Metadata
Release files for playwrightgym 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| playwrightgym-0.1.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| playwrightgym-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / playwrightgym-0.1.0.tar.gz
| Download URL | playwrightgym-0.1.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2a4951f1f6306793b42c12ac3e25fe6b4170b0136e24dbf7f61297070551193
|
|
BLAKE2b-256 checksum How to use checksums |
b89ccd1fdd31d38815f6d1bd214851b9c4c877ea1999246dc3ac548ea510e3de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-70-generic
|
Release files / playwrightgym-0.1.0-py3-none-any.whl
| Download URL | playwrightgym-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2d1f51810c61b283d0dbcee63d8d68e4110700d7872785c5664a31590b86e9c
|
|
BLAKE2b-256 checksum How to use checksums |
1beb26748272194fb538cd6414792e839296ed9a3d7521629f9e4868e2d33acf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-70-generic
|