Metadata-Version: 2.1
Name: points-fl
Version: 1.0.4
Summary: Points FL SDK
Home-page: https://github.com/points-org/fl_server_sdk
Author: points
Author-email: info@points.org
License: Apache License
Keywords: points,points_fl,federated_learning
Platform: any
Requires-Python: >=3.6
Requires-Dist: grpcio
Requires-Dist: grpcio-tools
Requires-Dist: protobuf
Requires-Dist: requests

points\_fl Python SDK
=====================

目录结构
--------

::

        ├── 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使用步骤如下：**

1. pip安装包

::

    pip install points_fl

2. 使用示例

::

    from points_fl import FLServer

    with FLServer(FL_SERVER_ADDRESS, FLASK_ADDRESS) as conn:
        conn.login(username=USERNAME, password=PASSWORD)

        #do some work


