Plotting library for Kaptive, the tool for in silico serotyping
Project description
Kaptive Plot
- Github repository: https://github.com/tomdstanton/kaptive-plot/
- Documentation https://tomdstanton.github.io/kaptive-plot/
Installation
From PyPI:
$ pip install kaptive-plot
---> 100%
Installed!
From source:
$ pip install git+https://github.com/tomdstanton/kaptive-plot.git
---> 100%
Installed!
Usage
$ kaptive-plot -h
usage: kaptive-plot <db> <json>
Plotting library for Kaptive, the tool for in silico serotyping
Inputs:
db Database path or keyword used to generate results
json Kaptive results JSON file or "-" for stdin
Outputs:
-o, --out Output path (default: .)
-f , --format Output format: png, svg or html (default: png)
-p, --plotly Use plotly instead of matplotlib (default: False)
Other options:
-v, --version show program's version number and exit
-h, --help Show this help message and exit
For more help, visit: https://tomdstanton.github.io/kaptive-plot
Examples
Static plot
kaptive-plot kpsc_k tests/test.json
Interactive plot
kaptive-plot kpsc_k tests/test.json --plotly --format html
{"file_path": "docs/assets/test.json"}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kaptive_plot-0.0.1.tar.gz.
File metadata
- Download URL: kaptive_plot-0.0.1.tar.gz
- Upload date:
- Size: 445.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c8f7d44df40f41e9c959d731e593495d5b39222a217a3849201a87961105ffc
|
|
| MD5 |
a931cda53ba07e9bf9d214d436de1eca
|
|
| BLAKE2b-256 |
950f0dacfd392a788d4c585d56717afff9b9485abe82aaad573ab2dd19c21c19
|
Provenance
The following attestation bundles were made for kaptive_plot-0.0.1.tar.gz:
Publisher:
python-publish.yml on tomdstanton/kaptive-plot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kaptive_plot-0.0.1.tar.gz -
Subject digest:
5c8f7d44df40f41e9c959d731e593495d5b39222a217a3849201a87961105ffc - Sigstore transparency entry: 1049241735
- Sigstore integration time:
-
Permalink:
tomdstanton/kaptive-plot@a9b438a4b3f9b282fb002ae47e6eb2dbbc1e2a2a -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/tomdstanton
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a9b438a4b3f9b282fb002ae47e6eb2dbbc1e2a2a -
Trigger Event:
push
-
Statement type:
File details
Details for the file kaptive_plot-0.0.1-py3-none-any.whl.
File metadata
- Download URL: kaptive_plot-0.0.1-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7f22b5ad62168e9db13309e62333f4d0e6769ad43a8b423f5d1e473aa04fae7
|
|
| MD5 |
54ee83462f64b88586c9e85191ea1443
|
|
| BLAKE2b-256 |
98348843857425199ffa47bc11976d14b674a3f32102fba6f5457614cac10d6b
|
Provenance
The following attestation bundles were made for kaptive_plot-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on tomdstanton/kaptive-plot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kaptive_plot-0.0.1-py3-none-any.whl -
Subject digest:
b7f22b5ad62168e9db13309e62333f4d0e6769ad43a8b423f5d1e473aa04fae7 - Sigstore transparency entry: 1049241793
- Sigstore integration time:
-
Permalink:
tomdstanton/kaptive-plot@a9b438a4b3f9b282fb002ae47e6eb2dbbc1e2a2a -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/tomdstanton
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a9b438a4b3f9b282fb002ae47e6eb2dbbc1e2a2a -
Trigger Event:
push
-
Statement type: