Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/soupsieve-2.0.1.dist-info/METADATA @ 1:56ad4e20f292 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:32:28 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:d30785e31577 | 1:56ad4e20f292 |
---|---|
1 Metadata-Version: 2.1 | |
2 Name: soupsieve | |
3 Version: 2.0.1 | |
4 Summary: A modern CSS selector implementation for Beautiful Soup. | |
5 Home-page: https://github.com/facelessuser/soupsieve | |
6 Author: Isaac Muse | |
7 Author-email: Isaac.Muse@gmail.com | |
8 License: MIT License | |
9 Keywords: CSS HTML XML selector filter query soup | |
10 Platform: UNKNOWN | |
11 Classifier: Development Status :: 5 - Production/Stable | |
12 Classifier: Environment :: Console | |
13 Classifier: Intended Audience :: Developers | |
14 Classifier: License :: OSI Approved :: MIT License | |
15 Classifier: Operating System :: OS Independent | |
16 Classifier: Programming Language :: Python :: 3 | |
17 Classifier: Programming Language :: Python :: 3.5 | |
18 Classifier: Programming Language :: Python :: 3.6 | |
19 Classifier: Programming Language :: Python :: 3.7 | |
20 Classifier: Programming Language :: Python :: 3.8 | |
21 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | |
22 Classifier: Topic :: Software Development :: Libraries :: Python Modules | |
23 Requires-Python: >=3.5 | |
24 Description-Content-Type: text/markdown | |
25 Requires-Dist: backports.functools-lru-cache ; python_version < "3" | |
26 | |
27 [![Donate via PayPal][donate-image]][donate-link] | |
28 [![Discord][discord-image]][discord-link] | |
29 [![Build][github-ci-image]][github-ci-link] | |
30 [![Coverage Status][codecov-image]][codecov-link] | |
31 [![PyPI Version][pypi-image]][pypi-link] | |
32 [![PyPI - Python Version][python-image]][pypi-link] | |
33 ![License][license-image-mit] | |
34 | |
35 # Soup Sieve | |
36 | |
37 ## Overview | |
38 | |
39 Soup Sieve is a CSS selector library designed to be used with [Beautiful Soup 4][bs4]. It aims to provide selecting, | |
40 matching, and filtering using modern CSS selectors. Soup Sieve currently provides selectors from the CSS level 1 | |
41 specifications up through the latest CSS level 4 drafts and beyond (though some are not yet implemented). | |
42 | |
43 Soup Sieve was written with the intent to replace Beautiful Soup's builtin select feature, and as of Beautiful Soup | |
44 version 4.7.0, it now is :confetti_ball:. Soup Sieve can also be imported in order to use its API directly for | |
45 more controlled, specialized parsing. | |
46 | |
47 Soup Sieve has implemented most of the CSS selectors up through the latest CSS draft specifications, though there are a | |
48 number that don't make sense in a non-browser environment. Selectors that cannot provide meaningful functionality simply | |
49 do not match anything. Some of the supported selectors are: | |
50 | |
51 - `.classes` | |
52 - `#ids` | |
53 - `[attributes=value]` | |
54 - `parent child` | |
55 - `parent > child` | |
56 - `sibling ~ sibling` | |
57 - `sibling + sibling` | |
58 - `:not(element.class, element2.class)` | |
59 - `:is(element.class, element2.class)` | |
60 - `parent:has(> child)` | |
61 - and [many more](https://facelessuser.github.io/soupsieve/selectors/) | |
62 | |
63 | |
64 ## Installation | |
65 | |
66 You must have Beautiful Soup already installed: | |
67 | |
68 ``` | |
69 pip install beautifulsoup4 | |
70 ``` | |
71 | |
72 In most cases, assuming you've installed version 4.7.0, that should be all you need to do, but if you've installed via | |
73 some alternative method, and Soup Sieve is not automatically installed for your, you can install it directly: | |
74 | |
75 ``` | |
76 pip install soupsieve | |
77 ``` | |
78 | |
79 If you want to manually install it from source, navigate to the root of the project and run | |
80 | |
81 ``` | |
82 python setup.py build | |
83 python setup.py install | |
84 ``` | |
85 | |
86 ## Documentation | |
87 | |
88 Documentation is found here: https://facelessuser.github.io/soupsieve/. | |
89 | |
90 ## License | |
91 | |
92 MIT License | |
93 | |
94 Copyright (c) 2018 - 2020 Isaac Muse <isaacmuse@gmail.com> | |
95 | |
96 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
97 documentation files (the "Software"), to deal in the Software without restriction, including without limitation the | |
98 rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit | |
99 persons to whom the Software is furnished to do so, subject to the following conditions: | |
100 | |
101 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the | |
102 Software. | |
103 | |
104 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | |
105 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | |
106 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | |
107 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
108 | |
109 [bs4]: https://beautiful-soup-4.readthedocs.io/en/latest/# | |
110 | |
111 [github-ci-image]: https://github.com/facelessuser/soupsieve/workflows/build/badge.svg | |
112 [github-ci-link]: https://github.com/facelessuser/soupsieve/actions?workflow=build | |
113 [discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333 | |
114 [discord-link]:https://discord.gg/XBnPUZF | |
115 [codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/soupsieve/master.svg?logo=codecov&logoColor=aaaaaa&labelColor=333333 | |
116 [codecov-link]: https://codecov.io/github/facelessuser/soupsieve | |
117 [pypi-image]: https://img.shields.io/pypi/v/soupsieve.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333 | |
118 [pypi-link]: https://pypi.python.org/pypi/soupsieve | |
119 [python-image]: https://img.shields.io/pypi/pyversions/soupsieve?logo=python&logoColor=aaaaaa&labelColor=333333 | |
120 [license-image-mit]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333 | |
121 [donate-image]: https://img.shields.io/badge/Donate-PayPal-3fabd1?logo=paypal | |
122 [donate-link]: https://www.paypal.me/facelessuser | |
123 | |
124 |