sql-metadata

Uses sqlglot to parse SQL queries and extract metadata

sql-metadata has been downloaded 169,217,263 times in total on PyPI, including 3,966,783 in the last 30 days. The latest version is 3.0.1, released Jun 30, 2026. It is distributed under the MIT license.

Version3.0.1
Downloads
169.22M
LicenseMIT
AuthorMaciej Brencz
UpdatedJun 30, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 45 series
Selected total32.93M
169.2MAll-time
4.0MLast 30 days
151.6kLast 24 h
1.51/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    3.0.1

    4.7M downloads
    29.0%
  • 02

    2.12.0

    4.7M downloads
    28.5%
  • 03

    2.20.0

    1.6M downloads
    10.0%
  • 04

    2.11.0

    1.2M downloads
    7.4%
  • 05

    2.19.0

    851.8k downloads
    5.2%
  • 06

    2.6.0

    779.7k downloads
    4.8%
  • 07

    2.15.0

    535.4k downloads
    3.3%
  • 08

    2.13.0

    428.7k downloads
    2.6%
  • 09

    Other

    1.5M downloads
    9.2%

Guess the next day

Thirteen recent days of sql-metadata downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH151.6k140.3kWEDTHUFRISATSUNMONTUEWEDTHUFRISATSUNMON