Weekly Hugging Face adoption tracker in Google Sheets

By General Input

Every Monday, log downloads and likes for every model and dataset your organization publishes into a spreadsheet, so you can chart growth over time.

Integrations

  • Hugging Face
  • Google Sheets

Type

Deterministic Code

Categories

  • Operations
  • Product

Every Monday at 6am, snapshot the adoption numbers for every model and dataset my organization publishes on Hugging Face into a Google Sheets tracker, so we can watch growth over time. Run this on a weekly cron trigger. It is fully deterministic: two list calls, a fixed field mapping, and one append, with no judgement needed at any step.

Start with the Hugging Face List Models operation, setting the author filter to our organization namespace and requesting full metadata, so that download counts, like counts, and last modified dates come back on every record. Then run List Datasets with the same author filter and the same full metadata request. Together those two calls give me every repo we own.

Both list endpoints are cursor paginated. Pass a limit and then follow the Link response header's rel=next URL until it is absent, so an organization with more repos than fit on a single page is still captured in full. Do not assume one page is enough.

For every repo returned across both calls, build one row containing the run date, the repo id, the repo type (model or dataset), the download count, the like count, and the last modified date. Write those rows into the tracker tab using the Google Sheets Append Values operation, appending beneath whatever is already there so each week's snapshot stacks under the previous one and the tab becomes a time series.

Two rules keep the tab usable. First, keep the column order identical on every single run, because the charts and pivot tables built on this tab depend on that order staying stable. Second, when a repo reports no downloads for the week, write a zero rather than skipping the repo or leaving the cell blank, so every repo has an unbroken weekly series.

A weekly sweep like this sits comfortably inside Hugging Face rate limits, which are counted in five minute windows. If we later publish Spaces, the same list call shape exists for them, and they can be added as a third repo type using the identical row format.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageLet support send one-off Loops emails without an engineerStop cold emails to anyone with a live deal in PipedriveiMessage campaign console with pre-flight checks and delivery boardLinkedIn Ads budget pacing dashboard for every client accountFront desk appointment confirmation board for the next 3 daysGive your team Looker numbers without buying more seatsBuild audience segments from product usage and push to LoopsTurn the people who engage with your posts into Pipedrive leads