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)
vibrationmagnetometeraccelerometergyrometer
Environmental / Air Quality
temperaturelightpressurehumidityeco2bvociaq
ADC Sensors
pt100
Device & Power
fuel_gaugetx_powerdevice_info
Metadata
Release files for kallistoapi 2.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kallistoapi-2.0.6.tar.gz | 30.8 kB | Without provenance | Details for kallistoapi-2.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kallistoapi-2.0.6-py3-none-any.whl | Python 3 | none | any | Details for kallistoapi-2.0.6-py3-none-any.whl |
Total release size: 77.2 kB
Release files / kallistoapi-2.0.6.tar.gz
| Download URL | kallistoapi-2.0.6.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
433dcfc361f15deb76fb1db21d7bae929b5740b3cfc0945da85569af763d6545
|
|
BLAKE2b-256 checksum How to use checksums |
7b0bc9410f88705617a4d09169760263a67c8f142fb6c59f6aeeab20b2b20f6d
|
| 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.6-py3-none-any.whl
| Download URL | kallistoapi-2.0.6-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd9deb6bdba4bd08a98ff83d441aa486fcbcc28e5326b1d95043ea3d115095ca
|
|
BLAKE2b-256 checksum How to use checksums |
1863d6a2f5bb1afa10346aad765363f519340320fcc6e5fe1b1cee844d96566f
|
| 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.6
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.