Skip to main content

Docs job pack for Tessera: measure Python docstring coverage for public symbols.

Project description

tesserakit-docs

Measure Python docstring coverage for public symbols.

tessera-docs parses Python source with the standard-library ast module (it never imports or runs the code), inventories every documentable symbol (modules, classes, functions, methods), and reports which public ones lack docstrings.

Coverage check

tessera docs coverage --input . --output ./out/docs_pack
tessera docs coverage --input . --include-tests   # also scan test files

Test files are excluded by default; pass --include-tests to include them.

Artifacts written:

symbols.jsonl            one DocSymbol per symbol (kind, public, has_docstring, line)
index.md                 coverage headline
validation_report.md     missing-docstring findings + low-coverage warning
coverage_report.md       coverage by kind and lowest-coverage files
undocumented.md          every undocumented public symbol with file:line

What counts

  • Public = name does not start with _ (so _private and __dunder__ are excluded).
  • Symbol kinds: module, class, function, method.
  • A symbol is documented if ast.get_docstring returns a value.

Findings

  • missing_module_docstring (info)
  • missing_class_docstring, missing_function_docstring, missing_method_docstring (warning)
  • low_doc_coverage — overall public coverage below 80%
  • parse_error — a file could not be parsed
  • no_public_symbols — nothing public found

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesserakit_docs-0.4.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesserakit_docs-0.4.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file tesserakit_docs-0.4.0.tar.gz.

File metadata

  • Download URL: tesserakit_docs-0.4.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tesserakit_docs-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ab74b4c701afb2f07dc1c770b223f786f84eb3ce1053dd70a6e7d4acc0e00f0a
MD5 eff2566ca04e0b4ef6457f51861fce80
BLAKE2b-256 2c881a4b20742625d104aa218aca688d40840b887c74041a25091db375990072

See more details on using hashes here.

File details

Details for the file tesserakit_docs-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_docs-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1fbf3a46bf2bb9725d4b65cf4c29cbf5d2d6ddcc6cba2159e0275c45f2dfda2
MD5 77e072730763a66c63a4121753f113b7
BLAKE2b-256 0d505bd5632c63b8d5a451cfa793dfd9d21e2142c555ea2da5c4d9d78619e5c0

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 Pingdom Monitoring Sentry Error logging StatusPage Status page