Experimental type hints for BeautifulSoup
MIT License
NOTE: I later found out this exists. But I don't know, maybe this has something typeshed doesn't. But I recommend typeshed's version over this experiment.
PEP 484 type hint stubs for BeautifulSoup originally generated with stubgen. This is mainly for people who use tools like MyPy.
I use BeautifulSoup. I think it's beautiful 👌 ✨.
It's just that mypy gets crazy when I use it (complaining about Any). I created this because I couldn't find anything. Some guy wrote an article explaining BeautifulSoup types which I will use.
Please contibute! Mypy's stubgen is flawed and many type annotations needs fixing. The easiest way (as I can think of) is to
mypy strict bs4-stubs
on this repo and fix the errorsx
needs proper type annotation because mypy is ruining my project)