Commit graph

78 commits

Author SHA1 Message Date
Tobias Wellnitz, DH1TW 6a152760c5 added support for python 3.12 2023-12-28 21:02:41 +01:00
Tobias Wellnitz, DH1TW e549f416e8 updated clublog url to cdn.clublog.org in multiple places 2022-12-31 02:50:24 +01:00
Tobias Wellnitz, DH1TW c5893dcc7a fixed two country IDs in Countryfilemapping
- Brazl and Domenican Republic
2022-12-31 02:31:39 +01:00
Tobias Wellnitz, DH1TW b49c549d48 callinfo: fixed regession for 2-by-1 calls 2022-12-27 00:01:06 +01:00
Tobias Wellnitz, DH1TW 01284a5ae8 callinfo: recognize callsigns with digits in the suffix 2022-12-26 21:13:13 +01:00
Tobias Wellnitz, DH1TW 19f00eac5b bumped version to 0.8.4 2022-12-18 14:47:07 +01:00
Tobias Wellnitz, DH1TW 7b40e6c7ed callinfo: handle specific unicode strings 2022-12-18 14:40:20 +01:00
Tobias Wellnitz, DH1TW 077b645efe rais KeyError when callsign contains non latin characters
for example, cyrillic letter
2022-12-18 14:01:18 +01:00
Tobias Wellnitz, DH1TW 4e8c90da1d fixed XML parsing error in QRZ.com session key renewal 2022-12-06 01:15:21 +01:00
Tobias Wellnitz, DH1TW b8bd89b2f2 timezone field of qrz.com must be str and not int 2022-12-05 02:25:03 +01:00
Tobias Wellnitz, DH1TW bf785f45f5 updated to v.0.8.1 2022-12-05 01:53:20 +01:00
Tobias Wellnitz, DH1TW adbd605fbd removed debug print statement 2022-12-05 01:51:46 +01:00
Tobias Wellnitz, DH1TW b1ef2a6d93 merging v0.8.0 branch
- finally using libxml2 parser in beautifulsoup/lxml
- minor bug in parsing the CCC field (qrz.com)
- fixed VK9XX fixture (lat/long)
- added support for python 3.10 and 3.11, pypy3.7-3.9
- removed support for python 3.4
- fixed escapings in regular expressions
- replaced exefile from past.buildins with custom function
2022-12-05 01:01:45 +01:00
Tobias Wellnitz, DH1TW 094db34159 Merge branch 'master' of github.com:dh1tw/pyhamtools 2022-12-03 23:18:22 +01:00
Tobias Wellnitz, DH1TW 755c74917c bumped version to 0.7.11 2022-12-03 23:16:16 +01:00
Tobias Wellnitz, DH1TW 696bfaca31 changed to XML parser for QRZ.com 2022-12-03 23:15:45 +01:00
Tobias Wellnitz, DH1TW 2dde0d8ca8 removed unneeded import 2022-12-03 23:14:30 +01:00
Daniele Forsi 36caec81e7 Fix spelling errors
Fixde with:
codespell --skip test --write-changes --interactive=2
2022-06-03 23:45:50 +02:00
Tobias Wellnitz, DH1TW 82e2b93cd5 using lxml to parse qrz.com xml responses instead of html.parser 2022-05-12 01:43:23 +02:00
Tobias Wellnitz, DH1TW cb9b23c96f bumped ephem to >=4.1.3 to fix sunset / sunrise bug 2021-12-16 00:09:06 +01:00
Tobias Wellnitz, DH1TW d5f3f1be84 pyhamtools version v0.7.8 2021-12-05 13:12:20 +01:00
Tobias Wellnitz, DH1TW 2790e07403 updated URL to Clublogs prefix & exeptions XML 2021-12-05 13:01:14 +01:00
Tobias Wellnitz, DH1TW 526a4f8fe9 added python3.9 support 2021-06-01 03:27:32 +02:00
Tobias Wellnitz, DH1TW b2a76a8695 bumped release to 0.7.6 2020-09-29 00:44:54 +02:00
Tobias Wellnitz ed9b0be087
Merge pull request #19 from threeio/patch-1
Updating eSwatini to  Eswatini
2020-09-28 23:40:05 +02:00
Dhiru Kholia 905262cdcb Docs: Fix redis related example in docstring
This docstring demonstrates how to use Redis to query the data. However,
Redis is NOT actually getting used due to `lookuptype="countryfile"`
argument instead of the required `lookuptype="redis" argument.
2020-09-12 11:27:15 +05:30
threeio 5034fba267
Updating eSwatini to Eswatini
Based on current country-files.com data its now listed as Kingdom of Eswantini

This matches to what Wikipedia is saying as well https://en.wikipedia.org/wiki/Eswatini
2020-09-10 10:32:53 -07:00
Tobias Wellnitz, DH1TW 0fa24e9741 bumped version to 0.7.5 and added changelog 2020-03-03 22:25:10 +01:00
Tobias Wellnitz, DH1TW b3d919f99a store lookup data faster in redis by using pipelines 2020-03-03 21:45:03 +01:00
Tobias Wellnitz, DH1TW 1891c88e38 delete download artifact after import 2020-03-03 17:22:23 +01:00
Tobias Wellnitz, DH1TW 01869462df Bugfix for badly escaped json data after reading from redis (#16)
Apostrophes and quotation marks where escaped after retrieving the JSON formatted
data from redis.
2020-03-03 02:21:40 +01:00
Tobias Wellnitz, DH1TW f51976a9f5 callinfo get_all() convert callsign to upper case 2020-03-03 01:22:46 +01:00
Christoph Berg 6fdb61e531 Don't use timestamps as parameter defaults
Constructs like

    def calculate_sunrise_sunset(locator, calc_date=datetime.utcnow()):

are actually wrong because they initialize the parameter default at
module load time, not at function call time. If the program is running
over some time, the result will be wrong.

As a side-effect, this fix makes the docs (and the whole project) build
reproducibly because previously the build time was embedded in the
sphinx docs:

    lookup_prefix(prefix, timestamp=datetime.datetime(2019, 11, 27, 3, 4, 36, 93157, tzinfo=<UTC>))
2019-12-15 22:21:46 +01:00
Tobias Wellnitz, DH1TW c8fb844e2d renamed Swaziland into Kingdom of eSwatini 2019-11-27 03:10:08 +01:00
Tobias Wellnitz, DH1TW 3a53d32ff8 updated redis dependency to be compatible with python 2.7 2019-05-30 15:53:29 +02:00
Tobias Wellnitz, DH1TW 492b281a55 updated tests and fixtures. Changed Macedonia to North Macedonia 2019-05-30 14:24:22 +02:00
Tobias Wellnitz, DH1TW ee7e4b8732 FT8 as mode. FT8 frequencies are now marked as DIGITAL 2018-05-20 20:10:25 +02:00
Tobias Wellnitz, DH1TW 965ca10be7 bumped version to 0.7.0 2018-05-20 17:30:02 +02:00
Tobias Wellnitz, DH1TW 4d42f58b51 updated ad1c countryfile mapping 2018-05-20 17:16:40 +02:00
Tobias Wellnitz, DH1TW 4ddd4a2466 cluglog retuns now 403 error code when API key is missing 2018-05-20 16:54:22 +02:00
Tobias Wellnitz, DH1TW f7d4cd2527 added FT8 mode 2018-05-20 15:22:42 +02:00
Tobias Wellnitz, DH1TW 3b2cef4857 version 0.6.1 2018-01-28 13:42:48 +01:00
Tobias Wellnitz, DH1TW 195d437f8e replaced regex with simple manipulation 2018-01-28 01:35:58 +01:00
Tobias Wellnitz, DH1TW 0ff3b43688 corrected json encoding to utf8 2018-01-28 01:35:30 +01:00
Tobias Wellnitz, DH1TW 28dbfc3265 explicit encoding to UTF-8 on json.loads() 2018-01-28 00:28:49 +01:00
Tobias Wellnitz, DH1TW 023880ff34 python3 compatible 2018-01-27 19:52:27 +01:00
Tobias Wellnitz, DH1TW dd6784ae09 corrected negative longitude problem and added clublog user lookup 2018-01-27 15:11:46 +01:00
Tobias Wellnitz, DH1TW 2c37f422e1 lotw users not loaded from ARRL; added gitignore 2017-08-20 16:26:37 +02:00
dh1tw 2ff8741ab8 added 0.5.5 to version.py 2016-08-18 20:58:11 +08:00
dh1tw b4613f92e9 refined callsign algorithm 2016-08-18 20:54:50 +08:00