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.7.tar.gz
(10.5 kB
view details)
Built Distribution
np_config-0.4.7-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file np_config-0.4.7.tar.gz
.
File metadata
- Download URL: np_config-0.4.7.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cb0ed5a010e437f152400902cb6ceab95678bd0e939e44d381a5ccfdd81430 |
|
MD5 | 35962a9238e3c62d18cb2d0d57973d21 |
|
BLAKE2b-256 | 5843bbccfa9369302639e22145f2edf60ed7824a580195efabcf2d296db5e68b |
Provenance
File details
Details for the file np_config-0.4.7-py3-none-any.whl
.
File metadata
- Download URL: np_config-0.4.7-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 750e9993551b2f49fe1adbbe2c7c8b3f513d1dfd7ae7cfa9fe209a197679ee95 |
|
MD5 | eca809b6cc84349c026246bc5cd9f638 |
|
BLAKE2b-256 | 95830b68687fe5fcdef2678aa7edbc4e9de3d532c1a75bc0810f742880e807df |