Skip to content

PyARINC424 is a Python application that parses ARINC-424 data (such as FAA CIFP) and imports it into a SQL database.

License

Notifications You must be signed in to change notification settings

robertjkeller/PyARINC424

Repository files navigation

Tests Coverage Status

PyARINC424

About

PyARINC424 is a tool that parses an ARINC-424 formatted data file into a SQLite or PostreSQL database. PyARINC424 supports the tables/records that are currently output in FAA CIFP:

  • Airports and heliports (PA and HA)
  • Runways (PG)
  • VHF Navaids (D)
  • NDB Navaids (DB)
  • Terminal Navaids (PN)
  • Localizer and Glide Slope Records (PI)
  • Path Point Records, Primary and Continuation (PP)
  • MSA Records (PS and HS)
  • Enroute Waypoints (EA)
  • Terminal Waypoints (PC and HC)
  • SIDs (PD)
  • STARs (PE)
  • Approaches, including Level of Service continuation records (PF and HF)
  • Airways (ER)
  • Class B, C, and D Airspace (UC)
  • Special Use Airspace, Primary and Continuation (UR)
  • Grid MORA (AS)

Installation

PyARINC424 can be installed from PyPI using pip:

pip install pyarinc424

If using uv, pyarinc424 can be installed as a tool and executed globally:

# Add as tool
uv tool install pyarinc424

# Usage
pyarinc424 my_config.ini

Config File

By default, the program looks for a config.ini file in the application src directory. You can specify a different config path by passing it as an argument:

pyarinc424 /path/to/my_config.ini

The config can be set up for either PostgreSQL or SQLite.

A PostgreSQL configuration file should contain the following:

[postgres]
dbname =    # your database name (must already exist)
user =      # your postgres username
password =  # your postgres password
host =      # your host, e.g. localhost
port =      # your postgres port, e.g. 5432

[cifp_file]
file_loc =  # your ARINC file location

A SQLite configuration file should contain the following:

[sqlite]
dbname =    # your output SQLite db file name

[cifp_file]
file_loc =  # your ARINC file location

About

PyARINC424 is a Python application that parses ARINC-424 data (such as FAA CIFP) and imports it into a SQL database.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages