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.9.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nova_galaxy-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.17 Linux/6.8.0-55-generic

File hashes

Hashes for nova_galaxy-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af7e0e9a39222deeaf917a7a1ea4a654d1eba5208ff73c7dc13960b6cbfd384a
MD5 d9e039acc12ee4dd0d148db7cb5be00e
BLAKE2b-256 2852ae2abb049634d7df6ee245f3a68656c1b1f362b613c2b8241f0e11f998d7

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