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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

talocode_datalane-0.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

talocode_datalane-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file talocode_datalane-0.1.0.tar.gz.

File metadata

  • Download URL: talocode_datalane-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for talocode_datalane-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf92a884adf4819d714cbffec988b00a7429ead4d80c5a5bfaea68cfd4b9f4c2
MD5 387e6ff5c71e537c5613d1cf229072ba
BLAKE2b-256 ad6f66b9657e13e6c29efc82192514f1373be692a9d0563c2f959218875a7fcf

See more details on using hashes here.

File details

Details for the file talocode_datalane-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for talocode_datalane-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d39f3800af813ec0851748ef11becd1099e6bdf315c8aac58a2712e1d9c8246
MD5 87c7d448720af5a42c940033e2b8fec5
BLAKE2b-256 7a5c84a2d9ec210665998094e71dbe678c50dfd8697a4958efaf5d9a2450c420

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page