Skip to main content

Description

Some of the itertools operations do not work on infinite generators, this package is the beginning of the work to port some of the iterator concepts to the infinity.

infinite is compatible with both python2 and python3.

Installation

The package has been uploaded to PyPI, so you can install the package using pip:

pip install infinite

Usage

For example if we want to iterate all the pairs of natural numbers:

from itertools import count
from infinite import product

for x, y in product(count(0), count(0)):
    print(x, y)
    if (x, y) == (3, 3):
        break

Metadata

Release files for infinite 0.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 infinite 0.1
File Size Uploaded Provenance Actions
infinite-0.1.tar.gz 1.8 kB Without provenance Details for infinite-0.1.tar.gz

Release files / infinite-0.1.tar.gz

Download URL infinite-0.1.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
23d9e850bd8101acccb2406ae81c5c0777627ae908352a3a0c2b0fc088d80cb3
BLAKE2b-256 checksum
How to use checksums
9fa731edff0e96132d1daf9c1bc7d20eacfaf98da32458ad636b1b1ce520f881
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for infinite 0.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.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No 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