Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Garmin Aviation Checklist Editor (ACE) - Python Module

Convert ACE files to/from various formats (HTML, orgmode). Parse and write ACE files from Python.

Installation

$ pip install garmin_ace

Usage

Display the available formats:

$ ace-convert
Convert source file to destination file
Usage: ace-convert <source> <dest>
Supported source formats are: .org, .ace
Supported destination formats are: .ace, .html

Example: Converting an ACE file to HTML and PDF

$ ace-convert checklist.ace checklist.html

You can further convert the HTML document to a PDF file with https://wkhtmltopdf.org/downloads.html

$ wkhtmltopdf checklist.html checklist.pdf

Example: Converting orgmode checklists to the ACE format

Org mode is a plaintext format, which can be easier to edit and manipulate than the Garmin Checklist Editor app. It expects a simple structure:

* Pre-flight checklist
** Master: on
** Lights: on
** Master: off
* Startup checklist
** Master: on
...

The top level bullet points are the checklist names, and subitems are the checklist items.

To convert it to the other available formats:

$ ace-convert checklist.org checklist.ace

or

$ ace-convert checklist.org checklist.html

See https://orgmode.org/worg/org-syntax.html for details on the format.

Decoding a ACE file to Python objects

from garmin_ace import ACEFileDecoder

checklists_obj = ACEFileDecoder.read_from_file('checklist.ace')

See models.py for the data structure.

Encoding a ACE file from Python objects

from garmin_ace import ACEFileEncoder

ACEFileEncoder(checklists_obj).write_to_file('checklist2.ace')

Running tests (source)

$ make test
$ make coverage

Credits

Originally based on the Swift implementation https://github.com/RISCfuture/GarminACE

License

Copyright (C) 2023 Xavier Antoviaque

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Metadata

Release files for garmin-ace 0.0.1a10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for garmin-ace 0.0.1a10
File Size Uploaded Provenance
garmin_ace-0.0.1a10.tar.gz 17.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for garmin-ace 0.0.1a10
File Interpreter ABI Platform
garmin_ace-0.0.1a10-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / garmin_ace-0.0.1a10.tar.gz

Download URL garmin_ace-0.0.1a10.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
07432bfda9874c7736196ba85aa3db856fe9bf0a4dbadf6b263ec9167ee9ca6b
BLAKE2b-256 checksum
How to use checksums
4cee6b427225f9624d7a0af2d0aae801ca4b9e2c8ff9eeed905152184ced95c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / garmin_ace-0.0.1a10-py3-none-any.whl

Download URL garmin_ace-0.0.1a10-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a7603f34fda5752a72834d571a9faeab898a9b5001e54d35bf0ff43dc9768c9
BLAKE2b-256 checksum
How to use checksums
7303f195a7bd2a797a5122ec4666c39af64c7adfe0262134151d34825738cfc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for garmin-ace 0.0.1a10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page