Identify Xpath expressions in a given document
Project description
xpath-identifier
Given an html or similar input xpath-identifier returns the xpath of it's location in the input
Usuage
from xpath_identifier import search_html
test_html = open("src/tests/fixtures/test_html.html").read()
xpaths = search_html(html_fixture, "Send them a gift tracking link")
print(xpaths)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xpath_identifier-0.0.9.tar.gz
(29.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xpath_identifier-0.0.9.tar.gz.
File metadata
- Download URL: xpath_identifier-0.0.9.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aa1d95891fd6987acc42296e84d5a8db170cea83bfe9aff89cf851f3e46eae0
|
|
| MD5 |
382ead465b8c1f42cd207e4128af4c42
|
|
| BLAKE2b-256 |
1f578c910320c0bfc814657cc6829d854c094c0cf627796498565ae907c54f5f
|
File details
Details for the file xpath_identifier-0.0.9-py3-none-any.whl.
File metadata
- Download URL: xpath_identifier-0.0.9-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ec4503312557b9ec9a363b18fbf9632c517c0228dab5757ff1387ce5bea17b3
|
|
| MD5 |
ef70dc10a096b9ba0bf0053eea241ab2
|
|
| BLAKE2b-256 |
facd61fea4ee586b1a762168d9edc8be9243c386f67973d9d855804c41f4a442
|