XPlane Gym Environment
This project provides an OpenAI Gym environment for training reinforcement learning agents on an XPlane simulator. The environment allows agents to control an aircraft and receive rewards based on how well they perform a task, such as flying a certain trajectory or landing safely.
Installation
To install the package, run the following command:
pip install airgym
Usage/Examples
To use the environment in your Python code, you can import it as follows:
import airgym
import gym
# If XPlane is running on the same machine, you can use the default address and port.
# Or, set ip address and port according to your configuration.
env = gym.make('AirGym-v1')
episods = 0
for episod in range(episods):
obs = env.reset()
done = False
while not done:
actions = env.action_space.sample()
obs, reward, done, info = env.step(action)
env.close()
Metadata
Release files for airgym 0.0.5
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 | Actions |
|---|---|---|---|---|
| airgym-0.0.5.tar.gz | 21.6 kB | Without provenance | Details for airgym-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airgym-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for airgym-0.0.5-py3-none-any.whl |
Total release size: 43.2 kB
Release files / airgym-0.0.5.tar.gz
| Download URL | airgym-0.0.5.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
842d0e977d1048f2f373dd1b67a2d5e0de10b84281226b26fff5b7bbcc3e21d1
|
|
BLAKE2b-256 checksum How to use checksums |
ccb6f49d9942ca52d5187bec5d31016855f187ee373861b7662fa1bc716d8c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / airgym-0.0.5-py3-none-any.whl
| Download URL | airgym-0.0.5-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34b1886eeba5a7893d09ae2381f920913188b9a78cb437c17e3bdeba37af49ee
|
|
BLAKE2b-256 checksum How to use checksums |
b62a52ac423f62d113d96ae0b866417d64374774c9d5154ad4fa4282fa056b3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for airgym 0.0.5
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.