Skip to main content

Pattern Utils

Pattern matching utilities.

Currently the only implemented matcher is for generators/iterators.

Example:

from patternlib import generator as gen


def example_generator():
    yield "some resource"
    return "done"


match gen.matcher(example_generator()):
    case gen.Node(resource, gen.Empty(end_result)):
        print(resource, end_result)

Metadata

Release files for pattern-utils 0.1.0

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

Source distribution (sdist)

Source distribution for pattern-utils 0.1.0
File Size Uploaded Provenance Actions
pattern_utils-0.1.0.tar.gz 31.1 kB With provenance Details for pattern_utils-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pattern-utils 0.1.0
File Interpreter ABI Platform Actions
pattern_utils-0.1.0-py3-none-any.whl Python 3 none any Details for pattern_utils-0.1.0-py3-none-any.whl

Total release size: 42.1 kB

Release files / pattern_utils-0.1.0.tar.gz

Download URL pattern_utils-0.1.0.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0416b87e4e824c406f52a4ad912156d6fa32f727ae36b3b53c916fc6bd0eea98
BLAKE2b-256 checksum
How to use checksums
cf24eace02929e9cb65a5b74b192cf6a68772f7350bf2ecc8cc2ab01cbb067d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.

Transparency log

Release files / pattern_utils-0.1.0-py3-none-any.whl

Download URL pattern_utils-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
625c0bba403fb02e18a4a509ffaab16f120831b9e4b5ea6afcd1ac5e65f74750
BLAKE2b-256 checksum
How to use checksums
d41e5df58388c7cdfcb687e15962f58a38550a1799f9e9b305109f24f932a60f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.

Transparency log

Security for pattern-utils 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pattern_utils-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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