Functionality for encoding/decoding ADSB messages written in pure Python 3
Reason this release was yanked:
Upload to pypi failed
Project description
adsb
ADSB and Mode-S decoder/encoder
The Adsb class provides parse and encode functions for creating Adsb objects from a bytes object, and encoding an object to bytes respectively.
The Tracker class implements a simple aircraft tracker that detects vehicles and collects and updates information about them. The Tracker class is meant primarily as an example application.
Example: decoding messages given either as bytes or int:
from adsb import Adsb
print(Adsb.parse(0x8D40621D58C382D690C8AC2863A7))
print(Adsb.parse(b'\x8D\x48\x40\xD6\x20\x2C\xC3\x71\xC3\x2C\xE0\x57\x60\x98')
Example: tracking aircrafts:
from adsb import Tracker
tracker = Tracker()
for msg in readline():
m = Adsb.parse(msg.strip().encode())
tracker.process(m)
Project details
Release history Release notifications | RSS feed
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 pyadsb-0.0.2.tar.gz.
File metadata
- Download URL: pyadsb-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519d860a4653070bf418497e561ed873e1b84e28af91784e1cca4dff6d7bd27d
|
|
| MD5 |
281907636f8618f085b0750001dad630
|
|
| BLAKE2b-256 |
293cc3c43def1ac411beddd975c2b3eb35b690f2b0492a3498fdedd79b1e6f20
|
Provenance
The following attestation bundles were made for pyadsb-0.0.2.tar.gz:
Publisher:
python-publish.yml on enok71/adsb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyadsb-0.0.2.tar.gz -
Subject digest:
519d860a4653070bf418497e561ed873e1b84e28af91784e1cca4dff6d7bd27d - Sigstore transparency entry: 153993894
- Sigstore integration time:
-
Permalink:
enok71/adsb@d8b90a2ad46c741d4cbbe67a8d180e6779680033 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/enok71
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d8b90a2ad46c741d4cbbe67a8d180e6779680033 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyadsb-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pyadsb-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
797dc0be2830075c7b41633140c9854deec60cd6502886f259bf10bcbf242116
|
|
| MD5 |
981edce3ecc7c5a836157ebf902e7a1b
|
|
| BLAKE2b-256 |
b305539a177e2c6db224fd67eef63151f9f05a8166d6510bebea1331a6f733e8
|
Provenance
The following attestation bundles were made for pyadsb-0.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on enok71/adsb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyadsb-0.0.2-py3-none-any.whl -
Subject digest:
797dc0be2830075c7b41633140c9854deec60cd6502886f259bf10bcbf242116 - Sigstore transparency entry: 153993895
- Sigstore integration time:
-
Permalink:
enok71/adsb@d8b90a2ad46c741d4cbbe67a8d180e6779680033 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/enok71
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d8b90a2ad46c741d4cbbe67a8d180e6779680033 -
Trigger Event:
release
-
Statement type: