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.4

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.4
File Size Uploaded Provenance Actions
gym-cartpole-swingup-0.1.4.tar.gz 18.0 kB Without provenance Details for gym-cartpole-swingup-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 37.1 kB

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

Download URL gym-cartpole-swingup-0.1.4.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1bacd517ec68ec196c7c2875b93cd9a3990b50b1030af93e709b7f06f47304c0
BLAKE2b-256 checksum
How to use checksums
c043a2f2284c6eca0ac0c6769eb0ee18eb3deea5492b6379ac07686aabe15849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure

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

Download URL gym_cartpole_swingup-0.1.4-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00e4ec990622159531121fb2ada95e33ebc85011f876734309d3d82219f10b69
BLAKE2b-256 checksum
How to use checksums
a19db9e8a07e30fa66c0debe55df59128052dc38cd756732d98f67a8a940df92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1036-azure

Security for gym-cartpole-swingup 0.1.4

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