Metadata-Version: 2.1
Name: sail-on-client
Version: 0.24.0a4
Summary: Client and Protocols for DARPA sail-on
License: Apache-2.0
Author: Ameya Shringi
Author-email: ameya.shringi@kitware.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: hydra-colorlog (>=1.1.0,<2.0.0)
Requires-Dist: hydra-core (>=1.1.1,<2.0.0)
Requires-Dist: importlib-metadata (>=1.6.0)
Requires-Dist: matplotlib (>=3.2.2,<4.0.0)
Requires-Dist: nltk (>=3.6.7,<4.0.0)
Requires-Dist: numpy (>=1.18.3)
Requires-Dist: pandas (>=1.0.3)
Requires-Dist: requests (>=2.23.0)
Requires-Dist: scriptconfig (==0.5.6)
Requires-Dist: tenacity (>=7.0.0,<8.0.0)
Requires-Dist: tinker-engine (>=0.9.0,<0.10.0)
Requires-Dist: torch (>=1.6.0,<2.0.0)
Requires-Dist: types-dataclasses (>=0.6.4,<0.7.0)
Requires-Dist: ubelt (==0.9.2)
Description-Content-Type: text/markdown

# Sail-On Client and Protocols
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![CI Workflow](https://github.com/darpa-sail-on/sail-on-client/actions/workflows/ci.yml/badge.svg)](https://gitlab.kitware.com/darpa-sail-on/sail-on-client/-/commits/master)
[![codecov](https://codecov.io/gh/darpa-sail-on/sail-on-client/branch/master/graph/badge.svg?token=300M5S27NE)](https://codecov.io/gh/darpa-sail-on/sail-on-client)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/darpa-sail-on/sail-on-client)

Client and Protocols for DARPA sail-on

### Protocols present in the repository
1. [OND](https://drive.google.com/file/d/1W2Ex4-eQl1CrAbv67fAN0OJL8kmRtvt2/view?usp=sharing)
2. [CONDDA](https://drive.google.com/file/d/1sIDLTgXivaguVfSp3g1qfe7sqiUcvFLA/view?usp=sharing)

## Requirements

1. [Python 3.7](https://www.python.org/downloads/release/python-370/)
2. [Poetry >= 1.1.0](https://github.com/python-poetry/poetry)

## Installation

1. Install Poetry following the instructions available in the [installation page](https://python-poetry.org/docs/#installation)

2. Clone the repositories associated with different components in a working directory
    ```
      git clone https://github.com/darpa-sail-on/sail-on-client.git
    ```
   This would create sail-on-client directories in your working directory


3. Install the different components in a virtual environment
   ```
     cd sail-on-client
     poetry install
     poetry shell
   ```


## Running Client and Server with Different Algorithms

Note: If you are using the server setup by PAR, update the `url` to `http://3.32.8.161:5000`
in sail_on_client/protocol/configuration.json and skip step 1 of running the server.

1. [Instructions for running M6 Algorithms](M6-ALGO.md)
1. [Instructions for running M12 Algorithms](M12-ALGO.md)
1. [Instructions for running M18 Algorithms](M18-ALGO.md)

## Acknowledgement of Support and Disclaimer

This material is based upon work supported by the Defense Advanced Research Projects Agency (DARPA) under Contract No. HR001120C0055. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the DARPA.

