Skip to main content

A Python library to load and convert sensor data recorded by a NilsPod by Portablies.

Project description

NilsPodLib

PyPI codecov Test and Lint Documentation Status Code style: black PyPI - Downloads

A python package to parse logged NilsPod binary files.

Installation

pip install nilspodlib --upgrade

If you have access to the mad-lab gitlab server, you can further install the nilspodrefcal repository, which contains reference calibrations for a selected set of NilsPod sensors. You can install it using:

pip install git+https://mad-srv.informatik.uni-erlangen.de/MadLab/portabilestools/nilspodrefcal.git --upgrade

For users of NilsPodLib v1.0

With v2.0.0 the name of the library was updated from NilsPodLib to nilspodlib to comply with the recommended naming style for Python packages. Therefore, you need to update your import path when updating to the new version!

For developer

Install Python >=3.9 and uv. Then run the commands below to get the latest source and install the dependencies:

git clone https://github.com/mad-lab-fau/NilsPodLib.git
cd nilspodlib
uv sync --dev

To run any of the tools required for the development workflow, use the poe commands:

poe 

CONFIGURED TASKS
  format          Format all files with black.
  lint            Lint all files with ruff.
  check           Check all potential format and linting issues.
  test            Run Pytest with coverage.
  docs            Build the html docs using Sphinx.
  version         Bump version in all relevant places.

by calling

poe <command name>

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

nilspodlib-4.1.0.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

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

nilspodlib-4.1.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file nilspodlib-4.1.0.tar.gz.

File metadata

  • Download URL: nilspodlib-4.1.0.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nilspodlib-4.1.0.tar.gz
Algorithm Hash digest
SHA256 c19665b18ce0f73ef517b0498213fc167fd59000e272512fc1fd317036fda1bb
MD5 ec8af0e2b897bb6a4a141d7d87875ae5
BLAKE2b-256 b970181039b2d5b1a7c5b58c1baeded83abcc57fdd76e3ed975e5a788028aaaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for nilspodlib-4.1.0.tar.gz:

Publisher: publish.yml on mad-lab-fau/NilsPodLib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nilspodlib-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: nilspodlib-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nilspodlib-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 939c537c63c27ff745147210a1e72f53baca4b0f3eaa17988c6513f160ad852b
MD5 e3f3b68130f68a0f55fe0261e1d60319
BLAKE2b-256 97e6972c5e860b2939f578f429342ac51a42f5b135790ddaa8e3654602e292f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for nilspodlib-4.1.0-py3-none-any.whl:

Publisher: publish.yml on mad-lab-fau/NilsPodLib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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