Skip to main content

gwyddionpy

Read any raw scanning probe microscopy (SPM) file that Gwyddion supports — around 170 vendor formats — into Python as NumPy arrays plus metadata dictionaries. Pure Python: the parsing is done by the gwyconvert helper binary, run as a subprocess.

import gwyddionpy

data = gwyddionpy.load("scan.spm")
data.channels["Height"].data      # numpy array, physical values
data.metadata                     # vendor metadata
data.to_json("scan.json")         # metadata only, no pixel data
data.to_hdf5("scan.h5")           # optional: pip install 'gwyddionpy[hdf5]'

gwyconvert is installed separately, most simply with pip install "gwyddionpy[converter]". See the repository README for the other options and for the licensing split (this package is Apache-2.0; the converter is GPL-2.0-or-later).

Metadata

Release files for gwyddionpy 0.1.0

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

Source distribution (sdist)

Source distribution for gwyddionpy 0.1.0
File Size Uploaded
gwyddionpy-0.1.0.tar.gz 26.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwyddionpy 0.1.0
File Interpreter ABI Platform
gwyddionpy-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.6 kB

Release files / gwyddionpy-0.1.0.tar.gz

Download URL gwyddionpy-0.1.0.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
13ec0b5df93f7b05ff323451b5fcdc642595b200fe71b73be0b5cc0499c4b856
BLAKE2b-256 checksum
How to use checksums
befafb63271d4cbe24bcf1b30a0a533a3dd02934eee550c4a445a3882164383b
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 12, 2026.

Transparency log

Release files / gwyddionpy-0.1.0-py3-none-any.whl

Download URL gwyddionpy-0.1.0-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a68209308e7e91e41222e9fe4d42e0a0eaf58a87e08294aaec5ce69e39242801
BLAKE2b-256 checksum
How to use checksums
72148a7cf50350ff31dd407cbb9bb95c700bb8475ac49769d081a25ae28f073b
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 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.19

2 release files

0.0.18

2 release files

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