Skip to main content

General TAC → IWXXM converter (F6)

Project description

tac2iwxxm

General TAC → IWXXM converter package (F6 / F14). MIT licensed.

See ADR-013 / ADR-014 / ADR-016 / ADR-017.

Install

# Convert only (no validators)
pip install tac2iwxxm

# Convert + TAC lint + IWXXM XSD/Schematron (F14)
pip install 'tac2iwxxm[validate]'

The [validate] extra depends on tac-validate and iwxxm-validate (E10-20). Convert works without the extra.

from tac2iwxxm import convert

result = convert(
    "METAR KJFK 231751Z 18012KT 10SM FEW040 15/07 A3005=",
    product="METAR",
)
assert result.ok and result.xml

With [validate] installed:

from tac_validate import lint
from iwxxm_validate import validate_iwxxm

assert lint(tac, product="METAR").ok
assert validate_iwxxm(result.xml, iwxxm_version="2025-2").ok

Native extension (PyO3)

Optional Rust hotspots live under rust/ and import as tac2iwxxm._rust (ADR-017). Pure Python remains the default uv sync path.

# requires rustc + maturin
make build-tac2iwxxm-native
make test-tac2iwxxm-native

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

tac2iwxxm-0.1.0.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tac2iwxxm-0.1.0-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file tac2iwxxm-0.1.0.tar.gz.

File metadata

  • Download URL: tac2iwxxm-0.1.0.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tac2iwxxm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9fdd49d15fb930c45248e62d124d51280c1ca4d87267423f7cc46d3e0c8c3988
MD5 675aaa195013c6600b07de03f347e125
BLAKE2b-256 8081e7e1c800f5a132bcb258f5c5172040423b050124cf7dce5e8e8460b40543

See more details on using hashes here.

File details

Details for the file tac2iwxxm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tac2iwxxm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tac2iwxxm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adc401f805c1e30384e592bf6ba708c9c5a8dc95bbd2c78b28a340b9b05adf4a
MD5 898b4af2cd2a5c085fe3cac2a8daa669
BLAKE2b-256 4f4fd7fc84fecc510f2773c17d3adcb28f38820577b55cef68217e864aa56d65

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