mievformer
mievformer is a Python package for learning cellular microenvironments from spatial transcriptomics. Its standard workflow uses reference-probability correspondence analysis (CA) for niche clustering and UMAP, with sample-conditional CA for joint analysis of multiple spatial slices.
Installation
pip install mievformer
Documentation
For detailed usage instructions, tutorials, and API reference, please visit the documentation:
https://kojikoji.github.io/mievformer_package/index.html
Quick start
import mievformer as mf
# Single slice: ordinary reference-probability CA.
adata = mf.optimize_nicheformer(adata, model_path="model.pth")
# Multiple slices: batch-conditioned training and sample-conditional CA.
adata = mf.optimize_nicheformer(
adata,
model_path="multibatch_model.pth",
batch_key="sample",
)
License
MIT License
Metadata
Release files for mievformer 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mievformer-0.3.0.tar.gz | 56.2 kB | With provenance | Details for mievformer-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mievformer-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for mievformer-0.3.0-py3-none-any.whl |
Total release size: 112.8 kB
Release files / mievformer-0.3.0.tar.gz
| Download URL | mievformer-0.3.0.tar.gz |
|---|---|
| Size | 56.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb20f90401b1ca3ae7296e75758eb1a8b9c60e48d1d423669087dc2b884aef36
|
|
BLAKE2b-256 checksum How to use checksums |
09a2fb567fa018a237672b5ab83f120e3cd2b9989fc303145c7286e2db4be1a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logRelease files / mievformer-0.3.0-py3-none-any.whl
| Download URL | mievformer-0.3.0-py3-none-any.whl |
|---|---|
| Size | 56.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1ec31a2d0a64f9eb129bf742fbc8b80fc6a37fc863d95a3d815c5e0a5d7e419
|
|
BLAKE2b-256 checksum How to use checksums |
233ef0636b4bc6d4efa34462541edf2b9e83126511da49968c69e29746301cfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logSecurity for mievformer 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mievformer-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.