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 talocode-doculane

With optional dependencies:

pip install talocode-doculane[all]  # Excel + Word + PowerPoint
pip install talocode-doculane[excel]  # Excel only
pip install talocode-doculane[word]  # Word only
pip install talocode-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
Package Install
DocuLane (this package) pip install talocode-doculane
ContextLane pip install contextlane
DevTool pip install talocode-devtool

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

License

MIT © Talocode

Metadata

Release files for talocode-doculane 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-doculane 0.1.0
File Size Uploaded
talocode_doculane-0.1.0.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 10.3 kB

Release files / talocode_doculane-0.1.0.tar.gz

Download URL talocode_doculane-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
09a0766ddf7413ab2a88a0feec347b514e6d2b285715f0d69d1c8b691b21cc0a
BLAKE2b-256 checksum
How to use checksums
5316a694381255298521bc5fabf6fd238c63515c04187c33ed13d6601ee4d67d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

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

Download URL talocode_doculane-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47775ceb18f16b5e4172796decee61ea74e81cc523352b0dd88fed19f50e8918
BLAKE2b-256 checksum
How to use checksums
0092bd6c117255cb620c92e8b003a20457063f75f539cf04be9670ca72efabee
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