Client and Protocols for DARPA sail-on
Project description
Sail-On Client and Protocols
Client and Protocols for DARPA sail-on
Protocols present in the repository
Requirements
Installation
-
Install Poetry following the instructions available in the installation page
-
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
-
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.
- Instructions for running M6 Algorithms
- Instructions for running M12 Algorithms
- 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
- Bump the version in pyproject.toml using
poetry version <version_rule>
. - Update
__version__
with the new version insail_on_client/__init__.py
. - Use poetry version --short to determine the version that would be used in the tag.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sail-on-client-0.25.0.tar.gz
.
File metadata
- Download URL: sail-on-client-0.25.0.tar.gz
- Upload date:
- Size: 48.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.7.12 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1144313397fa9eace5a90993a71dc0f51847b9292fbe718866336e5bf2c1c86 |
|
MD5 | 48f864b8267d5e94cb0abe6901284602 |
|
BLAKE2b-256 | f56a75f48a40dbc18ff5c02401f10ee377a618e1530df931edf23e3da3d4230a |
File details
Details for the file sail_on_client-0.25.0-py3-none-any.whl
.
File metadata
- Download URL: sail_on_client-0.25.0-py3-none-any.whl
- Upload date:
- Size: 88.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.7.12 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b3a10707fc681eb16b685433d85cca27d2407afd008e4f53c19f66526fcc1f4 |
|
MD5 | b6451a68cc81b47f92febfe78424f7fa |
|
BLAKE2b-256 | 2d071c95d98a9a4ee63f9714083951d7c66fa2d3d3841ba49b27536987929dd8 |