Customizing Python ADB Automation Scripts

Job ID: 36788707

Budget: $100 – $300 USD

I am willing to add a budget if it confirms your ability to do this project properly.
Submit your portfolio and experience.

Project Goal:
Upgrade functionality by customizing app automation scripts developed in Python.

Function description:
Modify your code to work as multithreaded. (Single thread works fine)

#####Explanation of existing features#####
[Single Thread example]
There are 5 accounts logged in to 1 device.
device1: account1,2,3,4,5

[Single Thread - Timeline]
1. Open a terminal.
2. Enter the command to execute account1.
3. Account 1 executes a series of automated processes according to the script.
4. Account1 completes the automation process > Sleep Mode (set in config.yml)
5. Awake Mode > Account1 performs an automated process.
....(repeat process)

[Single Thread - Multi Execution]
1. Open a terminal.
2. Enter the command to execute accounts 1~5.
3. A total of 5 script windows are executed respectively to perform the automation process.
4. Complete the automation process > Sleep mode (set in config.yml)
5. Awake Mode > Accounts 1 to 5 perform the automation process.
....(repeat process)

#####Implementing additional features#####

[Multi-thread example]
I have 5 accounts logged in on 5 devices. (25 total accounts)
device1: account1,2,3,4,5
....
Device 5: account 21,22,23,24,25

[multi-threaded - TimeLine]
1. Open a terminal.
2. Enter the command to run devices 1-5. (Python: Get_Range)
(e.g. Enter the device number to run: 1-5)
3. An account with an execution sequence prepared for each device performs automation.
...(repeat process)

※ If you accept the project, we will further explain it more clearly.

#########IMPORTANT#########
Criteria for project success:

1. When an account finishes its work and enters [Sleep Mode], the next account in [Awake Mode] should loop automatically.

2. Get-Range should work fine when running the script.
Below is the example code.

#Example Code
def Get_Range(inputStr):
result = []
ranges = inputStr.split(',')

for range in ranges:
if '-' in range:
start, end = map(int, range.split('-'))
result.extend(range(start, end+1))
else:
result. append(int(range))

return result

#Example usage:
input_string = "1-5,7,10-15"
output = Get_Range(input_string)
print(output)