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.1.tar.gz
(10.4 kB
view hashes)
Built Distribution
np_config-0.4.1-py3-none-any.whl
(10.7 kB
view hashes)
Close
Hashes for np_config-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33cb7c9a5216c4a366bc571d6c371ccdafa1e0a4ea18da0f545c2c6b39129bec |
|
MD5 | efa631ed97fb480b58a95c50b016a548 |
|
BLAKE2b-256 | 749a3a5aeda9fab656ca0834668cd55cb7c2d6a2227b67cf3cc920e699f5b374 |