EvaluationEfficiencyOptimiz.../davisAPI/PyWeather-master/weather/__init__.py

19 lines
403 B
Python
Raw Normal View History

2024-10-08 17:47:23 +04:00
'''
PyWeather branch; bindings for Davis Vantage Pro and Pro2 weather stations,
upload of weather data (e.g. wunderground.com), and meteorological
calculation/conversion functions.
'''
__version__ = '0.11.0'
import logging
class NullHandler(logging.Handler):
def emit(self, record):
pass
# init a null handler, to prevent warnings
logging.getLogger(__name__).addHandler(NullHandler())