mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-17 22:01:49 -05:00
Hemna
fc3a747aa4
This patch adds 2 new time plugins to allow admins to use their opencagedata APIkey or openweathermap API key to fetch the timezone from the lat/lon GPS coordinates for the callsign requesting the time. This will enable fetching the time local to the ham radio's last beacon, and not time local to the aprsd server instance running. If the location is not found, then the timezone will default to UTC. The 2 new plugins are - aprsd.plugins.time.TimeOpenCageDataPlugin Fetches timezone from lat/lon using the opencagedata api that can be found here: https://opencagedata.com/dashboard#api-keys This requires a new ~/.config/aprsd/aprsd.yml entry to specify the api key. opencagedata: apiKey: <the api key hash here> - aprsd.plugins.time.TimeOWMPlugin Fetches the timezone from lat/lon using the openweathermap api that can be found here: https://home.openweathermap.org/api_keys This requires a new ~/.config/aprsd/aprsd.yml entry to specify the api key. openweathermap: apiKey: <the api key hash here>
94 lines
1.7 KiB
Plaintext
94 lines
1.7 KiB
Plaintext
#
|
|
# This file is autogenerated by pip-compile
|
|
# To update, run:
|
|
#
|
|
# pip-compile
|
|
#
|
|
appdirs==1.4.4
|
|
# via virtualenv
|
|
aprslib==0.6.47
|
|
# via -r requirements.in
|
|
backoff==1.10.0
|
|
# via opencage
|
|
certifi==2020.12.5
|
|
# via requests
|
|
cffi==1.14.4
|
|
# via cryptography
|
|
cfgv==3.2.0
|
|
# via pre-commit
|
|
chardet==4.0.0
|
|
# via requests
|
|
click-completion==0.5.2
|
|
# via -r requirements.in
|
|
click==7.1.2
|
|
# via
|
|
# -r requirements.in
|
|
# click-completion
|
|
cryptography==3.3.1
|
|
# via pyopenssl
|
|
distlib==0.3.1
|
|
# via virtualenv
|
|
dnspython==2.1.0
|
|
# via py3-validate-email
|
|
filelock==3.0.12
|
|
# via
|
|
# py3-validate-email
|
|
# virtualenv
|
|
identify==1.5.13
|
|
# via pre-commit
|
|
idna==2.10
|
|
# via
|
|
# py3-validate-email
|
|
# requests
|
|
imapclient==2.2.0
|
|
# via -r requirements.in
|
|
jinja2==2.11.2
|
|
# via click-completion
|
|
markupsafe==1.1.1
|
|
# via jinja2
|
|
nodeenv==1.5.0
|
|
# via pre-commit
|
|
opencage==1.2.2
|
|
# via -r requirements.in
|
|
pbr==5.5.1
|
|
# via -r requirements.in
|
|
pluggy==0.13.1
|
|
# via -r requirements.in
|
|
pre-commit==2.9.3
|
|
# via -r requirements.in
|
|
py3-validate-email==0.2.12
|
|
# via -r requirements.in
|
|
pycparser==2.20
|
|
# via cffi
|
|
pyopenssl==20.0.1
|
|
# via opencage
|
|
pytz==2020.5
|
|
# via -r requirements.in
|
|
pyyaml==5.3.1
|
|
# via
|
|
# -r requirements.in
|
|
# pre-commit
|
|
requests==2.25.1
|
|
# via
|
|
# -r requirements.in
|
|
# opencage
|
|
shellingham==1.3.2
|
|
# via click-completion
|
|
six==1.15.0
|
|
# via
|
|
# -r requirements.in
|
|
# click-completion
|
|
# cryptography
|
|
# imapclient
|
|
# opencage
|
|
# pyopenssl
|
|
# virtualenv
|
|
thesmuggler==1.0.1
|
|
# via -r requirements.in
|
|
toml==0.10.2
|
|
# via pre-commit
|
|
urllib3==1.26.2
|
|
# via requests
|
|
virtualenv==20.4.0
|
|
# via pre-commit
|