Question about Python Apis [closed]

0

Good morning!

I need to make a program that simulates the operation of a "user", these operations are taken based on various circumstances, would have to send code via Linux Terminal and Windows cmd and also observe fields of an assisted system that show alarms (these alarms are shown in the form of images / gifs), I would like to know which APIs currently exist to do such tasks.

Note: get this information on account of the assisted system, and many cases when I try to access the memory it ends up "bugging" and closing.

I want to be able to develop software that helps network administrators to spend less time and get information faster and more securely.

Note: I ask Linux / Windows, due to the fact that my software has to get information from 2 different operating systems and feed a database.

    
asked by anonymous 21.11.2018 / 08:31

1 answer

1

Dude, Python would be good as it works on Windows and Linux perfectly.
When you talk in (simulates the operation of a "user") I think of automation, which you can do using Lib: Home  Pywinauto ( link )
With Pywinauto, you can monitor the application you want, pick up application values, automate tasks quickly and simply. You can even monitor the Windows Task Manager, for example: Know which program is consuming more RAM and shut it down. Pretty cool, huh?

Can be done with Python2 too, using Lib:
 Pyautogui ( link )
But this lib is very limited. I do not recommend it.

These Libs are automated with Python, I've worked with both, and they work fine. To view the alerts we can use Lib (win32) , a very simple example:

import win32api

win32api.MessageBox(0, 'hello', 'title')

To display in linux you can use the simple-monitor-alert ( lib)
I think I've cleared your doubts, anything asks me what I say. = D

    
21.11.2018 / 11:26