Skip to main content

KallistoAPI Python Library

KallistoAPI is a Python library for interacting with Kallisto sensor nodes over BLE (Bluetooth Low Energy). It provides easy access to device information, time synchronization, and readings from a wide range of environmental and motion sensors.

This library is designed for developers and researchers who want to integrate Kallisto sensor data into Python applications with minimal setup.

Features

  • Connect to Kallisto sensor nodes via BLE
  • Read and update device time
  • Access a variety of sensor modules including temperature, humidity, accelerometer, gyrometer, light, pressure, gas sensors, and more

Installation

pip install kallistoapi

Quick Start

Here’s a simple example showing how to connect to a Kallisto device, and get the accelerometer values:

from time import sleep
from kallistoapi.kallisto_manager import KallistoManager
  
def handle_accel(sender, value_list):
    print("handle_accel value_list {}".format(value_list))
    
mac_address = "11:22:33:44:55:66"
kallisto = KallistoManager()

if not kallisto.connect(mac_address):
    print("Failed to connect to Kallisto")
    exit(1)

accelerometer0 = kallisto.get_module("accelerometer", 0)
accelerometer0.configure("enable", True)
accelerometer0.configure("sample_rate", "200Hz")
accelerometer0.configure("sensitivity", "8g")
accelerometer0.apply_config()

accelerometer0.start_notify(handle_accel)
sleep(20)
accelerometer0.stop_notify()

kallisto.disconnect()

Available Sensor Modules

Kallisto currently supports the following sensor modules:

Motion & Orientation (IMU)

  • vibration
  • magnetometer
  • accelerometer
  • gyrometer

Environmental / Air Quality

  • temperature
  • light
  • pressure
  • humidity
  • eco2
  • bvoc
  • iaq

ADC Sensors

  • pt100

Device & Power

  • fuel_gauge
  • tx_power
  • device_info

Metadata

Release files for kallistoapi 2.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kallistoapi 2.0.8
File Size Uploaded Provenance Actions
kallistoapi-2.0.8.tar.gz 29.8 kB Without provenance Details for kallistoapi-2.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kallistoapi 2.0.8
File Interpreter ABI Platform Actions
kallistoapi-2.0.8-py3-none-any.whl Python 3 none any Details for kallistoapi-2.0.8-py3-none-any.whl

Total release size: 75.3 kB

Release files / kallistoapi-2.0.8.tar.gz

Download URL kallistoapi-2.0.8.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
531032907490ae65687798c2c3cb640165fa617b96f3e6ce21edc76706eee9a0
BLAKE2b-256 checksum
How to use checksums
6ac7aeca4ca6955300d9c9029e6ec7779ee7f8f7586c6bf874912f3ad818132f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / kallistoapi-2.0.8-py3-none-any.whl

Download URL kallistoapi-2.0.8-py3-none-any.whl
Size 45.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
643dcd131aa9d054d81cb3dcf13635f60bfb63a3882d3f91146eabdbc7d895bc
BLAKE2b-256 checksum
How to use checksums
f8df7fb1f35e4b087f3df5e4ec922294c0115f633b274d2b88c08f38015c86f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for kallistoapi 2.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page