Skip to main content

list+ : list() compatible materialization with transparent caching

Project description

listplus

listplus.listp() is list()-compatible, but can cache materialized results.

Usage

from listplus import listp, cached

xs = listp(cached("users:v1", (x for x in range(10))))
ys = listp(cached(("expensive", 123), some_generator()))

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

betterlist-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

betterlist-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file betterlist-0.1.0.tar.gz.

File metadata

  • Download URL: betterlist-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for betterlist-0.1.0.tar.gz
Algorithm Hash digest
SHA256 90579a693c00915c4f57dbff256da0ffcfc6d48b9aa44a04f95fa4ab85ac242a
MD5 9d76b8ce544539abd1b71e267e76447a
BLAKE2b-256 a314ae319fb42b858a65eb600fc7987377440f09b9bc15b41655fa474855e265

See more details on using hashes here.

File details

Details for the file betterlist-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: betterlist-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for betterlist-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d0e0a065c3b6de0559581869f233151d9f1c2ea5be3aec87dc3b9542867db93
MD5 9d01a06c03d12a25e07d0e6ee7bb65f1
BLAKE2b-256 6c5f44673ef0eb3c939c2c09d6e34a9465da21a616f53b801d58a54c9a5bfaa1

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