pyhamtools/README.md
2014-06-15 14:06:17 +07:00

1.2 KiB

pyhamtools

A Library with Amateur Radio specific Functions and Classes for any kind of Callsign Lookup Service, e.g. Logbooks or DX-Clusters. Currently,

This Library is used in production at DxHeat.com.

Installation

Easiest way to install pyhamtools is through the packet manager PIP: `pip install pyhamtools'

How to use pyhamtools

>>> from pyhamtools import LookupLib, Callinfo
>>> my_lookuplib = LookupLib(lookuptype="countryfile")
>>> cic = Callinfo(my_lookuplib)
>>> cic.get_all("DH1TW")
    {
        'country': 'Fed. Rep. of Germany',
        'adif': 230,
        'continent': 'EU',
        'latitude': 51.0,
        'longitude': -10.0,
        'cqz': 14,
        'ituz': 28
    }

Check out the full documentation at: PyHamTools.readthedocs.org