Gym Novel Gridworlds
Gym Novel Gridworlds are environments for OpenAI Gym.
Installation
git clone https://github.com/gtatiya/gym-novel-gridworlds.git
cd gym-novel-gridworlds
pip install -e .
If you prefer, you can install directly from PyPI:
pip install gym-novel-gridworlds
Development Environment
Python 3.7.4 and following packages were used for development:
Python Packages
pip install gym==0.17.2
pip install keyboard==0.13.4
pip install matplotlib==3.1.2
pip install numpy==1.16.5
pip install stable_baselines=2.10.0
pip install tensorflow-gpu==1.14.0
Running
import gym
import gym_novel_gridworlds
env = gym.make('NovelGridworld-v0')
done = False
while not done:
env.render()
action = env.action_space.sample()
obs, reward, done, info = env.step(action)
env.close()
Enjoy a Trained Agent
If the trained agent exists, then you can see it in action using:
python enjoy.py -env <env id> -episodes <number of episodes>
For example, enjoy PPO2 on NovelGridworld-v0 during 10 episodes:
python enjoy.py -env NovelGridworld-v0 -episodes 10
Play it yourself
Play the game using keyboard interface
cd tests
python keyboard_interface.py
Environments
|
NovelGridworld-v0
|
NovelGridworld-v1
|
|
NovelGridworld-v2
|
NovelGridworld-v3
|
|
NovelGridworld-v4
|
NovelGridworld-v5
|
Metadata
Release files for gym-novel-gridworlds 1.2
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 |
|---|---|---|---|---|
| gym-novel-gridworlds-1.2.tar.gz | 2.0 kB | Without provenance | Details for gym-novel-gridworlds-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gym_novel_gridworlds-1.2-py3-none-any.whl | Python 3 | none | any | Details for gym_novel_gridworlds-1.2-py3-none-any.whl |
Total release size: 4.9 kB
Release files / gym-novel-gridworlds-1.2.tar.gz
| Download URL | gym-novel-gridworlds-1.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28d278735f141ba7b21ea852834e75bbf96b3f12df219f4a511ead02375043cc
|
|
BLAKE2b-256 checksum How to use checksums |
7034d95d56d89e7ac160c1755e6720b95ad41bca5363bfe1f558ddb655ff9751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / gym_novel_gridworlds-1.2-py3-none-any.whl
| Download URL | gym_novel_gridworlds-1.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16f780c4d0c6e579b3ed9cacee3f06d2ba7f6461cc4a2917d53a55a56c25e17b
|
|
BLAKE2b-256 checksum How to use checksums |
56899d21114ef6075afb63a4110da061a6424fca3790efd1c793098f35c0b2ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for gym-novel-gridworlds 1.2
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.