Skip to main content

obj-cache

Overview

Simple Redis-like interface to storing arbitrary Python objects. A high-level wrapper around ZoDB.

Getting Started

Install objcache:

pip install objcache

A simple example:

from objcache import ObjectCache

cache = ObjectCache('cache.zodb', ('a', 'b'))
cache.store(5)

# Later session
cache = ObjectCache('cache.zodb', ('a', 'b'))
result = cache.get()
print(result)
5

Links

See the documentation here.

Author

Created by Nick DeRobertis. MIT License.

Metadata

Release files for objcache 0.1.1

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

Source distribution (sdist)

Source distribution for objcache 0.1.1
File Size Uploaded
objcache-0.1.1.tar.gz 5.8 kB Details

Built distribution (wheel)

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

Total release size: 12.4 kB

Release files / objcache-0.1.1.tar.gz

Download URL objcache-0.1.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f6a73b42d99a10a373eac009d166486616420874ab34b9a99ec937044342d2ad
BLAKE2b-256 checksum
How to use checksums
92702d71165db175b9ced659724e85396e62650d2314cf35378a289b10215436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / objcache-0.1.1-py3-none-any.whl

Download URL objcache-0.1.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2684ebde2777f1fc000780e13e6913e7f87f8f655a38dd72252a429f63de3216
BLAKE2b-256 checksum
How to use checksums
f61d7be273f021feca95cb539889c18ee991aa72fa8f03169273af61dbbf6fe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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