Skip to main content

Top-level namespace package for partis packages

Project description

Readme for partis

Utilities for defining and validating schemas for YAML/JSON compatible data, and for configuring and running programs/workflows using the domain specific Nano Workflow Language (NWL).

Installation

Compatible with Python >= 3.6, pip >= 18.1.

For full install of core API, docs, runtime utilities, and GUI application:

python3 make_dists.py
pip3 install --find-links ./dist partis

To install only a particular set of sub-component(s), such as the nwl command-line runner:

pip3 install --find-links ./dist partis-pyproj
pip3 install --find-links ./dist partis-utils
pip3 install --find-links ./dist partis-schema
pip3 install --find-links ./dist partis-nwl

Note that unless distributions have already been generated and made available to pip, these must be done in the above order.

Building the Documentation

The doc folder is made as a runnable python module to conveniently build documentation. By default, html documentation will be generated in a build directory.

pip3 install --find-links ./dist '.[doc]'
python -m doc

Running the Tests

The test folder is made as a runnable python module to conveniently run automated test suite.

To test the GUI, Xvfb must also be installed on the system to create a virtual display in order to run the Qt application without displaying windows. If Xvfb is not found those tests will be skipped.

To test multiple versions of python, they must all be discoverable within the PATH environment variable. The tests configured for versions of python that cannot be found will be skipped. For example, if the python installations are being managed with the Environment Modules convention:

module load python/3.6.2
module load python/3.7.0
module load python/3.8.0
module load python/3.9.0

It is highly recommended to install package and dependencies within a virtual environment to isolate the effects of any changes it may cause.

pip install --find-links ./dist '.[test]'
python -m test

Development

pre-commit

Before committing any changes to this repo, please install pre-commit and hooks.

pip install pre-commit
pre-commit install
pre-commit run --all-files

A convenience script runme.py is placed in the root directory to perform this action, and needs to be run only once.

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

partis-0.0.4.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

partis-0.0.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file partis-0.0.4.tar.gz.

File metadata

  • Download URL: partis-0.0.4.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for partis-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7c055706d0e34d242abaace5b9be5345bcaac2c305982501ea9b8ebf5a00c5b3
MD5 6951b4ded6e3e38ecd95e57a1d7017cf
BLAKE2b-256 3c1a5bcc631e40ddcb507f67e7c50bd87c28b9f438e01d82d9882868ca519cb7

See more details on using hashes here.

File details

Details for the file partis-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: partis-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for partis-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aa36c2fb3aa86968719a88e7e588a4cb7cbe0ba4ec14d1925510ffe001c8da69
MD5 fc91a601857a499421090af6a6058bee
BLAKE2b-256 0e1f3244b1d9864231b72c7e034b1ca711481336d76650b7a06383c348f71e1b

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