bluestacks5newinstances


Namebluestacks5newinstances JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/bluestacks5newinstances
SummaryCreates multiple instances of BlueStacks 5 with an independent system disk.
upload_time2024-06-15 09:26:06
maintainerNone
docs_urlNone
authorJohannes Fischer
requires_pythonNone
licenseMIT
keywords bluestacks instance
VCS
bugtrack_url
requirements consolectrlchandler exceptdrucker flatten_any_dict_iterable_or_whatsoever killallappsinfolder list_all_files_recursively_short reggisearch rootstacks xmltodict
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Creates multiple instances of BlueStacks 5 with an independent system disk.

### Tested against Windows 10 / Python 3.11 / Anaconda

### pip install bluestacks5newinstances


```python
# Install BlueStacks 5
# Create the main emulator and at least one instance of it and run all created instances 


Args:
    newintancenametocreate_config (Union[str, None], optional): The configuration file for the new instance. If provided, it will override the default configuration (pie64_basis_modell, rvc64_basis_modell, nougat64_basis_modell, nougat32_basis_modell). Defaults to None.
    newintancenametocreate (Literal["Rvc64", "Pie64", "Nougat64", "Nougat32"], optional): The name of the new instance. Defaults to "Rvc64".
    newtype_fastboot (Literal["Normal", "ReadOnly"], optional): The type of fastboot for the new instance. Defaults to "Normal".
    newtype_root (Literal["Normal", "ReadOnly"], optional): The type of root for the new instance. Defaults to "Normal".
    newtype_data (Literal["Normal", "ReadOnly"], optional): The type of data for the new instance. Defaults to "Normal".
    numberofinstances (int, optional): The number of instances to create. Defaults to 1.

Returns:
    list: A list of lists containing the instance name and the adb port for each created instance.
Example:
    from bluestacks5newinstances import batch_create_bstacks_instances

    # don't change the uppercase letters, they are going to be replaced by the script
    newinstances_and_adbports = batch_create_bstacks_instances(
        newintancenametocreate_config=r'''bst.instance.Rvc64_NEWID.abi_list="x86,x64,arm,arm64"
    bst.instance.Rvc64_NEWID.adb_port="ADBPORTNEW"
    bst.instance.Rvc64_NEWID.ads_display_time=""
    bst.instance.Rvc64_NEWID.airplane_mode_active="0"
    bst.instance.Rvc64_NEWID.airplane_mode_active_time=""
    bst.instance.Rvc64_NEWID.android_google_ad_id=""
    bst.instance.Rvc64_NEWID.android_id="ANDROID_ID_NEW"
    bst.instance.Rvc64_NEWID.android_sound_while_tapping="0"
    bst.instance.Rvc64_NEWID.app_launch_count="0"
    bst.instance.Rvc64_NEWID.astc_decoding_mode="software"
    bst.instance.Rvc64_NEWID.autohide_notifications="0"
    bst.instance.Rvc64_NEWID.boot_duration="-1"
    bst.instance.Rvc64_NEWID.camera_device=""
    bst.instance.Rvc64_NEWID.cpus="4"
    bst.instance.Rvc64_NEWID.custom_resolution_selected="0"
    bst.instance.Rvc64_NEWID.device_carrier_code="se_72405"
    bst.instance.Rvc64_NEWID.device_country_code="076"
    bst.instance.Rvc64_NEWID.device_custom_brand=""
    bst.instance.Rvc64_NEWID.device_custom_manufacturer=""
    bst.instance.Rvc64_NEWID.device_custom_model=""
    bst.instance.Rvc64_NEWID.device_profile_code="sttu"
    bst.instance.Rvc64_NEWID.display_name="Rvc64_NEWID"
    bst.instance.Rvc64_NEWID.dpi="160"
    bst.instance.Rvc64_NEWID.eco_mode_max_fps="5"
    bst.instance.Rvc64_NEWID.enable_fps_display="0"
    bst.instance.Rvc64_NEWID.enable_fullscreen_all_apps="0"
    bst.instance.Rvc64_NEWID.enable_high_fps="0"
    bst.instance.Rvc64_NEWID.enable_logcat_redirection="0"
    bst.instance.Rvc64_NEWID.enable_notifications="0"
    bst.instance.Rvc64_NEWID.enable_root_access="0"
    bst.instance.Rvc64_NEWID.enable_vsync="0"
    bst.instance.Rvc64_NEWID.fb_height="1280"
    bst.instance.Rvc64_NEWID.fb_width="720"
    bst.instance.Rvc64_NEWID.first_boot="1"
    bst.instance.Rvc64_NEWID.game_controls_enabled="0"
    bst.instance.Rvc64_NEWID.gl_win_height="-1"
    bst.instance.Rvc64_NEWID.gl_win_screen=""
    bst.instance.Rvc64_NEWID.gl_win_x="0"
    bst.instance.Rvc64_NEWID.gl_win_y="0"
    bst.instance.Rvc64_NEWID.google_account_logins=""
    bst.instance.Rvc64_NEWID.google_login_popup_shown="0"
    bst.instance.Rvc64_NEWID.graphics_engine="aga"
    bst.instance.Rvc64_NEWID.graphics_renderer="gl"
    bst.instance.Rvc64_NEWID.grm_ignored_rules=""
    bst.instance.Rvc64_NEWID.launch_date=""
    bst.instance.Rvc64_NEWID.libc_mem_allocator="jem"
    bst.instance.Rvc64_NEWID.macro_win_height="-1"
    bst.instance.Rvc64_NEWID.macro_win_screen=""
    bst.instance.Rvc64_NEWID.macro_win_x="-1"
    bst.instance.Rvc64_NEWID.macro_win_y="-1"
    bst.instance.Rvc64_NEWID.max_fps="60"
    bst.instance.Rvc64_NEWID.pin_to_top="0"
    bst.instance.Rvc64_NEWID.ram="4096"
    bst.instance.Rvc64_NEWID.show_sidebar="1"
    bst.instance.Rvc64_NEWID.status.adb_port="5555"
    bst.instance.Rvc64_NEWID.status.ip_addr_prefix_len="24"
    bst.instance.Rvc64_NEWID.status.ip_gateway_addr="10.0.2.2"
    bst.instance.Rvc64_NEWID.status.ip_guest_addr="10.0.2.15"
    bst.instance.Rvc64_NEWID.status.session_id="0"
    bst.instance.Rvc64_NEWID.vulkan_supported="1"''',
        newintancenametocreate="Rvc64",
        newtype_fastboot="Normal",
        newtype_root="Normal",
        newtype_data="Normal",
        numberofinstances=3,
    )
    print(newinstances_and_adbports)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/bluestacks5newinstances",
    "name": "bluestacks5newinstances",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "BlueStacks, instance",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/de/59/6d0bf43247aabffd8e592b18f9bd9b2af4266597ee01c3c4e46ca25d3996/bluestacks5newinstances-0.10.tar.gz",
    "platform": null,
    "description": "\r\n# Creates multiple instances of BlueStacks 5 with an independent system disk.\r\n\r\n### Tested against Windows 10 / Python 3.11 / Anaconda\r\n\r\n### pip install bluestacks5newinstances\r\n\r\n\r\n```python\r\n# Install BlueStacks 5\r\n# Create the main emulator and at least one instance of it and run all created instances \r\n\r\n\r\nArgs:\r\n    newintancenametocreate_config (Union[str, None], optional): The configuration file for the new instance. If provided, it will override the default configuration (pie64_basis_modell, rvc64_basis_modell, nougat64_basis_modell, nougat32_basis_modell). Defaults to None.\r\n    newintancenametocreate (Literal[\"Rvc64\", \"Pie64\", \"Nougat64\", \"Nougat32\"], optional): The name of the new instance. Defaults to \"Rvc64\".\r\n    newtype_fastboot (Literal[\"Normal\", \"ReadOnly\"], optional): The type of fastboot for the new instance. Defaults to \"Normal\".\r\n    newtype_root (Literal[\"Normal\", \"ReadOnly\"], optional): The type of root for the new instance. Defaults to \"Normal\".\r\n    newtype_data (Literal[\"Normal\", \"ReadOnly\"], optional): The type of data for the new instance. Defaults to \"Normal\".\r\n    numberofinstances (int, optional): The number of instances to create. Defaults to 1.\r\n\r\nReturns:\r\n    list: A list of lists containing the instance name and the adb port for each created instance.\r\nExample:\r\n    from bluestacks5newinstances import batch_create_bstacks_instances\r\n\r\n    # don't change the uppercase letters, they are going to be replaced by the script\r\n    newinstances_and_adbports = batch_create_bstacks_instances(\r\n        newintancenametocreate_config=r'''bst.instance.Rvc64_NEWID.abi_list=\"x86,x64,arm,arm64\"\r\n    bst.instance.Rvc64_NEWID.adb_port=\"ADBPORTNEW\"\r\n    bst.instance.Rvc64_NEWID.ads_display_time=\"\"\r\n    bst.instance.Rvc64_NEWID.airplane_mode_active=\"0\"\r\n    bst.instance.Rvc64_NEWID.airplane_mode_active_time=\"\"\r\n    bst.instance.Rvc64_NEWID.android_google_ad_id=\"\"\r\n    bst.instance.Rvc64_NEWID.android_id=\"ANDROID_ID_NEW\"\r\n    bst.instance.Rvc64_NEWID.android_sound_while_tapping=\"0\"\r\n    bst.instance.Rvc64_NEWID.app_launch_count=\"0\"\r\n    bst.instance.Rvc64_NEWID.astc_decoding_mode=\"software\"\r\n    bst.instance.Rvc64_NEWID.autohide_notifications=\"0\"\r\n    bst.instance.Rvc64_NEWID.boot_duration=\"-1\"\r\n    bst.instance.Rvc64_NEWID.camera_device=\"\"\r\n    bst.instance.Rvc64_NEWID.cpus=\"4\"\r\n    bst.instance.Rvc64_NEWID.custom_resolution_selected=\"0\"\r\n    bst.instance.Rvc64_NEWID.device_carrier_code=\"se_72405\"\r\n    bst.instance.Rvc64_NEWID.device_country_code=\"076\"\r\n    bst.instance.Rvc64_NEWID.device_custom_brand=\"\"\r\n    bst.instance.Rvc64_NEWID.device_custom_manufacturer=\"\"\r\n    bst.instance.Rvc64_NEWID.device_custom_model=\"\"\r\n    bst.instance.Rvc64_NEWID.device_profile_code=\"sttu\"\r\n    bst.instance.Rvc64_NEWID.display_name=\"Rvc64_NEWID\"\r\n    bst.instance.Rvc64_NEWID.dpi=\"160\"\r\n    bst.instance.Rvc64_NEWID.eco_mode_max_fps=\"5\"\r\n    bst.instance.Rvc64_NEWID.enable_fps_display=\"0\"\r\n    bst.instance.Rvc64_NEWID.enable_fullscreen_all_apps=\"0\"\r\n    bst.instance.Rvc64_NEWID.enable_high_fps=\"0\"\r\n    bst.instance.Rvc64_NEWID.enable_logcat_redirection=\"0\"\r\n    bst.instance.Rvc64_NEWID.enable_notifications=\"0\"\r\n    bst.instance.Rvc64_NEWID.enable_root_access=\"0\"\r\n    bst.instance.Rvc64_NEWID.enable_vsync=\"0\"\r\n    bst.instance.Rvc64_NEWID.fb_height=\"1280\"\r\n    bst.instance.Rvc64_NEWID.fb_width=\"720\"\r\n    bst.instance.Rvc64_NEWID.first_boot=\"1\"\r\n    bst.instance.Rvc64_NEWID.game_controls_enabled=\"0\"\r\n    bst.instance.Rvc64_NEWID.gl_win_height=\"-1\"\r\n    bst.instance.Rvc64_NEWID.gl_win_screen=\"\"\r\n    bst.instance.Rvc64_NEWID.gl_win_x=\"0\"\r\n    bst.instance.Rvc64_NEWID.gl_win_y=\"0\"\r\n    bst.instance.Rvc64_NEWID.google_account_logins=\"\"\r\n    bst.instance.Rvc64_NEWID.google_login_popup_shown=\"0\"\r\n    bst.instance.Rvc64_NEWID.graphics_engine=\"aga\"\r\n    bst.instance.Rvc64_NEWID.graphics_renderer=\"gl\"\r\n    bst.instance.Rvc64_NEWID.grm_ignored_rules=\"\"\r\n    bst.instance.Rvc64_NEWID.launch_date=\"\"\r\n    bst.instance.Rvc64_NEWID.libc_mem_allocator=\"jem\"\r\n    bst.instance.Rvc64_NEWID.macro_win_height=\"-1\"\r\n    bst.instance.Rvc64_NEWID.macro_win_screen=\"\"\r\n    bst.instance.Rvc64_NEWID.macro_win_x=\"-1\"\r\n    bst.instance.Rvc64_NEWID.macro_win_y=\"-1\"\r\n    bst.instance.Rvc64_NEWID.max_fps=\"60\"\r\n    bst.instance.Rvc64_NEWID.pin_to_top=\"0\"\r\n    bst.instance.Rvc64_NEWID.ram=\"4096\"\r\n    bst.instance.Rvc64_NEWID.show_sidebar=\"1\"\r\n    bst.instance.Rvc64_NEWID.status.adb_port=\"5555\"\r\n    bst.instance.Rvc64_NEWID.status.ip_addr_prefix_len=\"24\"\r\n    bst.instance.Rvc64_NEWID.status.ip_gateway_addr=\"10.0.2.2\"\r\n    bst.instance.Rvc64_NEWID.status.ip_guest_addr=\"10.0.2.15\"\r\n    bst.instance.Rvc64_NEWID.status.session_id=\"0\"\r\n    bst.instance.Rvc64_NEWID.vulkan_supported=\"1\"''',\r\n        newintancenametocreate=\"Rvc64\",\r\n        newtype_fastboot=\"Normal\",\r\n        newtype_root=\"Normal\",\r\n        newtype_data=\"Normal\",\r\n        numberofinstances=3,\r\n    )\r\n    print(newinstances_and_adbports)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Creates multiple instances of BlueStacks 5 with an independent system disk.",
    "version": "0.10",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/bluestacks5newinstances"
    },
    "split_keywords": [
        "bluestacks",
        " instance"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c761df5371a55767a78f2e72ab979c98e0b96e519101bef5efc20f4a36b14eb5",
                "md5": "539656e95ab726d10c9a9cbd08918920",
                "sha256": "e18f955ec3e8c8aa72d4a82b05a8d5a2337ab6ca383d32e8f9e338982837c893"
            },
            "downloads": -1,
            "filename": "bluestacks5newinstances-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "539656e95ab726d10c9a9cbd08918920",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13191,
            "upload_time": "2024-06-15T09:26:05",
            "upload_time_iso_8601": "2024-06-15T09:26:05.116571Z",
            "url": "https://files.pythonhosted.org/packages/c7/61/df5371a55767a78f2e72ab979c98e0b96e519101bef5efc20f4a36b14eb5/bluestacks5newinstances-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de596d0bf43247aabffd8e592b18f9bd9b2af4266597ee01c3c4e46ca25d3996",
                "md5": "e26b77830fd36e6d26af11353419435a",
                "sha256": "5a6dd33b048aeb082161db32d7433a4250d19d8a28feb5c11a882ac20207793b"
            },
            "downloads": -1,
            "filename": "bluestacks5newinstances-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "e26b77830fd36e6d26af11353419435a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11824,
            "upload_time": "2024-06-15T09:26:06",
            "upload_time_iso_8601": "2024-06-15T09:26:06.405468Z",
            "url": "https://files.pythonhosted.org/packages/de/59/6d0bf43247aabffd8e592b18f9bd9b2af4266597ee01c3c4e46ca25d3996/bluestacks5newinstances-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-15 09:26:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "bluestacks5newinstances",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "consolectrlchandler",
            "specs": []
        },
        {
            "name": "exceptdrucker",
            "specs": []
        },
        {
            "name": "flatten_any_dict_iterable_or_whatsoever",
            "specs": []
        },
        {
            "name": "killallappsinfolder",
            "specs": []
        },
        {
            "name": "list_all_files_recursively_short",
            "specs": []
        },
        {
            "name": "reggisearch",
            "specs": []
        },
        {
            "name": "rootstacks",
            "specs": []
        },
        {
            "name": "xmltodict",
            "specs": []
        }
    ],
    "lcname": "bluestacks5newinstances"
}
        
Elapsed time: 0.87483s