bstconnect


Namebstconnect JSON
Version 0.14 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/bstconnect
SummaryConnects to all BlueStacks devices that use Hyper-V (dynamic port!) via ADB and returns a DataFrame
upload_time2023-03-18 22:09:00
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords bluestacks adb android
VCS
bugtrack_url
requirements a_pandas_ex_apply_ignore_exceptions a_pandas_ex_bstcfg2df a_pandas_ex_regex_enhancements capture_stdout_decorator flexible_partial kthread kthread_sleep pandas psutil
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Connects to all BlueStacks devices that use Hyper-V (dynamic port!) via ADB and returns a DataFrame



## pip install bstconnect



```python



from bstconnect import connect_to_all_localhost_devices

df = connect_to_all_localhost_devices(

    adb_path="C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe",

    timeout=3,

    bluestacks_config=r"C:\ProgramData\BlueStacks_nxt\bluestacks.conf",

)

print(df)



  localhost   product      model     device transport_id  status f_isroot f_root f_unroot bst_instance  num_threads  ppid memory_full_info    environ       name  cpu_percent num_ctx_switches   username    pid memory_info  memory_percent memory_maps        cwd  cpu_times  ionice  create_time    threads        exe open_files  nice io_counters status_proc cpu_affinity connections  num_handles    cmdline

0     52629  OnePlus3  ONEPLU...  OnePlus3T          1    device       ()     ()       ()    Pie64_2           97    8236  (12913...        {'ALLU...  HD-Pla...        0.1    (16629...        DESKTO...  14932  (12913...    0.188108       [(C:\W...   C:\Use...  (3.390...       2  1.6780...    [(1308...  C:\Pro...  [(C:\W...    32  (43543...     running   [0, 1,...           []        1324    [C:\\P...

1     53170  OnePlus5  ONEPLU...   OnePlus5          2    device       ()     ()       ()    Pie64_5          106    8236  (25288...        {'ALLU...  HD-Pla...        0.7    (13971...        DESKTO...   7568  (25288...    0.368370       [(C:\W...   C:\Use...  (2.25,...       2  1.6780...    [(1756...  C:\Pro...  [(C:\W...    32  (37717...     running   [0, 1,...    [(-1, ...        1400    [C:\\P...

2     53181  OnePlus5  ONEPLU...   OnePlus5          3    device       ()     ()       ()    Pie64_6           98    8236  (14550...        {'ALLU...  HD-Pla...        0.0    (13672...        DESKTO...   2108  (14550...    0.211957       [(C:\W...   C:\Use...  (1.921...       2  1.6780...    [(1415...  C:\Pro...  [(C:\W...    32  (36607...     running   [0, 1,...           []        1349    [C:\\P...

3     53361  OnePlus5  ONEPLU...   OnePlus5          4    device       ()     ()       ()    Pie64_3           98    8236  (14576...        {'ALLU...  HD-Pla...        0.0    (13222...        DESKTO...  10416  (14576...    0.212327       [(C:\W...   C:\Use...  (2.078...       2  1.6780...    [(1074...  C:\Pro...  [(C:\W...    32  (35549...     running   [0, 1,...           []        1351    [C:\\P...

4     55544  OnePlus5  ONEPLU...   OnePlus5         57    device       ()     ()       ()   Pie64_10           99    8236  (12911...        {'ALLU...  HD-Pla...        0.1    (28882...        DESKTO...  16604  (12911...    0.188072       [(C:\W...   C:\Use...  (1.312...       2  1.6780...    [(1644...  C:\Pro...  [(C:\W...    32  (13080...     running   [0, 1,...           []        1399    [C:\\P...

5     55554  a80ltexx   SM_A805N     a80lte         58    device       ()     ()       ()    Pie64_4           97    8236  (11723...        {'ALLU...  HD-Pla...        0.1    (28505...        DESKTO...   6440  (11723...    0.170769       [(C:\W...   C:\Use...  (1.390...       2  1.6780...    [(1566...  C:\Pro...  [(C:\W...    32  (12728...     running   [0, 1,...           []        1358    [C:\\P...



```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/bstconnect",
    "name": "bstconnect",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "bluestacks,adb,android",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a8/74/1f99d9dfc50748ce9eb1db70b46cdc5069fca862836afe0906c6c99c3b4a/bstconnect-0.14.tar.gz",
    "platform": null,
    "description": "\n# Connects to all BlueStacks devices that use Hyper-V (dynamic port!) via ADB and returns a DataFrame\n\n\n\n## pip install bstconnect\n\n\n\n```python\n\n\n\nfrom bstconnect import connect_to_all_localhost_devices\n\ndf = connect_to_all_localhost_devices(\n\n    adb_path=\"C:\\\\Users\\\\Gamer\\\\AppData\\\\Local\\\\Android\\\\Sdk\\\\platform-tools\\\\adb.exe\",\n\n    timeout=3,\n\n    bluestacks_config=r\"C:\\ProgramData\\BlueStacks_nxt\\bluestacks.conf\",\n\n)\n\nprint(df)\n\n\n\n  localhost   product      model     device transport_id  status f_isroot f_root f_unroot bst_instance  num_threads  ppid memory_full_info    environ       name  cpu_percent num_ctx_switches   username    pid memory_info  memory_percent memory_maps        cwd  cpu_times  ionice  create_time    threads        exe open_files  nice io_counters status_proc cpu_affinity connections  num_handles    cmdline\n\n0     52629  OnePlus3  ONEPLU...  OnePlus3T          1    device       ()     ()       ()    Pie64_2           97    8236  (12913...        {'ALLU...  HD-Pla...        0.1    (16629...        DESKTO...  14932  (12913...    0.188108       [(C:\\W...   C:\\Use...  (3.390...       2  1.6780...    [(1308...  C:\\Pro...  [(C:\\W...    32  (43543...     running   [0, 1,...           []        1324    [C:\\\\P...\n\n1     53170  OnePlus5  ONEPLU...   OnePlus5          2    device       ()     ()       ()    Pie64_5          106    8236  (25288...        {'ALLU...  HD-Pla...        0.7    (13971...        DESKTO...   7568  (25288...    0.368370       [(C:\\W...   C:\\Use...  (2.25,...       2  1.6780...    [(1756...  C:\\Pro...  [(C:\\W...    32  (37717...     running   [0, 1,...    [(-1, ...        1400    [C:\\\\P...\n\n2     53181  OnePlus5  ONEPLU...   OnePlus5          3    device       ()     ()       ()    Pie64_6           98    8236  (14550...        {'ALLU...  HD-Pla...        0.0    (13672...        DESKTO...   2108  (14550...    0.211957       [(C:\\W...   C:\\Use...  (1.921...       2  1.6780...    [(1415...  C:\\Pro...  [(C:\\W...    32  (36607...     running   [0, 1,...           []        1349    [C:\\\\P...\n\n3     53361  OnePlus5  ONEPLU...   OnePlus5          4    device       ()     ()       ()    Pie64_3           98    8236  (14576...        {'ALLU...  HD-Pla...        0.0    (13222...        DESKTO...  10416  (14576...    0.212327       [(C:\\W...   C:\\Use...  (2.078...       2  1.6780...    [(1074...  C:\\Pro...  [(C:\\W...    32  (35549...     running   [0, 1,...           []        1351    [C:\\\\P...\n\n4     55544  OnePlus5  ONEPLU...   OnePlus5         57    device       ()     ()       ()   Pie64_10           99    8236  (12911...        {'ALLU...  HD-Pla...        0.1    (28882...        DESKTO...  16604  (12911...    0.188072       [(C:\\W...   C:\\Use...  (1.312...       2  1.6780...    [(1644...  C:\\Pro...  [(C:\\W...    32  (13080...     running   [0, 1,...           []        1399    [C:\\\\P...\n\n5     55554  a80ltexx   SM_A805N     a80lte         58    device       ()     ()       ()    Pie64_4           97    8236  (11723...        {'ALLU...  HD-Pla...        0.1    (28505...        DESKTO...   6440  (11723...    0.170769       [(C:\\W...   C:\\Use...  (1.390...       2  1.6780...    [(1566...  C:\\Pro...  [(C:\\W...    32  (12728...     running   [0, 1,...           []        1358    [C:\\\\P...\n\n\n\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Connects to all BlueStacks devices that use Hyper-V (dynamic port!) via ADB and returns a DataFrame",
    "version": "0.14",
    "split_keywords": [
        "bluestacks",
        "adb",
        "android"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "277e625632f6572bf12ece3631f4680f70a6aab76318a78bab0d08411dd5c514",
                "md5": "f20044732c536cf56fff593ab59f4085",
                "sha256": "8e252c23b6a2ad6d539e211d738f266462c39176340495cf258b0b76a29fd77d"
            },
            "downloads": -1,
            "filename": "bstconnect-0.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f20044732c536cf56fff593ab59f4085",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8502,
            "upload_time": "2023-03-18T22:08:58",
            "upload_time_iso_8601": "2023-03-18T22:08:58.376154Z",
            "url": "https://files.pythonhosted.org/packages/27/7e/625632f6572bf12ece3631f4680f70a6aab76318a78bab0d08411dd5c514/bstconnect-0.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8741f99d9dfc50748ce9eb1db70b46cdc5069fca862836afe0906c6c99c3b4a",
                "md5": "f015a4f432702dbd4244d7b664f11cde",
                "sha256": "c8197753120f6df16d62589bbe7d4ec3af89505f471caf1b49db9ba26c6af4de"
            },
            "downloads": -1,
            "filename": "bstconnect-0.14.tar.gz",
            "has_sig": false,
            "md5_digest": "f015a4f432702dbd4244d7b664f11cde",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7004,
            "upload_time": "2023-03-18T22:09:00",
            "upload_time_iso_8601": "2023-03-18T22:09:00.030738Z",
            "url": "https://files.pythonhosted.org/packages/a8/74/1f99d9dfc50748ce9eb1db70b46cdc5069fca862836afe0906c6c99c3b4a/bstconnect-0.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-18 22:09:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "bstconnect",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "a_pandas_ex_apply_ignore_exceptions",
            "specs": []
        },
        {
            "name": "a_pandas_ex_bstcfg2df",
            "specs": []
        },
        {
            "name": "a_pandas_ex_regex_enhancements",
            "specs": []
        },
        {
            "name": "capture_stdout_decorator",
            "specs": []
        },
        {
            "name": "flexible_partial",
            "specs": []
        },
        {
            "name": "kthread",
            "specs": []
        },
        {
            "name": "kthread_sleep",
            "specs": []
        },
        {
            "name": "pandas",
            "specs": []
        },
        {
            "name": "psutil",
            "specs": []
        }
    ],
    "lcname": "bstconnect"
}
        
Elapsed time: 0.05632s