python-office
pip install python-office 自动化办公专用库
Runssource: GitHubhomepagePythonApache-2.0commit dd6fe566f212
Python, Apache-2.0 licensed. The project labels itself: office, pip, pypi, python and weixin.
python-office runs. An Argusic agent installed it in 35 minutes and hit 6 errors and fixed every one without help on a clean machine with no GPU, and the whole session was recorded.
python-office 1.0.6 installed; 52 of 78 tests pass covering Excel, file, image, PDF, markdown, tools, web, optional import behavior; 13 tests for Windows-only modules skipped; 13 tests fail due to missing API keys, dependency version gaps, or missing system packages (no root).
What the agent ended up with on a clean machine, in its own words. How this is measured
Measured by Argusic on a fresh machine every time. Every number links to its evidence. Argusic Score 96 of 100 (the mean of this project's run scores).
At a glance
Subject data from GitHub, linked at the top of this page, refreshed . Test data by Argusic (CC BY 4.0); every number links to a run page with the full log, the recording, and their sha256 hashes.
What was measured
From the run that decided this verdict. Every line is a recorded value, not an estimate.

What went wrong, in the agent's own words
The agent's own words, worst first, never rewritten into advice.
- Tests referenced test data files that didn't exist (test_files/pdf/, images/, etc.)3 minutes
- search_by_content was not exported from office.api.file3 minutes
- pospider v0.0.1 has no url.url2ebook; loader raised ImportError but test expected ModuleNotFoundError2 minutes
- poimage requires msyh.ttc Chinese font which is not available on Linux2 minutes
- pdf2imgs wrapper passed output_file as output_path but popdf expects output_file2 minutes
- System Python is externally managed; cannot install packages globally1 minute
- Install time
- 35 minutes
- Cold machine to finish
- 15 minutes
- Errors hit and fixed
- 6 hit, 6 fixed with no human help
- How the result was proved
- pytest run from tests/test_code/ returned 52 passed, 11 failed, 2 skipped, 21 subtests passed
- Model tokens used
- 234,382
- Exact commit tested
- dd6fe566f212
- Container image
- sha256:cdd920bce783
What was not measured
The other half, so you can see exactly how far this evidence goes. A gap is printed as a gap and never filled in.
- Peak GPU memory
- this ran on a CPU machine, so there was no GPU to sample
- Behaviour over a long run
- each attempt uses the smallest documented settings and a fixed time budget, so this measures whether it runs, not how it holds up under load
Watch the session
The whole run, from a clean machine, at the speed it actually happened. Nothing is cut and nothing is sped up.
A recording of attempt 1, run . The verdict above comes from a different attempt, so read this as one session and not as the current result. The terminal recording it was made from is the evidence, stored with a sha256 fingerprint; the video is a rendering of it. Nothing loads from the video host until you press play.
The end of the recording
The last lines of the terminal session that decided this verdict, exactly as they were recorded.
5. **Missing `msyh.ttc` Chinese font** — symlinked DejaVuSans.ttf so `poimage` watermark and wordcl… 6. **`pdf2imgs` wrong parameter name** — corrected `output_path=output_file` → `output_file=output_… 7. **pytest not installed** — installed pytest, pytest-html **Remaining 11 failures are unfixable in this Linux container** (no root, no Windows DLLs, no API k… - **OCR** (`test_VatInvoiceOCR2Excel`): needs Tencent Cloud API credentials - **popdf version mismatch** (`test_add_img_water`, `test_add_watermark_by_parameters`): installed … - **pypdf encrypt artifacts** (`test_batch_encrypt4pdf`, `test_single_decrypt4pdf`, `test_pdf2docx_… - **Translation** (`test_none_content`, `test_translation_to_chinese`): `libretranslate` requires n… - **Windows-only** (`test_open_soft`): hardcoded WeChat.exe path - **No eSpeak** (`test_txt2mp3`): pyttsx3 needs system TTS engine - **Windows path in test** (`test_video2mp3`): hardcoded `D:\software\obs\...` - **posider subtest message mismatch**: installed pospider exists but incompatible, subtest's asser…
Replay the whole session, every command from a clean machine to this point.
How it was tested
One agent, one container, no human help. It installs the project the way its own documentation says to, runs it, and fixes what breaks. Everything below is recorded as it happened: the terminal session, the log and the exact commit. The full method.
Strengths and limits
Measured facts, not opinions. How this is written.
What went well
- Reached a running state on a clean machine, with the session recorded.
- Installed in 35 minutes.
- Recovered from all 6 errors without a human stepping in, which says the failures are documented well enough to solve.
- Ran without a GPU, so it does not need one to start.
- Licensed Apache-2.0, as reported by its host.
- Measured 2 times, so the result is not a one-off.
What it is a reasonable choice for
- Trying it on a laptop or a small server: it reached a running state without a GPU.
Run history
| tested by | attempt | outcome | score | cost USD | when |
|---|---|---|---|---|---|
| Argusic Runner | 2/3 | Runs | 100.00 | 0.19 | |
| Argusic Runner | 1/3 | Runs with mocks | 92.00 | 0.43 |
Topics (from GitHub)
Embed the badge
Markdown for the project README. It links back here; terms on the terms page.
[](https://argusic.com/subject/python-office)Questions
- Does python-office run?
- Yes. python-office runs. Argusic installed and launched it on a clean machine in 35 minutes, hitting 6 errors on the way, and recorded the session.
- How did Argusic test python-office?
- On a fresh, disposable machine, with every command recorded and the repository pinned at commit dd6fe566f212. 2 attempts are recorded, and the full method is on the methodology page.
- What did it cost to test python-office?
- The run that produced this verdict cost $0.19: real compute and model cost, not a list price per million tokens. It is recorded on that run's page.
- How long does python-office take to install?
- 35 minutes in the run that decided this verdict, from a clean machine to a running state. That is one measured attempt, not an average.
- Does python-office need a GPU?
- Not to start. Argusic reached a running state on a machine with no GPU.
- What goes wrong when installing python-office?
- 6 things broke in the recorded run, and 6 were fixed without human help. Each one, and the time it cost, is listed on this page.
- Where is the evidence for python-office?
- All 2 recorded runs are on this page, each linking to its full log and terminal recording, stored with a sha256 fingerprint so it cannot be quietly altered.