RSS Recipes from the Python Cookbook

iNeZha robot will deliver the feed updates to your IM or Email in real-time

Delivery Demo of iNezha MSN Robot

Subscribe it
iNezha robot say:
Recipes from the Python Cookbook
Title:Simple lock-queue via Memcached (Python)
Summary: Python recipe 576567 by Tal Einat (concurrency, contextmanager, lock, locking, memcache, memcached,... (11/19/2008 5:43:50 PM)
Subscribe it

About "Recipes from the Python Cookbook"

Author:Claim it now
Website:http://www.ActiveState.com/ASPN
RSS:http://aspn.activestate.com/ASPN/Cookbook/Python/index_rss
Update interval: 1 days
Last update: 2 days ago
Tags: recipes
Subscribers:3
Shared Subscribers:3
Bookmarked or Shared Articles:0  

Recent contents of "Recipes from the Python Cookbook"

Simple lock-queue via Memcached (Python) 3 days ago Read More http://code.activestate.com/recipes/576567/

Python
recipe 576567
by Tal Einat
(concurrency, contextmanager, lock, locking, memcache, memcached, queue).
A simple lock-queue (FIFO) context manager implemented with Memcached.
In essence this i...
Walker's alias method for random objects with different probablities (Python) 5 days ago Read More http://code.activestate.com/recipes/576564/

Python
recipe 576564
by denis
(python, random number, Walker's alias).
an example, strings A B C or D with probabilities .1 .2 .3 .4 --
abcd = dict( A=1, D=4, C=3, B=2 )
# keys can be any immutab...
Cached Property (Python) 8 days ago Read More http://code.activestate.com/recipes/576563/

Python
recipe 576563
by Ken Seehart
(cache, property).
A cached property is a read-only property that is calculated on demand and automatically cached. If the value has already been calculated, th...
Yet another Null object (Python) 10 days ago Read More http://code.activestate.com/recipes/576562/

Python
recipe 576562
by George Sakkis
(design pattern, dummy, Null).
This recipe builds on two previously posted recipes for a null or dummy object by modifying a few methods (e.g. as in SQL, Null...
Configurable password generator/checker (Python) 12 days ago Read More http://code.activestate.com/recipes/576561/

Python
recipe 576561
by Dario Lopez-Kästen
(checker, generator, pasword, policy).
Revision 2.
Yet another password generator module. This module contains utility functions for both generating and ...
Reverse DNS zone file generator (Python) 13 days ago Read More http://code.activestate.com/recipes/576560/

Python
recipe 576560
by Timothy Makobu
(DNS, ISP, reverse DNS, reverse DNS zone file, zone file).
Generates reverse DNS zone files for a given subnet.
Dump PostgreSQL db schema to text (Python) 16 days ago Read More http://code.activestate.com/recipes/576557/

Python
recipe 576557
by Michal Niklas
(database, postgres, PostgreSQL, schema).
Revision 2.
With PostgreSQL there is:
pg_dump --schema_only
but I wanted to compare my PostgreSQL and Oracle databas...
Generating random numbers with arbitrary distribution (Python) 17 days ago Read More http://code.activestate.com/recipes/576556/

Python
recipe 576556
by kaushik.ghose
(matplotlib, random number).
This is a class that allows you to set up an arbitrary probability distribution function and generate random numbers that follow ...
Records (Python) 18 days ago Read More http://code.activestate.com/recipes/576555/

Python
recipe 576555
by George Sakkis
(datastructures, namedtuple, record).
This is a recipe similar in functionality and exec-style optimized implementation to the very well received namedtuple (...
Covert color space from HSV to RGB and RGB to HSV (Python) 18 days ago Read More http://code.activestate.com/recipes/576554/

Python
recipe 576554
by Victor Lin
(color, color space, convert, graph).
Functions for converting bwtween RGB and HSV color space.