Skip to main content

waypoint, task, tracklog readers and writers for aviation

Project description

airspace, waypoint, task, tracklog readers and writers for aviation

This is a python library to read and write many important file formats for aviation. It is compatible with python 3.0 (and newer) and 2.6 (except AIXM which needs python 3.7). Please read the documentation under https://aerofiles.readthedocs.io for further information.

Build Status

Features

  • AIXM read AIXM 5.1.1 airspaces (aerofiles.aixm)

    • use [aixm-to-openair.py](aerofiles/aixm/aixm-to-openair.py) to convert AIXM into openair

  • Flarm configuration file writer (aerofiles.flarmcfg)

  • IGC file reader and writer (aerofiles.igc)

  • OpenAir file reader and writer (aerofiles.openair)

  • SeeYou CUP file reader and writer (aerofiles.seeyou)

  • WELT2000 file reader (aerofiles.welt2000)

  • XCSoar task file writer (aerofiles.xcsoar)

Development Environment

If you want to work on aerofiles you should install the necessary dependencies using pip, preferably in a virtual environment:

$ python -m venv .env
$ source .env/bin/activate
$ pip install -r requirements-dev.txt

You can run the testsuite with:

$ make test

If you close the current shell, the virtual python environment will also be deactivated. To continue working in the environment and using the installed requirements, you must use this again:

$ source .env/bin/activate

Building Docs

Make sure that you have checked out git submodules:

$ git submodule update --init

Then build docs using Sphinx and Make:

$ make doc

The HTML output can be found in the docs/_build/html directory.

License

This code is published under the MIT license. See the LICENSE file for the full text.

How to release

Make sure, that all succeed:

$ make lint

(and use make lint-fix for automatic fixing):

$ make vermin
$ make test
$ make doc-test

Ensure CHANGELOG.rst is up to date including the (next) version number. Also check, that (next) version number is included in pyproject.toml.

Use browser with https://github.com/Turbo87/aerofiles/releases and “Draft a new release”. Use “Choose a tag” to create a new tag following the structure “v1.2.1”. The release title should be “aerofiles v1.2.1”. Use text from CHANGELOG.rst to describe this release.

Finally use “Set as the latest release” and publish release.

Then go to https://readthedocs.org/projects/aerofiles/ and hit “Build-Version” to update the documentation from github.com.

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

aerofiles-1.5.5.tar.gz (47.9 kB view details)

Uploaded Source

File details

Details for the file aerofiles-1.5.5.tar.gz.

File metadata

  • Download URL: aerofiles-1.5.5.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.13

File hashes

Hashes for aerofiles-1.5.5.tar.gz
Algorithm Hash digest
SHA256 bfc0dcd6e8f6612aa6d24557f2bd81e18579f80519783385a27788920e1701cd
MD5 f6c4d83118886977fa240d250d2197db
BLAKE2b-256 d2a456a83abbf5c0f96bc22fdce074ec224791bed3828caf99536f2f3fbc0fcf

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