bs4: Update to 4.12.3 from 4.4.1
PATCH 1/1 bs4: Update to 4.12.3 from 4.4.1
It makes sense to switch to a more recent version and keep up to date with upstream changes and things like new python version support.
---
lib/bs4/AUTHORS | 49 +
lib/bs4/AUTHORS.txt | 43 -
lib/bs4/{NEWS.txt => CHANGELOG} | 779 ++++++++-
lib/bs4/{COPYING.txt => LICENSE} | 11 +-
lib/bs4/__init__.py | 680 ++++++--
lib/bs4/builder/__init__.py | 382 +++-
lib/bs4/builder/_html5lib.py | 251 ++-
lib/bs4/builder/_htmlparser.py | 433 +++--
lib/bs4/builder/_lxml.py | 212 ++-
lib/bs4/css.py | 280 +++
lib/bs4/dammit.py | 411 ++++-
lib/bs4/diagnose.py | 83 +-
lib/bs4/element.py | 2219 ++++++++++++++++--------
lib/bs4/formatter.py | 185 ++
lib/bs4/testing.py | 686 --------
lib/bs4/tests/__init__.py | 1 -
lib/bs4/tests/test_builder_registry.py | 147 --
lib/bs4/tests/test_docs.py | 32 -
lib/bs4/tests/test_html5lib.py | 98 --
lib/bs4/tests/test_htmlparser.py | 31 -
lib/bs4/tests/test_lxml.py | 70 -
lib/bs4/tests/test_soup.py | 479 -----
lib/bs4/tests/test_tree.py | 2004 ---------------------
23 files changed, 4675 insertions(+), 4891 deletions(-)
create mode 100644 lib/bs4/AUTHORS
delete mode 100644 lib/bs4/AUTHORS.txt
rename lib/bs4/{NEWS.txt => CHANGELOG} (56%)
rename lib/bs4/{COPYING.txt => LICENSE} (80%)
create mode 100644 lib/bs4/css.py
create mode 100644 lib/bs4/formatter.py
delete mode 100644 lib/bs4/testing.py
delete mode 100644 lib/bs4/tests/__init__.py
delete mode 100644 lib/bs4/tests/test_builder_registry.py
delete mode 100644 lib/bs4/tests/test_docs.py
delete mode 100644 lib/bs4/tests/test_html5lib.py
delete mode 100644 lib/bs4/tests/test_htmlparser.py
delete mode 100644 lib/bs4/tests/test_lxml.py
delete mode 100644 lib/bs4/tests/test_soup.py
delete mode 100644 lib/bs4/tests/test_tree.pylib/bs4/AUTHORS new file +49 -0
@@ -0,0 +1,49 @@ +Behold, mortal, the origins of Beautiful Soup... +================================================ + +Leonard Richardson is the primary maintainer. + +Aaron DeVore and Isaac Muse have made significant contributions to the +code base. + +Mark Pilgrim provided the encoding detection code that forms the base +of UnicodeDammit. + +Thomas Kluyver and Ezio Melotti finished the work of getting Beautiful +Soup 4 working under Python 3. + +Simon Willison wrote soupselect, which was used to make Beautiful Soup +support CSS selectors. Isaac Muse wrote SoupSieve, which made it +possible to _remove_ the CSS selector code from Beautiful Soup. + +Sam Ruby helped with a lot of edge cases. + +Jonathan Ellis was awarded the prestigious Beau Potage D'Or for his +work in solving the nestable tags conundrum. + +An incomplete list of people have contributed patches to Beautiful +Soup: + + Istvan Albert, Andrew Lin, Anthony Baxter, Oliver Beattie, Andrew +Boyko, Tony Chang, Francisco Canas, "Delong", Zephyr Fang, Fuzzy, +Roman Gaufman, Yoni Gilad, Richie Hindle, Toshihiro Kamiya, Peteris +Krumins, Kent Johnson, Marek Kapolka, Andreas Kostyrka, Roel Kramer, +Ben Last, Robert Leftwich, Stefaan Lippens, "liquider", Staffan +Malmgren, Ksenia Marasanova, JP Moins, Adam Monsen, John Nagle, "Jon", +Ed Oskiewicz, Martijn Peters, Greg Phillips, Giles Radford, Stefano +Revera, Arthur Rudolph, Marko Samastur, James Salter, Jouni Sepp�nen, +Alexander Schmolck, Tim Shirley, Geoffrey Sneddon, Ville Skytt�, +"Vikas", Jens Svalgaard, Andy Theyers, Eric Weiser, Glyn Webster, John +Wiseman, Paul Wright, Danny Yoo + +An incomplete list of people who made suggestions or found bugs or +found ways to break Beautiful Soup: + + Hanno B�ck, Matteo Bertini, Chris Curvey, Simon Cusack, Bruce Eckel, + Matt Ernst, Michael Foord, Tom Harris, Bill de hOra, Donald Howes, + Matt Patterson, Scott Roberts, Steve Strassmann, Mike Williams, + warchild at redho dot com, Sami Kuisma, Carlos Rocha, Bob Hutchison, + Joren Mc, Michal Migurski, John Kleven, Tim Heaney, Tripp Lilley, Ed + Summers, Dennis Sutch, Chris Smith, Aaron Swartz, Stuart + Turner, Greg Edwards, Kevin J Kalupson, Nikos Kouremenos, Artur de + Sousa Rocha, Yichun Wei, Per Vognsen
lib/bs4/AUTHORS.txt deleted +0 -43
43 lines not on this page · raw message
lib/bs4/CHANGELOG renamed from lib/bs4/NEWS.txt +776 -3
800 lines not on this page · raw message
lib/bs4/LICENSE renamed from lib/bs4/COPYING.txt +8 -3
@@ -1,6 +1,6 @@ Beautiful Soup is made available under the MIT license: - Copyright (c) 2004-2012 Leonard Richardson + Copyright (c) Leonard Richardson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
@@ -20,7 +20,12 @@ Beautiful Soup is made available under the MIT license: BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE, DAMMIT. + SOFTWARE. Beautiful Soup incorporates code from the html5lib library, which is -also made available under the MIT license. +also made available under the MIT license. Copyright (c) James Graham +and other contributors + +Beautiful Soup has an optional dependency on the soupsieve library, +which is also made available under the MIT license. Copyright (c) +Isaac Muse
lib/bs4/__init__.py +526 -154
916 lines not on this page · raw message
lib/bs4/builder/__init__.py +347 -35
517 lines not on this page · raw message
lib/bs4/builder/_html5lib.py +197 -54
416 lines not on this page · raw message
lib/bs4/builder/_htmlparser.py +279 -154
238 lines not on this page · raw message
lib/bs4/builder/_lxml.py +176 -36
212 lines not on this page · raw message
lib/bs4/css.py new file +280 -0
280 lines not on this page · raw message
lib/bs4/dammit.py +337 -74
411 lines not on this page · raw message
lib/bs4/diagnose.py +50 -33
83 lines not on this page · raw message
lib/bs4/element.py +1465 -754
2,219 lines not on this page · raw message
lib/bs4/formatter.py new file +185 -0
185 lines not on this page · raw message
lib/bs4/testing.py deleted +0 -686
686 lines not on this page · raw message
lib/bs4/tests/test_builder_registry.py deleted +0 -147
147 lines not on this page · raw message
lib/bs4/tests/test_html5lib.py deleted +0 -98
98 lines not on this page · raw message
lib/bs4/tests/test_htmlparser.py deleted +0 -31
Lines of this file are not shown. View the raw message.
lib/bs4/tests/test_lxml.py deleted +0 -70
70 lines not on this page · raw message
lib/bs4/tests/test_soup.py deleted +0 -479
479 lines not on this page · raw message
lib/bs4/tests/test_tree.py deleted +0 -2004
2,004 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.