Skip to main content

bagof-converters

Hint-based converters that operate at runtime.

Example

>>> from bagof.converters import get_converter
>>> convert = get_converter(list[int])
>>> convert(range(3))
[0, 1, 2]
>>> convert(1)
ValueConversionError: ToSequence(list[int]): Invalid value.
|> value = 1
>>> convert(["a", "b", "c"])
ValueConversionError: ToNumber(<class 'int'>): Invalid value.
|> value = 'a'
The above exception was the direct cause of the following exception:
ValueConversionError: ToSequence(list[int]): Invalid value.
|> value = 'a'
The above exception was the direct cause of the following exception:
ValueConversionError: ToSequence(list[int]): Invalid value.
|> value = <map object at 0x72fb38570cd0>

Metadata

Release files for bagof-converters 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bagof-converters 0.2
File Size Uploaded Provenance Actions
bagof_converters-0.2.tar.gz 56.6 kB Without provenance Details for bagof_converters-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bagof-converters 0.2
File Interpreter ABI Platform Actions
bagof_converters-0.2-py3-none-any.whl Python 3 none any Details for bagof_converters-0.2-py3-none-any.whl

Total release size: 95.5 kB

Release files / bagof_converters-0.2.tar.gz

Download URL bagof_converters-0.2.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ddef3e8f5bf63791d6ec46ef9af57fea0e482416dd3451f3f164689f69313bdb
BLAKE2b-256 checksum
How to use checksums
e59311a5ab849fb0f818c7b6561f4956c63a777c04a24b72e8348a54e06a7641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / bagof_converters-0.2-py3-none-any.whl

Download URL bagof_converters-0.2-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ab01c5e31dc0c63470c3727637e0665fb4854690fa0c74e06e1aa2d617a47ae
BLAKE2b-256 checksum
How to use checksums
c3026ba5727a4ca392f06c2bc6b822a773c308636785c4defb5efdab027f26d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for bagof-converters 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page