Skip to main content

MScompress Python Library

Python bindings for MScompress, a high-performance compression library for mass spectrometry data.

Overview

The MScompress Python library provides a fast and efficient way to compress and decompress mass spectrometry data files in mzML format. It features:

  • 🚀 High Performance: Multi-threaded compression/decompression with state-of-the-art speeds
  • 📦 MSZ Format: Novel compressed format with random-access capabilities
  • 🔄 Lossless & Lossy: Support for both lossless and lossy compression modes
  • 🐍 Pythonic API: Clean, intuitive interface with NumPy integration
  • 🎯 Direct Data Access: Extract spectra, m/z arrays, and intensity data without full decompression

Installation

From PyPI

pip install mscompress

From Source

Prerequisites:

  • Python ≥ 3.9
  • NumPy
  • Cython
  • C compiler (GCC, Clang, or MSVC)

Build and install:

git clone --recurse-submodules https://github.com/chrisagrams/mscompress.git
cd mscompress/python
pip install -e .

Quick Start

Basic Usage

import mscompress

# Read an mzML file
mzml = mscompress.read("data.mzML")

# Compress to MSZ format
mzml.compress("data.msz")

# Read compressed MSZ file
msz = mscompress.read("data.msz")

# Decompress back to mzML
msz.decompress("output.mzML")

Working with Spectra

import mscompress

# Open a file (mzML or MSZ)
file = mscompress.read("data.mzML")

# Access file metadata
print(f"File size: {file.filesize} bytes")
print(f"Total spectra: {len(file.spectra)}")

# Iterate through all spectra
for spectrum in file.spectra:
    print(f"Scan {spectrum.scan}: MS{spectrum.ms_level}")
    print(f"  Retention time: {spectrum.retention_time:.2f}s")
    print(f"  Data points: {spectrum.size}")

# Access specific spectrum by index
spectrum = file.spectra[0]

# Get m/z and intensity arrays as NumPy arrays
mz_array = spectrum.mz
intensity_array = spectrum.intensity

# Get combined peaks as 2D array [m/z, intensity]
peaks = spectrum.peaks

# Access spectrum metadata XML
xml_element = spectrum.xml

Compression Configuration

import mscompress

# Open mzML file
mzml = mscompress.read("data.mzML")

# Configure compression settings
mzml.arguments.threads = 8  # Use 8 threads
mzml.arguments.zstd_compression_level = 3  # Set ZSTD level (1-22)
mzml.arguments.blocksize = 100  # Spectra per block

# Compress with custom settings
mzml.compress("data.msz")

Random Access to Compressed Data

import mscompress

# Open compressed MSZ file
msz = mscompress.read("data.msz")

# Directly access specific spectrum without full decompression
spectrum_100 = msz.spectra[100]
print(f"Scan: {spectrum_100.scan}")
print(f"m/z range: {spectrum_100.mz[0]:.2f} - {spectrum_100.mz[-1]:.2f}")

# Extract binary data for a specific spectrum
mz_binary = msz.get_mz_binary(100)
intensity_binary = msz.get_inten_binary(100)
xml_metadata = msz.get_xml(100)

Context Manager Support

import mscompress

# Use with context manager for automatic resource cleanup
with mscompress.read("data.mzML") as file:
    for spectrum in file.spectra:
        # Process spectrum
        process_spectrum(spectrum)
# File is automatically closed

API Reference

Functions

read(path: str | bytes) -> MZMLFile | MSZFile

Opens and parses an mzML or MSZ file.

Parameters:

  • path: Path to the file (string or bytes)

Returns:

  • MZMLFile or MSZFile object depending on file type

Raises:

  • FileNotFoundError: If file does not exist
  • IsADirectoryError: If path points to a directory
  • OSError: If file type cannot be determined

get_num_threads() -> int

Returns the number of available CPU threads.

get_filesize(path: str | bytes) -> int

Returns the size of a file in bytes.

Classes

MZMLFile

Handler for mzML format files.

Properties:

  • path: File path (bytes)
  • filesize: File size in bytes (int)
  • format: Data format information (DataFormat)
  • spectra: Collection of spectra (Spectra)
  • positions: Division/position information (Division)
  • arguments: Runtime configuration (RuntimeArguments)

Methods:

  • compress(output: str | bytes): Compress to MSZ format
  • get_mz_binary(index: int) -> np.ndarray: Extract m/z array for spectrum
  • get_inten_binary(index: int) -> np.ndarray: Extract intensity array for spectrum
  • get_xml(index: int) -> Element: Extract XML metadata for spectrum
  • describe() -> dict: Get file description dictionary

MSZFile

Handler for MSZ (compressed) format files.

Properties:

  • Same as MZMLFile

Methods:

  • decompress(output: str | bytes): Decompress to mzML format
  • get_mz_binary(index: int) -> np.ndarray: Extract m/z array for spectrum
  • get_inten_binary(index: int) -> np.ndarray: Extract intensity array for spectrum
  • get_xml(index: int) -> Element: Extract XML metadata for spectrum
  • describe() -> dict: Get file description dictionary

Spectrum

Represents a single mass spectrum.

Properties:

  • index: Spectrum index (int)
  • scan: Scan number (int)
  • ms_level: MS level (int)
  • retention_time: Retention time in seconds (float)
  • size: Number of data points (int)
  • mz: m/z values (np.ndarray)
  • intensity: Intensity values (np.ndarray)
  • peaks: Combined m/z and intensity as 2D array (np.ndarray)
  • xml: XML metadata element (Element)

Spectra

Collection of spectra with lazy loading and iteration support.

Methods:

  • __len__(): Get total number of spectra
  • __iter__(): Iterate over all spectra
  • __getitem__(index: int): Access spectrum by index

RuntimeArguments

Runtime configuration for compression/decompression.

Properties:

  • threads: Number of threads to use (int)
  • blocksize: Number of spectra per block (int)
  • mz_scale_factor: m/z scaling factor (int)
  • int_scale_factor: Intensity scaling factor (int)
  • target_xml_format: Target XML format (int)
  • target_mz_format: Target m/z format (int)
  • target_inten_format: Target intensity format (int)
  • zstd_compression_level: ZSTD compression level 1-22 (int)

DataFormat

Data format information.

Properties:

  • source_mz_fmt: Source m/z format (int)
  • source_inten_fmt: Source intensity format (int)
  • source_compression: Source compression type (int)
  • source_total_spec: Total number of spectra (int)
  • target_xml_format: Target XML format (int)
  • target_mz_format: Target m/z format (int)
  • target_inten_format: Target intensity format (int)

Methods:

  • to_dict() -> dict: Convert to dictionary representation
  • __str__() -> str: String representation

Division

Division structure containing data positions and scan information.

Properties:

  • spectra: Spectrum data positions (DataPositions)
  • xml: XML data positions (DataPositions)
  • mz: m/z data positions (DataPositions)
  • inten: Intensity data positions (DataPositions)
  • size: Number of divisions (int)
  • scans: Scan numbers (np.ndarray)
  • ms_levels: MS levels (np.ndarray)
  • ret_times: Retention times (np.ndarray or None)

DataPositions

Position information for data blocks.

Properties:

  • start_positions: Start positions (np.ndarray[uint64])
  • end_positions: End positions (np.ndarray[uint64])
  • total_spec: Total number of spectra (int)

Examples

Extract All MS2 Spectra

import mscompress
import numpy as np

file = mscompress.read("data.mzML")

ms2_spectra = []
for spectrum in file.spectra:
    if spectrum.ms_level == 2:
        ms2_spectra.append({
            'scan': spectrum.scan,
            'rt': spectrum.retention_time,
            'mz': spectrum.mz,
            'intensity': spectrum.intensity
        })

print(f"Found {len(ms2_spectra)} MS2 spectra")

Compare Compression Ratios

import mscompress
import os

mzml = mscompress.read("data.mzML")
original_size = mzml.filesize

# Compress with different ZSTD levels
for level in [1, 3, 5, 10]:
    mzml.arguments.zstd_compression_level = level
    output = f"data_level_{level}.msz"
    mzml.compress(output)
    
    compressed_size = os.path.getsize(output)
    ratio = original_size / compressed_size
    print(f"Level {level}: {ratio:.2f}x compression")

Parallel Processing of Spectra

import mscompress
from multiprocessing import Pool

def process_spectrum(args):
    file_path, index = args
    file = mscompress.read(file_path)
    spectrum = file.spectra[index]
    # Your processing logic here
    return spectrum.scan, len(spectrum.mz)

file = mscompress.read("data.mzML")
indices = range(len(file.spectra))
args = [(file.path.decode(), i) for i in indices]

with Pool() as pool:
    results = pool.map(process_spectrum, args)

print(f"Processed {len(results)} spectra")

Filter and Extract Peaks

import mscompress
import numpy as np

file = mscompress.read("data.mzML")

# Extract peaks above intensity threshold
threshold = 1000.0

for spectrum in file.spectra:
    mask = spectrum.intensity > threshold
    filtered_mz = spectrum.mz[mask]
    filtered_intensity = spectrum.intensity[mask]
    
    print(f"Scan {spectrum.scan}: {len(filtered_mz)} peaks above threshold")

Performance Tips

  1. Multi-threading: Set arguments.threads to match your CPU core count for optimal performance
  2. Block size: Adjust arguments.blocksize based on your data - larger blocks may improve compression ratio but reduce random-access granularity
  3. Compression level: ZSTD levels 1-3 offer good speed/ratio balance; higher levels improve compression at the cost of speed
  4. Memory usage: When processing large files, iterate through spectra rather than loading all into memory

Type Hints

The library includes full type hints and stub files (.pyi) for improved IDE support and type checking:

import mscompress
from typing import Union

def process_file(path: Union[str, bytes]) -> None:
    file = mscompress.read(path)  # Type checker knows this is MZMLFile | MSZFile
    spectra = file.spectra  # Type: Spectra
    spectrum = spectra[0]  # Type: Spectrum
    mz = spectrum.mz  # Type: np.ndarray[np.float32 | np.float64]

Contributing

Contributions are welcome! Please see the main repository for guidelines: https://github.com/chrisagrams/mscompress

License

See the main repository for license information.

Support

For bug reports and feature requests, please open an issue: https://github.com/chrisagrams/mscompress/issues

Citation

If you use MScompress in your research, please cite our work (citation information coming soon).

Metadata

Release files for mscompress 1.2.5

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

Source distribution (sdist)

Source distribution for mscompress 1.2.5
File Size Uploaded Provenance Actions
mscompress-1.2.5.tar.gz 3.3 MB With provenance Details for mscompress-1.2.5.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mscompress 1.2.5
File Actions
mscompress-1.2.5-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for mscompress-1.2.5-cp314-cp314-win_amd64.whl
mscompress-1.2.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for mscompress-1.2.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
mscompress-1.2.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for mscompress-1.2.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
mscompress-1.2.5-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for mscompress-1.2.5-cp314-cp314-macosx_11_0_arm64.whl
mscompress-1.2.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for mscompress-1.2.5-cp313-cp313-win_amd64.whl
mscompress-1.2.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for mscompress-1.2.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
mscompress-1.2.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for mscompress-1.2.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
mscompress-1.2.5-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for mscompress-1.2.5-cp313-cp313-macosx_11_0_arm64.whl
mscompress-1.2.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for mscompress-1.2.5-cp312-cp312-win_amd64.whl
mscompress-1.2.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for mscompress-1.2.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
mscompress-1.2.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for mscompress-1.2.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
mscompress-1.2.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for mscompress-1.2.5-cp312-cp312-macosx_11_0_arm64.whl
mscompress-1.2.5-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for mscompress-1.2.5-cp312-cp312-macosx_10_13_x86_64.whl
mscompress-1.2.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for mscompress-1.2.5-cp311-cp311-win_amd64.whl
mscompress-1.2.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for mscompress-1.2.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
mscompress-1.2.5-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for mscompress-1.2.5-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
mscompress-1.2.5-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for mscompress-1.2.5-cp311-cp311-macosx_11_0_arm64.whl
mscompress-1.2.5-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for mscompress-1.2.5-cp311-cp311-macosx_10_9_x86_64.whl

Total release size: 64.2 MB

Release files / mscompress-1.2.5.tar.gz

Download URL mscompress-1.2.5.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f50686d941fbeac55d0ecb49f306a6743babcb1f9b61b2c2c353e7e401e82da7
BLAKE2b-256 checksum
How to use checksums
8f65701d11936d4aef966909c8ac6b551fc595eb6b868a336cdf5d82626c07a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp314-cp314-win_amd64.whl

Download URL mscompress-1.2.5-cp314-cp314-win_amd64.whl
Size 1.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
e9f29f45356b248424e19625c1a7982fe024d2c3f8858b8e4d1a55556d89742d
BLAKE2b-256 checksum
How to use checksums
b40da17445be35bb19bcae0bbfca66a9530a0536a5d373f11a80835e655a3af7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL mscompress-1.2.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f727d55c979f560c1d52caed5be84509bc3308b9c32ee3051656ad773415d8fa
BLAKE2b-256 checksum
How to use checksums
ccaac452ccf73ce24b001501de5bf2f46e7ee1e76d618129fc5ff7fbccddabb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL mscompress-1.2.5-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.9 MB
Tags CPython 3.14 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
261a78939a36f346a6297a6a4498b0cf9c9bf0fc28653a6a627560b08ffb09fd
BLAKE2b-256 checksum
How to use checksums
2f5aecd641a67d76854b6afd9fc9c5f45e1d94672d03c50df75137b57698d577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp314-cp314-macosx_11_0_arm64.whl

Download URL mscompress-1.2.5-cp314-cp314-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2cdd333525c1d11d6d9577ffb10f297393b49bbd9d9ed45c970401e6843c8d18
BLAKE2b-256 checksum
How to use checksums
db0bf0377888d17a17f907495f3320a9877d4fa020f072b2175ae5bda5afb68d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp313-cp313-win_amd64.whl

Download URL mscompress-1.2.5-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
3411c23cee868d9ec8475f7af24a82d691439a80395fda9764d04dacca64bed1
BLAKE2b-256 checksum
How to use checksums
5e53bcc304bab30de86565f1b3d91280e3d3fac994d898e91f812ae2a9328374
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL mscompress-1.2.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fb8a3d072ed7019501ce6b0066771c198bae6eb285c65ae228ac7871f47931dd
BLAKE2b-256 checksum
How to use checksums
2ab715083a85bebda5d94d3439811dd890b3bb4ccc723e5fa0f40e91db015cba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL mscompress-1.2.5-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.9 MB
Tags CPython 3.13 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
20dce04148f83e84f590128e14c8e45705258a2342bb760ce0a037f162c6004b
BLAKE2b-256 checksum
How to use checksums
9ad6d447cee1ae2bb32ce58240163e87e66c0fa452914167c5160dd5ca2d865b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp313-cp313-macosx_11_0_arm64.whl

Download URL mscompress-1.2.5-cp313-cp313-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bba5cec2eb5a2ac4308d24c2e92dc1b95510954c33bffccbba813c1341a83c0e
BLAKE2b-256 checksum
How to use checksums
d7b47275a769ed6236928d0e1e6f6ebcba844f4ae2ad2e901b144dcdf1048756
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp312-cp312-win_amd64.whl

Download URL mscompress-1.2.5-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d1370ca20cf32c9eac6c44a6d0295072de6935bdaa36a13ab98091967343da54
BLAKE2b-256 checksum
How to use checksums
a2ffc554187e596418fc046eb5a9e9a60400ae8a85ef0f6d24b2c8934bec3439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL mscompress-1.2.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c2fd228a5db2676ed1c2befe20410b2d7b1f27a5cbc4e82209bd6ae168759fcc
BLAKE2b-256 checksum
How to use checksums
09160bf5b9cff3a7216c895c40315e0135b2ebe5795adfcaaee86493f3bbce66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL mscompress-1.2.5-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.9 MB
Tags CPython 3.12 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
5592a53a34656f2083f979d249ff2beedb6b877bcb69d692994359b90dfae9b5
BLAKE2b-256 checksum
How to use checksums
b390156c68fb102d83d6e8c63b22b4e0a0cb5855d47ea4be6a5669c950a2ada3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp312-cp312-macosx_11_0_arm64.whl

Download URL mscompress-1.2.5-cp312-cp312-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c5d31ae219d15cdcaafcf53e43c12a51b3473a77305ecbaaca6ecfa706fb44b7
BLAKE2b-256 checksum
How to use checksums
d2ace96c4fea464cd583a92283ebc41bc7a65b4e0f086d00dc7698b433a4385f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp312-cp312-macosx_10_13_x86_64.whl

Download URL mscompress-1.2.5-cp312-cp312-macosx_10_13_x86_64.whl
Size 1.4 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
3c9c452449692cf7b6148f5a8aeecbc52fb53606918cbc956ef472ee64bbde2e
BLAKE2b-256 checksum
How to use checksums
20537e33cd9f8356733241b48761ad16677237022787abae0aca4b2a149b2ac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp311-cp311-win_amd64.whl

Download URL mscompress-1.2.5-cp311-cp311-win_amd64.whl
Size 1.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f1347629c50bfebe58dd5aa3fb8eb38187ac4e274460960637e40ab5f12335c1
BLAKE2b-256 checksum
How to use checksums
0aad4afada280174b5245c1bb4cd4eb91134529a730b45f835ce40bdc1e112a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL mscompress-1.2.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c671ed27772142db08ba7f2b737610877ee83bc6b51a376ab8f18ee9e1bbd34b
BLAKE2b-256 checksum
How to use checksums
64005417760b676c0051e93942643589d1f21d6545ed59822be54a5ed46bac93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL mscompress-1.2.5-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.9 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8c31830b57c283f3a6f55f8a92c085bcc9bdaff29c98bb99577ccdaf422cc568
BLAKE2b-256 checksum
How to use checksums
10affa5f4d3932368ce6cb869bdb6455b9bef7106e750232e45322740bfbb51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL mscompress-1.2.5-cp311-cp311-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9486ca4ca78b0cd8fa99d19012d67c50c6b83a9edf1a9deb9596a519541f16e4
BLAKE2b-256 checksum
How to use checksums
b5efef616884902a37285adaf8c449ef906e2a230942069c13d925744512ed6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / mscompress-1.2.5-cp311-cp311-macosx_10_9_x86_64.whl

Download URL mscompress-1.2.5-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.4 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
bb0402fc175e86b201cd7c1981c4e1447d230599b40215bdf14af167002f6d82
BLAKE2b-256 checksum
How to use checksums
bb32d179e65d9dccee5fa3b88506c8e5a5aa3b86930762effabec7489afe705e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Security for mscompress 1.2.5

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 19 files in this release have been uploaded with provenance metadata.

Select from 19 files

Attestation for mscompress-1.2.5.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 Dec 1, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

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