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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nova_galaxy-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e58dc9a3f55d1e9d1705463497d4de95c4b903621ef220c2a7bfb53a8c82bac0
MD5 8d58b7934a4426068ddf623ffd1e2355
BLAKE2b-256 ad0a8bf67f63245e39626bc69357f932005d97ee2ac48e6aff897a71142004ec

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