Skip to content
Python module to query QRZ's Ham Radio Callsign Database (via XML API)
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
qrz
.gitignore
MANIFEST.in
README.rst
qrz_example.py
settings_example.cfg
setup.py
tox.ini

README.rst

pyQRZ

A python module to query QRZ.com's ham radio license database. Supports both python 2.7 and 3.x

NOTE: this is VERY alpha, though working great for call sign lookup, which was what I needed quickly for another project I'm working on.

Install / Use

This package can be installed via pip: "pip install -U pyQRZ"

Once installed, you'll need to create a settings file (see below) and use the path to said file

# pyQRZ settings
[qrz]
username=blah
password=blahblah

Basic use example:

qrz = QRZ('./settings.cfg')
result = qrz.callsign("w7atc")
print result['fname'], result['name']
print result['addr2'], result['state']
print result['country']

ALSO NOTE: To use QRZ.com's XML API, a subscription is required. But, in my opinion it's the fastest and most complete (world wide) ham radio license database. If you don't have a QRZ.com subscription or aren't building an application (logging software) for those that do, this won't be of any use to you.

My project will also incorperate the FCC database (free but USA only) I'll add that at some point.

Something went wrong with that request. Please try again.