Skip to main content

Utilties for accessing the ORNL Galaxy instance

Project description

nova-galaxy

=======================

Introduction

This is the repository for the nova-galaxy project. This project creates a python package that makes it easier to work with the ORNL Galaxy instance.

Documentation

A user guide, examples, and a full API for this package can be found at https://nova-galaxy.readthedocs.io/en/stable/.

Installation

You can install this package directly with

pip install nova-galaxy

or with Poetry by placing the following in your pyproject.toml file (you can version lock with typical Semantic Versioning syntax)

[tool.poetry.dependencies]
nova-galaxy = "*"

Formatting

poetry run ruff format

Linting

poetry run ruff check
poetry run mypy .

Testing

You can run the tests for this package with the following command from the base directory:

NOVA_GALAXY_TEST_GALAXY_URL=galaxy-url NOVA_GALAXY_TEST_GALAXY_KEY=key poetry run pytest tests/

with NOVA_GALAXY_TEST_GALAXY_URL being the url of your Galaxy instance and NOVA_GALAXY_TEST_GALAXY_KEY being your Galaxy API Key.

To run tests with coverage (include the above environment variables):

poetry run coverage run
poetry run coverage report

CI/CD in GitLab

Take a look at the .gitlab-ci.yml file. It configures pipelines to run in GitLab. Some jobs will run automatically on each commit, jobs to build packages and Docker images need to be trigerred manually. Don't forget to set versions properly: in pyproject.toml for python package and in .gitlab-ci.yml for Docker tag.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nova_galaxy-0.11.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file nova_galaxy-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: nova_galaxy-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.8.0-60-generic

File hashes

Hashes for nova_galaxy-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68190a9b16d52dd8adc2fab403c2209c17f143fedbf11a967418c49c2fc51e97
MD5 35241c298169ffb523cbdae12e0ad39e
BLAKE2b-256 e70fdd36042169c2935566120bcbe173fec74c8d76b07d98921b0bf09ba28ee4

See more details on using hashes here.

Supported by

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