Types

Warning

This library is now deprecated. Use callsignlookuptools instead.

Callsign Data

class qrztools.qrztools.QrzCallsignData

A QRZ callsign query result.

name : Name = Name()

Operator name

address : Address = Address()

Operator mailing address

dxcc : Dxcc = Dxcc()

DXCC entity

latlong : LatLong = LatLong(0, 0)

approximate lat/long of address

grid : Grid = Grid(LatLong(0, 0))

grid locator of address

image : QrzImage = QrzImage()

QRZ profile image

effective_date : datetime.datetime = datetime.datetime.min

license effective date (USA)

expire_date : datetime.datetime = datetime.datetime.min

license expiration date (USA)

last_modified : datetime.datetime = datetime.datetime.min

QRZ callsign last modified date

bio_updated : datetime.datetime = datetime.datetime.min

date of last bio update

born : datetime.datetime = datetime.datetime.min

birthdate of the operator

call

Callsign

xref = ''

Cross reference: the query callsign that returned this record

aliases

Other callsigns that resolve to this record

prev_call = ''

Previous callsign

trustee = ''

Trustee information (for clubs)

qsl_manager = ''

QSL manager info

lic_class = ''

license class

lic_codes = ''

license type codes (USA)

county = ''

county name (USA)

fips = ''

FIPS county identifier (USA)

msa = ''

Metro Service Area (USPS)

area_code = ''

Telephone Area Code (USA)

cq_zone = 0

CQ zone identifier

itu_zone = 0

ITU zone identifier

iota = ''

IOTA designator

geoloc = 'None'

Describes source of lat/long data

timezone = ''

Time zone name (USA)

gmt_offset = ''

GMT time offset

observes_dst = False

whether daylight savings time is observed

user = ''

User who manages this callsign on QRZ

email = ''

email address

url = ''

profile url

profile_views = 0

QRZ web page views

bio_size = 0

approximate size of bio HTML in bytes

serial = 0

QRZ database serial number

eqsl = False

whether the operator accepts eQSL. None if unknown

mail_qsl = False

whether the operator accepts mail QSL. None if unknown

lotw_qsl = False

whether the operator accepts Logbook of the World QSL. None if unknown

DXCC Data

class qrztools.qrztools.QrzDxccData

A QRZ DXCC query result.

latlong : LatLong = LatLong(0, 0)

approximate latitude and longitude of the entity

dxcc = 0

entity number

cc2 = ''

ISO-3166-1 alpha-2 country code

cc3 = ''

ISO-3166-1 alpha-3 country code

name = ''

entity name

continent = None

the entity’s continent

ituzone = 0

the entity’s ITU zone

cqzone = 0

the entity’s CQ zone

utc_offset = ''

UTC timezone offset. Odd timezones, such as 0545 mean “5 hours, 45 minutes”.

notes = ''

special notes/exceptions

Helper Data Types

class qrztools.qrztools.QrzImage

Represents a QRZ profile image

url = ''

image url

height = 0

image height in pixels

width = 0

image width in pixels

size = 0

approximate size in bytes

class qrztools.qrztools.Dxcc

Represents a DXCC entity in a QrzCallsignData object

id = 0

entity ID

name = ''

entity name

class qrztools.qrztools.Address

Represents an address in a QrzCallsignData object

attn = ''

Attention address line, this line should be prepended to the address

line1 = ''

address line 1 (i.e. house # and street)

line2 = ''

address line 2 (i.e, city name)

state(USA Only) = ''

state (USA Only)

zip = ''

Zip/postal code

country = ''

country name for the QSL mailing address

ccode = 0

dxcc entity code for the mailing address country

class qrztools.qrztools.Name

Represents a name in a QrzCallsignData object

first = ''

first name(s)

name = ''

last name or full name

nickname = ''

A different or shortened name used on the air

formatted_name = ''

Combined full name and nickname in the format used by QRZ. This fortmat is subject to change.

class qrztools.qrztools.GeoLocSource

Describes where the lat/long data in a QrzCallsignData object comes from

class qrztools.qrztools.Continent

A continent, used for QrzDxccData

Exceptions

class qrztools.qrztools.QrzError(*args)

The exception raised when something goes wrong in qrztools