skillfed

pephubclient

PEPhub command line interface.

pephubclient v0.6.0 118.1K downloads/30d#12,132 on PyPI
Permissive license BSD2 Active released

What it is and what it does

PEPHubClient is a client library and command-line tool for interacting with PEPhub, a bioinformatics project metadata repository. It lets you push (upload) and pull (download) project configurations and sample metadata to and from PEPhub, with built-in support for authentication via device-code flow or JWT tokens. The tool is designed for bioinformatics workflows where project metadata needs to be centrally managed and shared.

The package wraps HTTP requests to PEPhub behind a Python API and CLI commands, handling credential caching in a local directory and supporting both public and private projects. It depends on typer for CLI scaffolding, peppy for project parsing, pydantic for validation, and pandas for data handling. Authentication is optional for public projects but required to upload or access private projects.

Use it for:

  • Upload bioinformatics project configurations and sample metadata to a shared PEPhub repository for team collaboration.
  • Download project metadata from PEPhub to a local machine for reproducible analysis workflows.
  • Authenticate and manage private project access using device-code or token-based login.
  • Integrate project metadata synchronization into bioinformatics pipelines via Python API calls.
  • Switch between multiple PEPhub instances by setting environment variables or login URLs.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PEPHubClient provides a Python API and command-line interface to upload and download bioinformatics project metadata to and from PEPhub, with support for authentication and private projects.

Yes, if you work with PEPhub or bioinformatics project metadata management. The package is actively maintained, has low install friction, carries a permissive BSD2 license, and has no known vulnerabilities. It is in alpha status, so expect potential API changes; verify that the CLI and Python API meet your integration needs before committing to production use.

Install

pephubclient on PyPI

pip

pip install pephubclient

uv

uv add pephubclient

poetry

poetry add pephubclient

Installing pephubclient

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with a release 9 days ago. Depends on 8 runtime packages including typer for CLI, peppy for project handling, and pydantic for validation.

License in practice

BSD2 license is permissive, allowing commercial use, modification, and redistribution with minimal restrictions.

Quickstart

pip install pephubclient

from pephubclient import PEPHubClient

client = PEPHubClient()
client.pull('namespace/project_name')

Requires authentication via device-code flow or JWT token to access private projects; set PEPHUB_BASE_URL environment variable to use a custom PEPhub instance.

Verify before relying

  • Whether the Python API is fully documented or if CLI is the primary interface.
  • Performance characteristics when working with large project metadata or many projects.
  • Compatibility with different PEPhub instance versions.

Package facts

License BSD2 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 8 — typer, peppy, requests, pydantic, pandas, ubiquerg, coloredlogs, toml
Maintenance actively maintained — 9 days since the last release
First released
Downloads 118,125/month — #12,132 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pephubclient-0.6.0-py3-none-any.whl

Keywords: project, bioinformatics, metadata

Development Status :: 3 - AlphaLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Bio-Informatics

Tags

bioinformatics project metadata managementpephub client cliupload download project configbioinformatics data repositoryproject registry sync tool
bioinformaticsmetadata-managementcli-tool

More Bio-Informatics packages