# fragment parser for Android
### Tested against Windows 10 / Python 3.11 / Anaconda / Windows
### pip install cythonfragmentparser
### Cython and a C compiler must be installed!
```PY
from cythondfprint import add_printer
from cythonfragmentparser import parse_fragments_active_screen
import shutil
add_printer(1)
adbexe = shutil.which("adb.exe")
counter=0
try:
while True:
df = parse_fragments_active_screen(
serial="127.0.0.1:5585",
adb_path=adbexe,
number_of_max_views=1,
screen_width=900,
screen_height=1600,
subproc_shell=False,
)
print(df)
counter=counter+1
print(counter)
except KeyboardInterrupt:
pass
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/cythonfragmentparser",
"name": "cythonfragmentparser",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Android, fragments",
"author": "Johannes Fischer",
"author_email": "aulasparticularesdealemaosp@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/39/11/2bd0ba79ea3ece92a30f97ff2b286d5f9236d26aeba9a8985f2928091076/cythonfragmentparser-0.13.tar.gz",
"platform": null,
"description": "\r\n# fragment parser for Android\r\n\r\n### Tested against Windows 10 / Python 3.11 / Anaconda / Windows \r\n\r\n### pip install cythonfragmentparser\r\n\r\n### Cython and a C compiler must be installed!\r\n\r\n```PY\r\nfrom cythondfprint import add_printer\r\nfrom cythonfragmentparser import parse_fragments_active_screen\r\nimport shutil\r\nadd_printer(1)\r\nadbexe = shutil.which(\"adb.exe\")\r\ncounter=0\r\ntry:\r\n while True:\r\n df = parse_fragments_active_screen(\r\n serial=\"127.0.0.1:5585\",\r\n adb_path=adbexe,\r\n number_of_max_views=1,\r\n screen_width=900,\r\n screen_height=1600,\r\n subproc_shell=False,\r\n )\r\n print(df)\r\n counter=counter+1\r\n print(counter)\r\nexcept KeyboardInterrupt:\r\n pass\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "fragment parser for Android",
"version": "0.13",
"project_urls": {
"Homepage": "https://github.com/hansalemaos/cythonfragmentparser"
},
"split_keywords": [
"android",
" fragments"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "38aff5b7b2c69d36d89e2ec8f101a741d6505798ccc38aec9e310e7a541e7254",
"md5": "a19b9e93a49c61b44c6cdb70d7435526",
"sha256": "f4f35e6ca307dfab6dd3889a149a01be1b977f514d90c49849b6b00556562944"
},
"downloads": -1,
"filename": "cythonfragmentparser-0.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a19b9e93a49c61b44c6cdb70d7435526",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 29947,
"upload_time": "2024-07-21T15:08:47",
"upload_time_iso_8601": "2024-07-21T15:08:47.772024Z",
"url": "https://files.pythonhosted.org/packages/38/af/f5b7b2c69d36d89e2ec8f101a741d6505798ccc38aec9e310e7a541e7254/cythonfragmentparser-0.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "39112bd0ba79ea3ece92a30f97ff2b286d5f9236d26aeba9a8985f2928091076",
"md5": "bce596bccda4ed24aec3707e445ee936",
"sha256": "3b7066eca246e91382791a625cf22551951449153a52bf34637b4fb6bafe0985"
},
"downloads": -1,
"filename": "cythonfragmentparser-0.13.tar.gz",
"has_sig": false,
"md5_digest": "bce596bccda4ed24aec3707e445ee936",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29356,
"upload_time": "2024-07-21T15:08:49",
"upload_time_iso_8601": "2024-07-21T15:08:49.402359Z",
"url": "https://files.pythonhosted.org/packages/39/11/2bd0ba79ea3ece92a30f97ff2b286d5f9236d26aeba9a8985f2928091076/cythonfragmentparser-0.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-21 15:08:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hansalemaos",
"github_project": "cythonfragmentparser",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "cythonfragmentparser"
}