DocMetrics
DocMetrics is a tool to analyze and measure the complexity and usefulness of documentation.
It does this using a set of multiple choice questions, that you wish your users to be able to answer after reading the documentation.
An LLM is then asked to answer these questions, with and without the documentation as part of its context. The difference in score is then used as a measure of the usefulness of the documentation.
The list of questions need to be provided to the tool by passing a --questions option pointing to a yaml file. See the sample_questions.yaml file for an example.
The choice of LLM can be configured, but defaults to Google's Gemini model. The set of tools available to the agent can also be configured.
Metadata
Release files for docmetrics 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docmetrics-0.0.8.tar.gz | 72.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docmetrics-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.2 kB
Release files / docmetrics-0.0.8.tar.gz
| Download URL | docmetrics-0.0.8.tar.gz |
|---|---|
| Size | 72.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0530015c25cbfb6d58196ef40fc829cfad5e93925eba4a3ad20cf0c2f2a98917
|
|
BLAKE2b-256 checksum How to use checksums |
737350f0bd9cb909adf4f2eeef46682ff122a3a60a77594631445988fa7f804c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 22, 2026.
Transparency logRelease files / docmetrics-0.0.8-py3-none-any.whl
| Download URL | docmetrics-0.0.8-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43d22781b18624f6fa481e2be3745e16cd09d6537dd274ce0922440b682a8dff
|
|
BLAKE2b-256 checksum How to use checksums |
e1fc0df30b771efa4ba799e5f62b9f04b84ab1021a51a93a8c55eba9964544c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 22, 2026.
Transparency log