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.1.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.1-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyadsb-0.0.1.tar.gz.

File metadata

  • Download URL: pyadsb-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b9de732e81956d5371263d5480c91001e90a52cc277f890df4ff3f874ec5b36a
MD5 ffd3915200e37979bc6ab3e43e9fa51e
BLAKE2b-256 419e1ead90819d479d743932fbcebeee1ca47d4ba3f6d4331ef53b93f4f7b8ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyadsb-0.0.1.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.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pyadsb-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyadsb-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58beb68c63e50ea7ed99fd5ead4d7929e5f1375cf4ed019528a3fe2d11b09e51
MD5 8e12e2348772b88408a6c5734456ed7f
BLAKE2b-256 0cca5c282ccb3c5496d5a6a7fd114220cf42ce3e011f3da4ed25f6f92eaf50f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyadsb-0.0.1-py2.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