Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnandersen777/qson
Quick JSON based key value store over http
https://github.com/johnandersen777/qson
Last synced: about 14 hours ago
JSON representation
Quick JSON based key value store over http
- Host: GitHub
- URL: https://github.com/johnandersen777/qson
- Owner: johnandersen777
- License: mit
- Created: 2015-08-13T20:14:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-03T16:18:09.000Z (almost 9 years ago)
- Last Synced: 2024-10-24T09:12:33.864Z (25 days ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
qson
---Quick JSON based key value store over http
```python
import sys
import threadimport qson
test_server = qson.Server(("0.0.0.0", 0), qson.Handler)
port = test_server.port()thread.start_new_thread(test_server.serve_forever, tuple())
test_client = qson.client(port=port)
print test_client("key1")
print test_client("key2", {
"test": "values"
})
print test_client("key2")
```