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.1

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.1
File Size Uploaded Provenance Actions
bagof_converters-0.2.1.tar.gz 56.8 kB Without provenance Details for bagof_converters-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 95.9 kB

Release files / bagof_converters-0.2.1.tar.gz

Download URL bagof_converters-0.2.1.tar.gz
Size 56.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1419465d9a86135264bb46d67f3e87c6e5fb6160aa06b858c4d3ac7638e53666
BLAKE2b-256 checksum
How to use checksums
4471708429b8579b72da7eb4b83d23582abd19c4968f21f385d6f8c7b0f11a87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL bagof_converters-0.2.1-py3-none-any.whl
Size 39.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a1e4849123a43cc65ff56f572f1303cca5982607bc113d626a5acf91dab8521
BLAKE2b-256 checksum
How to use checksums
26c0aa534456a8d5da2f770dc2022c15162ac4f8e29c1d62739590755a6a36ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for bagof-converters 0.2.1

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