Skip to main content

A Python package for the fetching (and some processing) of eCallisto data via the eCallisto API.

Project description

Ecallisto NG

Ecallisto NG is a very basic and simple package to access the Ecallisto API.

It is written in Python 3.7 and uses the requests library and accesses the Ecallisto API at https://v000792.fhnw.ch/api/data

Installation

Clone this repository and install it with pip: pip install -e .

PYPI

This package is also available on PYPI: https://pypi.org/project/ecallisto-ng/

Usage

Data fetching

from ecallisto_ng.data_fetching.get_data import get_data
parameters = {
    "instrument_name": "austria_unigraz_01",
    "start_datetime": "2021-03-01 06:30:00",
    "end_datetime": "2021-03-07 23:30:00",
    "timebucket": "15m",
    "agg_function": "MAX",
}

df = get_data(parameters)

Plotting

We offer some basic plotting functions.

from ecallisto_ng.plotting.plot import fill_missing_timesteps_with_nan, plot_spectogram

df = fill_missing_timesteps_with_nan(df)
plot_spectogram(df,  parameters["instrument_name"], parameters["start_datetime"], parameters["end_datetime"])

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

ecallisto_ng-0.0.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

ecallisto_ng-0.0.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ecallisto_ng-0.0.3.tar.gz.

File metadata

  • Download URL: ecallisto_ng-0.0.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ecallisto_ng-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f8c84dba92605dc7ffb1c6e075be4d614d913b4d3c9b6b693e6e187ad582a991
MD5 f99b929c27513f8aa95be8b0641fc971
BLAKE2b-256 2fe15139603824f7ef987695ec2ac74c577a4e4deae579ed2b4cf168e722b5af

See more details on using hashes here.

File details

Details for the file ecallisto_ng-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ecallisto_ng-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0a5714845a4b8900f09a1e031b78c9287000fb66bad41860322989953056cfeb
MD5 b619864babaece9baacca01b06b0a345
BLAKE2b-256 42e84550a16ce93001f9465f0041fc66771a3061b8176c0e08139c0bf5b0721a

See more details on using hashes here.

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