comparison env/lib/python3.9/site-packages/beautifulsoup4-4.9.3.dist-info/METADATA @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 Metadata-Version: 2.1
2 Name: beautifulsoup4
3 Version: 4.9.3
4 Summary: Screen-scraping library
5 Home-page: http://www.crummy.com/software/BeautifulSoup/bs4/
6 Author: Leonard Richardson
7 Author-email: leonardr@segfault.org
8 License: MIT
9 Download-URL: http://www.crummy.com/software/BeautifulSoup/bs4/download/
10 Platform: UNKNOWN
11 Classifier: Development Status :: 5 - Production/Stable
12 Classifier: Intended Audience :: Developers
13 Classifier: License :: OSI Approved :: MIT License
14 Classifier: Programming Language :: Python
15 Classifier: Programming Language :: Python :: 2.7
16 Classifier: Programming Language :: Python :: 3
17 Classifier: Topic :: Text Processing :: Markup :: HTML
18 Classifier: Topic :: Text Processing :: Markup :: XML
19 Classifier: Topic :: Text Processing :: Markup :: SGML
20 Classifier: Topic :: Software Development :: Libraries :: Python Modules
21 Description-Content-Type: text/markdown
22 Requires-Dist: soupsieve (<2.0,>1.2) ; python_version < "3.0"
23 Requires-Dist: soupsieve (>1.2) ; python_version >= "3.0"
24 Provides-Extra: html5lib
25 Requires-Dist: html5lib ; extra == 'html5lib'
26 Provides-Extra: lxml
27 Requires-Dist: lxml ; extra == 'lxml'
28
29 Beautiful Soup is a library that makes it easy to scrape information
30 from web pages. It sits atop an HTML or XML parser, providing Pythonic
31 idioms for iterating, searching, and modifying the parse tree.
32
33 # Quick start
34
35 ```
36 >>> from bs4 import BeautifulSoup
37 >>> soup = BeautifulSoup("<p>Some<b>bad<i>HTML")
38 >>> print(soup.prettify())
39 <html>
40 <body>
41 <p>
42 Some
43 <b>
44 bad
45 <i>
46 HTML
47 </i>
48 </b>
49 </p>
50 </body>
51 </html>
52 >>> soup.find(text="bad")
53 'bad'
54 >>> soup.i
55 <i>HTML</i>
56 #
57 >>> soup = BeautifulSoup("<tag1>Some<tag2/>bad<tag3>XML", "xml")
58 #
59 >>> print(soup.prettify())
60 <?xml version="1.0" encoding="utf-8"?>
61 <tag1>
62 Some
63 <tag2/>
64 bad
65 <tag3>
66 XML
67 </tag3>
68 </tag1>
69 ```
70
71 To go beyond the basics, [comprehensive documentation is available](http://www.crummy.com/software/BeautifulSoup/bs4/doc/).
72
73 # Links
74
75 * [Homepage](http://www.crummy.com/software/BeautifulSoup/bs4/)
76 * [Documentation](http://www.crummy.com/software/BeautifulSoup/bs4/doc/)
77 * [Discussion group](http://groups.google.com/group/beautifulsoup/)
78 * [Development](https://code.launchpad.net/beautifulsoup/)
79 * [Bug tracker](https://bugs.launchpad.net/beautifulsoup/)
80 * [Complete changelog](https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG)
81
82 # Note on Python 2 sunsetting
83
84 Since 2012, Beautiful Soup has been developed as a Python 2 library
85 which is automatically converted to Python 3 code as necessary. This
86 makes it impossible to take advantage of some features of Python
87 3.
88
89 For this reason, I plan to discontinue Beautiful Soup's Python 2
90 support at some point after December 31, 2020: one year after the
91 sunset date for Python 2 itself. Beyond that point, new Beautiful Soup
92 development will exclusively target Python 3. Of course, older
93 releases of Beautiful Soup, which support both versions, will continue
94 to be available.
95
96 # Supporting the project
97
98 If you use Beautiful Soup as part of your professional work, please consider a
99 [Tidelift subscription](https://tidelift.com/subscription/pkg/pypi-beautifulsoup4?utm_source=pypi-beautifulsoup4&utm_medium=referral&utm_campaign=readme).
100 This will support many of the free software projects your organization
101 depends on, not just Beautiful Soup.
102
103 If you use Beautiful Soup for personal projects, the best way to say
104 thank you is to read
105 [Tool Safety](https://www.crummy.com/software/BeautifulSoup/zine/), a zine I
106 wrote about what Beautiful Soup has taught me about software
107 development.
108
109 # Building the documentation
110
111 The bs4/doc/ directory contains full documentation in Sphinx
112 format. Run `make html` in that directory to create HTML
113 documentation.
114
115 # Running the unit tests
116
117 Beautiful Soup supports unit test discovery from the project root directory:
118
119 ```
120 $ nosetests
121 ```
122
123 ```
124 $ python -m unittest discover -s bs4
125 ```
126
127 If you checked out the source tree, you should see a script in the
128 home directory called test-all-versions. This script will run the unit
129 tests under Python 2, then create a temporary Python 3 conversion of
130 the source and run the unit tests again under Python 3.
131
132