Created
December 3, 2017 21:34
-
-
Save val314159/d89a8ea05a1ba5f4d025c58150024218 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
./ws.py | |
install: | |
virtualenv .ve | |
.ve/bin/pip install -r requirements.txt | |
mkdir static | |
echo index >static/index.html | |
clean: | |
rm -fr *~ .*~ *.pyc */*.pyc | |
realclean: clean | |
rm -fr .ve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipython | |
jupyter | |
gevent-websocket | |
leveldb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import leveldb | |
db = leveldb.LevelDB('./db') | |
db.Put('hello', 'world') print db.Get('hello') | |
db.Delete('hello') print db.Get('hello') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment