mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-05 06:25:35 +00:00
Improved documentation
This commit is contained in:
parent
8216f488ef
commit
91c30879f1
12 changed files with 246 additions and 96 deletions
41
README.md
41
README.md
|
|
@ -1,6 +1,39 @@
|
|||
pyhamtools
|
||||
==========
|
||||
# pyhamtools
|
||||
|
||||
A Library with Amateur Radio specific Functions and Classes.
|
||||
A Library with Amateur Radio specific Functions and Classes for any kind of Callsign Lookup Service, e.g. Logbooks
|
||||
or DX-Clusters. Currently,
|
||||
* [Country-Files.org](http://country-files.org),
|
||||
* [Clublog Prefixes & Exceptions XML File](https://clublog.freshdesk.com/support/articles/54902-downloading-the-prefixes-and-exceptions-as)
|
||||
* [Clublog DXCC Query API](http://clublog.freshdesk.com/support/articles/54904-how-to-query-club-log-for-dxcc)
|
||||
* [Redis.io](http://redis.io)
|
||||
are supported sources.
|
||||
All services can be accessed through a unified interface.
|
||||
|
||||
The library is currently in Alpha state. Please do not use this library for operational code.
|
||||
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](pyhamtools.readthedocs.org/en/latest/index.html)
|
||||
Loading…
Add table
Add a link
Reference in a new issue