Skip to main content

kestrel_pi

The on-device Python runtime for Kestrel, a Raspberry Pi Wi-Fi capture-and-learning device. It bundles three cooperating pieces:

  • A plugin host daemon (kestrel-daemon) that loads plugins and dispatches an on_* hook API modelled on pwnagotchi's off its event loop, drawing on the device's connectivity and capture state.
  • A web dashboard served on the device's management link — a dependency-free, server-rendered status and control surface for capture, plugins, and device actions.
  • A reinforcement-learning agent framework (kestrel-agent, kestrel-agent-train): an optional on-device policy that tunes the capture scan posture, with offline training kept out of the always-on daemon.

It also carries the shared UI state model and a few general services any plugin may use (the Plugin base class, load_helper for a plugin's own helper files, load_library for the shared plugin libraries that ship with the plugins, httpsafe for sending credentials). It holds nothing that serves one particular plugin: features live in their plugins, which stay standalone, and code several plugins share lives with them as _lib_<name>.py libraries (see docs/developer/plugin-development.md and docs/developer/plugin-libraries.md).

The package is installed into the pi user's virtualenv (/home/pi/.venv) by the Kestrel image build. The reference plugins and the shared plugin libraries ship separately under /usr/local/lib/kestrel/plugins/, and operator plugins live in /etc/kestrel/plugins/.

See docs/developer/plugin-development.md in the repository for the plugin API and the Plugin base class in kestrel_pi/plugins.py.

Run the tests with pytest from this directory.

Metadata

Release files for kestrel-pi 1.0.12

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

Source distribution (sdist)

Source distribution for kestrel-pi 1.0.12
File Size Uploaded Provenance Actions
kestrel_pi-1.0.12.tar.gz 439.8 kB Without provenance Details for kestrel_pi-1.0.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kestrel-pi 1.0.12
File Interpreter ABI Platform Actions
kestrel_pi-1.0.12-py3-none-any.whl Python 3 none any Details for kestrel_pi-1.0.12-py3-none-any.whl

Total release size: 668.1 kB

Release files / kestrel_pi-1.0.12.tar.gz

Download URL kestrel_pi-1.0.12.tar.gz
Size 439.8 kB
Tags Source
SHA-256 checksum
How to use checksums
db4554c6be0c372c3eb036f380caca3cb26f0b6615f763757dc5e6b05c0c8e71
BLAKE2b-256 checksum
How to use checksums
fdf6af1937324cbbbe530f6c91a5b97e182fe8964bd510a260509d97d4422cd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / kestrel_pi-1.0.12-py3-none-any.whl

Download URL kestrel_pi-1.0.12-py3-none-any.whl
Size 228.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5027b27a653367af28b443186f86fff8b645b183d5b2cb1cf8217768947cead
BLAKE2b-256 checksum
How to use checksums
dd69ae21b1c359517fbaedf3341bbd1519e053b2fba7ca88a9a576ef422522c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for kestrel-pi 1.0.12

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