Skip to main content

Lightweight runtime typing helpers for iterable and container normalization.

Project description

lfp-types

Lightweight runtime typing helpers for iterable detection, container normalization, flattening, and bool parsing.

Features

  • Runtime container type that excludes string-like values.
  • is_iterable, is_container, and is_sequence helper checks.
  • to_iterable and to_container normalization helpers.
  • Optional recursive flattening for nested iterables.
  • to_bool parser with common truthy and falsy values.
  • Public TypeVar exports for A through Z.

Install

pip install .

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

lfp_types-0.0.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

lfp_types-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file lfp_types-0.0.3.tar.gz.

File metadata

  • Download URL: lfp_types-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lfp_types-0.0.3.tar.gz
Algorithm Hash digest
SHA256 15b3f1da2c3b63052d65595b740242d84fbb5e0557e1a7c4d39a4e4ca37e34af
MD5 859c94c31bc2cf1c85a6c2b83134aa40
BLAKE2b-256 36ce9741dba60fd19592836289f8e2f0f233a54f15f8141c97aa6c14f7cc29c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for lfp_types-0.0.3.tar.gz:

Publisher: publish.yml on regbo/lfp-types-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lfp_types-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: lfp_types-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lfp_types-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4d952114ccff2df9440eeb596a40e9861715191bd3942aaa2d5b45c2900be97c
MD5 618685c51de1c6aa2f2f0769616e8ec1
BLAKE2b-256 57e7d509118ee5cb9e20c8fb9ed76b3e2e1e7c52fd6f0bc7beb69fc38f1f8d56

See more details on using hashes here.

Provenance

The following attestation bundles were made for lfp_types-0.0.3-py3-none-any.whl:

Publisher: publish.yml on regbo/lfp-types-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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