Skip to main content

BiVital Library

Project description

bivital

PyPI - Version Python Versions License

bivital is the official Python library for the BI-Vital data workflow.
It helps you organize, preprocess, and manage measurement projects, series, and raw data collected via BI-Vital systems.


🚀 Features

  • Project structure setup
  • Series and data import
  • Label management
  • Command-line tool (bvtool) for fast interaction
  • Optional Jupyter workflow extras ([notebook])
  • Bluetooth (BLE) API and CLI support

📦 Installation

Requires Python ≥ 3.10
(3.11/3.12 recommended)

Stable release (PyPI)

pip install bivital

With notebook extras

pip install "bivital[notebook]"

From source (local checkout)

# in the repo root
pip install .
# or in editable/development mode (plus notebook extras)
pip install -e ".[notebook]"

🛠 Usage

Command-Line Interface (CLI)

bvtool -h
bvtool project -p PATH -n NAME
bvtool series  -p PATH -n NAME
bvtool data    -p PATH -s pc
bvtool label   -p PATH

BLE (via bvtool)

# Scan BI-Vital devices
bvtool ble scan

# Read one value (short device token from name is supported)
bvtool ble read --address <XXXX> battery_level

# Write one value
bvtool ble write --address <XXXX> led_color green

# Stream one or multiple values
bvtool ble stream --address <XXXX> heart_rate.bpm
bvtool ble stream --address <XXXX> heart_rate.bpm,motion_raw.acc_ms2

Python (minimal check)

import bivital
print("bivital version:", getattr(bivital, "__version__", "unknown"))

📂 Example Project Structure

BiVitalProject/
├── Series1/
│   └── MAC_01/
│       └── log_01.csv
└── Series2/
    └── ...

💬 Support & Contributing

Contributions are welcome—please open an issue to discuss changes first.


📜 License

MIT © University Bielefeld

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

bivital-0.1.8.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

bivital-0.1.8-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file bivital-0.1.8.tar.gz.

File metadata

  • Download URL: bivital-0.1.8.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for bivital-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e8af18d63224565836b957a1ffe33f670b647e1eda6c61c66962e2c3d46a2d46
MD5 6a61d3bb3905bbe1d891892502b1f2fc
BLAKE2b-256 d8fe4b28ed40a915120c0352cbf441a22435ed09fb4fcd44dcb5a8c13d8ce28e

See more details on using hashes here.

File details

Details for the file bivital-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: bivital-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for bivital-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f391cab22073f7ce7492a656075becc54a57a793d5ad6e3d436dfd7fec79e9b4
MD5 b17785a1999a7bcf30b8b258d442933e
BLAKE2b-256 96a80f7b2a20882cdd892fb6a695e4ceac8b73caf307c2e6c06546607718bece

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