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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nova_galaxy-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/5.15.0-130-generic

File hashes

Hashes for nova_galaxy-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff51e5e7fcf050f7678a52dc4248ba3283f3bb222f45d24d7c13efba0d2c91f
MD5 bd106b01337b5f90606ba1c7ba71e8d8
BLAKE2b-256 10d8d7bf01228fbd77278aec9c7caf0d4f4e4ca8b7977585e586d8f63e76ee49

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