Skip to main content

Tools for lazy programming in Python

Project description

Lazy programming for Python

pip install lazytools

This package adds lazily evaluated immutable objects.

from lazytoolz import LazyList

myList = LazyList([1, 2, 3])

myNumbers = LazyList(4, 5, 6)

myRange = LazyList(range(7, 1000000))

allNumbers = myList + myNumbers + myRange

print(allNumbers.drop(2).map(lambda x: x ** 2).filter(lambda x: x % 3 == 0).take(10))
LazyList(9, 36, 81, 144, 225, 324, 441, 576, 729, 900)

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

lazytoolz-0.1.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

lazytoolz-0.1.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file lazytoolz-0.1.6.tar.gz.

File metadata

  • Download URL: lazytoolz-0.1.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for lazytoolz-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a01f62b698702f46a4db15cef79f7e719327858508401e7e65077a5eb51abc73
MD5 7977f10d84ba202d42a55b7ce4ee6e25
BLAKE2b-256 372768b8ef4a0d7a48296992ee15a88c34126331ff5cbb66e9f52251cf0d3de8

See more details on using hashes here.

File details

Details for the file lazytoolz-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: lazytoolz-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for lazytoolz-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 852b4de12f0539aa95e37c42d0ef353787f3f769797fadd96e740ae5a44b6966
MD5 d1b2663f8e3d91cec18847a3ed02c653
BLAKE2b-256 c68e7ed27fdb808ec4494a5b66bc53257febe5823d4758b46105717e2848f39d

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