Request a demo

Public dataset · Web, code and analytics

deps.dev Open Source Dependencies in BigQuery

The deps_dev_v1 dataset is the deps.dev graph of open source packages: versions, resolved dependencies, dependents, advisories and source projects for npm, PyPI, Maven, Go, Cargo, NuGet and RubyGems. It stores a full weekly snapshot in every table, which is why the largest is 324 TiB; filter on one SnapshotAt day.

bigquery-public-data.deps_dev_v1 · deps.dev (Open Source Insights) · US · Sizes measured November 23, 2026

31tables
566 TiBin the tables below
5,414,283,361,863rows
$3,539.27to scan every column once, on-demand

bigquery-public-data.deps_dev_v1 is open source dependency data from deps.dev, also listed in Analytics Hub. Each table keeps many full snapshots side by side: the Snapshots table lists the timestamps for which a complete snapshot of all other tables exists (236 when these sizes were measured), and every other table is partitioned by day on SnapshotAt. Snapshots arrive weekly; the newest when measured was 2026-11-16.

PackageVersions describes each version of each package. Dependencies holds the resolved dependencies (direct and indirect) of each version, computed as if the package were installed on a generic 64-bit Linux system, and Dependents inverts that relation. DependencyGraphEdges stores the full resolved graph; graphs exist for npm, Go, Maven, PyPI and Cargo. The *Requirements tables hold the declared, unresolved requirements per ecosystem. Advisories covers security advisories, and Projects and PackageVersionToProject link packages to their source repositories.

For each table there is a *Latest view that its description says returns the most recent snapshot. The 15 views are not listed below, which is why the table count is 31.

Tables and sizes

The dataset has 31 tables; the main ones are listed.

TableRowsSizeFull scanLayout
DependencyGraphEdges
Full resolved dependency graph, one row per edge.
2,823,268,787,611324 TiB$2,023.08Partitioned: by day on SnapshotAt · Clustered: System, Name, Version
Dependencies
Resolved direct and indirect dependencies of each package version.
1,305,529,190,997105 TiB$657.25Partitioned: by day on SnapshotAt · Clustered: System, Name, Version
Dependents
Dependencies inverted: who imports a given package version.
1,127,691,758,77392.1 TiB$575.82Partitioned: by day on SnapshotAt
MavenRequirements
Declared requirements of Maven package versions.
924,158,19116.0 TiB$99.89Partitioned: by day on SnapshotAt · Clustered: Name, Version
PackageVersions
One row per package version, with licenses, links, advisories and hashes.
23,239,480,16012.3 TiB$77.01Partitioned: by day on SnapshotAt · Clustered: System, Name
PackageVersionHashes
File hashes mapped to package versions.
102,336,010,12610.4 TiB$64.81Partitioned: by day on SnapshotAt · Clustered: Hash
PackageVersionToProject
Links from package versions to source projects (not verified).
22,827,534,8962.5 TiB$15.39Partitioned: by day on SnapshotAt · Clustered: System, Name, Version
GoRequirements
Declared requirements of Go package versions.
1,483,233,1821.9 TiB$11.90Partitioned: by day on SnapshotAt · Clustered: Name, Version
NPMRequirements
Declared requirements of NPM package versions.
3,414,602,3771.5 TiB$9.36Partitioned: by day on SnapshotAt · Clustered: Name, Version
NuGetRequirements
Declared requirements of NuGet package versions.
2,053,140,634494 GiB$3.02Partitioned: by day on SnapshotAt · Clustered: Name, Version
PyPIRequirements
Declared requirements of PyPI package versions.
357,734,973105 GiB$0.64Partitioned: by day on SnapshotAt · Clustered: Name, Version
Projects
Source repositories with stars, forks, issues and OSS-Fuzz coverage.
894,013,60796.3 GiB$0.59Partitioned: by day on SnapshotAt · Clustered: Type, Name
CargoRequirements
Declared requirements of Cargo package versions.
100,844,38049.6 GiB$0.30Partitioned: by day on SnapshotAt · Clustered: Name, Version
RubyGemsRequirements
Declared requirements of RubyGems package versions.
142,214,94818.6 GiB$0.11Partitioned: by day on SnapshotAt · Clustered: Name, Version
Advisories
Security advisories for npm, Go, Maven, PyPI, Cargo and NuGet packages.
20,656,77218.2 GiB$0.11Partitioned: by day on SnapshotAt · Clustered: Source, SourceID
Snapshots
Timestamps for which a full snapshot of all other tables exists.
2361.8 KiBunder $0.01None

Full scan = every column of the table at the on-demand list price of $6.25 per TiB, before your free TiB each month. Selecting fewer columns costs proportionally less. See BigQuery pricing.

Example queries

Find the latest snapshot

Scans 1.8 KiB · under $0.01 on-demand

A 1.8 KiB table, billed at the 10 MB minimum. Use the date it returns as a literal in the queries below.

SELECT MAX(Time) AS latest_snapshot
FROM `bigquery-public-data.deps_dev_v1.Snapshots`;

Versions of an npm package in one snapshot

Scans 80.2 MiB · under $0.01 on-demand

DATE(SnapshotAt) = '2026-11-16' keeps the scan to one weekly partition, and the clustering on System and Name narrows it further.

SELECT Version, UpstreamPublishedAt, Licenses
FROM `bigquery-public-data.deps_dev_v1.PackageVersions`
WHERE DATE(SnapshotAt) = '2026-11-16'
  AND System = 'NPM'
  AND Name = 'react'
ORDER BY UpstreamPublishedAt DESC
LIMIT 20;

Dependencies of a PyPI release through the Latest view (expensive)

Scans 92.0 GiB · $0.56 on-demand

The *Latest views are convenient, but their definition is not visible and the dry run estimates the cost of many snapshots.

SELECT Dependency.Name, Dependency.Version, MinimumDepth
FROM `bigquery-public-data.deps_dev_v1.DependenciesLatest`
WHERE System = 'PYPI'
  AND Name = 'pandas'
  AND Version = '2.2.3';

The same dependencies from one named snapshot

Scans 435 MiB · under $0.01 on-demand

Same answer from the base table with an explicit snapshot day: about 200 times fewer bytes than the view.

SELECT Dependency.Name, Dependency.Version, MinimumDepth
FROM `bigquery-public-data.deps_dev_v1.Dependencies`
WHERE DATE(SnapshotAt) = '2026-11-16'
  AND System = 'PYPI'
  AND Name = 'pandas'
  AND Version = '2.2.3';

Security advisories that affect an npm package

Scans 34.8 MiB · under $0.01 on-demand

Packages is a repeated record listing every affected package, so unnest it to filter by system and name.

SELECT Source, SourceID, Title, CVSS3Score, Severity, Disclosed
FROM `bigquery-public-data.deps_dev_v1.Advisories`,
  UNNEST(Packages) AS pkg
WHERE DATE(SnapshotAt) = '2026-11-16'
  AND pkg.System = 'NPM'
  AND pkg.Name = 'lodash'
ORDER BY Disclosed DESC;

Querying it cheaply

  • Every table repeats the full dataset once per weekly snapshot, so always filter DATE(SnapshotAt) to one day. Without it, the PyPI dependency lookup in the examples reads about 81 GiB; with it, 435 MiB.
  • Prefer a literal snapshot date over the *Latest views. Read the newest date from Snapshots first (billed at the 10 MB minimum), then pass it into your queries.
  • Add filters on the clustering columns, usually System, Name and Version. They are what keeps a lookup in a 105 TiB table under 1 GiB.
  • DependencyGraphEdges (324 TiB), Dependencies (105 TiB) and Dependents (92 TiB) are where expensive mistakes happen. Set a maximum bytes billed before exploring them.

FAQ

How much does it cost to query deps.dev in BigQuery?

A lookup for one package in one snapshot reads tens to hundreds of MiB, inside the free 1 TiB a month. The same lookup through a *Latest view is estimated at about 92 GiB, and an unfiltered scan of Dependencies would read 105 TiB.

Is the deps_dev_v1 dataset free?

Yes for storage: the data sits in the bigquery-public-data project and Google pays to store it. You pay for the queries you run from your own project. On-demand, the first 1 TiB scanned each month is free, then you pay per TiB scanned (see BigQuery pricing).

How often is deps.dev data updated in BigQuery?

Weekly. Each update adds a full snapshot to every table, and the Snapshots table lists them. When these sizes were measured the latest snapshot was dated 2026-11-16 and there were 236 in total.

What package ecosystems does deps_dev_v1 cover?

npm, Go, Maven, PyPI, Cargo and NuGet appear in advisories and package data, and there is a separate requirements table for RubyGems. Resolved dependency graphs and dependents are available for npm, Go, Maven, PyPI and Cargo.

All public datasets · BigQuery cost queries · Pricing calculator

Cut BigQuery spend without guessing

Masthead attributes compute and storage cost to every project, user, pipeline and table, finds unused and dead-end tables, and shows where editions or on-demand pricing is cheaper. Mnemonic cut its BigQuery compute cost by 20% within 24 hours of onboarding.