# types-beautifulsoup4

> Typing stubs for beautifulsoup4

- **URL**: https://www.freshcrate.ai/projects/types-beautifulsoup4
- **Author**: pypi
- **Category**: Developer Tools
- **Latest version**: `main@2026-06-04` (2026-06-04)
- **License**: Unknown
- **Source**: https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/beautifulsoup4.md
- **Homepage**: https://pypi.org/project/types-beautifulsoup4/
- **Language**: Python
- **GitHub**: 37 stars, 23 forks
- **Registry**: pypi (`types-beautifulsoup4`)
- **Tags**: `pypi`

## 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).

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `main@2026-06-04` | 2026-06-04 | High | Latest activity on main branch |
| `4.12.0.20250516` | 2026-04-21 | Low | Imported from PyPI (4.12.0.20250516) |

## Citation

- HTML: https://www.freshcrate.ai/projects/types-beautifulsoup4
- Markdown: https://www.freshcrate.ai/projects/types-beautifulsoup4.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/types-beautifulsoup4/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
