Available on crate feature
python only.Expand description
§Python Bindings
Exposes the arc-agi-rs library to Python via pyo3.
Every type and function is gated behind the python cargo feature.
The bindings provide synchronous wrappers around the async Rust API by
driving a temporary, single-threaded tokio runtime inside each call,
making the API feel native and straightforward for Python callers.
§See Also
Structs§
- PyArc
AgiClient - An HTTP client for interacting with the ARC-AGI-3 REST API.
- PyEnvironment
Info - Metadata for a single ARC-AGI-3 game environment.
- PyEnvironment
Score - A per-game score entry inside an :class:
EnvironmentScorecard. - PyEnvironment
Scorecard - The full scored scorecard returned by scorecard endpoints.
- PyFrame
Data - The current state of a game run returned by reset and step calls.
Functions§
- register_
python_ module - Register all Python-exposed types and functions into the
arc_agi_rsmodule.