Published November 19, 2026
| Version v0.1.0
Software
Open
plasticdb: Python client for the PlasticDB API
Authors/Creators
Description
Server 2.88.0 and 2.89.0 (re-vendored SDK contract, fixtures captured live).
- Security hardening: GitHub Actions are pinned to commit SHAs, Dependabot
keeps them and the dependencies current,
SECURITY.mddescribes private vulnerability reporting, and the TestPyPI release path is gone (publishing is only onv*tags). - Behaviour change:
proteins.get()defaults toview="summary", as the server'sGET /proteins/{ref}does since 2.89.0 (the SDK sentfullbefore). The summary leavesinteractions,indirect_interactions,variants,kineticsandpropertiesempty and gives their sizes inProtein.counts(Protein.viewsays which view you have); ask forview="full"to embed them (up to 12.5 MB for a well-studied enzyme), or page them withproteins.interactions(),.variants(),.kinetics(),.properties(). - New flat evidence lists across the whole database (all pinnable):
client.evidence.interactions.list(**filters)/.get(id),client.evidence.experiments.list/getandclient.evidence.observations.list/get, typed asInteractionRecord,ExperimentRecordandObservationRecord, withto_pandas()/to_polars(). Filters:plastic(+include_subtypes),plastic_id,microorganism,protein,evidence_level,paper_id,doi,polarity,evidence_method,substrate_form,measurement_type,has_quantitative; experiments alsointeraction_id, observationsinteraction_idandexperiment_id. The existing per-protein callclient.evidence.interactions("PBFCTW")keeps working unchanged (it is the same object, now callable). CLI:evidence interaction-records|experiments|observationsandevidence interaction|experiment|observation ID. proteins.interactions(evidence_level=)(all,direct,indirect) replaceskind=, which still works but emits aDeprecationWarningand is never sent together withevidence_level. CLI:--evidence-level;--kindis hidden and deprecated.proteins.list(include_sequence=True)(andvariants.list) adds each item'ssequence.to_fasta()/to_biopython()of a protein list use it: one request series instead of a second FASTA download, also on a pinned client (a server that ignores the parameter falls back to the download).POST /tree/buildneeds an API key (2.88.0):jobs.build_tree()always did; the contract no longer lists an anonymous option, and a contract test pins it.- Zenodo DOI (10.5281/zenodo.24352328) in the README, docs and
CITATION.cff. - Fixed:
jobs submit --idempotency-keyon a replay prints only the "already submitted" line, no longer also "Submitted ... job".
Notes
Files
VictorGambarini/plasticdb-py-v0.1.0.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/VictorGambarini/plasticdb-py/tree/v0.1.0 (URL)
Software
- Repository URL
- https://github.com/VictorGambarini/plasticdb-py