Skip to main content

Query QRZ.com Ham Radio License API

Project description

A python module to query QRZ.com’s ham radio license database. Tested on python 2.7, 3.4, 3.5, 3.6

Breaking Changes

When using pyQRZ in a project, please pin pyQRZ to a version that is working with your code. There may be breaking changes in a soon to be released version.

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 provide the file path when using QRZ. Alternately, you may set environment variables “QRZ_USER” and “QRZ_PASSWORD” with appropriate contents.

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

Basic use example:

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

NOTES: To use QRZ.com’s XML API for detailed data, a subscription is required. However, it appears you can get basic information with a standard QRZ user account. I wouldn’t count on that though.

I am thinking about providing a free (and opensourced) callsign lookup service, probably start off as USA only. If this is of interest to you, feel free to contact me. Knowing it would be useful would make it a higher priority.

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

pyQRZ-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyQRZ-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyQRZ-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f550208794c03a8fc388c93e974c692cc05d682147ce0cf4558473e63d093591
MD5 cdebd8239b95b7f7659829c61a07e42d
BLAKE2b-256 3fae3544200b33d64c44bfb61e939a90e422c43663a28fc06edab1ae10c29ce7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page