معرفی شرکت ها


BucketCache-0.9.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Versatile persisent file cache.
ویژگی مقدار
سیستم عامل -
نام فایل BucketCache-0.9.1
نام BucketCache
نسخه کتابخانه 0.9.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Frazer McLean
ایمیل نویسنده frazer@frazermclean.co.uk
آدرس صفحه اصلی https://github.com/RazerM/bucketcache
آدرس اینترنتی https://pypi.org/project/BucketCache/
مجوز MIT
BucketCache ----------- |Build Status| |PyPI Version| |Python Version| |MIT License| Installation ~~~~~~~~~~~~ .. code:: bash $ pip install bucketcache Quick Overview ~~~~~~~~~~~~~~ In one sentence, ``Bucket`` is a container object with optional lifetime backed by configurable serialisation methods that can also act as a function or method decorator. Before everything is explained in detail, here's a quick look at the functionality: Container: .. code:: python from bucketcache import Bucket bucket = Bucket('cache', hours=1) bucket[any_object] = anything_serializable_by_backend # (Pickle is the default) Decorator: .. code:: python class SomeService(object): def __init__(self, username, password): self.username = username self.password = password @bucket(method=True, nocache='skip_cache') def expensive_method(self, a, b, c, skip_cache=False): print('Method called.') @expensive_method.callback def expensive_method(callinfo): print('Cache used.') some_service = SomeService() some_service.expensive_method(1, 2, 3) some_service.expensive_method(1, 2, 3) some_service.expensive_method(1, 2, 3, skip_cache=True) :: Method called. Cache used. Method called For in-depth information, `visit the documentation <http://bucketcache.readthedocs.io/>`__! .. |Build Status| image:: http://img.shields.io/travis/RazerM/bucketcache.svg?style=flat-square :target: https://travis-ci.org/RazerM/bucketcache .. |PyPI Version| image:: http://img.shields.io/pypi/v/bucketcache.svg?style=flat-square :target: https://pypi.python.org/pypi/bucketcache/ .. |Python Version| image:: https://img.shields.io/badge/python-2.7%2C%203-brightgreen.svg?style=flat-square :target: https://www.python.org/downloads/ .. |MIT License| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square :target: https://raw.githubusercontent.com/RazerM/bucketcache/master/LICENSE


نیازمندی

مقدار نام
- boltons
>=4.0.2 decorator
>=0.12.5 logbook
- python-dateutil
>=1.5.1 represent
>=1.9.0 six
ython_version<"3.4 pathlib;
xtr msgpack-python;
>=3) pytest
xtr pytest-benchmark;
xtr pytest-cov;
xtr pytest-xdist;
ython_version<"3.3 mock;


نحوه نصب


نصب پکیج whl BucketCache-0.9.1:

    pip install BucketCache-0.9.1.whl


نصب پکیج tar.gz BucketCache-0.9.1:

    pip install BucketCache-0.9.1.tar.gz