Skip to main content

A cache-based python ORM -- supports Redis, Memcached.

Build Status codecov PyPI PyPI - License PyPI - Python Version

CacheBackend

  • BaseBackend
  • SimpleBackend
  • RedisBackend
  • MemcachedBackend

Methods

  • set(key, value)
  • get(key)
  • delete(key)
  • set_many(mapping)
  • get_many(*keys)
  • delete_many(*keys)
  • has(key)

Serializer

  • json
  • msgpack
  • pickle
  • protobuf

Registry

All serializers are registered to a registry singleton. Provide json, msgpack, pickle three preset serializers.

You can register your own serializer, such as a Protobuf serializer that registers a Person message.

registry.register("protobuf.person", ProtobufSerializer(person_pb2.Person))

ModelBase

Metadata

Release files for cacheorm 0.0.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 cacheorm 0.0.1
File Size Uploaded
cacheorm-0.0.1.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cacheorm 0.0.1
File Interpreter ABI Platform
cacheorm-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.6 kB

Release files / cacheorm-0.0.1.tar.gz

Download URL cacheorm-0.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0494cad2958787385470dd85482addb84631e6fb15f4292db174ef0e2cfcdb76
BLAKE2b-256 checksum
How to use checksums
8ba8858ec8b41d568cbeaf13574993adb507165360ef7987628f6b9da9855d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6

Release files / cacheorm-0.0.1-py2.py3-none-any.whl

Download URL cacheorm-0.0.1-py2.py3-none-any.whl
Size 6.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fede5d21ade5a4447f46dcf17d7217a6334a81f40b001b48285dcd1a014ab700
BLAKE2b-256 checksum
How to use checksums
d0c3484a5234754c40515eef459073f5c82683cb905bb919b9cfde48684ae266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

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