FrozenLake Demo
A minimal, clean implementation of the FrozenLake environment, inspired by Gymnasium.
Installation
You can install this package locally using pip:
pip install -e .
Usage
import gymnasium as gym
from frozenlake_demo import FrozenLakeEnv
# Initialize environment
env = FrozenLakeEnv(render_mode="human")
obs, info = env.reset(seed=42)
# Run a simple loop
for _ in range(10):
action = env.action_space.sample() # Random action
obs, reward, terminated, truncated, info = env.step(action)
if terminated or truncated:
obs, info = env.reset()
env.close()
Environment Details
- Action Space: Discrete(4) (Left=0, Down=1, Right=2, Up=3)
- Observation Space: Discrete(16) (Grid index 0-15)
- Map: 4x4 Grid with Start(S), Frozen(F), Hole(H), and Goal(G).
Metadata
Release files for frozenlake-demo 0.0.3
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 | |
|---|---|---|---|---|
| frozenlake_demo-0.0.3.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| frozenlake_demo-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / frozenlake_demo-0.0.3.tar.gz
| Download URL | frozenlake_demo-0.0.3.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa465fe70b7016e0ae09b6c52d5ae66b9de1252dab562c109a148638015fe3a5
|
|
BLAKE2b-256 checksum How to use checksums |
4fe87e160916e7945fdd309de7d257f8fac7cccd8b13d06731753a97005cf94a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / frozenlake_demo-0.0.3-py3-none-any.whl
| Download URL | frozenlake_demo-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce7405853eca25eea33c0afeaf8efa42c2a69f9968e2b57172c01cf3251dedf2
|
|
BLAKE2b-256 checksum How to use checksums |
a124553a2e14b5f7ce74818b8f26ac9cb6899a0f63f6286c2237a4f94c8f5d5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for frozenlake-demo 0.0.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.