Skip to main content

Sail-On Client and Protocols

License CI Workflow codecov Code style: black PRs Welcome

Client and Protocols for DARPA sail-on

Protocols present in the repository

  1. OND
  2. CONDDA

Requirements

  1. Python 3.7
  2. Poetry >= 1.1.0

Installation

  1. Install Poetry following the instructions available in the installation page

  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
  2. Instructions for running M12 Algorithms
  3. Instructions for running M18 Algorithms

Publishing on PYPI

sail-on-client uses github actions to publish packages on pypi. The action is triggered when a semver tag is pushed to the repository.

We support the following version format .. and ..-alpha. for tags. To publish a package on pypi, the tag must match with the version maintained in pyproject.toml. This is implemented as a mandatory check in the workflow. Poetry provides support for both querying and bumping version via cli. Please refer to version for more details.

Thus to publish sail-on-client on pypi use the following commands

  1. Bump the version in pyproject.toml using poetry version <version_rule>.
  2. Use poetry version --short to determine the version that would be used in the tag.
  3. Generate and push the tag using
      git tag <package-version>
      git push origin --tags
    

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.

Release files for sail-on-client 0.30.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sail-on-client 0.30.0
File Size Uploaded
sail-on-client-0.30.0.tar.gz 50.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sail-on-client 0.30.0
File Interpreter ABI Platform
sail_on_client-0.30.0-py3-none-any.whl Python 3 none any Details

Total release size: 142.6 kB

Release files / sail-on-client-0.30.0.tar.gz

Download URL sail-on-client-0.30.0.tar.gz
Size 50.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1f24a14eaf804b6bcdb57b67aa377b4a1d3ff741106b33bac1315eea0868b5fe
BLAKE2b-256 checksum
How to use checksums
83cceead07c7ee130118eedfe07100c7d2fc0b67f4e9f8b4c96817cc3337ff49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.7.13 Linux/5.13.0-1022-azure

Release files / sail_on_client-0.30.0-py3-none-any.whl

Download URL sail_on_client-0.30.0-py3-none-any.whl
Size 92.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
646f02d574cbc2239b81b508e7bb7321fe1df640afb8bd6cae6251e32e2ff362
BLAKE2b-256 checksum
How to use checksums
0dfc15ba55953a21e286cb275c3d52924821cc0f8235b4c6f356b78f64516306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.7.13 Linux/5.13.0-1022-azure

Release history Release notifications | RSS feed

This release

0.30.0 This release

2 release files

0.29.0

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page