Skip to main content

Implementation of .net's IEnumerable interface in python W/ support for generics.

Project description

PyEnumerable WTFPL License

Implementation of .NET's IEnumerable interface in python W/ support for generics.

Issue tracker

v1.0.x

  • Design protocols for each operation set
  • Design & Implement Enumerable constructor(s) for PP implementation
  • Add pure python implementation of Enumerable (assuming inputs aren't guaranteed to be Hashable or immutable; preserving order)
    • Any
    • All
    • Aggregate
    • Chunk
    • Average
    • Append
    • Except
    • Distinct
    • Count
    • Contains
    • Concat
    • Join
    • Intersect
    • Group join
    • Group by
    • Prepend
    • Order
    • Min
    • Skip
    • Single
    • Sequence equal
    • Reverse
    • Union
    • Of type
    • Take
    • Sum
    • Zip
    • Where
    • Select
    • Max
  • remove Comparable bind from type variables
  • Publish on pypi
  • Add external constructor wrapper
  • Add technical documentation pure python implementation
  • Implement __str__ & __repr__ for pp

v1.1.x

  • Improve test code quality
  • Add hashed pure python implementation of Enumerable (assuming inputs are guaranteed to be Hashable & immutable; not preserving order)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyenumerable-1.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyenumerable-1.1.1-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file pyenumerable-1.1.1.tar.gz.

File metadata

  • Download URL: pyenumerable-1.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.10

File hashes

Hashes for pyenumerable-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9e162f4f6729af0ace336ef93811dce74fba28cc7ed7b0a041392b88731dab44
MD5 bc273c5293192b66ecc7f1ce4f9835c9
BLAKE2b-256 f6d3c6f02e099fb1a4f1fadb929224bc701b7695ca336a748def2dd7df8dab59

See more details on using hashes here.

File details

Details for the file pyenumerable-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyenumerable-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b6be2d3056a69148de883c2489a633057c6d8e3092b1e21aea03f9857dbb42d
MD5 087874c0fa58bb6bfa3cab61fdcf8512
BLAKE2b-256 1ef037f43a4ce0a03fb9f9142e260a97ae3547769219a0da79f3197e95b466a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page