Skip to main content

DataLane

Open-source AI data analysis canvas. Connect CSV, JSON, or a live URL, describe a chart in plain English, and get an editable artifact — not a code dump.

DataLane is the open-source, self-hosted answer to AI data-analysis tools that only hand you generated scripts. It runs entirely on your machine, works with your own model key, and every chart is a real object you can edit, branch, and re-render.

What it solves

  • You have data scattered across files and URLs and want charts without writing SQL or Python by hand.
  • AI analysis tools give you a script you must re-run; DataLane hands you an editable HTML artifact with the spec + data embedded.
  • Follow-up questions drift back to raw data; DataLane anchors a cleaned state so each question builds on the last.

Install

npm install -g @talocode/datalane
# or
pip install talocode-datalane

Quickstart

datalane analyze sales.csv "total revenue by month" --out revenue.html
from talocode import DataLaneClient

client = DataLaneClient()
source = client.load("sales.csv")
result = client.analyze(source, "average revenue by region")
print(result.summary)
client.to_html(result)  # editable artifact

CLI

datalane analyze <source> "<intent>" [--out <file.html>]
datalane render <source> --spec '<json>' [--out <file.html>]
datalane anchor <source> [--name <name>]
datalane from-anchor "<intent>" [--out <file.html>]
datalane branch --spec '<json>' --vars '<json>' [--out-dir <dir>]
datalane columns <source>
datalane sources | pricing | capabilities

API surface

Chart types

bar, line, scatter, pie, table

Aggregations

sum, avg, count, min, max

Sources

Source Example
CSV file sales.csv
JSON file data.json (array or { "rows": [...] })
Live URL https://api.example.com/data.json

Intent parsing

Plain-English phrases are parsed deterministically — no key required:

  • "total revenue by month" → bar, sum of revenue grouped by month
  • "average spend by country limit 5" → avg, filtered to 5 rows
  • "how many orders by region" → count
  • "revenue trend over time" → line chart
  • "breakdown by region as a pie" → pie
  • "correlation between x and y" → scatter
  • "where region contains South" → filter

Anchored state

anchor saves the cleaned dataset to .datalane/anchor.json. from-anchor and branch build on that clean state so follow-ups do not drift back to raw data.

Credits (hosted API)

Route Credits
datalane.analyze 5
datalane.anchor 2
datalane.render 1

Hosted at https://api.talocode.site/v1/datalane/*. Set TALOCODE_API_KEY and optionally TALOCODE_BASE_URL.

Related packages

  • npm i @talocode/llmgateway / pip install talocode-llmgateway — LLM API gateway
  • npm i @talocode/xsearchlane / pip install talocode-xsearchlane — X search
  • npm i @talocode/doculane / pip install talocode-doculane — office documents

Talocode ecosystem

Package GitHub Install
DataLane (this package) talocode/datalane pip install talocode-datalane
Tera talocode/tera pip install talocode-tera
Codra talocode/codra pip install talocode-codra
SearchLane talocode/searchlane pip install talocode-searchlane
StackLane talocode/stacklane pip install talocode
GateLane talocode/gatelane
ContextLane talocode/contextlane pip install contextlane
ScreenLane talocode/screenlane pip install talocode-screenlane
MemoryLane talocode/memorylane
Tradia talocode/tradia pip install tradia
DevTool talocode/devtool pip install talocode-devtool
XProLane talocode/xprolane pip install talocode-xprolane
XSearchLane talocode/xsearchlane npm i @talocode/xsearchlane
Agent Browser talocode/agent-browser
InvoiceLane talocode/invoicelane
GeoLane talocode/geolane
ClipLoop talocode/cliploop
LLM Gateway talocode/llmgateway pip install talocode-llmgateway

More: github.com/talocode · talocode.site · docs.talocode.site

License

MIT © Talocode

Metadata

Release files for talocode-datalane 0.1.0

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

Source distribution (sdist)

Source distribution for talocode-datalane 0.1.0
File Size Uploaded
talocode_datalane-0.1.0.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for talocode-datalane 0.1.0
File Interpreter ABI Platform
talocode_datalane-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / talocode_datalane-0.1.0.tar.gz

Download URL talocode_datalane-0.1.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bf92a884adf4819d714cbffec988b00a7429ead4d80c5a5bfaea68cfd4b9f4c2
BLAKE2b-256 checksum
How to use checksums
ad6f66b9657e13e6c29efc82192514f1373be692a9d0563c2f959218875a7fcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / talocode_datalane-0.1.0-py3-none-any.whl

Download URL talocode_datalane-0.1.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d39f3800af813ec0851748ef11becd1099e6bdf315c8aac58a2712e1d9c8246
BLAKE2b-256 checksum
How to use checksums
7a5c84a2d9ec210665998094e71dbe678c50dfd8697a4958efaf5d9a2450c420
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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