Python SDK for Nextflow Tower API. The purpose of this SDK is to provide programmatic access to Tower API endpoints.
- Client Library for Nextflow Tower API autogenerated using openapi-python-client.
- Nextflow Tower client object for interacting with API endpoints.
Alpha version for this project is under active development.
Use Makefile to setup local development environment.
Unit tests currently use Seqera's NF Tower community
installation instead of mocking the API. This is to enable
verification of the API calls
through an actual Tower API during initial development.
So running tests locally requires this environment variable:
NFT_API_TOKEN=<your_api_token_for_nextflow_tower>
.
See NF Tower docs
for how to create your API token.
Example commands for initialising local environment and running tests:
export NFT_API_TOKEN=<your_api_token_for_nextflow_tower>
make init
make test
Use act to run the Github Actions locally.