Skip to main content

tables

Tables! We all love them and couldn't function without them in our daily lives. Now sourmash has tables too!

Installation

For regular install:

pip install sourmash_plugin_tables

For conda environment:

conda activate <env-name>

python -m pip install sourmash_plugin_tables

Or, use a conda environment yaml file:

name: stable
channels:
channels:
    - conda-forge
    - bioconda
    - defaults
dependencies:
    - python>=3.10,<3.12
    - sourmash>=4.8.11,<5
    - polars
    - pip
    - pip:
        - sourmash_plugin_tables

Sanity check

sourmash info -v

Expected output:

== This is sourmash version 4.9.4. ==
== Please cite Irber et. al (2024), doi:10.21105/joss.06830. ==

sourmash version 4.9.4
- loaded from path: /home/colton/miniconda3/envs/smash/lib/python3.14/site-packages/sourmash/cli

khmer version: None (internal Nodegraph)

screed version 1.1.3
- loaded from path: /home/colton/miniconda3/envs/smash/lib/python3.14/site-packages/screed

the following plugins are installed:

plugin type          from python module             v     entry point name    
-------------------- ------------------------------ ----- --------------------
sourmash.cli_script  sourmash_plugin_tables         0.7   compare_rows        
sourmash.cli_script  sourmash_plugin_tables         0.7   gather_tables       
sourmash.cli_script  sourmash_plugin_tables         0.7   hash_tables         
sourmash.cli_script  sourmash_plugin_tables         0.7   prefetch_tables     

Usage

Support

We suggest filing issues in the main sourmash issue tracker as that receives more attention!

Dev docs

tables was developed from https://github.com/sourmash-bio/sourmash_plugin_template.

Testing

Run:

pytest tests

Example/test data located in tests/test-data (shocking, I know)

Generating a release

Bump version number in pyproject.toml and push.

Make a new release on github.

Then pull, and:

make dist

followed by twine upload dist/....

Metadata

Release files for sourmash-plugin-tables 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sourmash-plugin-tables 1.0.0
File Size Uploaded
sourmash_plugin_tables-1.0.0.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sourmash-plugin-tables 1.0.0
File Interpreter ABI Platform
sourmash_plugin_tables-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / sourmash_plugin_tables-1.0.0.tar.gz

Download URL sourmash_plugin_tables-1.0.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5c8b5429e6edc8ef838ac2b7b4261012b5b6f7466986a7730fe1760db364b524
BLAKE2b-256 checksum
How to use checksums
72db176f065003b381d5a74bea948d32f1e52e5b24c735f9e1f9e7b90979f70f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / sourmash_plugin_tables-1.0.0-py3-none-any.whl

Download URL sourmash_plugin_tables-1.0.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e1852cef7ed61e117282d54b474103705ef44da927107cd78a4f852dee80b2b
BLAKE2b-256 checksum
How to use checksums
d356633e8e167d180839c54689607a220544e2b9aa0165902b6e53bbe481be72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.1

1 release file

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page