assertpy

Fluent, fully typed assertion library for Python: your type checker sees only the assertions that fit the value, and every failure carries a structured diff. Soft assertions, polling, inline snapshots, OpenAPI contracts.

assertpy has been downloaded 34,495,663 times in total on PyPI, including 1,017,599 in the last 30 days. The latest version is 2.36.1, released Nov 16, 2026. It is distributed under the BSD-3-Clause license.

Version2.36.1
Downloads
34.50M
LicenseBSD-3-Clause
AuthorJustin Shacklette
UpdatedNov 16, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal2.*1.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 17 series
Selected total5.74M
34.5MAll-time
1.0MLast 30 days
21.4kLast 24 h
0.46/sPer second

Version distribution

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

  • 01

    1.1

    2.7M downloads
    94.2%
  • 02

    2.36.0

    75.2k downloads
    2.6%
  • 03

    2.36.1

    43.7k downloads
    1.5%
  • 04

    2.35.0

    31.4k downloads
    1.1%
  • 05

    0.14

    5.8k downloads
    0.2%
  • 06

    0.15

    4.9k downloads
    0.2%
  • 07

    1.0

    2.8k downloads
    0.1%
  • 08

    0.13

    529 downloads
    <0.1%
  • 09

    Other

    708 downloads
    <0.1%

Guess the next day

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

TRUTH21.4k18.5kMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT