Conda package stats CLI
Project description
A command-line tool and Python library to query download statistics for conda packages from the Anaconda public dataset.
Features
Query overall download counts for any conda package
Filter by time period (specific month or date range)
Group statistics by platform, Python version, package version, or data source
Support for multiple packages in a single query
Works with historical data from 2017 onwards
Installation
Using conda / mamba / pixi (recommended):
conda install -c conda-forge condastats # or mamba install -c conda-forge condastats # or pixi add condastats # or, to install as a global tool pixi global install condastats
Using pip / uv / pipx:
pip install condastats # or uv pip install condastats # or, run without installing uvx condastats overall pandas --month 2024-01 pipx run condastats overall pandas --month 2024-01 # or, install as a global tool pipx install condastats
Usage
Command Line
Get overall download counts for a package:
condastats overall pandas --month 2024-01
Get downloads grouped by platform:
condastats pkg_platform numpy --month 2024-01
Get downloads grouped by data source (anaconda vs conda-forge):
condastats data_source scipy --month 2024-01
Query multiple packages:
condastats overall pandas numpy dask --month 2024-01
Python API
from condastats import overall, pkg_platform, data_source
# Get total downloads for pandas in January 2024
downloads = overall("pandas", month="2024-01")
print(downloads)
# Get downloads by platform
by_platform = pkg_platform("pandas", month="2024-01")
print(by_platform)
# Get downloads over a date range
downloads = overall("numpy", start_month="2024-01", end_month="2024-06")
print(downloads)
Documentation
Full documentation is available at https://condastats.readthedocs.io
License
Free software: BSD-3-Clause license
Credits
Created by Sophia Man Yang.
Maintained by the conda-incubator community.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file condastats-0.4.2.tar.gz.
File metadata
- Download URL: condastats-0.4.2.tar.gz
- Upload date:
- Size: 181.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0ffc117851000d7e4dae9ad611d4cc8a1d3f6e4c0479aa66340e014209c0b1f
|
|
| MD5 |
c52feef55bf466f4ec3f3c78b640d682
|
|
| BLAKE2b-256 |
a3d027d1b4d27e1021a7ac7f14f4de5f43c1ca6050e89518a108aa8c02eee038
|
Provenance
The following attestation bundles were made for condastats-0.4.2.tar.gz:
Publisher:
publish-to-pypi.yml on conda-incubator/condastats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
condastats-0.4.2.tar.gz -
Subject digest:
c0ffc117851000d7e4dae9ad611d4cc8a1d3f6e4c0479aa66340e014209c0b1f - Sigstore transparency entry: 924796696
- Sigstore integration time:
-
Permalink:
conda-incubator/condastats@2b1d668696f605e254043fea20c2b58c182561f1 -
Branch / Tag:
refs/tags/0.4.2 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@2b1d668696f605e254043fea20c2b58c182561f1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file condastats-0.4.2-py3-none-any.whl.
File metadata
- Download URL: condastats-0.4.2-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78ba708f32653d90cb615323bd28b1bacfc4fb87819516259e312f073b8790c0
|
|
| MD5 |
647526186b44523c6a6489bf64bce7e0
|
|
| BLAKE2b-256 |
72b38aed349e255d27e00a95933235633958770e895ede20a177698f548a517f
|
Provenance
The following attestation bundles were made for condastats-0.4.2-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on conda-incubator/condastats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
condastats-0.4.2-py3-none-any.whl -
Subject digest:
78ba708f32653d90cb615323bd28b1bacfc4fb87819516259e312f073b8790c0 - Sigstore transparency entry: 924796741
- Sigstore integration time:
-
Permalink:
conda-incubator/condastats@2b1d668696f605e254043fea20c2b58c182561f1 -
Branch / Tag:
refs/tags/0.4.2 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@2b1d668696f605e254043fea20c2b58c182561f1 -
Trigger Event:
push
-
Statement type: