Skip to main content

pse — Python Search Engine

Find Python packages across PyPI, Conda channels, and other compatible indexes.

pse is a cross-source command-line Python package search tool. It searches Python packages without installing packages or using a package manager at runtime.

Features

  • Search PyPI by default, or select exact PyPI and Conda sources.
  • Detect PyPI-compatible indexes and Conda channels from source URLs.
  • Produce human-readable tables or structured JSON.

Usage

Using pse on-the-fly

You can run pse directly with uvx, pipx or pixi exec without a permanent install.

uvx
uvx pse pkg
pipx
pipx run pse pkg
pixi exec
pixi exec -s uv uvx pse pkg

Installing pse for repeated use

You can install pse as global command with uv tool install for repeated use:

uv tool install pse
pse pkg

Use-cases

Search PyPI by default:

pse pkg

Search only conda-forge:

pse pkg --source conda-forge

Search a PyPI-compatible source URL:

pse pkg --source https://download.pytorch.org/whl/cu126

Search a Conda channel URL:

pse pkg --source https://conda.anaconda.org/bioconda

Use multiple exact sources:

pse pkg --source pypi --source conda-forge --source https://download.pytorch.org/whl/cu126

Sources

PyPI

pse searches the PyPI Simple API by default. The pypi source name and source URLs that expose a compatible Simple index, such as the PyTorch wheel index, use the PyPI adapter.

Conda

pse searches Conda only when conda-forge or a detected Conda source URL is selected. It reads current_repodata.json.bz2 for the selected channel and platform, and also searches noarch unless the requested platform is already noarch.

The built-in conda-forge source maps to conda.anaconda.org. Full channel URLs are detected automatically; source URLs must point to channel roots.

The reduced current_repodata metadata is fast, but it may not contain every historical Conda package version.

JSON output

pse can produce structured JSON output for programmatic consumption and agent friendly use. The JSON output contains a results array with one entry per source. Each entry contains the source name, package name, and an array of available versions:

{
  "query": "torch",
  "platform": "win-64",
  "results": [
    {
      "source": "pypi",
      "name": "torch",
      "versions": [
        {
          "version": "2.13.0",
          "build": null,
          "platform": null
        }
      ]
    }
  ]
}

If a source fails, an errors array is added to the document.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pse-0.1.3.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pse-0.1.3-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file pse-0.1.3.tar.gz.

File metadata

  • Download URL: pse-0.1.3.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pse-0.1.3.tar.gz
Algorithm Hash digest
SHA256 692b7dbc70cf5563081d27ac178e9d27a6a8fad0f558cab2eccc647445df2810
MD5 7e8d8c8828027a95a38836ee97ead297
BLAKE2b-256 5679be37117c316ca6e73f12381a31ad5b3553ee008194c7c6529beeb83c6d5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pse-0.1.3.tar.gz:

Publisher: ci-cd.yml on mdonmez/pse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pse-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pse-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pse-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da8c6e4406691cb86899232172fd1ea8a2b16c87c81de16bf8ece90d02e16786
MD5 c7aae299168233aa40ed0252d7751e3a
BLAKE2b-256 4280f2eb91c6440fec97b082ba48c83e53eb26cd43a0c859f8e1a4e54059ad6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pse-0.1.3-py3-none-any.whl:

Publisher: ci-cd.yml on mdonmez/pse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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