Shellmiao 9279d1873b Add projects 1 year ago
..
flow_client 9279d1873b Add projects 1 year ago
flow_sdk 9279d1873b Add projects 1 year ago
pipeline 9279d1873b Add projects 1 year ago
.gitignore 9279d1873b Add projects 1 year ago
README.rst 9279d1873b Add projects 1 year ago
pyproject.toml 9279d1873b Add projects 1 year ago
setup.py 9279d1873b Add projects 1 year ago

README.rst

FATE Client
===========

Tools for interacting with FATE.

quick start
-----------

1. (optional) create virtual env

.. code-block:: bash

python -m venv venv
source venv/bin/activate


2. install FATE Client

.. code-block:: bash

pip install fate-client


Pipeline
========

A high-level python API that allows user to design, start,
and query FATE jobs in a sequential manner. For more information,
please refer to this `guide <../../doc/api/fate_client/pipeline.md>`__

Initial Configuration
---------------------

1. provide server ip/port information of deployed FATE-Flow

.. code-block:: bash
# provide real ip address and port info to initialize pipeline
pipeline init --ip 127.0.0.1 --port 9380
# optionally, set log directory of Pipeline
cd /data/projects/fate/python/fate_client/pipeline
pipeline init --ip 127.0.0.1 --port 9380 --log-directory ./logs


FATE Flow Command Line Interface (CLI) v2
=========================================

A command line interface providing series of commands for user to design, start,
and query FATE jobs. For more information,
please refer to this `guide `__

Initial Configuration
---------------------

1. Configure server information

.. code-block:: bash

# configure values in conf/service_conf.yaml
flow init -c /data/projects/fate/conf/service_conf.yaml
# alternatively, input real ip address and port info to initialize cli
flow init --ip 127.0.0.1 --port 9380