Skip to main content

PyPI

gym-cartpole-swingup

A simple, continuous-control environment for OpenAI Gym

Installation

pip install gym-cartpole-swingup

Usage example

# coding: utf-8
import gym
import gym_cartpole_swingup

# Could be one of:
# CartPoleSwingUp-v0, CartPoleSwingUp-v1
# If you have PyTorch installed:
# TorchCartPoleSwingUp-v0, TorchCartPoleSwingUp-v1
env = gym.make("CartPoleSwingUp-v0")
done = False

while not done:
    action = env.action_space.sample()
    obs, rew, done, info = env.step(action)
    env.render()

Metadata

Release files for gym-cartpole-swingup 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gym-cartpole-swingup 0.1.3
File Size Uploaded Provenance Actions
gym-cartpole-swingup-0.1.3.tar.gz 18.1 kB Without provenance Details for gym-cartpole-swingup-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gym-cartpole-swingup 0.1.3
File Interpreter ABI Platform Actions
gym_cartpole_swingup-0.1.3-py3-none-any.whl Python 3 none any Details for gym_cartpole_swingup-0.1.3-py3-none-any.whl

Total release size: 37.1 kB

Release files / gym-cartpole-swingup-0.1.3.tar.gz

Download URL gym-cartpole-swingup-0.1.3.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e22a6a82dd1b450d184a9a5f0c8a765e1ba85532eab5f8a3c3d55ba5a3161d59
BLAKE2b-256 checksum
How to use checksums
f790e3821bdb9c7d83ec1e458467a339f5d580aef9ae5770dc7ce5dceb78887c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.9 Linux/5.4.0-1043-azure

Release files / gym_cartpole_swingup-0.1.3-py3-none-any.whl

Download URL gym_cartpole_swingup-0.1.3-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8231893db544d14ce58d76b0a865b41a4e115b78465718845e4f0e011e27bfe2
BLAKE2b-256 checksum
How to use checksums
d354015c042d684d550abbb95b279b32ef74b9bfb04064ad19bc56d3d3e838e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.9 Linux/5.4.0-1043-azure

Security for gym-cartpole-swingup 0.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page