functionVerified releasev1

normalize_code_text

Turn raw source code text into printable-ASCII practice lines (stdlib only).

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

Interface

Verified contract

Callable Object

Inputs

NameType
textstr
max_lengthint
min_lengthint

Outputs

NameType
defaultlist

Exact release

Pinned local call

from spl import SPLClient

result = SPLClient.embedded().call(
    "splime://@splime.project/typing-trainer/normalize_code_text@1",
    kwargs={'max_length': 0, 'min_length': 0, 'text': 'replace-with-value'},
    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 code text
  • Stdlib only
  • Printable ascii practice lines
  • Max length
  • Min length
  • Turn raw source
  • Integer values
  • Ordered collection

History

Public versions

  • v10 downloads

Discover

Similar Objects

Explore all