diff --git a/README.md b/README.md index 2087681..454ab4c 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ intuitive manner. You can use it just like a Python dictionary without worrying ## TODO -- [ ] Client-Server Architecture +- [x] Client-Server Architecture - [ ] Benchmark --- @@ -85,6 +85,9 @@ from flaxkv import dictdb import numpy as np db = dictdb('./test_db') +# or run server `flaxkv run --port 8000`, then: +# db = dictdb('http://localhost:8000', remote=True) + db[1] = 1 db[1.1] = 1 / 3 db['key'] = 'value' diff --git a/README_ZH.md b/README_ZH.md index 9dbe694..606a2ee 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -72,7 +72,7 @@ ## TODO -- [ ] 客户端-服务器架构 +- [x] 客户端-服务器架构 - [ ] 性能测试 --- @@ -90,6 +90,9 @@ from flaxkv import dictdb import numpy as np db = dictdb('./test_db') +# or run server `flaxkv run --port 8000`, then: +# db = dictdb('http://localhost:8000', remote=True) + db[1] = 1 db[1.1] = 1 / 3 db['key'] = 'value'