Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/soupsieve-2.0.dist-info/METADATA @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author | shellac |
---|---|
date | Sat, 02 May 2020 07:14:21 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:26e78fe6e8c4 |
---|---|
1 Metadata-Version: 2.1 | |
2 Name: soupsieve | |
3 Version: 2.0 | |
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 [![Discord][discord-image]][discord-link] | |
28 [![Build][github-ci-image]][github-ci-link] | |
29 [![Unix Build Status][travis-image]][travis-link] | |
30 [![Windows Build Status][appveyor-image]][appveyor-link] | |
31 [![Coverage Status][codecov-image]][codecov-link] | |
32 [![PyPI Version][pypi-image]][pypi-link] | |
33 [![PyPI - Python Version][python-image]][pypi-link] | |
34 ![License][license-image-mit] | |
35 | |
36 # Soup Sieve | |
37 | |
38 ## Overview | |
39 | |
40 Soup Sieve is a CSS selector library designed to be used with [Beautiful Soup 4][bs4]. It aims to provide selecting, | |
41 matching, and filtering using modern CSS selectors. Soup Sieve currently provides selectors from the CSS level 1 | |
42 specifications up through the latest CSS level 4 drafts and beyond (though some are not yet implemented). | |
43 | |
44 Soup Sieve was written with the intent to replace Beautiful Soup's builtin select feature, and as of Beautiful Soup | |
45 version 4.7.0, it now is :confetti_ball:. Soup Sieve can also be imported in order to use its API directly for | |
46 more controlled, specialized parsing. | |
47 | |
48 Soup Sieve has implemented most of the CSS selectors up through the latest CSS draft specifications, though there are a | |
49 number that don't make sense in a non-browser environment. Selectors that cannot provide meaningful functionality simply | |
50 do not match anything. Some of the supported selectors are: | |
51 | |
52 - `.classes` | |
53 - `#ids` | |
54 - `[attributes=value]` | |
55 - `parent child` | |
56 - `parent > child` | |
57 - `sibling ~ sibling` | |
58 - `sibling + sibling` | |
59 - `:not(element.class, element2.class)` | |
60 - `:is(element.class, element2.class)` | |
61 - `parent:has(> child)` | |
62 - and [many more](https://facelessuser.github.io/soupsieve/selectors/) | |
63 | |
64 | |
65 ## Installation | |
66 | |
67 You must have Beautiful Soup already installed: | |
68 | |
69 ``` | |
70 pip install beautifulsoup4 | |
71 ``` | |
72 | |
73 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 | |
74 some alternative method, and Soup Sieve is not automatically installed for your, you can install it directly: | |
75 | |
76 ``` | |
77 pip install soupsieve | |
78 ``` | |
79 | |
80 If you want to manually install it from source, navigate to the root of the project and run | |
81 | |
82 ``` | |
83 python setup.py build | |
84 python setup.py install | |
85 ``` | |
86 | |
87 ## Documentation | |
88 | |
89 Documentation is found here: https://facelessuser.github.io/soupsieve/. | |
90 | |
91 ## License | |
92 | |
93 MIT License | |
94 | |
95 Copyright (c) 2018 - 2020 Isaac Muse <isaacmuse@gmail.com> | |
96 | |
97 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
98 documentation files (the "Software"), to deal in the Software without restriction, including without limitation the | |
99 rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit | |
100 persons to whom the Software is furnished to do so, subject to the following conditions: | |
101 | |
102 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the | |
103 Software. | |
104 | |
105 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | |
106 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | |
107 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | |
108 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
109 | |
110 [bs4]: https://beautiful-soup-4.readthedocs.io/en/latest/# | |
111 | |
112 [github-ci-image]: https://github.com/facelessuser/soupsieve/workflows/build/badge.svg | |
113 [github-ci-link]: https://github.com/facelessuser/soupsieve/actions?workflow=build | |
114 [discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333 | |
115 [discord-link]:https://discord.gg/XBnPUZF | |
116 [codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/soupsieve/master.svg?logo=codecov&logoColor=aaaaaa&labelColor=333333 | |
117 [codecov-link]: https://codecov.io/github/facelessuser/soupsieve | |
118 [appveyor-image]: https://img.shields.io/appveyor/ci/facelessuser/soupsieve/master.svg?label=appveyor&logo=appveyor&logoColor=aaaaaa&labelColor=333333 | |
119 [appveyor-link]: https://ci.appveyor.com/project/facelessuser/soupsieve | |
120 [travis-image]: https://img.shields.io/travis/facelessuser/soupsieve/master.svg?label=travis&logo=travis%20ci&logoColor=aaaaaa&labelColor=333333 | |
121 [travis-link]: https://travis-ci.org/facelessuser/soupsieve | |
122 [pypi-image]: https://img.shields.io/pypi/v/soupsieve.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333 | |
123 [pypi-link]: https://pypi.python.org/pypi/soupsieve | |
124 [python-image]: https://img.shields.io/pypi/pyversions/soupsieve?logo=python&logoColor=aaaaaa&labelColor=333333 | |
125 [license-image-mit]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333 | |
126 | |
127 |