cty_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 cty_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 cty_parser.py W1AW KM6ETX
Requirements
Python 3.10+, standard library only.
Metadata
Release files for dxcty-parser 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dxcty_parser-0.0.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dxcty_parser-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / dxcty_parser-0.0.2.tar.gz
| Download URL | dxcty_parser-0.0.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17c7c183f0319560c4f583318a71b5656b8b82d8b6ca2586292b6d1e9c9bba1c
|
|
BLAKE2b-256 checksum How to use checksums |
a29641c27a58578f4213d27f037d690f566fe5064789fdd5922f99148d8087bb
|
| 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.2-py3-none-any.whl
| Download URL | dxcty_parser-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f70471b97fb9f50af2966049e65fdfcdda105d81c862b82a55b5145f88545b9
|
|
BLAKE2b-256 checksum How to use checksums |
9ca8bddb5c174a4df0c7852d9183f288345ede7c6c656ea84fb53a46723efb87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|