Skip to main content

Overview

docs

Read the Docs Status

tests

GitHub Actions Build Status Coverage Status

package

PyPI Package latest release PyPI Wheel Supported versions Supported implementations Commits since latest release

Small standalone package with only built-in dependencies for parsing plip report to csv and create command scprit for ChimeraX

  • Free software: BSD 2-Clause License

Installation

pip install python-pliparser

You can also install the in-development version with:

pip install https://github.com/EtienneReboul/python-pliparser/archive/main.zip

Documentation

https://python-pliparser.readthedocs.io/en/latest/index.html

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.1.5 (2026-08-21)

  • Added --label-residues flag to csv2cxc to add ChimeraX text labels (residue type, number, and chain) on every receptor and ligand residue involved in an interaction. Available on both the CLI and the JSON config ("label_residues": true).

  • Fixed --label-residues being silently ignored whenever --config (JSON) was also provided; the flag now overrides the config’s value on both the CLI and the Python API (run_csv2cxc_with_config).

  • Fixed water-bridge marker placement: the water marker position is now read directly from PLIP’s own WATERCOO column instead of being reconstructed from distances and an angle that do not describe the same triangle, which could raise a spurious “Inconsistent water-bridge geometry” error on real PLIP reports.

  • Fixed water-bridge pseudobonds incorrectly connecting ligand directly to receptor instead of forming the ligand-water and water-receptor bridge.

  • Fixed marker sets colliding with ChimeraX’s own per-structure label overlay (both claimed sub-model #1.1), which aborted the rest of the generated .cxc script whenever --label-residues was used; marker sets now live in a reserved top-level model range instead of nesting under the receptor structure.

  • Extended CI integration tests with a curated set of 14 PDB structures from PLIP’s own test suite, covering every PLIP interaction type plus DNA-ligand, RNA-only-receptor, RNA-receptor-with-protein-ligand (explicit --chains/--dnareceptor), peptide-ligand, and NMR-ensemble scenarios.

  • Removed the old single-structure (9kbz) integration job now that the curated matrix covers the same ground, and rewrote docs/usage.rst’s CI walkthrough to use commands taken directly from the matrix jobs.

  • Fixed sphinx-build -b linkcheck stalling for minutes retrying rate-limited github.com links from CI; those links are now skipped by the docs link checker.

0.1.4 (2026-06-03)

  • Added --interaction-types flag to csv2cxc to restrict output to a subset of interaction types (e.g. exclude hydrophobic interactions and hydrogen bonds). The flag is available on both the CLI and the Python API (write_cxc_file, run_csv2cxc_with_config).

  • Fixed write2csv to write the interaction_type column in per-interaction CSV files and the summary, making it consistent with plip2csv_stream.

  • Removed taplo-lint pre-commit hook whose remote schema-catalog fetch was broken in v0.9.3, unblocking the check CI job.

  • Added .pre-commit-config.yaml and .taplo.toml to the CI path triggers so linting-config changes are validated automatically.

  • Extended integration tests with a filtered-CXC use case that verifies hydrophobic and hydrogen bond interactions are absent from the output.

  • Updated usage documentation with an --interaction-types example.

0.1.3 (2026-04-15)

  • Fix pi-cation interaction handling in the CSV-to-CXC conversion workflow, ensuring correct annotation and pseudobond styling.

  • Simplify pseudobond management logic by updating pbond dataclasses.

0.1.2 (2026-04-08)

  • Expanded metal-binding handling and interaction rendering in the CSV-to-CXC conversion workflow.

  • Improved pi-stacking processing and pseudobond styling selection using PLIP stacking type hints.

  • Added backward-compatible typing annotations for Python 3.9 compatibility in pi-stacking pseudobond parameter selection.

  • Updated unit tests to cover pi-stacking annotation behavior and related mapping paths.

0.1.1 (2026-04-07)

  • Updated documentation content with detailed end-to-end usage examples (PLIP report -> CSV -> CXC).

  • Added CI-aligned documentation steps, including the Docker command used to generate PLIP reports.

  • Updated README links and badges to reflect Read the Docs hosting and current PyPI project metadata.

0.1.0 (2026-04-07)

  • Published release 0.1.0.

  • Added csv2cxc CLI workflow and end-to-end conversion from PLIP report to CSV to CXC.

  • Updated packaging/distribution metadata for PyPI publication as python-pliparser.

0.0.0 (2026-03-30)

  • First release on PyPI.

Metadata

Release files for python-pliparser 0.1.5

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

Source distribution (sdist)

Source distribution for python-pliparser 0.1.5
File Size Uploaded Provenance Actions
python_pliparser-0.1.5.tar.gz 40.6 kB With provenance Details for python_pliparser-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-pliparser 0.1.5
File Interpreter ABI Platform Actions
python_pliparser-0.1.5-py3-none-any.whl Python 3 none any Details for python_pliparser-0.1.5-py3-none-any.whl

Total release size: 58.6 kB

Release files / python_pliparser-0.1.5.tar.gz

Download URL python_pliparser-0.1.5.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5595946121ecd3f6fbded2cd00f5e56905a0adf6761c65a135077ba6b90f1781
BLAKE2b-256 checksum
How to use checksums
6f72834d41b907d198296852f79d2881d77f97552dab201450e4d4068cad85f5
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 21, 2026.

Transparency log

Release files / python_pliparser-0.1.5-py3-none-any.whl

Download URL python_pliparser-0.1.5-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
720303903a24d40579244d756e9a7d918c12fb2d780eb682c2594d0faf8e1c9e
BLAKE2b-256 checksum
How to use checksums
0b79a283ceaa3fbd5d82ad57f957d22dee84334839b5460a771a2f1862052453
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 21, 2026.

Transparency log

Security for python-pliparser 0.1.5

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 python_pliparser-0.1.5.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 Aug 21, 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