Skip to main content

Core utilities for Virtool.

Project description

virtool-core

Core utilities for Virtool and associated packages.

Tests PyPI version

Contributing

Commits

All commits must follow the Conventional Commits specification.

These standardized commit messages are used to automatically publish releases using semantic-release after commits are merged to main from successful PRs.

Example

feat: add API support for assigning labels to existing samples

Descriptive bodies and footers are required where necessary to describe the impact of the commit. Use bullets where appropriate.

Additional Requirements

  1. Write in the imperative. For example, "fix bug", not "fixed bug" or "fixes bug".
  2. Don't refer to issues or code reviews. For example, don't write something like this: "make style changes requested in review". Instead, "update styles to improve accessibility".
  3. Commits are not your personal journal. For example, don't write something like this: "got server running again" or "oops. fixed my code smell".

From Tim Pope: A Note About Git Commit Messages

Tests

  1. Install Tox

    tox is used to run the tests in a fresh virtual environment with all of the test dependencies. To install it use;

    pip install tox tox-poetry
    
  2. Run Tests

    tox
    

Any arguments given to tox after a -- token will be supplied to pytest:

tox -- --log-cli-level=DEBUG

Documentation

For docstrings, use the Sphinx docstring format.

Build the documentation with:

cd sphinx && make html

The rendered HTML files are found under sphinx/build/html

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

virtool_core-12.3.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

virtool_core-12.3.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file virtool_core-12.3.0.tar.gz.

File metadata

  • Download URL: virtool_core-12.3.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.17 Linux/6.5.0-1021-azure

File hashes

Hashes for virtool_core-12.3.0.tar.gz
Algorithm Hash digest
SHA256 b84e3d2142a93bb979f3fc9d1f0b59d9cb4673fc5a883d79d748c1d1949c51cb
MD5 8324f0e7f9e6e5c0773717aad4ce2d5c
BLAKE2b-256 3ef3a46f54e87b183fb63e248d8d119a7a60bec3c077097f14579c4b5ed2d13c

See more details on using hashes here.

File details

Details for the file virtool_core-12.3.0-py3-none-any.whl.

File metadata

  • Download URL: virtool_core-12.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.17 Linux/6.5.0-1021-azure

File hashes

Hashes for virtool_core-12.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ab95e4a5b3c62a0ff2e00daf602ace2d5830628883f880f919e757732f9f595
MD5 c96dd61034a0fd651e8c42e02f98613f
BLAKE2b-256 a5af275735fe680a4874bc984113c58e9a48ceb90f5fff74646e5ca80f81d015

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