kiddouk/redisco — pull request #7 by jeloou (2012-08-24 02:47:31+00:00)
Title: A better way to add data to containers.

This allows to add multiple values to containers in a easier way.

Sets:
```python
from redisco.containers import Set
s = Set('s')
s.add('bananas', 'tomatoes')
s.add(['blackberries', 'strawberries'])
print s.members # -> set(['blackberries', 'strawberries', 'tomatoes', 'bananas'])
s.remove('bananas', 'blackberries') # -> True
print s.members # -> set(['strawberries', 'tomatoes'])
```

Lists:
```python
from redisco.containers import List
l = List('l')
l.append('a')
l.append(['b', 'c'])
l.append('d', 'e', 'f')
print l # -> ['a', 'b', 'c', 'd', 'e', 'f']
```

Sorted set:
```python
from redisco.containers import SortedSet
z = SortedSet('z')
z.add('a', 1)
z.add({'f' : 200, 'e' : 201})
print z.members # -> ['a', 'f', 'e']
```