Skip to main content

ziper

Rust-like iterator for Python

Install

pip install ziper

Usage

from ziper import Iter

xs = ['1', '2', 'a', '3', '4', 'b', 'c']
ys = [6, 7, 8, 9]

evens: list = (
    Iter(xs)
    .filter(lambda x: x.isdecimal())
    .map(int)
    .chain(ys)
    .filter(lambda x: x % 2 == 0)
    .collect(list)
)
assert evens == [2, 4, 6, 8]

Metadata

Release files for ziper 0.1.5

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

Source distribution (sdist)

Source distribution for ziper 0.1.5
File Size Uploaded Provenance Actions
ziper-0.1.5.tar.gz 6.2 kB Without provenance Details for ziper-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ziper 0.1.5
File Interpreter ABI Platform Actions
ziper-0.1.5-py3-none-any.whl Python 3 none any Details for ziper-0.1.5-py3-none-any.whl

Total release size: 13.0 kB

Release files / ziper-0.1.5.tar.gz

Download URL ziper-0.1.5.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4afa55553a0de0d95bb5356fcc3794989d93d1883d9ea7bff119ec27ed08485
BLAKE2b-256 checksum
How to use checksums
7e9273f92731db1190989890c48ff49f163aa609e73e235bc3e9281d3c9edb2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.3 Darwin/22.1.0

Release files / ziper-0.1.5-py3-none-any.whl

Download URL ziper-0.1.5-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34b41a3efbfb9869d416750ad03ba2256b9877370a15486b8f5ee82b971ac480
BLAKE2b-256 checksum
How to use checksums
cdc7a371c6d217eb2b720a7082686542271e931caeda56e8ab87adc61ba0f33f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.3 Darwin/22.1.0

Security for ziper 0.1.5

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