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, andis_sequencehelper checks.to_iterableandto_containernormalization helpers.- Optional recursive flattening for nested iterables.
to_boolparser with common truthy and falsy values.- Public
TypeVarexports forAthroughZ.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lfp_types-0.0.6.tar.gz.
File metadata
- Download URL: lfp_types-0.0.6.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b0b337b7d6d62ec8eae39c70224d9fa6481f0e0d1265c0afdf8c5a319ef7c73
|
|
| MD5 |
894cf976090459c2049289fa0eed35b9
|
|
| BLAKE2b-256 |
4c6cd8d9dbef648b071bb13b70482f14a3176b1ae426e948b55e2cd776acc731
|
Provenance
The following attestation bundles were made for lfp_types-0.0.6.tar.gz:
Publisher:
publish.yml on regbo/lfp-types-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lfp_types-0.0.6.tar.gz -
Subject digest:
2b0b337b7d6d62ec8eae39c70224d9fa6481f0e0d1265c0afdf8c5a319ef7c73 - Sigstore transparency entry: 1047871311
- Sigstore integration time:
-
Permalink:
regbo/lfp-types-py@4856160f524e50cc05246b1bea868ebfc14e4cf5 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/regbo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4856160f524e50cc05246b1bea868ebfc14e4cf5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lfp_types-0.0.6-py3-none-any.whl.
File metadata
- Download URL: lfp_types-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6bc6fc32cb169494fcb47eb793743df17898bd2a2930dbc54363554f17e55df
|
|
| MD5 |
8f39ccafc7fb6adb5c8aef94e82863a7
|
|
| BLAKE2b-256 |
bb06ebd0744fd22586dacaeeeee3b2e57a647937b5314d273330efd078e8e8a6
|
Provenance
The following attestation bundles were made for lfp_types-0.0.6-py3-none-any.whl:
Publisher:
publish.yml on regbo/lfp-types-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lfp_types-0.0.6-py3-none-any.whl -
Subject digest:
a6bc6fc32cb169494fcb47eb793743df17898bd2a2930dbc54363554f17e55df - Sigstore transparency entry: 1047871363
- Sigstore integration time:
-
Permalink:
regbo/lfp-types-py@4856160f524e50cc05246b1bea868ebfc14e4cf5 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/regbo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4856160f524e50cc05246b1bea868ebfc14e4cf5 -
Trigger Event:
push
-
Statement type: