Name | LxmlSoup JSON |
Version |
1.5.2
JSON |
| download |
home_page | |
Summary | LxmlSoup is a set of tools for fast and easy parsing |
upload_time | 2023-11-18 12:47:43 |
maintainer | |
docs_url | None |
author | Alexander554 |
requires_python | >=3.7 |
license | |
keywords |
lxmlsoup
beautifulsoup
bs4
lxml
soup
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# LxmlSoup
LxmlSoup is an analogue of BeautifulSoup, containing the most basic and necessary methods. Its speed exceeds bs4 by 5 times. The syntax is the same.
```
0.020386695861816406 - LxmlSoup
0.10153651237487793 - BeautifulSoup
```
## Installation
LxmlSoup requires Python >= 3.7
Install with `pip` from PyPI:
```
pip install LxmlSoup
```
Or cloning the repository:
```
git clone git@github.com:gladkihaa-28/LxmlSoup.git
```
### Example
```python
from LxmlSoup import LxmlSoup
import requests
html = requests.get('https://sunlight.net/catalog').text
soup = LxmlSoup(html)
links = soup.find_all('a', class_='cl-item-link js-cl-item-link js-cl-item-root-link')
for link in links:
print(link.text(), link.get('href'))
```
You can support the author so that updates come out more often.
Sberbank - 2202 2062 9710 1995
Raw data
{
"_id": null,
"home_page": "",
"name": "LxmlSoup",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "LxmlSoup,BeautifulSoup,bs4,lxml,Soup",
"author": "Alexander554",
"author_email": "gaa.280811@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9b/a0/8f1b26b4943b260478e613ed50519bfbff9a1ca2e1b81ab09bae48cfa02f/LxmlSoup-1.5.2.tar.gz",
"platform": null,
"description": "# LxmlSoup\n\nLxmlSoup is an analogue of BeautifulSoup, containing the most basic and necessary methods. Its speed exceeds bs4 by 5 times. The syntax is the same.\n\n```\n0.020386695861816406 - LxmlSoup\n0.10153651237487793 - BeautifulSoup\n```\n\n## Installation\n\nLxmlSoup requires Python >= 3.7\n\nInstall with `pip` from PyPI:\n\n```\npip install LxmlSoup\n```\n\nOr cloning the repository:\n\n```\ngit clone git@github.com:gladkihaa-28/LxmlSoup.git\n```\n\n### Example\n\n```python\nfrom LxmlSoup import LxmlSoup\nimport requests\n\nhtml = requests.get('https://sunlight.net/catalog').text\nsoup = LxmlSoup(html)\n\nlinks = soup.find_all('a', class_='cl-item-link js-cl-item-link js-cl-item-root-link')\nfor link in links:\n print(link.text(), link.get('href'))\n```\n\n\nYou can support the author so that updates come out more often.\nSberbank - 2202 2062 9710 1995\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "LxmlSoup is a set of tools for fast and easy parsing",
"version": "1.5.2",
"project_urls": null,
"split_keywords": [
"lxmlsoup",
"beautifulsoup",
"bs4",
"lxml",
"soup"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ccb2619b7584fcc39c0037f33edfbcf60b438349e9d32b8fd06503eeeae9d3a1",
"md5": "50fb1c0eb6d454423c67e2b62d923c63",
"sha256": "8a05e8708943049e5ad3d1ddef1591e0a8eeea0c4157ed2e97d178e2006f098d"
},
"downloads": -1,
"filename": "LxmlSoup-1.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50fb1c0eb6d454423c67e2b62d923c63",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3981,
"upload_time": "2023-11-18T12:47:41",
"upload_time_iso_8601": "2023-11-18T12:47:41.883697Z",
"url": "https://files.pythonhosted.org/packages/cc/b2/619b7584fcc39c0037f33edfbcf60b438349e9d32b8fd06503eeeae9d3a1/LxmlSoup-1.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9ba08f1b26b4943b260478e613ed50519bfbff9a1ca2e1b81ab09bae48cfa02f",
"md5": "c30d18f8bc7933c63b059f825f60f928",
"sha256": "0eef6853721d4cc31b8d623f1125d1f0c0525d0da467645f96151cb2ebec2d5c"
},
"downloads": -1,
"filename": "LxmlSoup-1.5.2.tar.gz",
"has_sig": false,
"md5_digest": "c30d18f8bc7933c63b059f825f60f928",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3733,
"upload_time": "2023-11-18T12:47:43",
"upload_time_iso_8601": "2023-11-18T12:47:43.641810Z",
"url": "https://files.pythonhosted.org/packages/9b/a0/8f1b26b4943b260478e613ed50519bfbff9a1ca2e1b81ab09bae48cfa02f/LxmlSoup-1.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-18 12:47:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lxmlsoup"
}