Skip to main content

Memosa: Serve cold

==========================

Behold, the power of Memosa:

from memosa import memoize1
from memosa.json import context
import requests

@memoize1
def getTodo(id):
    url = 'https://jsonplaceholder.typicode.com/todos/%s' % id
    return requests.get(url).json()

with context('todos.json'):    
    print(getTodo(1))
    print(getTodo(2))

Features

  • memoization decorators
  • persistent cache context

Memosa officially supports Python 3.6 & 3.7.

Installation

To install Memosa, simply use pip:

$ pip install memosa

Documentation

check out the examples

Metadata

Release files for memosa 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memosa 0.5.0
File Size Uploaded Provenance
memosa-0.5.0.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for memosa 0.5.0
File Interpreter ABI Platform
memosa-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / memosa-0.5.0.tar.gz

Download URL memosa-0.5.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4d68ee2c77fbbce3c77dc96d1b3139bd32e3a7c28bc8484603d09d04f8cce821
BLAKE2b-256 checksum
How to use checksums
9c9b3ce33aba56fc849e3754d8c9d704c346888fbeb8add8cda035ce9d445691
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release files / memosa-0.5.0-py3-none-any.whl

Download URL memosa-0.5.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b3f8c564a08eec0605452ff978dd979d4c5e5bf1bb5674423b1659ac9db69f0
BLAKE2b-256 checksum
How to use checksums
35fd32535b5038abefc615df99c76d3e19b87bc34b2ae67d10afc8e17c512c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Security for memosa 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

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