pypvfs
pypvfs is the PyPI package name for Pinnacle Technology PVFS — a virtual filesystem format used for physiological recordings. It is not the historical HPC “Parallel Virtual File System” or other unrelated uses of the “PVFS” acronym.
Install from PyPI, then import the pvfs_tools package:
pip install pypvfs
from pvfs_tools.Core.pvfs_data_file import PvfsDataFile
pvfs_tools provides:
pvfs_tools.Core— low-level PVFS access viactypesand bundled native libraries (pvfs.dll/pvfs_wrapper.dllon Windows,libpvfs.so/libpvfs_wrapper.soon Linux).pvfs_tools.Database— higher-level helpers for experiment databases (SQLAlchemy-backed).
Runtime dependencies are listed in pyproject.toml (numpy, pydantic, SQLAlchemy, Pillow).
Supported platforms (PyPI wheels)
Published wheels target 64-bit x86 only:
| Platform | Wheel tag (typical) |
|---|---|
| Linux | manylinux_2_28_x86_64 |
| Windows | win_amd64 |
Wheels are tagged py3-none-…: one wheel per OS covers Python 3.10+ on that OS (the native code does not link against libpython).
There is no published wheel today for macOS, Linux ARM, musl (Alpine), or 32-bit Windows. On those environments, install from the sdist or a git checkout so the native libraries are built locally (see below).
Optional extras
| Extra | Installs | Use case |
|---|---|---|
video |
av (PyAV) |
WebM / VP8 export (WebMWriter and the video example GUI). |
examples |
pyedflib, av |
Tk GUIs that need both EDF export and video/WebM paths. |
test |
pytest, av |
Run the project test suite locally. |
Examples:
pip install "pypvfs[video]"
pip install "pypvfs[examples]"
pip install -e ".[test]" # from a clone: editable install + tests
Native library and building from source
From a wheel: native libraries are already built and installed under pvfs_tools.Core. No compiler is required.
From source (sdist or git clone): the build uses scikit-build-core and CMake to compile pvfs.cpp and pvfs_wrapper.cpp. You need:
- CMake ≥ 3.15 (often pulled into the build environment automatically)
- A C++17 toolchain (
g++/clang++on Linux, MSVC on Windows)
pip install ".[test]"
pytest
Editable installs: python -m pip install -e . builds and installs the native
libraries while loading Python code from src/pvfs_tools/. The binding searches
the installed package path for native libraries before checking the source tree.
Python edits apply immediately; after C++ edits, rerun the install command and
restart Python to load the rebuilt libraries.
On Windows, the default Visual Studio build needs the Desktop development with
C++ workload and a complete Windows SDK. If CMake reports no C++ compiler even
though Visual Studio is installed, check CMakeFiles/CMakeConfigureLog.yaml in
the build directory. Missing ucrtd.lib or ucrt/stdio.h indicates incomplete
SDK components; repair/reinstall the SDK through Visual Studio Installer.
Alternatively, select an installed LLVM-MinGW compiler explicitly with Ninja. Use a separate build directory when switching away from Visual Studio, and replace the compiler path below with your installation:
$env:CMAKE_GENERATOR = "Ninja"
python -m pip install -e . `
"--config-settings=build-dir=build/editable-clang" `
"--config-settings=cmake.define.CMAKE_CXX_COMPILER=C:/path/to/llvm-mingw/bin/clang++.exe"
Ninja must be available on PATH. This environment setting affects the current
PowerShell session; remove it with Remove-Item Env:CMAKE_GENERATOR before
switching back to Visual Studio.
After updating the native sources or bindings, rebuild both native libraries with the same compiler and runtime. The read-only and overwrite bindings require the updated wrapper; previously built DLLs or shared libraries are not sufficient. MinGW installs include matching runtime DLLs from the compiler's directory.
Native wrapper regression checks can be run alongside pytest:
cmake -S . -B build/native-tests -DPVFS_BUILD_TESTS=ON
cmake --build build/native-tests --config Release
ctest --test-dir build/native-tests -C Release --output-on-failure
Examples (bundled in the wheel)
Runnable scripts are installed under pvfs_tools.examples. After pip install pypvfs you can use the pypvfs-examples command on your PATH, or run modules with python -m:
| Module | Suggested install | Description |
|---|---|---|
pvfs_tools.examples.pvfs_create_cli |
base package | CLI: synthetic PVFS file |
pvfs_tools.examples.pvfs_to_edf_converter |
pypvfs[examples] (needs pyedflib) |
Tk: PVFS → EDF+ |
pvfs_tools.examples.pvfs_to_video_converter |
pypvfs[video] or pypvfs[examples] (needs av) |
Tk: PVFS video → WebM |
pypvfs-examples --list
python -m pvfs_tools.examples.pvfs_create_cli --help
The same .py files also live under examples/ in the repository for browsing in GitHub.
Documentation and source
- PyPI shows this README; the BSD 3-Clause license text is included in package metadata (see the
LICENSEfile in the installed.dist-info/ sdist). - Library usage (detailed): docs/USAGE.md — workflows, APIs, and patterns; not in the wheel; browse on GitHub or in a clone. Written to match
tests/test_pvfs.py. - Source and issues: github.com/Pinnacle-Technology-Inc/pypvfs (also set as
Repository/Documentationinpyproject.tomlforpip show/ PyPI links). - Releases (maintainers): see docs/RELEASE.md in the repo — not installed into
site-packages.
Publishing (maintainers)
Routine releases use GitHub Actions and PyPI trusted publishing (OIDC), not ad-hoc twine from a laptop.
- Bump
versioninpyproject.tomland commit. - Create and push a tag whose name starts with
v(e.g.git tag v1.0.6 && git push origin v1.0.6). - Confirm the Publish to PyPI workflow ran for that tag (or run it manually from the Actions tab).
That workflow uses cibuildwheel on Linux and Windows to build the platform wheels and uploads wheels plus the sdist. Details: docs/RELEASE.md.
Metadata
Release files for pypvfs 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypvfs-1.0.8.tar.gz | 20.0 MB | With provenance | Details for pypvfs-1.0.8.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypvfs-1.0.8-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for pypvfs-1.0.8-py3-none-win_amd64.whl |
| pypvfs-1.0.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details for pypvfs-1.0.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
Total release size: 20.7 MB
Release files / pypvfs-1.0.8.tar.gz
| Download URL | pypvfs-1.0.8.tar.gz |
|---|---|
| Size | 20.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcc9dd6a95e99571a5275e87e0c6021f9e5f4078ce8941c958e11960792f64d6
|
|
BLAKE2b-256 checksum How to use checksums |
460d6ca7417192317852872cbe04498fd746272bcb3d4454c9a2c0ff03cf5fa9
|
| 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 Oct 27, 2026.
Transparency logRelease files / pypvfs-1.0.8-py3-none-win_amd64.whl
| Download URL | pypvfs-1.0.8-py3-none-win_amd64.whl |
|---|---|
| Size | 110.1 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2488c48ccfc7f938279d4f871a522ac2996c6da19991019d08ba595235b51dd5
|
|
BLAKE2b-256 checksum How to use checksums |
3bc29b8384217cf44f86ec8b0e8638b38931125d84ee1756f67a43898bf59fba
|
| 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 Oct 27, 2026.
Transparency logRelease files / pypvfs-1.0.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pypvfs-1.0.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 577.3 kB |
| Tags | Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3784c0a10be980d6def39144c008c26e520b432c533ae858c0136fbd579a3aed
|
|
BLAKE2b-256 checksum How to use checksums |
877be2beecf799f3da7d44c3a717a1b3a1c0b1188ef7f5f52fd2427d031b05f4
|
| 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 Oct 27, 2026.
Transparency logSecurity for pypvfs 1.0.8
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 3 files in this release have been uploaded with provenance metadata.
Attestation for pypvfs-1.0.8.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 Oct 27, 2026.
Transparency logA 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.