Skip to main content

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

Project description

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

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

bstconnect-0.14.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

bstconnect-0.14-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file bstconnect-0.14.tar.gz.

File metadata

  • Download URL: bstconnect-0.14.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for bstconnect-0.14.tar.gz
Algorithm Hash digest
SHA256 c8197753120f6df16d62589bbe7d4ec3af89505f471caf1b49db9ba26c6af4de
MD5 f015a4f432702dbd4244d7b664f11cde
BLAKE2b-256 a8741f99d9dfc50748ce9eb1db70b46cdc5069fca862836afe0906c6c99c3b4a

See more details on using hashes here.

File details

Details for the file bstconnect-0.14-py3-none-any.whl.

File metadata

  • Download URL: bstconnect-0.14-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for bstconnect-0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8e252c23b6a2ad6d539e211d738f266462c39176340495cf258b0b76a29fd77d
MD5 f20044732c536cf56fff593ab59f4085
BLAKE2b-256 277e625632f6572bf12ece3631f4680f70a6aab76318a78bab0d08411dd5c514

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page