Skip to main content

A system for maintaining consistency between inter-dependant values with caching and lazy evaluation.

Project description

Cellulose provides a mechanism for maintaining consistency between

inter-dependant values with caching and lazy evaluation.

You can think of it like a spreadsheet program – Many cells are are calculated from the values of other cells. When one cell changes, all of the dependant cells get updated with new values.

However, cellulose goes quite a ways beyond this. It guarantees that when a value is read, it is consistant with all the values it depends on. It also is lazy (read: efficient.) Calculating a value is put off till the very last possible moment, and only recalculated when absolutely needed.

Dependency discovery and cache invalidation are fully transparent and automatic. This greatly reduces a major source of bugs in software.

A goal of the project is to be as simple as possible, (but no simpler,) so that anyone wanting to seriously use it could easily understand the internals.

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

Cellulose-0.1.tar.gz (23.8 kB view hashes)

Uploaded Source

Built Distribution

Cellulose-0.1-py2.4.egg (39.3 kB view hashes)

Uploaded Source

Supported by

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