Skip to main content

pxseek

Query, filter, and retrieve proteomics dataset metadata from ProteomeXchange.

Python 3.12-3.14 v0.5.1 Beta CI 302 tests passed MIT

Changelog Citation Wiki

pxseek replaces the original Selenium-based web scraper with a clean, API-driven approach using the ProteomeCentral bulk TSV and per-dataset XML endpoints. No browser or ChromeDriver required.

pxseek has three core commands.

  • fetch downloads the clean summary table.
  • filter narrows that table by metadata.
  • lookup fetches richer XML-derived metadata for a shortlist.

Installation

Requires Python 3.12-3.14.

pip install pxseek

Or with uv:

uv tool install pxseek

For development setup and source checkout, see the Installation guide.

CLI Quickstart

The shortest useful workflow is:

uv run pxseek fetch -o px_datasets.tsv
uv run pxseek filter -i px_datasets.tsv -s "Homo sapiens" -k "cancer" -o shortlist.tsv
uv run pxseek lookup --input shortlist.tsv -o detailed.tsv

One rule matters most. filter expects the cleaned artifact written by pxseek fetch, not the raw ProteomeCentral export.

If you want machine-friendly outputs, use --format json or -o - and keep the rest of the workflow the same. The detailed format and pipeline behavior live in the docs.

Python API

pxseek is CLI-first, but it exposes a small stable workflow API for code that should not shell out to the CLI.

from pxseek import fetch_datasets, filter_datasets, lookup_datasets

summary = fetch_datasets().df
filtered, _ = filter_datasets(summary, species="Homo sapiens", keywords="cancer")
details = lookup_datasets(filtered["dataset_id"]).df

The supported root imports are fetch_datasets(), filter_datasets(), lookup_datasets(), read_artifact(), render_artifact(), and write_artifact().

Documentation

More detailed documentation and examples live in the GitHub wiki.

Development

The local development workflow matches CI.

uv sync --extra dev
uv run --extra dev pytest
uv run --extra dev ruff check src/ tests/
uv run --extra dev ruff format --check src/ tests/
uv build

Legacy

The original single-file Selenium scraper is preserved in legacy/proteomeXchange_scraper.py for reference.

Citation

If you use pxseek in your work, please cite it:

@software{pxseek2026,
  title = {pxseek: Query, filter, and retrieve proteomics dataset metadata from ProteomeXchange},
  author = {Enes K. Ergin and Kimia Rostin and Philipp F. Lange},
  year = {2026},
  url = {https://github.com/LangeLab/pxseek},
  version = {0.5.1},
}

A CITATION.cff file is also available in the repository root.

License

MIT License. See LICENSE for details.

Metadata

Release files for pxseek 0.5.1

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

Source distribution (sdist)

Source distribution for pxseek 0.5.1
File Size Uploaded Provenance Actions
pxseek-0.5.1.tar.gz 62.8 kB With provenance Details for pxseek-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 89.8 kB

Release files / pxseek-0.5.1.tar.gz

Download URL pxseek-0.5.1.tar.gz
Size 62.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0eacbeca9a3feb9ab4ee0b9ca94afc2aa4145a2977acecde6d107e85ac366b58
BLAKE2b-256 checksum
How to use checksums
24c8ac820471c38d7af97eafe9ca0615f7523c14a0bdaa493c5995ab7011928d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 May 25, 2026.

Transparency log

Release files / pxseek-0.5.1-py3-none-any.whl

Download URL pxseek-0.5.1-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0ec67424eb286138a94f91e6da420d542969a5392c667ca32f7184fa4bf7c59
BLAKE2b-256 checksum
How to use checksums
a35ada52ac80c96a1d4bdeb1a47643f925f94ea908154566425c39e34bf6c32d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 May 25, 2026.

Transparency log

Security for pxseek 0.5.1

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 pxseek-0.5.1.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 May 25, 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.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files Full provenance

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