Commit graph

94 commits

Author SHA1 Message Date
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
Tobias Wellnitz, DH1TW
f4e7deaeba updated CI and dependencies 2019-05-30 14:47:31 +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
a4cfdd0dd1 bumped dependencies up to latest version 2019-05-30 14:23:13 +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
c52bd544bf removed XX1XX test due to too frequent changes 2018-05-20 17:24:51 +02:00
Tobias Wellnitz, DH1TW
4d42f58b51 updated ad1c countryfile mapping 2018-05-20 17:16:40 +02:00
Tobias Wellnitz, DH1TW
c6edb322be updated qrz tests 2018-05-20 17:16:24 +02:00
Tobias Wellnitz, DH1TW
41aac1dec3 updated clublog fixtures & mapping 2018-05-20 17:16:12 +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
f81552e81b bumped to 0.6.1 2018-01-28 13:59:34 +01:00
Tobias Wellnitz, DH1TW
3300bba07f added readthedocs pip requirements 2018-01-28 13:57:41 +01:00
Tobias Wellnitz, DH1TW
3b2cef4857 version 0.6.1 2018-01-28 13:42:48 +01:00
Tobias Wellnitz, DH1TW
39196b96e7 changed order of coverage uplaod 2018-01-28 13:18:34 +01:00
Tobias Wellnitz, DH1TW
ea2f42ffe5 added all changes for 0.6.0 2018-01-28 13:18:20 +01:00
Tobias Wellnitz, DH1TW
463d6793d0 changed url of appveyor badge and added redis for testing 2018-01-28 13:06:26 +01:00
Tobias Wellnitz, DH1TW
8fb42e5b65 updates cov test command 2018-01-28 13:05:27 +01:00
Tobias Wellnitz, DH1TW
2d892cb85d added pytest-cov 2018-01-28 12:42:14 +01:00
Tobias Wellnitz, DH1TW
2649d76762 fixed badges 2018-01-28 02:51:41 +01:00
Tobias Wellnitz, DH1TW
c07f07bd32 added coverage calculator 2018-01-28 02:30:31 +01:00
Tobias Wellnitz, DH1TW
bf347a5445 removed python 3.3 2018-01-28 02:30:15 +01:00
Tobias Wellnitz, DH1TW
d61b819b7a added redis 2018-01-28 02:00:25 +01:00
Tobias Wellnitz, DH1TW
ae6ab87135 appveyor for windows builds 2018-01-28 01:50:57 +01:00
Tobias Wellnitz, DH1TW
fa5e179c06 removed pypy3 (pyephem does not compile) 2018-01-28 01:50:15 +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
9c227ea70c corrected longitude sign in example 2018-01-28 00:39:01 +01:00
Tobias Wellnitz, DH1TW
4306553d53 added additional sources of pyhamtools 2018-01-28 00:30:34 +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
f6b0f4e23c corrected doc generation command 2018-01-27 23:56:09 +01:00
Tobias Wellnitz, DH1TW
80598cd79d updated readme with sections on compatibility, testing and doc generation 2018-01-27 23:55:57 +01:00
Tobias Wellnitz, DH1TW
7677ffd032 added redis as dependency 2018-01-27 23:37:09 +01:00
Tobias Wellnitz, DH1TW
1351a5a995 changed to ENV variables for testing with clublog API & QRZ.com credentials 2018-01-27 23:36:49 +01:00
Tobias Wellnitz, DH1TW
dabc500795 added travis support 2018-01-27 19:52:37 +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
8d6866801a corrected minor typo 2016-08-26 10:02:41 +07:00
dh1tw
067448a016 added explicite article about MIT license 2016-08-26 10:00:48 +07: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
dh1tw
f9bd608741 bug fix callinfo ignored timestamp + updated unit tests 2016-01-11 23:38:28 +01:00