Skip to content
Sections
>> Trisquel >> Пакети >> etiona >> python >> python-django-memoize
etiona  ]
[ Източник: django-memoize  ]

Пакет: python-django-memoize (2.1.0+dfsg-1)

implementation of memoization technique for Django (Python 2)

django-memoize is an implementation of the memoization technique for Django. You can think of it as a cache for function or method results.

In memoization, the functions arguments are also included into the cache_key. Memoize is also designed for methods, since it will take into account the repr of the ‘self’ or ‘cls’ argument as part of the cache key. The theory behind memoization is that if you have a function you need to call several times in one request, it would only be calculated the first time that function is called with those arguments.

This is the Python 2 version of the package.

Други пакети, свързани с python-django-memoize

  • зависимости
  • препоръчани
  • предложени
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-django
    High-level Python web development framework (Python 2 version)

Изтегляне на python-django-memoize

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 8,0 кБ39 кБ [списък на файловете]