Python Energy Data Analysis Utilities
Project description
pyedautils
Python Energy Data Analysis Utilities
The Python-package ‘pyedautils’ provides frequently used utility functions for the analysis and visualization of comfort and energy data in python. These functions reduce the complexity of the analysis task and allow a fast visualization of the data.
Installation
You can install the package from PyPi.org with:
pip install pyedautils
Functions
get_season()
Get the season name out of a date for filter and grouping purposes.
from pyedautils.season import get_season
from datetime import datetime
get_season(datetime(2024,5,5))
#Out[0]: 'Spring'
Default language of the returned strings is English. You can change that by passing the argument labels
:
get_season(datetime(2024,5,5), labels=["Frühling", "Sommer", "Herbst", "Winter"])
#Out[1]: 'Frühling'
Publishing notes for author
# Install package locally
python setup.py install
# Execute tests
cd tests
python -m unittest discover
cd ..
# push to testpypi
python setup.py sdist bdist_wheel
python -m twine upload -r testpypi dist/*
# finally push to pypi
python setup.py sdist bdist_wheel
python -m twine upload dist/*
Disclaimer
The author declines any liability or responsibility in connection with the published code and documentation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyedautils-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562d4ebe09c4a6957ce32c5e2aab141df1bc242f79bda3b9cafa33982bc4a739 |
|
MD5 | 71df5dfcdb827f8624fe2ea3ee4ade6b |
|
BLAKE2b-256 | 2a11517afad90533b313d8f26f55e57995d221a2b20304e6fee12b22e7eaec02 |