Skip to main content

qrzlib

Python interface to qrz.com

In order to use this interface you need to have a valid Ham radio license and a qrz.com account.

Usage

import qrzlib

qrz = qrzlib.QRZ()
qrz.authenticate('qrz-id', 'xmldata-key')
try:
	call_info = qrz.get_call('W6BSD')
	print(call_info.fullname, call_info.latlon, call_info.grid, call_info.email)
except QRZ.NotFound as err:
	print(err)

On the first request the class QRZ get the data from the qrz web service. Then, by default, the information will be cached forever.

the object QRZ can also return all the fields as a dictionary of as a json object.

>>> call_info.to_dict()
{'CLASS': 'E',
 'call': 'W6BSD',
 'aliases': 'KM6IGK',
 'dxcc': 291,
 'fname': 'Fred',
 'ccode': 271,
 'lat': 37.460659,
 'lon': -95.543333,
 'grid': 'EM27fl',
 . . .
 'expdate': datetime.date(2027, 3, 3),
 'cqzone': 3,
 'ituzone': 6,
 }

Metadata

Release files for qrzlib 2.1.0

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

Source distribution (sdist)

Source distribution for qrzlib 2.1.0
File Size Uploaded Provenance Actions
qrzlib-2.1.0.tar.gz 18.2 kB Without provenance Details for qrzlib-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qrzlib 2.1.0
File Interpreter ABI Platform Actions
qrzlib-2.1.0-py3-none-any.whl Python 3 none any Details for qrzlib-2.1.0-py3-none-any.whl

Total release size: 26.9 kB

Release files / qrzlib-2.1.0.tar.gz

Download URL qrzlib-2.1.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
49fb6713794ef26b73a0dd3c025713476d7b831a8a2965e503741229ac285d68
BLAKE2b-256 checksum
How to use checksums
8066ab51350daa7b55f0548cba589acafe2b3b2cd250a192d3801049d7d226a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / qrzlib-2.1.0-py3-none-any.whl

Download URL qrzlib-2.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e22ed998a6e1f16197bc3addd66d7a9f52d6283dab88f50d37c9cb867f95bcf1
BLAKE2b-256 checksum
How to use checksums
d760b5dd9e4a2536fb19819cc6a24534eea3da799a668561269803a513b3eb0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for qrzlib 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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