Skip to main content

a simple cache lib support memory、file、redis

Project description

Mo-Cache

a simple cache lib support memory、file、redis

install

pip install Mo-Cache

demo

from mo_cache import cache_decorator

cache = cache_decorator('memory')

@cache
def foo(a, b):
    return a + b

if __name__ == '__main__':
    foo()

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

mo-cache-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

mo_cache-0.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file mo-cache-0.0.1.tar.gz.

File metadata

  • Download URL: mo-cache-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.0

File hashes

Hashes for mo-cache-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0b7ad50316f5285a83a580b752e91e24934a43528b0194e1d9e01a192e725ca9
MD5 708d0dc8739417065678e3897b01e641
BLAKE2b-256 6d500d4977ff616e77f270df15c3c67b51a0c816fa88ae6f92cf23ad2cff2805

See more details on using hashes here.

File details

Details for the file mo_cache-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mo_cache-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.0

File hashes

Hashes for mo_cache-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 463382d4735dca48598adb084a446385a653b314e9d1f5fcc25a5df22079631b
MD5 858ae27358567419e320acd7d05f8c12
BLAKE2b-256 a97c412a908fd6a1ba98b71117e52bdf55d115a90fe999d142effb5d50ef9741

See more details on using hashes here.

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