This release is a pre-release and may not be stable for production use.
Kantrip securely manages plaintext, TLS, SASL, mTLS, and OAuth Kafka profiles for kcat, the official Kafka CLIs, Kaskade, and compatible applications. This pre-release CLI validates and displays profiles, opens scoped sessions, and checks Kafka and registry connectivity. The typed connection core validates, resolves, and renders PLAIN, SCRAM-SHA-256, SCRAM-SHA-512, mTLS, and OAuth for authenticated command sessions and ACL-independent Kafka connectivity checks.
Features
Kafka profiles
- Schema-validated profiles in a private transactional SQLite database
- Ordered automatic schema migrations with private recovery backups
- Multiple bootstrap servers, descriptions, labels, and independent secure Registry endpoints
- Native Kafka OAuth and Registry Basic, token, mTLS, and OAuth profiles
- Plaintext or verified TLS transport with default client trust or a copied PEM CA bundle
- Typed PLAIN, SCRAM, and mTLS lifecycle with OS-backed secret references
- Canonical Java and librdkafka authentication renderers
add,edit,remove, label-filteredlist, and safedescribecommands- Human, JSON, and YAML profile observations
Local diagnostics
- Profile database, credential backend, permissions, platform, shell, and session checks
- Read-only diagnostics with explicit deterministic repair through
doctor --repair - Explicit Kafka protocol connectivity checks with
ping - Installed-command discovery for Kantrip's supported adapters
- Colored status output with plain-text and
NO_COLORsupport
Compatible CLI sessions
kcatand itskafkacatalias- Apache Kafka
.shcommands and equivalent unsuffixed Confluent Platform commands - Confluent Avro, JSON Schema, and Protobuf console producers and consumers
- Kaskade
adminandconsumer, including Confluent and native Apicurio decoding - Private, profile-aware client configuration with connection overrides blocked
- Consistent Bash, Zsh, and Fish subshells plus one-off command execution
- Process-group and PTY supervision with child exit-status preservation
- Crash-safe runtime locks, automatic stale-session recovery, and
doctor --repair
Terminal experience
- Rich-based Arcana theme with semantic colors
- Clean stdout/stderr separation
NO_COLOR,TERM=dumb, non-TTY behavior, and global or command-local--no-color
Roadmap
The MVP roadmap tracks the remaining first-release work, including external input formats, additional clients, readability, a GitHub Pages site, and final documentation cleanup. Current secure Registry and OAuth support is described in Compatibility; first-release manual checks live in Manual Testing as each capability lands. Development contracts may change destructively before the first release; no compatibility with earlier development commits is promised.
Quick start
pipx
pipx install kantrip
First profile session
kantrip add local
kantrip doctor
kantrip list
kantrip describe local
kantrip ping local
kantrip exec local -- kcat -L
kantrip exec local -- kafka-topics --list
kantrip exec local -- kaskade admin
Omit the command to work in a profile-scoped interactive subshell:
kantrip exec local
kantrip current
kcat -L
kafka-topics --list
exit
Command compatibility
See the compatibility guide for supported tools, versions, and limitations.
Usage
See the usage guide.
Development
See the development guide.
Run the valuable exploratory scenarios in the manual testing guide.
Releases
See GitHub Releases for release notes and downloadable artifacts.
Questions
For Q&A, go to GitHub Discussions.
Security
Report suspected vulnerabilities privately by following the Kantrip security policy.
Donations
If Kantrip is useful to you, consider supporting its development on GitHub Sponsors.
AI Assistance
The project uses AI-assisted development. The maintainer reviews and tests all AI-assisted changes before inclusion.
Acknowledgements
Metadata
Release files for kantrip 0.1.0a2
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 | |
|---|---|---|---|---|
| kantrip-0.1.0a2.tar.gz | 334.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kantrip-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 437.1 kB
Release files / kantrip-0.1.0a2.tar.gz
| Download URL | kantrip-0.1.0a2.tar.gz |
|---|---|
| Size | 334.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
356737a73aa08a39bc599200c74ec073ed96cea45385eb9142e4aa932ea697cb
|
|
BLAKE2b-256 checksum How to use checksums |
4c5dd97e65dbe556641f15e4419082e6ee5c34626cc4304a74b216e94e1e4d56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / kantrip-0.1.0a2-py3-none-any.whl
| Download URL | kantrip-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 102.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67b2e44255539788b2bc6c077425292d0a0504dfb6f08d21b038026dcb75b8b7
|
|
BLAKE2b-256 checksum How to use checksums |
fddbd0095bcb6cc44f26755b4d3ae0101f2fb1041d014b3edfaf4fa83dc3d67c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logSecurity for kantrip 0.1.0a2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for kantrip-0.1.0a2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logA 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.