functionVerified releasev1

normalize_stories

Validate Hacker News records, normalize UTC timestamps and HTTP(S) links, and deduplicate by record identity. Input data stays with the caller.

Library
case4-hn
Updated
Runtime
current process; user-managed packages · Python 3.13

Interface

Verified contract

Callable Object

Inputs

NameType
recordslist
source_infodict | None

Outputs

NameType
defaultdict

Exact release

Pinned local call

from spl import SPLClient

result = SPLClient.embedded().call(
    "splime://@splime.project/case4-hn/normalize_stories@1",
    kwargs={'records': [], 'source_info': {}},
    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

  • Normalize stories
  • Normalize utc timestamps
  • Record identity
  • Source info
  • Validate hacker news records
  • Date time
  • Key value mapping
  • Web requests

History

Public versions

  • v110 downloads

Discover

Similar Objects

Explore all