Skip to main content

Format FAA aircraft registry database into Python dictionaries for programmatic use.

Project description

faa-aircraft-registry

This Python package formats the multiple CSV files provided from the FAA Aircraft Registry and reformats them into a single list of Python dictionaries allowing for easier use for programmatic usage.

Data Information

The downloaded data is read from multiple comma-delimited files contained within one zipped file. The expected structure is:

  • ReleasableAircraft.zip
    • ACFTREF.txt: aircraft reference file by make/model/series sequence
    • ardata.pdf: documentation for file content and configuration
    • DEALER.txt: aircraft dealer applicant file
    • DEREG.txt: deregistered aircraft file
    • DOCINDEX.txt: aircraft document index file
    • ENGINE.txt: engine reference file
    • MASTER.txt: aircraft registration master file

Installation

pip install faa_aircraft_registry

Example Usage

import io
import zipfile
import requests
from faa_aircraft_registry import read

registry_zipped_file = 'ReleasableAircraft.zip'
with zipfile.ZipFile(registry_zipped_file) as z:
    registrations = read(z)

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

faa-aircraft-registry-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

faa_aircraft_registry-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file faa-aircraft-registry-0.1.0.tar.gz.

File metadata

  • Download URL: faa-aircraft-registry-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for faa-aircraft-registry-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d63ed003a7c5d56e076a43ef9c5a5865ce5d45734ee984c425d2be6378ba1cf5
MD5 7b35e6959424740dc61ae905046638a3
BLAKE2b-256 3fa7f21a1be74f5ba347e12523af6c63e5fab98211cead94a733d39b830f376e

See more details on using hashes here.

File details

Details for the file faa_aircraft_registry-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: faa_aircraft_registry-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for faa_aircraft_registry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e43822e52d516c8e410a3e0afabe9eed545eab18483c7121dda716423ecab6d
MD5 c2250a3a72b6f6d4f78a1258159758ed
BLAKE2b-256 7f3784cb81bf11d222fa8c246591aa838143a548798337842d04d17a6a19dbf4

See more details on using hashes here.

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