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.9

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.9
File Size Uploaded Provenance Actions
kallistoapi-2.0.9.tar.gz 30.8 kB Without provenance Details for kallistoapi-2.0.9.tar.gz

Built distribution (wheel)

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

Total release size: 76.8 kB

Release files / kallistoapi-2.0.9.tar.gz

Download URL kallistoapi-2.0.9.tar.gz
Size 30.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9b5fafab97116a9db484f48c66dc46d0823a89fa0730133deb75ccd254a5769a
BLAKE2b-256 checksum
How to use checksums
bb6598ee28dc80a7556b2856ea0e12d894d14a7c6baaac37c151f528a2121487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL kallistoapi-2.0.9-py3-none-any.whl
Size 46.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d7737c5e6dffbc8f3ec379e1cab3d552b8356fc47fd27173daae0e15e74a550
BLAKE2b-256 checksum
How to use checksums
9ad3bc2dd3ecb7954a230e5684f6663a76f761b8ceca45f0291585e0e6a1b953
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for kallistoapi 2.0.9

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