Skip to main content

galvani

Read proprietary file formats from electrochemical test stations.

Usage

Bio-Logic .mpr files

Use the MPRfile class from BioLogic.py (exported in the main package)

from galvani import BioLogic
import pandas as pd

mpr_file = BioLogic.MPRfile('test.mpr')
df = pd.DataFrame(mpr_file.data)

Arbin .res files

Use the ./galvani/res2sqlite.py script to convert the .res file to a sqlite3 database with the same schema, which can then be interrogated with external tools or directly in Python. For example, to extract the data into a pandas DataFrame (will need to be installed separately):

import sqlite3
import pandas as pd
from galvani.res2sqlite import convert_arbin_to_sqlite
convert_arbin_to_sqlite("input.res", "output.sqlite")
with sqlite3.connect("output.sqlite") as db:
    df = pd.read_sql(sql="select * from Channel_Normal_Table", con=db)

This functionality requires MDBTools to be installed on the local system.

Installation

The latest galvani releases can be installed from PyPI via

pip install datalab-org-galvani

The latest development version can be installed with pip directly from GitHub (see note about git-lfs below):

GIT_LFS_SKIP_SMUDGE=1 pip install git+https://github.com/datalab-org/galvani-mirror

Development installation and contributing

If you wish to contribute to galvani, please clone the repository and install the testing dependencies:

git clone git@github.com:datalab-org/galvani-mirror
cd galvani
pip install -e .\[tests\]

Code can be contributed back via GitHub pull requests and new features or bugs can be discussed in the issue tracker. It may also be useful to check the original issue tracker for galvani.

Metadata

Release files for datalab-org-galvani 0.6.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 datalab-org-galvani 0.6.0
File Size Uploaded
datalab_org_galvani-0.6.0.tar.gz 56.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datalab-org-galvani 0.6.0
File Interpreter ABI Platform
datalab_org_galvani-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 84.4 kB

Release files / datalab_org_galvani-0.6.0.tar.gz

Download URL datalab_org_galvani-0.6.0.tar.gz
Size 56.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3a11cc0bcf4082b94659b918a74880cf6811a0f24aec4d2eef40e3b091fa0fa9
BLAKE2b-256 checksum
How to use checksums
849e601e4ae8dd8f678930bcdccd5e36a9926e692cec66bdb898797f95d2214e
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 Oct 16, 2026.

Transparency log

Release files / datalab_org_galvani-0.6.0-py3-none-any.whl

Download URL datalab_org_galvani-0.6.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43e23806396833d3972a7b08d55c92b2019076e6e7c1db67a29f51b126e2e475
BLAKE2b-256 checksum
How to use checksums
06f03c834142bdc8a2cf28ffd30aa4b9f5e909be6f80f0ae417c71c95b3e66db
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 Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

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