Skip to main content

DocuLane

Office document CLI for agents — read, write, and edit Word, Excel, PowerPoint without Office installed.

PyPI version License: MIT

Open-source CLI and SDK that give coding agents direct access to Office documents — Word (.docx), Excel (.xlsx), and PowerPoint (.pptx). No Microsoft Office installation required.

Why it exists

Agents need to process business documents — reports, spreadsheets, presentations. DocuLane makes this possible without Office licenses or installations:

  • CLI-first — command-line interface for agents
  • Local-first — run the open tool with your own files
  • Hosted path — sell/meter usage under /v1/doculane/*
  • No dependencies — works without Microsoft Office

Part of Talocode: open tools people trust, hosted power behind them.

Install

pip install doculane

With optional dependencies:

pip install doculane[all]  # Excel + Word + PowerPoint
pip install doculane[excel]  # Excel only
pip install doculane[word]  # Word only
pip install doculane[powerpoint]  # PowerPoint only

Quickstart

from doculane import DocuLaneClient

client = DocuLaneClient()

# Read an Excel file
data = client.read("report.xlsx")
print(data["sheets"][0]["data"])

# Write a Word document
client.write("output.docx", {
    "paragraphs": ["Hello World", "Second paragraph"]
})

# Get capabilities
print(client.capabilities())

Supported formats

Format Extension Read Write Notes
Word .docx, .doc Text extraction and creation
Excel .xlsx, .xls Multi-sheet support
PowerPoint .pptx, .ppt Slide management

API surface

Local engine

Function Description
read_excel(path) Read Excel workbook
write_excel(path, data) Write Excel workbook
read_word(path) Read Word document
write_word(path, data) Write Word document
read_powerpoint(path) Read PowerPoint
write_powerpoint(path, data) Write PowerPoint

Hosted routes (Talocode Cloud)

Method Path Credits
GET /v1/doculane/health 0
GET /v1/doculane/pricing 0
GET /v1/doculane/capabilities 0
POST /v1/doculane/read 5
POST /v1/doculane/write 5

Auth:

Authorization: Bearer $TALOCODE_API_KEY

CLI

doculane read <file>
doculane write <file> <json-data>
doculane info <file>
doculane health
doculane capabilities
doculane pricing

Develop

git clone https://github.com/talocode/doculane
cd doculane/python
pip install -e ".[dev]"
pytest

Related packages

Package Install
DocuLane (this package) pip install doculane
ContextLane pip install contextlane
DevTool pip install devtool-lane

Talocode ecosystem

Product Repo Notes
DocuLane talocode/doculane (this package) Office document CLI
XSearchLane talocode/xsearchlane Realtime X search MCP/API
XProLane talocode/xprolane X Pro setup & signal dashboard
SearchLane talocode/searchlane Agent web search & research
Tera talocode/tera Hosted writing/coding capability API
Codra talocode/codra Coding agent runtime
StackLane talocode/stacklane Cloud control plane, keys, wallet
GateLane talocode/gatelane Policy / gate tooling
ContextLane talocode/contextlane Context infrastructure
ScreenLane talocode/screenlane Screen/agent UI tooling
MemoryLane talocode/memorylane Memory for agents
Tradia talocode/tradia Trading tooling
DevTool talocode/devtool Developer utilities
Agent Browser talocode/agent-browser Browser automation API
InvoiceLane talocode/invoicelane Invoicing
GeoLane talocode/geolane Geo visibility
ClipLoop talocode/cliploop Short-form video loop

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

Links

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

doculane-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

doculane-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for doculane-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f4671b8087049042dd4877591f964910e45ff924f304dabf0abf7c35a2e7fe9
MD5 90fa17f1ec41a2aefd2d9daec9ec1014
BLAKE2b-256 58b5da97cdaa79ebf54e49ddbfca4a765ed1ccc095d694c6e2cd7e60295dbdd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doculane-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for doculane-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29cad6c2399361bf64330a231f0499cd1b40547108ce383faa51c9831652c607
MD5 bf27d5a1a6556ae659e996ff8749a7df
BLAKE2b-256 54ea50c5377520403a00a0a818a930afa4f10a36a0c22c1e5cbda4ddc6b0a4a5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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