Zookeeper configs with local backup, repackaging code from AIBS mpeconfig.
Project description
For use on internal Allen Institute network
- fetch configs from ZooKeeper or .yaml/.json file via their path:
test_config: dict = np_config.fetch(
'/projects/np_logging_test/defaults/logging'
)
-
the Mindscope ZooKeeper server is at
eng-mindscope:2181
-
configs can be added via ZooNavigator webview: http://eng-mindscope:8081
-
or more conveniently, via an extension for VSCode such as gaoliang.visual-zookeeper
-
configs are cached locally: if the ZooKeeper server is unavailable, the local copy will be used
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
np_config-0.4.2.tar.gz
(10.5 kB
view hashes)
Built Distribution
np_config-0.4.2-py3-none-any.whl
(10.8 kB
view hashes)
Close
Hashes for np_config-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a6e5c671923a137f7e794ea9e2a03c46e870ab77f427e104fc97f7438250483 |
|
MD5 | 96843376a23eda6df4bea3e5c6cc9039 |
|
BLAKE2b-256 | 81724be2db3cc70dcab60562e1f0539e4eba8b71b69c662508fe27a352ce7d35 |