DocuLane
Office document CLI for agents — read, write, and edit Word, Excel, PowerPoint without Office installed.
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
- GitHub: https://github.com/talocode/doculane
- PyPI: https://pypi.org/project/doculane
- Docs: https://docs.talocode.site
- API base:
https://api.talocode.site
License
MIT © Talocode
Metadata
Release files for 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doculane-0.1.0.tar.gz | 4.6 kB | Without provenance | Details for doculane-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doculane-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for doculane-0.1.0-py3-none-any.whl |
Total release size: 10.2 kB
Release files / doculane-0.1.0.tar.gz
| Download URL | doculane-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f4671b8087049042dd4877591f964910e45ff924f304dabf0abf7c35a2e7fe9
|
|
BLAKE2b-256 checksum How to use checksums |
58b5da97cdaa79ebf54e49ddbfca4a765ed1ccc095d694c6e2cd7e60295dbdd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / doculane-0.1.0-py3-none-any.whl
| Download URL | doculane-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29cad6c2399361bf64330a231f0499cd1b40547108ce383faa51c9831652c607
|
|
BLAKE2b-256 checksum How to use checksums |
54ea50c5377520403a00a0a818a930afa4f10a36a0c22c1e5cbda4ddc6b0a4a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for doculane 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.