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.2.6.tar.gz
(7.4 kB
view details)
Built Distribution
File details
Details for the file np_config-0.2.6.tar.gz
.
File metadata
- Download URL: np_config-0.2.6.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5fce85c9781f3cedab6e35308968329d39c9c5ef046b31212938c17f6e2c304 |
|
MD5 | 05ac9838534a8c0f9772cc4630c0c465 |
|
BLAKE2b-256 | 33103786fc518900bb9e3a2e9258cac72f49599b7e88aafe28ea4e2476bb701b |
Provenance
File details
Details for the file np_config-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: np_config-0.2.6-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e0165ad72a17cb09a79641968926726033a7c1af9b1e6caa55ca09f5452d9f5 |
|
MD5 | e1233e7d9030426c196f9a62861373fa |
|
BLAKE2b-256 | 1dbd1b3337f73e89914973da2c1a2014911753f1b0e264ab6f89cf8b847cfd6a |