Skip to main content

Custom environment for OpenAI gym

Project description

gym-trajectory

Custom environment for OpenAI gym

N-dimensional trajectory

import gym
import gym_trajectory

env = gym.make('Trajectory-v0')
observation = env.reset()

while True:
    (observation, reward, done, info) = env.step(env.action_space.sample())
    env.render()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

gym-trajectory-0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

gym_trajectory-0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file gym-trajectory-0.1.tar.gz.

File metadata

  • Download URL: gym-trajectory-0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for gym-trajectory-0.1.tar.gz
Algorithm Hash digest
SHA256 05898514fe70df1902fa3a5b8840e326e87edfc759624e92efd9425c8e9606e6
MD5 764ba5aa89f27354c0a938e47221d1ca
BLAKE2b-256 80912befe5c4fa314d818c5aa1a72655cc8259b0e59faed35a957b008741dbb1

See more details on using hashes here.

File details

Details for the file gym_trajectory-0.1-py3-none-any.whl.

File metadata

  • Download URL: gym_trajectory-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for gym_trajectory-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5abed279a932624f37d6850053b31fa25fe1677027456f1ac53cd48a429ccb4
MD5 83e64cdbedc10779ad822ad5327c0397
BLAKE2b-256 d11f71e64bd186c077bac9b2b569e429a9a4f15128dfb8a4915f8403943f8a20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page