Bioinformatics IO and workflow utilities with Rust-accelerated backends.
Project description
axiomkit
Personal, portable engineering toolkit (Python/R/Rust).
Install
pip install axiomkit
Stats
import polars as pl
from axiomkit.stats import (
ContrastSpec,
calculate_anova_one_way,
calculate_anova_one_way_welch,
calculate_anova_two_way,
calculate_t_test_one_sample,
calculate_t_test_paired,
calculate_t_test_two_sample,
)
df_values = pl.DataFrame(
{
"FeatureId": ["f1", "f1", "f1", "f1", "f2", "f2", "f2", "f2"],
"Group": ["ctrl", "ctrl", "case", "case", "ctrl", "ctrl", "case", "case"],
"Value": [1.0, 2.0, 4.0, 5.0, 4.0, 4.0, 6.0, 8.0],
}
)
df_t = calculate_t_test_two_sample(
df_values,
col_feature="FeatureId",
contrasts=[ContrastSpec(group_test="case", group_ref="ctrl")],
rule_p_adjust="bh",
)
df_one_sample = calculate_t_test_one_sample(
df_values.select("FeatureId", "Value"),
col_feature="FeatureId",
popmean=3.0,
)
df_paired = calculate_t_test_paired(
pl.DataFrame(
{
"FeatureId": ["f1", "f1", "f1", "f1"],
"PairId": ["p1", "p1", "p2", "p2"],
"Group": ["ctrl", "case", "ctrl", "case"],
"Value": [1.0, 2.0, 4.0, 6.0],
}
),
col_feature="FeatureId",
col_pair="PairId",
contrasts=ContrastSpec(group_test="case", group_ref="ctrl"),
)
df_anova = calculate_anova_one_way(
df_values,
col_feature="FeatureId",
rule_p_adjust="bh",
)
df_anova_welch = calculate_anova_one_way_welch(
df_values,
col_feature="FeatureId",
rule_p_adjust="bh",
)
df_anova_two_way = calculate_anova_two_way(
pl.DataFrame(
{
"FeatureId": ["f1"] * 8,
"GroupA": ["A1", "A1", "A1", "A1", "A2", "A2", "A2", "A2"],
"GroupB": ["B1", "B1", "B2", "B2", "B1", "B1", "B2", "B2"],
"Value": [8.0, 10.0, 6.0, 8.0, 4.0, 5.0, 3.0, 6.0],
}
),
col_feature="FeatureId",
col_group_a="GroupA",
col_group_b="GroupB",
)
Development
pdm sync -G dev --no-self- GitHub Actions uses a CI-only manylinux image with preinstalled Rust to speed wheel builds; local development does not depend on Docker or GHCR.
- The Linux ARM64 wheel is built as a supplemental artifact on a native GitHub ARM runner; local development paths remain unchanged.
Docs
- Repository instructions: AGENTS.md
- Python release checklist: RELEASE.md
- R package: r/README.md
- Rust workspace: crates/
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 Distributions
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 axiomkit-0.0.40.tar.gz.
File metadata
- Download URL: axiomkit-0.0.40.tar.gz
- Upload date:
- Size: 124.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29d344968c35c78fbc03b8c4a5c0136383331c0074e1a9d7077845b515a89095
|
|
| MD5 |
07a1fea81ae92a68b3a14e0fd91c69d7
|
|
| BLAKE2b-256 |
62dcb1ea83b4b9529699917b03888ee761d3490cbc54d3889d63eb9593c8e1fa
|
Provenance
The following attestation bundles were made for axiomkit-0.0.40.tar.gz:
Publisher:
publish.yml on FuqingZh/axiomkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axiomkit-0.0.40.tar.gz -
Subject digest:
29d344968c35c78fbc03b8c4a5c0136383331c0074e1a9d7077845b515a89095 - Sigstore transparency entry: 1242666160
- Sigstore integration time:
-
Permalink:
FuqingZh/axiomkit@e6f52add062ad8591e27e074ba05b2b0b6c143a2 -
Branch / Tag:
refs/tags/0.0.40 - Owner: https://github.com/FuqingZh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6f52add062ad8591e27e074ba05b2b0b6c143a2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file axiomkit-0.0.40-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: axiomkit-0.0.40-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 6.3 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fecc348a5af55c73a7b18bffb14cd08699bedfd62333e683d8e46e3adecfdb88
|
|
| MD5 |
46cf4089138c9df378b8896491c63eff
|
|
| BLAKE2b-256 |
f89708390ced8b5c53ee02e6e69bc492c7bcb0e3737c464887c464f342763ba5
|
Provenance
The following attestation bundles were made for axiomkit-0.0.40-cp310-abi3-manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on FuqingZh/axiomkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axiomkit-0.0.40-cp310-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
fecc348a5af55c73a7b18bffb14cd08699bedfd62333e683d8e46e3adecfdb88 - Sigstore transparency entry: 1242666171
- Sigstore integration time:
-
Permalink:
FuqingZh/axiomkit@e6f52add062ad8591e27e074ba05b2b0b6c143a2 -
Branch / Tag:
refs/tags/0.0.40 - Owner: https://github.com/FuqingZh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6f52add062ad8591e27e074ba05b2b0b6c143a2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file axiomkit-0.0.40-cp310-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: axiomkit-0.0.40-cp310-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 6.0 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a750f16b6509ee39888f70b12c4b05244c434bda54f3b146c6973138a02be40
|
|
| MD5 |
103bed514a91e09029ed85c3464ff980
|
|
| BLAKE2b-256 |
2281a441c87b8c53989bd58ca125da201cd17ba37cda88e61c61a9a2f76747b5
|
Provenance
The following attestation bundles were made for axiomkit-0.0.40-cp310-abi3-manylinux_2_28_aarch64.whl:
Publisher:
publish.yml on FuqingZh/axiomkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axiomkit-0.0.40-cp310-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
7a750f16b6509ee39888f70b12c4b05244c434bda54f3b146c6973138a02be40 - Sigstore transparency entry: 1242667013
- Sigstore integration time:
-
Permalink:
FuqingZh/axiomkit@e6f52add062ad8591e27e074ba05b2b0b6c143a2 -
Branch / Tag:
refs/tags/0.0.40 - Owner: https://github.com/FuqingZh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6f52add062ad8591e27e074ba05b2b0b6c143a2 -
Trigger Event:
push
-
Statement type: