fix time parsing
1 file changed
tree: 29cd7fe828c1aa4680370f8b247280246c3dc276
  1. docs/
  2. resdb_driver/
  3. service/
  4. third_party/
  5. .basrc
  6. .gitignore
  7. INSTALL.sh
  8. README.md
  9. requirements.txt
  10. test_driver.py
  11. test_update_metadata.py
  12. WORKSPACE
README.md

resdb_sdk

Check Python is up-to-date (3.9+)

$ python3 --version

If your Python version number is too low you may encounter type hinting issues when attempting to run the code

Installing dependencies

$ python3 -m venv venv

$ source venv/bin/activate

$ pip install -r requirements.txt

Running kvserver

sh service/tools/start_kv_service_sdk.sh

test

bazel-bin/service/kv_service/kv_service_tools service/tools/config/interface/service.config set test 1234

Running the driver

examples of using the driver can be seen in test_driver

replace the db_root_url with the url of resilient db e.g 120.0.0.1:8080

TODO

  • Setting up linting (using black) through github hooks
  • convert the sdk into a package (for pip install)
  • Potentially have a docker setup which fetched the Resdb image and runs it locally