File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1
1
include LICENSE
2
2
include README.md
3
3
include tests.py
4
+ include scripts/kt.lua
4
5
recursive-include docs *
Original file line number Diff line number Diff line change 1
- ukt
1
+ ![ ] ( http://media.charlesleifer.com/blog/photos/logo-1.png )
2
+
3
+ Fast bindings to kyototycoon.
4
+
5
+ * Full-featured implementation of protocol.
6
+ * Simple APIs.
7
+ * Thread-safe and greenlet-safe.
8
+ * Additional serializers implemented as a C extension.
9
+
10
+ View the [ documentation] ( http://ukt.readthedocs.io/en/latest/ ) for more info.
11
+
12
+ #### installing
13
+
14
+ ``` console
15
+
16
+ $ pip install ukt
17
+ ```
18
+
19
+ #### usage
20
+
21
+ ``` pycon
22
+
23
+ >>> from ukt import KyotoTycoon
24
+ >>> client = KyotoTycoon()
25
+ >>> client.set(' k1' , ' v1' )
26
+ 1
27
+ >>> client.get(' k1' )
28
+ 'v1'
29
+ >>> client.remove(' k1' )
30
+ 1
31
+
32
+ >>> client.set_bulk({' k1' : ' v1' , ' k2' : ' v2' , ' k3' : ' v3' })
33
+ 3
34
+ >>> client.get_bulk([' k1' , ' xx, ' k3' ])
35
+ {'k1': 'v1', 'k3': 'v3'}
36
+ >>> client.remove_bulk([' k1' , ' xx' , ' k3' ])
37
+ 2
38
+ ```
You can’t perform that action at this time.
0 commit comments