Skip to main content

PyOlan

This WIP package contains a OLAN (One Letter Aerobatic Notation, https://openaero.net/) parser written in Python. The OLAN string is interpreted as a set of elements (loop, line, stallturn, spin etc). This is currently used by FCScore (https://www.flightcoach.org/fcscore/) to generate sequence definitions for automatic scoring.

Installation

    pip install pyolan

Install from source

    pip install -e .

Read the next figure from an olan string:

    from pyolan.figure_parser import OlanFig

    ostr = "/d'1 5% 2a,f (-3,6) 4h4^> p(2)...' dq"
    olan_array = ostr.split(" ")
    ofig, olan_array = OlanFig.take(olan_array)

parse an entire olan sequence, join the templates into one and plot:

    from flightdata import State
    from pyolan.parser import parse_olan

    olans: list[ParsedOlanFig] = parse_olan(
        "/d'1 5% 2a,f (-3,6) 4h4^> p(2)...' dq 4% 2b.''1.''+``` (-13,0) 3% ~2g~ (2,0) 3% iv```6s.....'' 22y````1.. (-3,0) 8% `24'zt`8''",
    )

    template = State.stack({fig.definition.info.short_name: fig.template for fig in olans}, "manoeuvre")

    template.plotlabels("manoeuvre").show()

TODO:

  • Modify so it respects the correct olan figure directions (prefers turnarounds when there is ambiguity)
  • Consider closer links with open-aero. Would it be better to read .seq files?
  • Add K factor calculation
  • Think about positioning the generated templates so they fit in the box better (probably better handled in the FlightAnalysis submodule).

Metadata

Release files for pyolan 0.1.1

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

Source distribution (sdist)

Source distribution for pyolan 0.1.1
File Size Uploaded Provenance Actions
pyolan-0.1.1.tar.gz 30.4 kB Without provenance Details for pyolan-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyolan 0.1.1
File Interpreter ABI Platform Actions
pyolan-0.1.1-py3-none-any.whl Python 3 none any Details for pyolan-0.1.1-py3-none-any.whl

Total release size: 42.1 kB

Release files / pyolan-0.1.1.tar.gz

Download URL pyolan-0.1.1.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9034bfd452b42e05b28a5d61e8406eb8c980fc893d67f00d791d19ce55ff2da5
BLAKE2b-256 checksum
How to use checksums
5ca89d8b69480f07abe1616b1c7d029b533bedaaa2b981798adf770df0c35dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyolan-0.1.1-py3-none-any.whl

Download URL pyolan-0.1.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51c493bf5aee588c18d38c7446247118cb674790a93c5bf39141972d276c08b2
BLAKE2b-256 checksum
How to use checksums
282fafa531b2978324b4301c237203a8ed2eb1e5c3191326182c606c0ea44fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pyolan 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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