• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux memorised Download

memorised

September 28, 2009
This Python module offers convenient decorators and utilities for "python-memcached".
Version 1.0.2
License BSD License
Platform Linux
Supported Languages English
Homepage 1stvamp.org
Developed by Wes Mason
If you're looking for a Python library which gives you access to some really useful python-memcached decorators and utilities, then look no further than memorised. The standout feature of this library is undoubtedly the memorise decorator, which makes it incredibly easy to add memcache caching to any function or method.

Getting started with memorised is a breeze. You can choose to install memorised via the supplied setup.py or via easy_install. From there, it's time to start using it!

To cache a simple unbound function, simply include the "@memorise()" tag within the function definition. Note that the parentheses are necessary, as the decorator needs to be initialised at the time of binding to handle "memorise" specific arguments. On the other hand, if you want to apply caching to instance and class methods, you may need to include some form of identity to single out a method call on one instance from another. This can be accomplished by providing a list of one or more "parent keys," which are the names of attributes in the parent instance that you want to be appended to the memcache key.

If you need to keep attributes in line with the value retrieved from memcache- especially if those attributes are pickled or accessed directly by other code- just pass the name of the attribute to update as a string via the "set" argument.

Using memorised for your caching needs gives you the option of a dependency injection for the Python-memcached Client instance by passing in the "mc" argument. Alternatively, you can pass in a list of memcache servers via the "mc_servers" argument.

If you're looking for other usage examples, be sure to check out the unittests in "tests.py". Do keep in mind that if you don't have memcache running at localhost:11211, you'll need to either start it or modify the test suite to use a different memcache Client configuration- otherwise, all the tests will fail.
What's New

Version 1.0.2: N/A

Free Download 5.2K
366
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

JWChat
JWChat is a powerful and fully functional Jabber client that can be ...
phpRPG
phpRPG is a fantasy RPG game that can be played online with ...
gtrainer
gtrainer simplifies sports training management with an easy-to-use interface. It's built to ...
Xmarks SearchTabs
Improve your Google search results with topic-specific tabs that list the top ...
Fix Tb Titlebar Extension
The Fix Tb Titlebar Extension is a software tool that allows users ...
IvyTV
IvyTV is an open source software driver that is compatible with the ...
libwnck
Libwnck is a construction toolkit for window navigators that provides a library ...
TOSS
Ubuntu-based project that is free and open-source software.
UPC LiveCD
UPC LiveCD is a Linux-based operating system that is UPC-enabled and can ...
rlocate
rlocate is software built to simplify searching, identifying and locating files and ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.