zx-config-manager is a tool for managing configuration files.
Project description
zx-config-manager
自定义配置组件,保持轻量级
环境变量说明(docker可以通过environment变量进行配置):
-
ZX_CONFIG_PORT:服务端口,默认值:5000
-
ZX_CONFIG_PATH:配置目录,默认值:${HOME}/.zx_config/config.json
-
ZX_SCHEDULE_ENABLE:是否开启定时renew,默认值:False, 设置为True时,zx-config-manager会定时执行配置renew操作,默认每60s执行一次
-
ZX_SCHEDULE_INTERVAL:定时renew间隔,默认值:60s
-
ZX_PROCESSES_COUNT:进程数,默认值:2
-
ZX_THREADS_COUNT: 线程数,默认值:4
-
ZX_DAEMONIZE:是否以守护进程运行,默认前台执行,如果配置该变量(日志路径),会以守护进程方式运行
pip安装
pip install zx-config-manager
启动说明
zx-config-app
停止说明
killall zx-config-manager
卸载说明
pip uninstall zx-config-manager
访问
根据自己定义地址和端口,访问zx-config-manager
http://localhost:5000/
源码编译说明
git clone https://github.com/zx-sdu/zx-config-manager.git
cd zx-config-manager
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python setup.py install #. python setup.py sdist bdist_wheel && pip install .
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zx-config-manager-0.2.8.tar.gz.
File metadata
- Download URL: zx-config-manager-0.2.8.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98bc57ae0835238d60c11376bbf5366acd2b286676cef92a0d547c3b8ee756be
|
|
| MD5 |
d37bf2b0decc0adc7525cdb14bd9c547
|
|
| BLAKE2b-256 |
74d99a7ca1d58b7e45162a6281df9b7321e2876dcdaeec16f49e1d29172a9da6
|
File details
Details for the file zx_config_manager-0.2.8-py3-none-any.whl.
File metadata
- Download URL: zx_config_manager-0.2.8-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9d2a74e11f6c89cab0422927f4b88d197e4d1a6260993bff34641e4d500458f
|
|
| MD5 |
dc33e970581fced4432acb703b197b33
|
|
| BLAKE2b-256 |
47177790aa42ffb00763f2fa3cd81646e19a5783e819d9f27ec795ad93a21317
|