Core utilities for Virtool.
Project description
virtool-core
Core utilities for Virtool and associated packages.
Install
Last Stable Release
pip install virtool-core
Latest Changes
pip install git+https://github.com/virtool/virtool-core.git
Contribute
Unit Tests
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
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.
The packages sphinx_rtd_theme
and sphinx_autoapi
are used in rendering the documentation.
pip install sphinx_rtd_theme sphinx_autoapi
Markdown for Sphinx
recommonmark is used so that Sphinx can
render documentation from markdown files as well as rst files. It will need to
be installed before running sphinx-build
:
pip install recommonmark
To use sphinx rst directives in a markdown file use the
eval_rst
code block
Building the documentation
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
Built Distribution
Hashes for virtool_core-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec496cb788c54fb1018bf36ec03d94bbb37119b004dc826457ffb297c206af1e |
|
MD5 | eef985e1acf07a2983cb8b2b504cadb1 |
|
BLAKE2b-256 | 27824bf8779386e35090c04e376c7e43fb26705325912b3de410a9f9296b5d11 |