PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Assertions Python Packages

Python packages with the GitHub topic assertions. Sorted by monthly downloads, with stars and forks.
pandera-dev
pandera

A light-weight, flexible, and expressive statistical data testing library

8.7M 4K 472
srittau
asserts

Stand-alone Assertions for Python

40K 16 0
grappa-py
grappa

Behavior-oriented, expressive, human-friendly Python assertion library for the 21st century

14K 131 14
Solganis
assertpy2

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.

6K 5 2
dmsehgal
aiexpect

Assertions for non-deterministic AI text. Drop into pytest, get a Trust Score + HTML report. Free-first: rules, local embeddings, then your own LLM judge.

3K 2 0
nlesc-nano
assertionlib

A package for performing assertions and providing informative exception messages.

2K 1 1
blackwell-systems
mcp-assert

The testing standard for MCP servers. Lint (14 rules), test, and fuzz over real stdio/SSE/HTTP transport. 18 assertion types in YAML. Found 4,794 schema issues across 55 servers. Any language, no mocks, single binary.

1K 24 2
csparpa
fluentcheck

Fluent assertions for Python

1K 85 9
SentienceAPI
sentienceapi

A verification-first runtime for AI web agents — with Jest-style assertions and token-efficient snapshots

951 8 0
MathiasPaulenko
behave-kit

The Swiss-army knife for Behave — soft assertions, typed context, conditional skip, environment management, tag-based fixtures, data loading, context dump, and step suggestions. Adopt incrementally with 3 levels of integration.

734 0 0
MohibShaikh
hwcontract

Judge hardware timing, serial boot logs and decoded traces against YAML contracts. pass/marginal/fail with evidence. MCP server, pytest plugin, GitHub Action.

697 0 0
blackwell-systems
pytest-mcp-assert

The testing standard for MCP servers. Lint (14 rules), test, and fuzz over real stdio/SSE/HTTP transport. 18 assertion types in YAML. Found 4,794 schema issues across 55 servers. Any language, no mocks, single binary.

611 24 2
othercodes
pyssertive

Fluent, chainable assertions for Django tests. Inspired by Laravel's elegant testing API.

568 0 0
lovely-assertions
lovely-assertions

Fluent, strictly-typed assertions for Python tests: typed discoverability, real narrowing, and failure messages that explain themselves.

541 4 0
desplega-ai
business-use-core

Track, validate, and visualize business flows in production applications.

476 3 0
MathiasPaulenko
selenium-expect

Fluent expect() assertions with auto-retry for Selenium Python. 150+ assertions, soft assertions, custom matchers, locator-based expects, configurable polling with backoff. Zero dependencies beyond Selenium 4.10+.

437 0 0
sbroenne
pytest-llm-assert

Natural language assertions for pytest using LLMs

412 1 0
desplega-ai
business-use

Track, validate, and visualize business flows in production applications.

337 3 0
rogermsc
rendercheck

Assertions for AI-generated media. The worst bugs in generated video and audio don't throw — pace, loudness, truncation, dead air, wrong presenter, broken layout. rendercheck makes them throw.

333 0 0
grappa-py
grappa-http

HTTP assertion plugin for grappa

283 10 3
GenesisCoast
conditions-py

Conditions libary for Python 3+

282 0 0
VictorPasqualini
sparquet-cola

Data quality for Spark that runs where your data already is. SODA-style metric checks, SQL rules, schema contracts — plus a valid/invalid split that tells you which rule rejected each row. Pure PySpark, no extra services.

247 3 0
SentienceAPI
sentience-python

A verification-first runtime for AI web agents — with Jest-style assertions and token-efficient snapshots

195 8 0
Predicate-Labs
predicate-sdk

A verification-first runtime for AI web agents — with Jest-style assertions and token-efficient snapshots

151 8 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology