{"id":21997662,"url":"https://github.com/osfunapps/os_android_launcher_creator-py","last_synced_at":"2025-04-30T21:06:02.360Z","repository":{"id":57449652,"uuid":"251077255","full_name":"osfunapps/os_android_launcher_creator-py","owner":"osfunapps","description":"This module will create an app launcher (logo) using Android Studio","archived":false,"fork":false,"pushed_at":"2024-07-15T12:55:47.000Z","size":313,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T21:05:46.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osfunapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-29T16:22:45.000Z","updated_at":"2024-08-17T15:50:33.000Z","dependencies_parsed_at":"2022-09-26T17:31:05.371Z","dependency_job_id":null,"html_url":"https://github.com/osfunapps/os_android_launcher_creator-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos_android_launcher_creator-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos_android_launcher_creator-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos_android_launcher_creator-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos_android_launcher_creator-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osfunapps","download_url":"https://codeload.github.com/osfunapps/os_android_launcher_creator-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251782761,"owners_count":21642986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T22:17:36.446Z","updated_at":"2025-04-30T21:06:02.298Z","avatar_url":"https://github.com/osfunapps.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n------------\n\nThis module will create an app launcher (logo) using Android Studio in all sizes and shapes (web, round) and in all dpis (mipmap-anydpi-v26, mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, mipmap-xxhdpi, mipmap-xxxhdpi, values).\n\nNotice: you need to use the tools of Android Studio to make it work. I recommend to create a sample project and run on it.\n\n## Installation\nInstall via pip:\n\n    pip install os-android-launcher-creator\n\n## Quick Usage       \nFrom Python:\n```python\nimport os_android_launcher_creator.launcher_creator as lc\n\nlc.create_launcher_icons(custom_android_project_path='/Users/home/Programming/android/sample_project',\n                         icon_files_list=['path/to/first/icon1.svg', 'path/to/second/icon2.svg'],\n                         output_path='output/path/for/all/icons',\n                         shortcut_keys_to_open_image_asset=['shift', 'b'],\n                         launcher_resize_percent=50,\n                         launcher_background_color_hex='#ffffff'\n                         delete_icon_after_done=True)\n```  \n## Functions and Signatures\n```python\ndef create_launcher_icons(custom_android_project_path, icon_files_list, shortcut_keys_to_open_image_asset,  launcher_resize_percent=50, launcher_background_color_hex='#ffffff'):\n    \"\"\"\n    Will create a launcher icon from a given icon\n    NOTICE: the automation need to run in an open project in Android Studio so make sure you open one to work on!\n\n    Args:\n        custom_android_project_path: the current open Android Studio project\n        icon_files_list: a list of all of the icons you wish to turn on to launcher icons\n        shortcut_keys_to_open_image_asset: the list of buttons to hold together in order to open the Image Asset in Android Studio\n        launcher_resize_percent: the resize percents of the icon to fit the frame in the editor\n        launcher_background_color_hex: the color of the background of the icons\n    \"\"\"\n```\n\n![output](/images/sample.png)\n## Licence\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosfunapps%2Fos_android_launcher_creator-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosfunapps%2Fos_android_launcher_creator-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosfunapps%2Fos_android_launcher_creator-py/lists"}