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

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

Built distribution (wheel)

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

Total release size: 37.2 kB

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

Download URL gym-cartpole-swingup-0.1.1.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3cd96a9ddc0419395eb57cc0e5bbd9b454344052ad1978f63da7b80aa85981cb
BLAKE2b-256 checksum
How to use checksums
c1bfa06c8960e9a31ce57cda04c52eeb248a964660737f597bcd85c18d2e6256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.2 Darwin/20.2.0

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

Download URL gym_cartpole_swingup-0.1.1-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ae6a4fcfcff02b88307e9784e420643f494713530bac0bdb09a03091f7ba076
BLAKE2b-256 checksum
How to use checksums
b625a22a871d2e539ae998be2408bde6cdb0cc9ea5f3b51907291e2507fc9825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.2 Darwin/20.2.0

Security for gym-cartpole-swingup 0.1.1

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