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

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.4
File Size Uploaded Provenance Actions
mscompress-1.2.4.tar.gz 3.0 MB With provenance Details for mscompress-1.2.4.tar.gz

Built distributions (wheels)

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

Total release size: 62.6 MB

Release files / mscompress-1.2.4.tar.gz

Download URL mscompress-1.2.4.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
0e322a5cfaefc804f0855cab4a0b470dfe88bd67ffe195652873556963ee9b6f
BLAKE2b-256 checksum
How to use checksums
106733881400e038527f51282cc5e0e0a1f56d13ca5c09982c5b07f334581325
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp314-cp314-win_amd64.whl
Size 1.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
6d992bdd49d65e6a6311aca588aa68448c7cc8d1b9f447d31c9bd922231fcb3a
BLAKE2b-256 checksum
How to use checksums
0b7fb811a0ef3bf9705920427016478a02084db80553a8503070ff687d360f36
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.1 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2f8cfb6e40a02a06f8d46b16bfbfb4612f540948e0b785028a53793561bae400
BLAKE2b-256 checksum
How to use checksums
c2ba781f47d861a0a90d9792c9783d470519d291b132e9acefa2e6ca700a1d97
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.7 MB
Tags CPython 3.14 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a4efd21c2c432bb83b700ed526c4728b2fdc7727e0104ac74d76989bee6dcfb5
BLAKE2b-256 checksum
How to use checksums
7ee5fefc2007c8435b8d36ac44cd1a9d925c456fb49aa108a8353d3998f1f300
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-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
7b2184f5fd94e03cc532c165f125d6b6df96320650eae9999cdbe48eb757098d
BLAKE2b-256 checksum
How to use checksums
c52b03df8a94f9a29b706c786f359e57ca1b7a2fe41b830febea52959d040f74
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp313-cp313-win_amd64.whl
Size 1.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
bf3399c1eaa5014aa0fe6ff7fe0d9c0a5fc972bbedb362967b82a3a23ce68200
BLAKE2b-256 checksum
How to use checksums
f3c17e33ee72c03682e07ee8066f3ebeaa6a5c84c884feb35c568eeb9853ab23
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.1 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
045f98cf778c8859b75879fcc7df2496799545c5fbd798e5e5c14e23314dcfca
BLAKE2b-256 checksum
How to use checksums
4f331f304b73e756b692a788deda059d67aaef903764228d088ec723b14f4e3f
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.7 MB
Tags CPython 3.13 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8fb6460a1228e98ef00eeb346117b830426f3eac17ffa01612c9a2b12de4617a
BLAKE2b-256 checksum
How to use checksums
a6d8d3902ab5a81dd11b71215ad5f7a60304209994fb7e6f6722359fa98cbb0f
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-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
18fa9766c019aca37ccde889a4dd2151e20065c93bd88d5a11b6eb50c93ee128
BLAKE2b-256 checksum
How to use checksums
5b0db77370a2558070ed9808eac5820f2186eb9a93d0ddfed186c9412e864c67
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp312-cp312-win_amd64.whl
Size 1.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a706446ca4338e94fa4e08911618f4fb08a2062ef267ce0344f2ddd48e5e5464
BLAKE2b-256 checksum
How to use checksums
7fb289da16cfa017245101b5388e8e8d24a02d6d80803b7e4f04ac0b6ce8617d
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.2 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2b47d80624a4e3fb9fd7e45f4507004639448f5bb723b22a1a863c2b983a37ec
BLAKE2b-256 checksum
How to use checksums
7ec4c2f4dbf1a4ba45508faad8baf057d99c6293677a832f2b0ff34e066e78e7
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.7 MB
Tags CPython 3.12 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
202ac7071a6976f216e94a5c13696e816e273897ca1c72b225bc15a2537209da
BLAKE2b-256 checksum
How to use checksums
572630813e8a2328c49e4828f619849ab6b7be70cdac8d268460f11153dbc62f
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-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
4710e7ac99c10bbf4cd94f71aac13cf646e41ce392a0b6e390f86b18d2ebeaae
BLAKE2b-256 checksum
How to use checksums
01b41439999d20075b08f3c72611fe479a4fbd62c028e9c326fa255e71bfac43
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-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
d9cc6b0b5e2ef95eedc3602fd4699ffd5575505edd24818967129c8f416cc6fa
BLAKE2b-256 checksum
How to use checksums
e5b7044cd6744230d416d84defd78de38895e9b99d0634e02ede833da1d076c7
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp311-cp311-win_amd64.whl
Size 1.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e1400a05330e91f4fb88bf1930547681b85de6eeb29da18a5212a8babb7ed3e6
BLAKE2b-256 checksum
How to use checksums
90463bc56dcfb848c05ca50f38b5515ddc273101a595c449a0498e7ec94bdbb1
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.2 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
29beb4ca02b5b1d670e434000e902f42296495656b487f44cb7ac88d50644cbc
BLAKE2b-256 checksum
How to use checksums
446041a6d451f8eb79500e009a31350a93f50386c08d486c5be051c55d9a2d66
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.8 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
9a5e54a34e46fd19009771ea21096a50d718ba236d76c4f799bb27061a6860cb
BLAKE2b-256 checksum
How to use checksums
05062304f98528c7c2ec6018651e5655056839800af369987091050d35935063
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-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
e0d1448b9bc0915754f61cb60c46b1b19972dca0e83e3d2645b90e6819d6beb6
BLAKE2b-256 checksum
How to use checksums
27c3d3f5aa00e53a72f6a1c3d6df5c83d7ca5e6d24ac04331836976a7c82492d
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 Nov 23, 2026.

Transparency log

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

Download URL mscompress-1.2.4-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
99097285d44e922e9eefa478b65d3b7039d2c064f21ebe7ac2aca680ed52d130
BLAKE2b-256 checksum
How to use checksums
908f8c6e143dc2693b09fcd8ec73adf10774811f847c261aa883caac394a1a70
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 Nov 23, 2026.

Transparency log

Security for mscompress 1.2.4

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.4.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 Nov 23, 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.

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