Deep Reinforcement Learning Environments for web-based tasks using Playwright
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
playwrightgym-0.1.0.tar.gz
(8.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file playwrightgym-0.1.0.tar.gz.
File metadata
- Download URL: playwrightgym-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-70-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a4951f1f6306793b42c12ac3e25fe6b4170b0136e24dbf7f61297070551193
|
|
| MD5 |
302b66b77a76908adcf6e296fe468f95
|
|
| BLAKE2b-256 |
b89ccd1fdd31d38815f6d1bd214851b9c4c877ea1999246dc3ac548ea510e3de
|
File details
Details for the file playwrightgym-0.1.0-py3-none-any.whl.
File metadata
- Download URL: playwrightgym-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.4.0-70-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2d1f51810c61b283d0dbcee63d8d68e4110700d7872785c5664a31590b86e9c
|
|
| MD5 |
5026aa562ab4571c66fa7a5ca2698f48
|
|
| BLAKE2b-256 |
1beb26748272194fb538cd6414792e839296ed9a3d7521629f9e4868e2d33acf
|