Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Build Status PyPI

bluemvmt-gsf

Decode Generic Sensor Format (GSF) files into Pydantic models.

bluemvmt-gsf wraps a bundled, JSON-enabled libgsf 3.11 shared library with ctypes and exposes typed Python records that are easier to work with than a raw C binding.

Platform support

  • OS: Linux only

  • Architectures: x86_64 and aarch64

  • Python: 3.11+

  • Native library: GSF / libgsf 3.11 only

  • glibc: the bundled binaries require glibc 2.33+ (for example Ubuntu 22.04+)

Older on-disk GSF files remain readable through libgsf 3.11 compatibility paths. Windows and macOS native libraries are not provided.

Installation

From PyPI:

pip install bluemvmt-gsf

For local development with Poetry:

poetry install --with dev,docs

Usage

Decode records from a GSF file:

from bluemvmt_gsf.libgsf import GsfFile
from bluemvmt_gsf.models import RecordType, deserialize_record

with GsfFile("survey.gsf", include_denormalized_fields=True) as gsf:
    for raw in gsf.next_json_record():
        record = deserialize_record(raw)
        print(record.record_type, record.timestamp)

Filter to swath bathymetry pings:

with GsfFile("survey.gsf") as gsf:
    for raw in gsf.next_json_record(
        desired_record=RecordType.GSF_RECORD_SWATH_BATHYMETRY_PING
    ):
        ping = deserialize_record(raw).json_record
        print(ping.number_beams, ping.sensor_name)

Flattened JSON is also supported:

from bluemvmt_gsf.models import deserialize_flattened_record

with GsfFile("survey.gsf", flatten=True) as gsf:
    for raw in gsf.next_json_record():
        print(deserialize_flattened_record(raw))

Development

Install pre-commit hooks once:

poetry run pre-commit install

Run the test suite:

poetry run pytest

Build documentation:

poetry run sphinx-build -b html docs docs/_build/html

Build distribution artifacts:

poetry build

The resulting wheel and sdist include both libgsf-x86_64-03.11.so and libgsf-aarch64-03.11.so.

License

MIT. See LICENSE.txt.

Metadata

Release files for bluemvmt-gsf 0.5.0rc1

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

Source distribution (sdist)

Source distribution for bluemvmt-gsf 0.5.0rc1
File Size Uploaded Provenance Actions
bluemvmt_gsf-0.5.0rc1.tar.gz 203.4 kB With provenance Details for bluemvmt_gsf-0.5.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bluemvmt-gsf 0.5.0rc1
File Interpreter ABI Platform Actions
bluemvmt_gsf-0.5.0rc1-py3-none-any.whl Python 3 none any Details for bluemvmt_gsf-0.5.0rc1-py3-none-any.whl

Total release size: 408.4 kB

Release files / bluemvmt_gsf-0.5.0rc1.tar.gz

Download URL bluemvmt_gsf-0.5.0rc1.tar.gz
Size 203.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a624083a9a5347cae7bbd6cfb835d19b4f4dcf221bbd0efddeb1bc064a9a269b
BLAKE2b-256 checksum
How to use checksums
aa78beb5d22506036e8040f57da4c5b177d3dc03445ebb9bf60a354ef0d61a26
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 Jul 31, 2026.

Transparency log

Release files / bluemvmt_gsf-0.5.0rc1-py3-none-any.whl

Download URL bluemvmt_gsf-0.5.0rc1-py3-none-any.whl
Size 204.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
448cebe29ac1a005ca41bf378d49e215a831d0f64b6fffeaa25e79b4d6e9e985
BLAKE2b-256 checksum
How to use checksums
13c3f3a8bfb9730a1e221343328730b6bbceed82eac87b44ada9214a06eb9981
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 Jul 31, 2026.

Transparency log

Security for bluemvmt-gsf 0.5.0rc1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bluemvmt_gsf-0.5.0rc1.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 Jul 31, 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