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.0.tar.gz
(10.1 kB
view hashes)
Built Distribution
np_config-0.4.0-py3-none-any.whl
(10.4 kB
view hashes)
Close
Hashes for np_config-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649949b150ca9a51da89fea1b117b5e6a5eb4048e509b8f336c8d6b6f3d671e3 |
|
MD5 | f020340944968aaaf82c1bf1f3e50e10 |
|
BLAKE2b-256 | ffe68f16bb470b7fba7648e80d1c8d1ec7395547b1805c3ff57100f0da55a173 |