Repository navigation
Packages Python3 Pyhamtools
Python library for callsign lookup, locators and DXCC data
- Version recorded: 0.11.0
-
Categories:
logging,references - Upstream: https://github.com/dh1tw/pyhamtools
A library, not a program. It resolves a callsign to its DXCC entity, CQ and ITU zone and continent using country files or online sources, converts between Maidenhead locators and coordinates, computes distance and bearing between two points, and looks up callsigns against QRZ, HamQTH and ClubLog.
Every one of those is a small job that is easy to get subtly wrong -- DXCC entity resolution in particular is a table of exceptions, not a rule. If you are writing anything that touches callsigns, this is the difference between a script that works and a script that works except for the interesting prefixes.
Python 3. Online lookups need network access and, for QRZ, an account; offline entity resolution works from a country file with no network at all.
- apt:
python3-pyhamtools
Country files age. DXCC entities are added, deleted and redefined, and a stale cty.dat resolves a new prefix to the wrong entity silently -- the library reports an answer, not a doubt. Refresh the data rather than trusting a cached copy for award-critical work.
- probe: apt policy
- strategy: apt_upgrade
Tobias Wellnitz, DH1TW. GitHub issues at the URL above.
Generated from docs/ at commit bdbfd92b2f0e. Canonical site: https://renegade-penguin.github.io/Hammunition/. Edit docs/ by pull request, not this wiki.
- Home
- Software by activity
- Activity hubs
- Installation
- Profiles
-
Guides
- Operating
- Modes
- Receiving
- In the field
- Troubleshooting
- Getting started
- Packages
-
Hardware
- Park and wake devices
- SDR receivers and transceivers
- Radios, GPS and mesh
- Security and research hardware
- Programmers
- Laptop radios and camera (parkable)
- LibreVNA (vector network analyser)
- RF security
-
Reference
- The engine
- Coverage
- Inventories
- Hardware measurements
- Verification
- Contributing