# xpath-identifier
Given an html or similar input xpath-identifier returns the xpath of it's location in the input
## Usuage
```python
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/devtanna/xpath-identifier",
"name": "xpath-identifier",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "xpath,identifier,parser",
"author": "",
"author_email": "Dev Tanna <dev.tanna@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/1f/57/8c910320c0bfc814657cc6829d854c094c0cf627796498565ae907c54f5f/xpath_identifier-0.0.9.tar.gz",
"platform": null,
"description": "# xpath-identifier\nGiven an html or similar input xpath-identifier returns the xpath of it's location in the input\n\n## Usuage\n```python\nfrom xpath_identifier import search_html\ntest_html = open(\"src/tests/fixtures/test_html.html\").read()\nxpaths = search_html(html_fixture, \"Send them a gift tracking link\")\nprint(xpaths)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Identify Xpath expressions in a given document",
"version": "0.0.9",
"split_keywords": [
"xpath",
"identifier",
"parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ef70dc10a096b9ba0bf0053eea241ab2",
"sha256": "0ec4503312557b9ec9a363b18fbf9632c517c0228dab5757ff1387ce5bea17b3"
},
"downloads": -1,
"filename": "xpath_identifier-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ef70dc10a096b9ba0bf0053eea241ab2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 28658,
"upload_time": "2022-12-12T13:03:36",
"upload_time_iso_8601": "2022-12-12T13:03:36.661572Z",
"url": "https://files.pythonhosted.org/packages/fa/cd/61fea4ee586b1a762168d9edc8be9243c386f67973d9d855804c41f4a442/xpath_identifier-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "382ead465b8c1f42cd207e4128af4c42",
"sha256": "1aa1d95891fd6987acc42296e84d5a8db170cea83bfe9aff89cf851f3e46eae0"
},
"downloads": -1,
"filename": "xpath_identifier-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "382ead465b8c1f42cd207e4128af4c42",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 29211,
"upload_time": "2022-12-12T13:03:38",
"upload_time_iso_8601": "2022-12-12T13:03:38.015537Z",
"url": "https://files.pythonhosted.org/packages/1f/57/8c910320c0bfc814657cc6829d854c094c0cf627796498565ae907c54f5f/xpath_identifier-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-12 13:03:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "devtanna",
"github_project": "xpath-identifier",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "beautifulsoup4",
"specs": [
[
"==",
"4.11.1"
]
]
},
{
"name": "lxml",
"specs": [
[
"==",
"4.9.1"
]
]
},
{
"name": "pytest",
"specs": [
[
"==",
"7.2.0"
]
]
},
{
"name": "regex",
"specs": [
[
"==",
"2022.10.31"
]
]
}
],
"lcname": "xpath-identifier"
}