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

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

Built distribution (wheel)

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

Total release size: 77.2 kB

Release files / kallistoapi-2.0.7.tar.gz

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

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

Download URL kallistoapi-2.0.7-py3-none-any.whl
Size 46.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a576dd558ee1248772d697c61cc9a3cdde9121e641a85e7fba93708cde01051c
BLAKE2b-256 checksum
How to use checksums
70778fd3f260c4067fd392fe3c5f63d29c5db91629416067a6ee5a4a845149c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for kallistoapi 2.0.7

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