Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyadsb-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyadsb-0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for pyadsb-0.0.2.tar.gz
Algorithm Hash digest
SHA256 519d860a4653070bf418497e561ed873e1b84e28af91784e1cca4dff6d7bd27d
MD5 281907636f8618f085b0750001dad630
BLAKE2b-256 293cc3c43def1ac411beddd975c2b3eb35b690f2b0492a3498fdedd79b1e6f20

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyadsb-0.0.2.tar.gz:

Publisher: python-publish.yml on enok71/adsb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pyadsb-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 797dc0be2830075c7b41633140c9854deec60cd6502886f259bf10bcbf242116
MD5 981edce3ecc7c5a836157ebf902e7a1b
BLAKE2b-256 b305539a177e2c6db224fd67eef63151f9f05a8166d6510bebea1331a6f733e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyadsb-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on enok71/adsb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page