$npx skillfedfor your agent

types-assertpy

Typing stubs for assertpy

With conditionsPyPI TestingReleased May 2026146.5K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_assertpy-1.1.0.20260518-py3-none-any.whl
v1.1.0.20260518 · released 2026-05-18 · Python >=3.10

Yes, if you use static type checking with this testing library. Install it as a dev dependency to get type safety in your test code. No installation friction and no known security issues. Skip it only if you don't use static type checking or don't use this library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction installation with no runtime dependencies.
  • Actively maintained as part of typeshed; last commit on 2026-08-14.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.

last release 2026-05-18 (88 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 146,528 downloads/mo, #11,097 on PyPI

Verify before relying

pip install types-assertpy

# Type checkers now understand the testing library's API
from assertpy import assert_that

assert_that([1, 2, 3]).contains(2)
  • Whether this stub package is automatically discovered by type checkers or requires explicit configuration
  • Compatibility with versions of the target library outside the 1.1.* series
  • Whether installation alongside the target library is required or optional
Same gist for agents: .md · .json

What it is and what it does

types-assertpy is a type stub package that provides type annotations for a testing assertion library. It contains type information that allows mypy 2.1.0, pyright 1.1.409, and other static type checkers to understand and validate code using the library's fluent assertion API. The stubs are generated from typeshed, the community-maintained repository of type information for Python packages, and target version 1.1.*.

You install this as a development dependency to enable type checking in test code. Type checkers will use these stubs to catch type errors at analysis time rather than runtime, providing IDE autocomplete and inline documentation for the library's methods.

Use it for

  • Enable type checkers to validate test files that use the target library's assertions
  • Catch type mismatches in assertion chains before running tests
  • Provide IDE autocomplete and inline documentation for assertion methods
  • Support strict type checking workflows in projects using this testing library
  • Validate assertion arguments match expected types in CI/CD pipelines

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use static type checking with this testing library.

Install it as a dev dependency to get type safety in your test code. No installation friction and no known security issues. Skip it only if you don't use static type checking or don't use this library.

Install

types-assertpy on PyPI

Before you install

Low friction installation with no runtime dependencies. Actively maintained as part of typeshed; last commit on 2026-08-14.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows use in most projects without significant restrictions.

Quickstart

pip install types-assertpy

# Type checkers now understand the testing library's API
from assertpy import assert_that

assert_that([1, 2, 3]).contains(2)

Verify before relying

  • Whether this stub package is automatically discovered by type checkers or requires explicit configuration
  • Compatibility with versions of the target library outside the 1.1.* series
  • Whether installation alongside the target library is required or optional

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 88 days since the last release
Last repo commit
First released
Downloads146,528 / month, #11,097 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_assertpy-1.1.0.20260518-py3-none-any.whl

Tags

Capabilities
type stubs testingmypy type stubspyright type stubstyping stubstype checking testing librarystatic type checking stubsassertion library types
Topics
type-stubstype-checking

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “type stubs testing”

  • types-assertpyProvides type stubs enabling static type checkers like mypy and…
  • types-mockProvides type stubs for the mock library, enabling type checkers like…
  • types-factory-boyProvides PEP 561 type stubs for factory-boy, enabling static type…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also types-cffi · types-mock · types-aws-xray-sdk · assertpy · types-greenlet · types-grpcio-health-checking · types-PySocks · optype · types-pexpect · types-vobject