r/learnpython • • 20m ago

The python library "Beautiful Soup", from where did it gets that name from?

√|

3 Upvotes

6 comments sorted by

•

u/alexice89 12m ago

Alice in wonderland.

•

u/plugwash 0m ago

I'd guess it's in-part a reference to "tag soup", a term for HTML that is not valid according to formal standards, but is nonthless common on the web and rendered by common web browsers.

https://en.wikipedia.org/wiki/Tag_soup

•

u/ConsiderationNo9044 8m ago

Lots of people call long, word-heavy, low-visual websites and blogs "word soup" because of how hard it is to read and take in all the information in a proper manner, akin to a ton of letters floating around in soup (like alphabet pasta). Web scraping allows quick, programmatic access to these pages and the organisation of the data for easy use and readability, making it look "beautiful". This is also partially because well-organised data is referred to as beautiful (see r/DataIsBeautiful). If you've read to the end, this is where I tell you that I made this all up and none of it is true

•

u/Longjumping-Boss5708 4m ago

That's a clever interpretation. The actual origin is from the play Alice's Adventures in Wonderland, specifically the poem "The Walrus and the Carpenter". The library's creator thought the name sounded nice.

•

u/ConsiderationNo9044 1m ago

Did you read the end of my comment?

•

u/ketsa3 18m ago

Why not ask chatgpt ?