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

Related packages

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

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

talocode_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.

talocode_doculane-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for talocode_doculane-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09a0766ddf7413ab2a88a0feec347b514e6d2b285715f0d69d1c8b691b21cc0a
MD5 e2b1b6aa81dafc0ea02298bfd1a26282
BLAKE2b-256 5316a694381255298521bc5fabf6fd238c63515c04187c33ed13d6601ee4d67d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for talocode_doculane-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47775ceb18f16b5e4172796decee61ea74e81cc523352b0dd88fed19f50e8918
MD5 34f907a314ee5d892ff0e9cad2222c24
BLAKE2b-256 0092bd6c117255cb620c92e8b003a20457063f75f539cf04be9670ca72efabee

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