Skip to main content

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

pyedautils-0.0.5.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

pyedautils-0.0.5-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page