{"id":13520210,"url":"https://github.com/SudipBishwakarma/Bulk-Remove-OneSignal-Users","last_synced_at":"2025-03-31T16:30:48.338Z","repository":{"id":37614827,"uuid":"228170102","full_name":"SudipBishwakarma/Bulk-Remove-OneSignal-Users","owner":"SudipBishwakarma","description":"Bulk remove OneSignal subscribed users blazingly faster with parallel processing.","archived":false,"fork":false,"pushed_at":"2024-06-17T22:46:37.000Z","size":22,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T05:22:59.851Z","etag":null,"topics":["numpy","pandas","python","python-logger","python-multiprocessing","python-threading","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SudipBishwakarma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-15T11:02:50.000Z","updated_at":"2020-06-23T13:40:42.000Z","dependencies_parsed_at":"2023-01-24T15:30:13.217Z","dependency_job_id":null,"html_url":"https://github.com/SudipBishwakarma/Bulk-Remove-OneSignal-Users","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/SudipBishwakarma%2FBulk-Remove-OneSignal-Users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudipBishwakarma%2FBulk-Remove-OneSignal-Users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudipBishwakarma%2FBulk-Remove-OneSignal-Users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudipBishwakarma%2FBulk-Remove-OneSignal-Users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SudipBishwakarma","download_url":"https://codeload.github.com/SudipBishwakarma/Bulk-Remove-OneSignal-Users/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222670691,"owners_count":17020513,"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":["numpy","pandas","python","python-logger","python-multiprocessing","python-threading","python3"],"created_at":"2024-08-01T05:02:14.128Z","updated_at":"2024-11-02T03:30:34.895Z","avatar_url":"https://github.com/SudipBishwakarma.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Bulk Remove OneSignal Users\nBulk remove OneSignal subscribed users blazingly faster with parallel processing.\n\n## Description\nThis script makes use of pythons multiprocessing module for spawning N-number of child processes in parallel to execute auto-generated csv files.\nPythons threading module is used to fetch processed rows from queue and pass it to the logger.\n\nPandas is used for csv manipulation and Numpy for handy vectorization without explicit for loops.\n\n## Usage\n'file.py' is the main file to execute and depends on 'settings.py' file for api credentials and file to import.\n\nFile 'settings_sample.py' is identical to 'settings.py'.\n\nSet CHUNK_SIZE to your desired figure. For instance, if the import file has 18K rows, then CHUNK_SIZE of 500 will create:\n```\n18000 / 500 = 36\n36 files with 500 rows each and start 36 child processes to process generated files in parallel.\n```\n\nIf the CHUNK_SIZE is lower, more files will get generated as well as the number of processes.\nOne downside to this is, your computer might become slower due to processes consuming the CPU.\n\nAdjust CHUNK_SIZE based on optimal value and make sure you're not running any cpu intensive tasks before executing this script.\n\n```\n$ python3 file.py\n```\n\n\nPull requests and feature improvements are most welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSudipBishwakarma%2FBulk-Remove-OneSignal-Users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSudipBishwakarma%2FBulk-Remove-OneSignal-Users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSudipBishwakarma%2FBulk-Remove-OneSignal-Users/lists"}