Quickstart · Architecture · Roadmap · Licensing
toqan-ds is an autonomous data scientist for relational databases. Powered by DuckDB, it connects to your multi-table schemas, enforces strict point-in-time (event_time < cutoff) hygiene across 6 automated leakage gates, and routes clean feature tables into any downstream model (Tabular Foundation Models / Prior-Fitted Networks, AutoML, GBDTs, or Decision Models).
Architecture
Quickstart
# Option 1: Install directly from GitHub
pip install "git+https://github.com/prosusai/toqan-ds.git@main"
# Option 2: Clone & editable install (with LightGBM extra)
git clone https://github.com/prosusai/toqan-ds.git && cd toqan-ds && pip install -e ".[lgbm]"
from toqan_ds import DataScientist
ds = DataScientist(task_kind="binary", verify_leakage=True) # $0 zero-key DuckDB DFS
ds.fit(train_df, {"customers": customers, "orders": orders}, target_column="churn",
cutoff_column="cutoff", time_columns={"orders": "order_time"}, key_columns=["customer_id"])
preds = ds.predict(test_df, {"customers": customers, "orders": orders})
Provider-agnostic by design: Run at
$0with zero keys, or pass any LLM API key withllm="<your-model>"(OpenAI, Anthropic, Google Gemini, Ollama / local OpenAI-compatible endpoints, orprovider="litellm"). Try the< 3soffline synthetic demo:python examples/quickstart_multitable.py.
Privacy:
toqan-dsruns locally and sends no data or usage information to Prosus. When you enable the optional LLM agent, requests are sent only to your configured provider endpoint using your own API key and are subject to that provider's terms.
You can also run the standalone point-in-time leak canary (verify_no_future_leakage(...)) against any custom SQL, dbt, or Python feature pipeline.
Roadmap
Reproducible multi-table benchmark suites and native tabular foundation model connectors will follow in subsequent releases. See ROADMAP.md for detailed milestones and 100M+ row scaling plans, and CITATIONS.md for academic references.
Licensing notice
Effective date: 3 December 2026
What the Apache-2.0 licence covers. The Apache License 2.0 in this repository applies only to the toqan-ds source code, tests, scripts and documentation that MIH AI B.V. owns. It does not cover:
- Third-party software. Libraries such as DuckDB, pandas, scikit-learn and others are installed by you from public package indexes. They are not bundled with or distributed by toqan-ds, and each remains under its own licence. See third-party-notices.md.
- Third-party models and weights. toqan-ds does not include model weights. Any third-party pretrained models or weights you choose to connect or download at runtime are governed solely by their own licences, and you are responsible for complying with them (including any non-commercial restrictions).
- Datasets. This repository contains code, tests, and a synthetic offline demo only; no third-party datasets are included. Any external datasets you use with toqan-ds remain subject to their own terms.
Licensor. The code in this repository is licensed by MIH AI B.V. under the Apache License, Version 2.0.
Third-party notices. The SciPy wheel from PyPI contains libgfortran (GPL-3.0-or-later with the GCC Runtime Library Exception) and libquadmath (LGPL-2.1-or-later), which are loaded and not distributed by toqan-ds. GPU installs of optional PyTorch-based downstream libraries pull NVIDIA CUDA libraries that NVIDIA licenses under its own terms. If you redistribute toqan-ds together with any third-party package, you are responsible for complying with that package's licence.
Trademarks. "Toqan" is a trademark of MIH AI B.V. or its affiliates. No trademark rights are granted by the Apache License 2.0 or by this project.
No warranty. The software is provided "AS IS", without warranty of any kind. See the LICENSE.
Contributing
Contributions are welcome. By submitting a contribution you agree that it is licensed under the Apache License 2.0 (see Section 5 of that licence). See CONTRIBUTING.md for how to contribute.
Please report security issues privately as described in SECURITY.md.
Copyright
Copyright (c) 2026 MIH AI B.V. Licensed under the Apache License, Version 2.0.
Metadata
Release files for toqan-ds 0.0.1
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 |
|---|---|---|---|---|
| toqan_ds-0.0.1.tar.gz | 101.8 kB | Without provenance | Details for toqan_ds-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| toqan_ds-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for toqan_ds-0.0.1-py3-none-any.whl |
Total release size: 204.2 kB
Release files / toqan_ds-0.0.1.tar.gz
| Download URL | toqan_ds-0.0.1.tar.gz |
|---|---|
| Size | 101.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b07651e02a64c688fa57e0f4f2c9272f0118b1d33ab6820370a5fd1586f876d
|
|
BLAKE2b-256 checksum How to use checksums |
30dc4d9cce6a6203261fcea9985e507ee4a3db7b4ff6aac456d3802ba766fa9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Release files / toqan_ds-0.0.1-py3-none-any.whl
| Download URL | toqan_ds-0.0.1-py3-none-any.whl |
|---|---|
| Size | 102.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
490eff88f37fcb0e70da2696d7f3d8158a55210252870e916bbc78a0461199f3
|
|
BLAKE2b-256 checksum How to use checksums |
5d66da7999be56fe7931ed004b791f16bf605a81251ab9eeb74c86417ee5c8b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Security for toqan-ds 0.0.1
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.