python-timbl
Python extension for TiMBL k-Nearest Neighbours machine learning toolkit.
Pricing
Free tier
Flat rate
Adoption
↘CoolingLicense
Open Source
Data freshness
Aging · Jun 8, 2026Overview
What is python-timbl?
A Python module that wraps the full TiMBL C++ programming interface, providing access to an elaborate k-Nearest Neighbors (kNN) machine learning toolkit. This makes it a powerful tool for developers and data scientists working with classification tasks requiring sophisticated nearest neighbor algorithms.
Key differentiator
“python-timbl stands out by providing direct access to TiMBL's advanced nearest neighbor algorithms through Python, making it ideal for developers and researchers who require sophisticated classification capabilities.”
Capability profile
Capability Radar
Honest assessment
Strengths & Weaknesses
↑ Strengths
↓ Weaknesses
API requires Python-specific patterns, TypeScript SDK is community-maintained
v0.1 to v0.2 migration required rewriting chain definitions
Last major update was over a year ago, with minimal contributions from the community since then
Bottlenecks in Python wrapper can lead to slower processing times compared to direct C++ usage
Fit analysis
Who is it for?
✓ Best for
Developers working on classification tasks who require the flexibility and power of TiMBL's nearest neighbor algorithms.
Researchers in machine learning looking for a robust kNN toolkit with Python bindings.
✕ Not a fit for
Projects requiring real-time processing or low-latency responses, as this tool is more suited to batch processing.
Applications that need a wide range of ML models beyond k-Nearest Neighbors.
Cost structure
Pricing
Free Tier
Available
Open source — free to use
Starts at
$0
Model
Flat rate
Enterprise
None
Performance benchmarks
How Fast Is It?
Ecosystem
Relationships
Alternatives
Works well with
Next step
Get Started with python-timbl
Step-by-step setup guide with code examples and common gotchas.