Skip to main content

Provides HPC workflow automation services

Project description

# JADE JADE source code repository

[![Documentation](https://img.shields.io/badge/docs-ready-blue.svg)](https://nrel.github.io/jade/)

[![Python Package using Conda](https://github.com/NREL/jade/actions/workflows/python-package-conda.yml/badge.svg?event=push)](https://github.com/NREL/jade/actions/workflows/python-package-conda.yml)

Documentation: https://nrel.github.io/jade/

Tutorial: https://nrel.github.io/jade/tutorial.html

## Dev Setup This project uses [conda](https://docs.conda.io/en/latest/) to manage software dependencies. Please make sure conda has already been installed on your machine, or follow the [guide](https://conda.io/projects/conda/en/latest/user-guide/install/index.html) to install.

### Virtual Environment Use the commands below to create the virtual environment for Python, and install the required packages.

Create virtual environment `bash conda env create -f environment.yml # or conda env create -f dev-environment.yml `

Activate virtual environment `bash conda activate jade `

Deactivate virtual environment `bash conda deactivate `

The dev packages require that pandoc and plantuml be installed.

### Unit & Integration Test

Installation: ` pip install -e '.[dev]' `

This project uses [pytest](https://docs.pytest.org/en/latest/) as the framework to run unit tests and integration tests, and generate HTML reports of coverage with the plugin [pytest-cov](https://github.com/pytest-dev/pytest-cov). The following are some basic commands for running tests with pytest.

Run unit tests `bash pytest --cov=jade tests/unit/ --cov-report=html -v `

Run integration tests `bash pytest --cov=jade tests/integration/ --cov-report=html -v `

Run test on a specific Python module `bash pytest --cov=jade tests/unit/utils/test_utils.py -v `

Run test on a specific Python function `bash pytest --cov=jade tests/unit/utils/test_utils.py::test_create_chunks -v `

Run test with debug logging activated `bash pytest tests/unit/jobs/test_job_queue.py --log-cli-level=debug `

For more details and examples, please refer to the official pytest documentation.

Project details


Download files

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

Source Distribution

NREL-jade-0.4.1.tar.gz (85.3 kB view details)

Uploaded Source

Built Distribution

NREL_jade-0.4.1-py3-none-any.whl (122.5 kB view details)

Uploaded Python 3

File details

Details for the file NREL-jade-0.4.1.tar.gz.

File metadata

  • Download URL: NREL-jade-0.4.1.tar.gz
  • Upload date:
  • Size: 85.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for NREL-jade-0.4.1.tar.gz
Algorithm Hash digest
SHA256 cce3a0d66a05eddeeba22edcb441a7a3914d4be9b96a5bdea75a87b007b0cf96
MD5 2d11e8082c8391512867863052cfd9af
BLAKE2b-256 6007692ba74145e7b5b0f3178eb3fb344faa3532372be42e04225cef418b47dd

See more details on using hashes here.

File details

Details for the file NREL_jade-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: NREL_jade-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 122.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for NREL_jade-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 887ed3ed8507d8cd68466d6972b19043321297eae3f3abb2b4749d387934a057
MD5 7cfb764bb531b3232aabbea30f5869c4
BLAKE2b-256 cdd40b4cb36312085bd39e22ef38931cddc33749c72d62ea6c9fdd73b9d38d40

See more details on using hashes here.

Supported by

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