comparison env/lib/python3.7/site-packages/beautifulsoup4-4.9.0.dist-info/METADATA @ 5:9b1c78e6ba9c draft default tip

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