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,
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qrzlib-2.1.0.tar.gz
(18.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qrzlib-2.1.0.tar.gz.
File metadata
- Download URL: qrzlib-2.1.0.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49fb6713794ef26b73a0dd3c025713476d7b831a8a2965e503741229ac285d68
|
|
| MD5 |
d148df5f84c1cfad65fa3134d41719de
|
|
| BLAKE2b-256 |
8066ab51350daa7b55f0548cba589acafe2b3b2cd250a192d3801049d7d226a6
|
File details
Details for the file qrzlib-2.1.0-py3-none-any.whl.
File metadata
- Download URL: qrzlib-2.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e22ed998a6e1f16197bc3addd66d7a9f52d6283dab88f50d37c9cb867f95bcf1
|
|
| MD5 |
e1b0f950c2a63567bbbd7304ffc5f0df
|
|
| BLAKE2b-256 |
d760b5dd9e4a2536fb19819cc6a24534eea3da799a668561269803a513b3eb0e
|