Skip to main content

A package for interacting with the uu battery data handler project

Project description

UU Battery Package

This is a package intended for interacting with the UU battery data handler project. For more information, see UU-Battery-Data-Handler on GitHub.

Installation: pip install uu-battery

Requires

Features

The package features a function get_data(file_id) which fetches data with a specific ID and outputs it as a pandas dataframe. The file ID can be obtained at https://researchcloud.kemi.uu.se/datasets, for more information please refer to UU-Battery-Data-Handler on GitHub. On the first call of the session, the user will be prompted for their UU joint-weblogin authentication details. Note that it may take a few seconds to contact the CAS servers to authenticate the user. The session is then valid for 2 hours if active or 1 hour if inactive and no further entering of credentials is needed during this time. To forcefully invalidate the session call logout().

Example code:

import pandas as pd
import uu_battery

file_id="6316ffd3-67f3-4bd0-98c5-2beb6e944938" #Obtain from the frontend

data=uu_battery.get_data(file_id)
print(data.head(5))

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

uu_battery-0.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uu_battery-0.2.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file uu_battery-0.2.1.tar.gz.

File metadata

  • Download URL: uu_battery-0.2.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for uu_battery-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ccb1eb3494dafcac115bb56f9e9aba20262a737d58b218592d8a937ae9cf47fb
MD5 658032d5fb146cc4e2bce5abee00e22b
BLAKE2b-256 21bfee7db8c767c2f13000d60a56bc3356c782852bff4fd7e3fb747574cb71e6

See more details on using hashes here.

File details

Details for the file uu_battery-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: uu_battery-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for uu_battery-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbc4d13931adeac7ce54520a6bcc65113baeaa773933567f1972c82bab54c863
MD5 22727bb30e2a1b46ba4a0efc345e27b2
BLAKE2b-256 f17efce4b54b2a6ce53774e01985c5e623f46526beaa543dbfbf23a330079930

See more details on using hashes here.

Supported by

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