Skip to main content
# rcmemoize (Django)
##### Cache anything in the current request cycle in memory for preventing duplicate method callers.
##### It works for Django only for now. But can be contributed to extend other Python Web Frameworks like Flask, Bottle, TurboGears etc.

# Installation

```bash
pip install rcmemoize
```

# Configuration

##### Add bottom of the of the MIDDLEWARE_CLASSES

```bash
rcmemoize.middleware.memoization_middleware.RequestCycleMemoizationMiddleware
```

# Usage
```bash
from rcmemoize.memoization import request_cycle_memoize

@request_cycle_memoize()
def your_method(*args,**kwargs):
...
```

# CONTRIBUTE
##### All contributions are very welcomed!

Download files

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

Source Distribution

rcmemoize-0.0.3.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file rcmemoize-0.0.3.tar.gz.

File metadata

  • Download URL: rcmemoize-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rcmemoize-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c10594e356e04ea52153b284c5061abc0e087401a6a57943629734e7f165d633
MD5 d34536c48af26c89b1a550e9c7bc46fd
BLAKE2b-256 05fc657147cfa4387b7e53893bc91451fd6f2ca882dcae33b09ff4a8974b4cfa

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 file

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