├── points_fl // SDK目录 │ ├── proto // protobuf file │ ├── __init__.py // 导出类 │ ├── base.py // points_fl基类 │ ├── federated_learning.py // 联邦学习 │ ├── inference.py // 预测 │ ├── log_provider.py // 日志 │ ├── permission.py // 权限 │ ├── flask_api.py // flask接口
支持 Python版本:3.6+
SDK使用步骤如下:
pip安装包
pip install points_fl
使用示例
from points_fl import FLServer
with FLServer(FL_SERVER_ADDRESS, FLASK_ADDRESS) as conn:
conn.login(username=USERNAME, password=PASSWORD)
#do some work
Release files for points-fl 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| points_fl-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / points_fl-1.0.4-py3-none-any.whl
| Download URL | points_fl-1.0.4-py3-none-any.whl |
|---|---|
| Size | 58.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91a9b4a3bc8a69f17d007bdeeba163d46613f1a83cbce1a17e9d223dd46cf58e
|
|
BLAKE2b-256 checksum How to use checksums |
a30177d34287d6a2a555ef92fdfd9a2c3a4d490de08e8a65e8f0757b8dc26343
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7
|