semvec/pypi-packages huggingface dataset:
apollo-client3 1.0.12
apollo-client升级到python3.10
License: MIT

# pyapollo

Apollo配置读取
支持admin和config单独配置服务
支持配置namespace和排除的namespace
支持key watch变更，支持logger传入
支持将apollo配置变更同步到config类


Project description
apollo-client3 - Python Client for Ctrip's Apollo

方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 3.10+

基于https://github.com/filamoon/pyapollo/ 修改

Installation
```
pip install apollo-client3
```
Features
实时同步配置
灰度配置
客户端容灾
Usage
```
<!-- 启动客户端长连接监听 -->
from pyapollo import ApolloClient
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
<!-- 获取Apollo的配置 -->

client.get_value(Key, DefaultValue, namespace)
```
# 配置
```
from pyapollo import ApolloClient
apolloClient = ApolloClient(app_id='EZR.Arch.ECollectRCsms.ApiHost',
                                config_server_url='http://192.168.128.156:8080',
                                admin_server_url='http://192.168.12.127:8090',
                                env='FAT',
                                cycle_time=10,
                                exceptNamespaces='Architecture.Common',
                                logger=None,
                                timeout=6)
class config:
    WorkTime='1234'
c=config()
apolloClient.add_listener(c)
apolloClient.start()
apolloClient.watch_key_change('WorkTime',lambda x:print(f'WorkTime is changed to {x}'))

import time
while True:
    time.sleep(5)
    v = apolloClient.get_value('WorkTime','1')
    print('---------',v)
    print('----c.WorkTime-----',c.WorkTime)
```


Reference
Apollo : https://github.com/ctripcorp/apollo

Contributor
Bruce
prchen
xhrg
johnliu

Version log
11/24/2019 Bruce 0.8.2 优化本地缓存的存储方式
1/4/2020 Bruce 0.8.4 修复文件读取异常的bug
3/24/2020 prchen 0.8.5 修复安装过程中requests模块依赖的问题
7/5/2020 Bruce 0.9 主线程退出时，关闭获取配置的子线程
25/5/2020 xhrg 0.9.1 修复文件名称读取异常
13/7/2020 Bruce 0.9.2 【bugfix】修复当namespace不存在时，服务器挂起导致get_value无响应
18/10/2020 Bruce 2.0 重构 | 优化数据获取方式 ｜ 优化定时任务 | 新增authorization传入
04/29/2025 Johnliu 升级支持python3.10，重构，支持admin和config单独配置服务，支持配置namespace和排除的namespace，支持key watch变更，支持logger传入，支持将apollo配置变更同步到config类，修复本地配置文件读取报错
bflb-iot-tool-uart 1.10.0
Bouffalolab Iot Tool
License: MIT
Requires Python: >=3.6

## Bouffalolab Iot Command Tool For Uart
====================================

The functions of bflb_iot_tool is the same as DevCube(IOT View) which is a GUI tool for image programing.
bflb_iot_tool is designed for the convenience of integrating into the compilation system after image buid,
and making it more easy for users who are accustomed to using command line operations.

### basic download config:

* --chipname：mandatory, name of chip(bl602/bl702/bl616...)
* --port：serial port or jlink serial number
* --baudrate：baudrate of serial port, default is 115200
* --xtal：xtal on the board, for bl602,1:24M,2:32M,3:38.4M,4:40M(default value when not specified),5:26M; for bl702,1:32M(default value when not specified); for bl616,just use value 7(auto adjust)
* --config：eflash loader configuration file, default is chips/blXXXX/eflash_loader/eflash_loader_cfg.ini
* --ota：dir of ota file, default is chips/blXXXX/ota

### files for download:

1.scattered files:
* --firmware：mandatory, select the firmware binary file which your sdk build out
* --dts：optional, select the device tree file you used
* --pt：mandatory, partition table of flash, default is located in chips/chipname/partition
* --boot2：mandatory,boot2 binary file as bootloader, default is located in chips/chipname/builtin_imgs/boot2_isp_xxxxx
* --mfg：optional, mfg binary file, only use when do RF test
* --romfs：optional, romfs dir to create romfs.bin

2.one whole image file:
* --addr：address to program, default is 0
* --single：the single file to be programmed, the tool will add nothing for this file

### other options:

* --build：build image only,not program into flash
* --key：aes encrypt key
* --iv：aes encrypt iv
* --pk：ecc sign public key
* --sk: ecc sign private key

### EXAMPLE:
* bflb_iot_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --pt="chips/bl602/partition/partition_cfg_2M.toml" --dts="chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts"
* bflb_iot_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --pt="chips/bl602/partition/partition_cfg_2M.toml" --dts="chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts" --build
* bflb_iot_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --addr=0x0 --firmware="helloworld_bl602.bin" --single