conda-package-streaming
An efficient library to read from new and old format .conda and .tar.bz2 conda packages.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real problem for anyone working with conda packages at scale. The permissive BSD license poses no restriction. Install it if you need efficient metadata extraction from conda packages.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; for .conda format, the file object must be seekable.
- Low friction: pure Python wheel with only two runtime dependencies (requests and backports.zstd).
- Active maintenance with a recent release 67 days ago and ongoing commits.
License · maintenance · safety
permissive license (permissive) — BSD License (permissive): you can use this in commercial or proprietary projects with minimal restrictions, provided you include the license notice.
last release 2026-06-08 (67 days) · last repo commit 2026-08-13 · 14 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 326,776 downloads/mo, #7,573 on PyPI
Alternatives
Verify before relying
from conda_package_streaming.url import stream_conda_info
import json
for tar, member in stream_conda_info(url):
if member.name == "info/index.json":
index_json = json.load(tar.extractfile(member))
break- Whether backports.zstd is available on all target platforms or requires system zstd libraries.
- Performance characteristics when streaming large packages or over high-latency connections.
What it is and what it does
conda-package-streaming is a library for reading conda package archives (.conda and .tar.bz2 formats) without downloading entire files. It uses efficient HTTP range requests (typically 2–3 requests) to fetch only the metadata or specific components you need, and streams tar.bz2 files to avoid loading them into memory. The library exposes a simple API that yields (tarfile, member) tuples, letting you stop reading as soon as you have what you need.
It supports multiple data sources: URLs (HTTP/HTTPS), S3 buckets, local files, and file-like objects. This makes it useful for conda tools, package managers, and CI/CD systems that need to inspect package metadata or extract specific files without the overhead of downloading and decompressing entire packages.
Use it for
- Inspect conda package metadata (dependencies, version info) from a remote repository without downloading the full package.
- Extract specific files from conda packages in CI/CD pipelines to validate or process package contents.
- Stream package information from S3 or HTTP sources in cloud-based conda tooling.
- Build conda package indexing or search tools that need fast metadata access.
- Validate package integrity or contents before deciding whether to download the full archive.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real problem for anyone working with conda packages at scale. The permissive BSD license poses no restriction. Install it if you need efficient metadata extraction from conda packages.
Install
conda-package-streaming on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (requests and backports.zstd). Active maintenance with a recent release 67 days ago and ongoing commits.
Requires Python 3.10 or later; for .conda format, the file object must be seekable.
License in practice
BSD License (permissive): you can use this in commercial or proprietary projects with minimal restrictions, provided you include the license notice.
Quickstart
from conda_package_streaming.url import stream_conda_info
import json
for tar, member in stream_conda_info(url):
if member.name == "info/index.json":
index_json = json.load(tar.extractfile(member))
break
Verify before relying
- Whether backports.zstd is available on all target platforms or requires system zstd libraries.
- Performance characteristics when streaming large packages or over high-latency connections.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestsbackports.zstd |
| Maintenance | Actively maintained 67 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 326,776 / month, #7,573 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: conda_package_streaming-0.13.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “conda package metadata extraction”
- conda-package-streamingReads conda package metadata and contents from .conda and .tar.bz2…
- conda-package-handlingCreate, extract, and convert conda packages in various formats…
- shippinglabelProvides utilities for reading and working with Python package…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also conda-package-handling · metaflow-netflixext · stream-zip · remotezip2 · tzst · remotezip · zipstream-new · json-stream · jupyter-archive · rpmfile