freshcrate
Skin:/
Home > Developer Tools > types-beautifulsoup4

types-beautifulsoup4

Typing stubs for beautifulsoup4

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

## Typing stubs for beautifulsoup4 This is a [PEP 561](https://peps.python.org/pep-0561/) type stub package for the [`beautifulsoup4`](https://git.launchpad.net/beautifulsoup/tree) package. It can be used by type-checking tools like [mypy](https://github.com/python/mypy/), [pyright](https://github.com/microsoft/pyright), [pytype](https://github.com/google/pytype/), [Pyre](https://pyre-check.org/), PyCharm, etc. to check code that uses `beautifulsoup4`. This version of `types-beautifulsoup4` aims to provide accurate annotations for `beautifulsoup4==4.12.*`. *Note:* The `beautifulsoup4` package includes type annotations or type stubs since version 4.13.0. Please uninstall the `types-beautifulsoup4` package if you use this or a newer version. This stub package is marked as [partial](https://peps.python.org/pep-0561/#partial-stub-packages). If you find that annotations are missing, feel free to contribute and help complete them. This package is part of the [typeshed project](https://github.com/python/typeshed). All fixes for types and metadata should be contributed there. See [the README](https://github.com/python/typeshed/blob/main/README.md) for more details. The source for this package can be found in the [`stubs/beautifulsoup4`](https://github.com/python/typeshed/tree/main/stubs/beautifulsoup4) directory. This package was tested with mypy 1.15.0, pyright 1.1.400, and pytype 2024.10.11. It was generated from typeshed commit [`126768408a69b7a3a09b7d3992970b289f92937e`](https://github.com/python/typeshed/commit/126768408a69b7a3a09b7d3992970b289f92937e).

Release History

VersionChangesUrgencyDate
main@2026-06-04Latest activity on main branchHigh6/4/2026
4.12.0.20250516Imported from PyPI (4.12.0.20250516)Low4/21/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

modalPython client library for Modalmain@2026-06-05
unstructured-clientPython Client SDK for Unstructured APIv0.45.0
anthropicThe official Python library for the anthropic APIv0.106.0
pipThe PyPA recommended tool for installing Python packages.main@2026-06-05
openinference-semantic-conventionsOpenInference Semantic Conventionspython-openinference-instrumentation-pipecat-v2.0.0

More from pypi

markitdownUtility tool for converting various files to Markdown
fastapiFastAPI framework, high performance, easy to learn, fast to code, ready for production
djangoA high-level Python web framework that encourages rapid development and clean, pragmatic design.
flaskA simple framework for building complex web applications.

More in Developer Tools

system_prompts_leaksExtracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), Gemini (3.1 Pro, 3 Flash, CLI), Grok (4.2, 4), Perplexity, and more. Updated regularly.
pipThe PyPA recommended tool for installing Python packages.
anthropicThe official Python library for the anthropic API
openinference-instrumentationOpenInference instrumentation utilities