Skip to main content

aviconv-met

Bidirectional METAR / SPECI ↔ TAF ↔ SIGMET / AIRMET ↔ VAA / TCA ↔ IWXXM 3.0 converter — part of the aviconv monorepo.

pip install aviconv-met

ICAO mandated IWXXM (XML weather) for OPMET exchange in November 2020. Existing toolchains for it are vendor-locked or one-way. aviconv-met is the pip-installable, MIT-licensed, round-trip alternative.

Public surface

from aviconv_met import (
    Metar, Taf, Sigmet, Airmet, Vaa, Tca,
    parse_metar, format_metar,
    parse_taf, format_taf,
    parse_sigmet, format_sigmet,
    parse_advisory, format_advisory,
)
from aviconv_met.iwxxm import to_iwxxm, from_iwxxm

Frozen pydantic-v2 models for every report type, byte-stable text round-trip for all six message types, and XSD-validated IWXXM 3.0 emission with field-level round-trip on inbound IWXXM.

CLI

Mounted on the umbrella aviconv binary (provided by aviconv-core):

aviconv met parse <file>           # text → JSON
aviconv met format <file>          # JSON → text
aviconv met to-iwxxm <file>        # text → IWXXM 3.0 XML
aviconv met from-iwxxm <file>      # IWXXM XML → JSON or text
aviconv met validate <file>        # run validators

Each subcommand reads from - for stdin and writes stdout unless -o PATH. Exit codes: 0 ok, 1 parse error, 2 validation error, 3 schema error.

Round-trip semantics

  • Text round-trip (METAR/TAF/SIGMET/AIRMET/VAA/TCA): byte-stable — format_*(parse_*(text)) == text whenever the model came from parse_*.
  • IWXXM round-trip: field-level — from_iwxxm(to_iwxxm(report)) == report. GML IDs and namespace prefix choices are intentionally not preserved.

Licence

MIT for aviconv-met itself. Bundled WMO IWXXM 3.0 schemas are distributed under WMO open-data terms — see LICENSES/README.md.

Metadata

Release files for aviconv-met 0.4.0

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

Source distribution (sdist)

Source distribution for aviconv-met 0.4.0
File Size Uploaded Provenance Actions
aviconv_met-0.4.0.tar.gz 272.4 kB With provenance Details for aviconv_met-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aviconv-met 0.4.0
File Interpreter ABI Platform Actions
aviconv_met-0.4.0-py3-none-any.whl Python 3 none any Details for aviconv_met-0.4.0-py3-none-any.whl

Total release size: 626.4 kB

Release files / aviconv_met-0.4.0.tar.gz

Download URL aviconv_met-0.4.0.tar.gz
Size 272.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fc71cc7bce5b73f250ce28ee1c99f866bfc56c38e88b93639743fad7ac405d44
BLAKE2b-256 checksum
How to use checksums
71104773e7a94c8eb8707e1670700e7fcc96b53a8f30fe0c2dfeec23267b66d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release files / aviconv_met-0.4.0-py3-none-any.whl

Download URL aviconv_met-0.4.0-py3-none-any.whl
Size 354.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2efffd4724f993024daa1c208344962f258f4faa4307383c8377dc7db584880
BLAKE2b-256 checksum
How to use checksums
88b8e180c5a9f1fa970f7c80000529e6d4f0d1df847915f1555069dd256540a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Security for aviconv-met 0.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aviconv_met-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

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.

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