Q:

What is the difference beautifulsoup and bs4

I'm new to python and I tried to parse some XML files in order to add some new tags and store that new XML file.
python-beautifulsoup seams to be the right package for that. Searching around the web for tutorials, how to add an new tag to XML parsed by BeautifulSoup, i found out, that the package python-bs4 is used.
Looking at the package description, both packages have the same title:
python-bs4 - error-tolerant HTML parser for Python
python-beautifulsoup - error-tolerant HTML parser for Python

So my question: what is the difference?

A:

When I go to the beautifulsoup 4.0 documentation, the first page has this information:

(The BeautifulSoup package is probably not what you want. That’s the previous major release, Beautiful Soup 3. Lots of software uses BS3, so it’s still available, but if you’re writing new code you should install beautifulsoup4.)

A:

For those, like me, reading this years later, please note. The above is referring to installing with a system package manager, like apt-get, from which you can install python-bs4 or python3-bs4.
If installing with pip, use pip install beautifulsoup4, currently at V4.7.1. 

