Python connector for Hoppie's ACARS service
Project description
hoppie-connector
The hoppie-connector project is an API implementation for Jeroen Hoppenbrouwers' "Hoppie's ACARS" services for online multiplayer flight simulation. It can be used to create custom flight tracking and dispatch systems, or serve as a basis for airborne station implementations!
Installation
A pre-built package is hosted on PyPI and can be installed and updated using the pip utility:
pip install -U hoppie-connector
Usage Example
from hoppie_connector import HoppieConnector, HoppieError
cnx = HoppieConnector('<your callsign>', '<your logon code>')
try:
# Send a telex message
cnx.send_telex('<other callsign>', '<message>')
# Fetch and print incoming messages
messages, delay = cnx.peek()
for m_id, msg in messages:
print(f"Message {m_id}: {msg}")
except HoppieError as e:
print(e)
[!NOTE] In order to minimize unnecessary server load, keep the idle polling rate to at most once every 60 seconds. During active communication, the polling rate may be temporarily increased to once every 20 seconds.[^1]
Documentation
A more comprehensive documentation is currently in development on this project's GitHub Wiki.
Acknowledgements
Great thanks to Jeroen Hoppenbrouwers for creating and maintaining the "Hoppie's ACARS" services.
Licensing
The contents of this repository are licensed under the MIT License. The full license text is provided in the LICENSE file.
SPDX-License-Identifier: MIT
[^1]: "ACARS Server API". www.hoppie.nl. Retrieved April 3, 2024.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hoppie_connector-0.2.1.tar.gz.
File metadata
- Download URL: hoppie_connector-0.2.1.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7d1ca05e94ca233dfe69ccdb0c67be950a7366a424577fe9634e232d19a1e7c
|
|
| MD5 |
d437b06a451ae52c61d8b821d403b2e5
|
|
| BLAKE2b-256 |
0138d55ecbb22637080e9ad526960925abcbc00c72e7f77dec175c54a07b79ee
|
Provenance
The following attestation bundles were made for hoppie_connector-0.2.1.tar.gz:
Publisher:
publish-pypi.yml on islandcontroller/hoppie-connector
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hoppie_connector-0.2.1.tar.gz -
Subject digest:
f7d1ca05e94ca233dfe69ccdb0c67be950a7366a424577fe9634e232d19a1e7c - Sigstore transparency entry: 1340490698
- Sigstore integration time:
-
Permalink:
islandcontroller/hoppie-connector@39c4e0fbc30f2a9fd0b9b5424d4aa974d93a39aa -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/islandcontroller
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@39c4e0fbc30f2a9fd0b9b5424d4aa974d93a39aa -
Trigger Event:
release
-
Statement type:
File details
Details for the file hoppie_connector-0.2.1-py3-none-any.whl.
File metadata
- Download URL: hoppie_connector-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9909dd9dbcb0285706d86ceaa628d322e2d2dc866b44517861e2e3cd18c49ff
|
|
| MD5 |
0cce04f4e9e16a12393e158151783621
|
|
| BLAKE2b-256 |
2d278036fc190494ee0a1d4fa13b36ebac4cbb16ca374f103f89a302727e1ee0
|
Provenance
The following attestation bundles were made for hoppie_connector-0.2.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on islandcontroller/hoppie-connector
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hoppie_connector-0.2.1-py3-none-any.whl -
Subject digest:
c9909dd9dbcb0285706d86ceaa628d322e2d2dc866b44517861e2e3cd18c49ff - Sigstore transparency entry: 1340490704
- Sigstore integration time:
-
Permalink:
islandcontroller/hoppie-connector@39c4e0fbc30f2a9fd0b9b5424d4aa974d93a39aa -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/islandcontroller
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@39c4e0fbc30f2a9fd0b9b5424d4aa974d93a39aa -
Trigger Event:
release
-
Statement type: