Skip to main content

Connects to all BlueStacks devices that use Hyper-V (dynamic port!) via ADB and returns a DataFrame

pip install bstconnect

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...

Metadata

Release files for bstconnect 0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bstconnect 0.14
File Size Uploaded Provenance Actions
bstconnect-0.14.tar.gz 7.0 kB Without provenance Details for bstconnect-0.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bstconnect 0.14
File Interpreter ABI Platform Actions
bstconnect-0.14-py3-none-any.whl Python 3 none any Details for bstconnect-0.14-py3-none-any.whl

Total release size: 15.5 kB

Release files / bstconnect-0.14.tar.gz

Download URL bstconnect-0.14.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c8197753120f6df16d62589bbe7d4ec3af89505f471caf1b49db9ba26c6af4de
BLAKE2b-256 checksum
How to use checksums
a8741f99d9dfc50748ce9eb1db70b46cdc5069fca862836afe0906c6c99c3b4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / bstconnect-0.14-py3-none-any.whl

Download URL bstconnect-0.14-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e252c23b6a2ad6d539e211d738f266462c39176340495cf258b0b76a29fd77d
BLAKE2b-256 checksum
How to use checksums
277e625632f6572bf12ece3631f4680f70a6aab76318a78bab0d08411dd5c514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for bstconnect 0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page