Skip to main content

dxcty_parser

Parse cty.dat (the AD1C "country file") and resolve amateur radio callsigns to DXCC entities — country, CQ zone, ITU zone, continent, lat/long, and GMT offset.

Usage

from dxcty_parser import load_cty

table = load_cty()  # build once, reuse for many lookups

result = table.lookup("W1AW")
print(result.entity.country, result.entity.cq_zone)

CLI

python dxcty_parser.py W1AW KM6ETX

Requirements

Python 3.10+, standard library only.

Metadata

Release files for dxcty-parser 0.0.3

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

Source distribution (sdist)

Source distribution for dxcty-parser 0.0.3
File Size Uploaded
dxcty_parser-0.0.3.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dxcty-parser 0.0.3
File Interpreter ABI Platform
dxcty_parser-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / dxcty_parser-0.0.3.tar.gz

Download URL dxcty_parser-0.0.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ce4076f33d91698f7cf5d858f6c300574f4378faa609047363f7d5a16336c258
BLAKE2b-256 checksum
How to use checksums
d79706a2c0455003c7be16de1bacd1f581bd8de0811fa52a83bb004e9e21b0fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / dxcty_parser-0.0.3-py3-none-any.whl

Download URL dxcty_parser-0.0.3-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdee9b44d17884daef8f5873bb9bf374a47f40382ffffb2053536d07f6250734
BLAKE2b-256 checksum
How to use checksums
1d3db84bfe10cfe3d1aa20d4b3857b3ff3b7dad6490cdb51e33614e52b6e4fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.0.4

1 release file

This release

0.0.3 This release

2 release files

0.0.2

2 release files

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