Skip to main content

Client and Protocols for DARPA sail-on

Project description

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. Update __version__ with the new version in sail_on_client/__init__.py.
  3. Use poetry version --short to determine the version that would be used in the tag.
  4. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sail-on-client-0.26.0.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

sail_on_client-0.26.0-py3-none-any.whl (90.6 kB view details)

Uploaded Python 3

File details

Details for the file sail-on-client-0.26.0.tar.gz.

File metadata

  • Download URL: sail-on-client-0.26.0.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.7.12 Linux/5.13.0-1021-azure

File hashes

Hashes for sail-on-client-0.26.0.tar.gz
Algorithm Hash digest
SHA256 aefefcb8f0cd4d54cc8ccce38d6c3807183a098c55b3ddaa998fa67102229be2
MD5 97be452554d158336ae33d122967aa3c
BLAKE2b-256 c113bcd9ea3634d04901fd7373818f75b865e98fdc00fe9129a99b8c41b3fc56

See more details on using hashes here.

File details

Details for the file sail_on_client-0.26.0-py3-none-any.whl.

File metadata

  • Download URL: sail_on_client-0.26.0-py3-none-any.whl
  • Upload date:
  • Size: 90.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.7.12 Linux/5.13.0-1021-azure

File hashes

Hashes for sail_on_client-0.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72290a3e40127312c4f86971e319e0f571e1ea8dd687ea01b86c5ff50f387f0a
MD5 459318b3ebfececb09f3dbeef6d1558e
BLAKE2b-256 aa3cbccd29c595a3c6199c6776d99236cc3d294df034b224c74a39137d41cc74

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page