functionVerified releasev2
render_digest
Render a supplied topic analysis as an escaped responsive HTML fragment with container-scoped CSS, coverage notes, window counts and a reading list. Safe for inline notebook display by default; full_document=True produces a standalone HTML file.
Interface
Verified contract
Inputs
| Name | Type |
|---|---|
| analysis | dict |
| limit | int |
| full_document | bool |
Outputs
| Name | Type |
|---|---|
| default | str |
Exact release
Pinned local call
from spl import SPLClient
result = SPLClient.embedded().call(
"splime://@splime.project/case4-hn/render_digest@2",
kwargs={'analysis': {}, 'full_document': False, 'limit': 0},
trust=True,
)Review before running. Public bundles contain executable code. Verify the publisher and exact content hash; a virtual environment isolates dependencies, not the operating system.
Evidence
Evidence-backed concepts
- Render digest
- Container scoped CSS
- Inline notebook display
- Coverage notes
- Window counts
- Reading list
- Full document
- Render supplied topic
History
Public versions
- v23 downloads
- v19 downloads
Discover
Similar Objects
- hn_topic_digestTurn supplied Hacker News records into an explainable HTML digest in one call: normalize records, apply explicit topic rules, and render a reading list. Returns a notebook-safe HTML fragment by default; full_document=True produces a standalone document. No live fetch or bundled dataset. Runs in the caller's Python environment.
- analyze_titlesApply explicit topic rules and compare document shares in adjacent equal-duration windows. Counts describe the supplied snapshot, not all Hacker News activity.
- rule_monitorMonitor coverage and missing values. Pass optional target_col for labelled quality metrics.
- normalize_storiesValidate Hacker News records, normalize UTC timestamps and HTTP(S) links, and deduplicate by record identity. Input data stays with the caller.
- fetch_snapshotFetch and normalize a bounded sample of real Hacker News stories through the official API. Explicit feed, item limit, timeout, retries and total time budget. Requires network access and httpx in the caller's environment; returns records and acquisition provenance. No bundled dataset or fallback data.