Commit graph

137 commits

Author SHA1 Message Date
Tobias Wellnitz, DH1TW bfbd0776bb CI: fixed test runner on Ubuntu 20.04 2022-12-06 01:31:30 +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 ad6ba5b418 readme: corrected link to df7cb profile 2022-12-05 01:12:52 +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 ebdf0c9707 added python 3.10 and 3.11 to CI 2022-12-03 23:25:41 +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
Tobias Wellnitz 13efbc11d6
Fix spelling errors PR #23 from dforsi/fix/typos
Fix spelling errors
2022-06-07 16:08:50 +02: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 44319becff Added Python 3.10 to CI Matrix 2022-05-12 01:45:40 +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 6cba84edf4 updated .gitignore with pyenv variables 2021-12-16 00:07:45 +01:00
Tobias Wellnitz, DH1TW 21ef09b3e4 updated urls of some links in readme.md 2021-12-08 23:57:40 +01:00
Tobias Wellnitz, DH1TW d5f3f1be84 pyhamtools version v0.7.8 2021-12-05 13:12:20 +01:00
Tobias Wellnitz, DH1TW c073ddf048 removed tests with invalid Clublog API key to avoid CDN IP blockage 2021-12-05 13:02:14 +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 fe478fae36 bumped travis and appveyor CI to python 3.9 2021-05-31 13:46:49 +02:00
Tobias Wellnitz, DH1TW b2a76a8695 bumped release to 0.7.6 2020-09-29 00:44:54 +02:00
Tobias Wellnitz, DH1TW 87d35c7d02 updated latitude of VK9XX test fixture 2020-09-29 00:13:55 +02:00
Tobias Wellnitz 629ac1c878
Merge pull request #18 from devnulling/master
Docs: fix calculate_distance example
2020-09-28 23:52:23 +02:00
Tobias Wellnitz, DH1TW baf1d5ab27 updated cty.plist test fixture to latest version
from http://www.country-files.com/cty
2020-09-28 23:47:46 +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
Tobias Wellnitz 5fa8733fee
Merge pull request #20 from kholia/fix-redis-lookup-example
Docs: Fix redis related example in docstring
2020-09-28 23:37:15 +02:00
kstrishock-omnivore fa24721b54 Update test as well 2020-09-13 20:23:22 -07: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
devnulling 02ecb27648
Docs: fix calculate_distance example 2020-08-28 23:50:19 -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 f940473245 travis-ci: allow tests with the python nightly build to fail 2020-03-03 21:54:03 +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 bcb03b13b5 removed support for Python 3.4 on Windows
The first dependencies and sub-dependencies (e.g. Colorama) stopped supporting
 python 3.4. Hence support was removed in pyhamtools as well.
2020-03-03 02:02:27 +01:00
Tobias Wellnitz, DH1TW f51976a9f5 callinfo get_all() convert callsign to upper case 2020-03-03 01:22:46 +01:00
Tobias Wellnitz, DH1TW 5db094e1a2 changed zone exception test from dp0gvn to ci8aw 2020-03-03 01:03:50 +01:00
Tobias Wellnitz 7862663d70
Merge pull request #15 from df7cb/parameter_defaults
Don't use timestamps as parameter defaults
2019-12-16 01:52:59 +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 21f624c4c7 included python 3.7 and 3.8 in the CI build matrices 2019-11-14 17:45:09 +01:00
Tobias Wellnitz, DH1TW 202bd163cb migrated from travis-ci.org to travis-ci.com 2019-11-14 16:40:04 +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 a707b81920 removed cache folder 2019-05-30 15:50:05 +02:00
Tobias Wellnitz, DH1TW 10b2faa3ff added dependency for readthedocs 2019-05-30 15:31:20 +02:00