Skip to content

Conversation

@DamianMaslanka5
Copy link

Some time ago I looked for similar information and I was not able find any data which clearly shows how popular uv really is.
Stars on github don't always translate into real world usage.

I think this chart might be useful for other people deciding if they should replace pip with uv

Current sql query is slow (10s), so new table only for this query is needed.

SELECT toStartOfWeek(date) AS x, installer AS name, sum(count) AS y
FROM pypi.pypi_downloads_per_day_by_version_by_installer_by_type
WHERE date > toStartOfMonth(now() - toIntervalMonth(18)) and x != toStartOfWeek(now()) AND installer IN ('pip', 'uv', 'poetry')
GROUP BY x, name
ORDER BY x ASC

New table

CREATE OR REPLACE TABLE pypi.pypi_downloads_per_day_by_installer
(
    `date` Date,
    `installer` String,
    `count` Int64
)
ENGINE = SummingMergeTree
ORDER BY (date, installer)

image

@vercel
Copy link

vercel bot commented Nov 26, 2025

@DamianMaslanka5 is attempting to deploy a commit to the ClickHouse Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant