India's own RPA Platform Python Powered

Overview

Welcome to My-AutoPylot , Made in India with ❤️


What is My-AutoPylot?

PyBots is an Indian firm based in Vadodara, Gujarat. My-AutoPylot is a product developed based on Python. Its a RPA framework for developers and common people to create Software BOTs. Using AI, we're working on Common Man's RPA.

Installation


My-AutoPylot is currently supported on Windows only ! (For macOS and Linux : Comming soon.)

Windows :

  • My-AutoPylot is compatible with both Windows 10 and Windows 11.

  • Installing on a Windows PC is a breeze.

  • Make certain that Python 3.8 or Python 3.9 is installed.

  • Then, from the command prompt, execute the following command.

    pip install -U my-autopylot
    

Importing


My-AutoPylot can be accessed using one of two methods.

Windows :

  • Terminal : Opens a Python interpreter using the command " import my-autopylot as ap "

    ap_py
    
  • Code Editor or IDE : Import My-AutoPylot first, and then run the file in Python.

    # ap_bot.py
    
    import my_autopylot as ap
    
    ap.windows_launch_app('notepad')
    
    python ap_bot.py
    

My-AutoPylot in Action

Now access more than 100 functions (hit ctrl+space in your IDE)

TIP: You can find and inspect all of My-AutoPylot's functions using only one function i.e., find(). Just pass the partial name of the function.

ap.find("excel")

ap.find("window")

  • 4 functions on Mouse Operations:

Function Accepted Parameters Description
ap.mouse_click() x=" ", y=" ", left_or_right="left", no_of_clicks=1, type_of_movement="abs or rel" Clicks at the given X Y Co-ordinates on the screen using ingle / double / triple click(s). Optionally copies selected data to clipboard (works for double / triple clicks)
ap.mouse_move() x=" ", y=" ", type_of_movement="abs or rel" Moves the cursor to the given X Y Co-ordinates
ap.mouse_drag_from_to() x1=" ", y1=" ", x2=" ",y2=" " Clicks and drags from X1 Y1 co-ordinates to X2 Y2 Co-ordinates on the screen
ap.mouse_search_snip_return_coordinates_x_y() img=" ", wait=10 Searches the given image on the screen and returns its center of X Y co-ordinates.


  • 8 functions on Window Operations (works only in Windows OS):

Function Accepted Parameters Description
ap.windows_show_desktop() None Minimizes all the applications and shows Desktop.
ap.windows_launch_app() pathOfExeFile=" " Launches any exe or batch file or excel file etc.
ap.window_get_active_window() None Launches any exe or batch file or excel file etc.
ap.window_activate_window() window_title=" " Launches any exe or batch file or excel file etc.
ap.window_get_all_opened_titles_windows() window_title=" " Gives the title of all the existing (open) windows.
ap.window_activate_and_maximize_windows() windowName=" " Activates and maximizes the desired window.
ap.window_minimize_windows() windowName=" " Activates and minimizes the desired window.
ap.window_close_windows() windowName=" " Close the desired window.


  • 8 functions on Folder Operations:

Function Accepted Parameters Description
ap.folder_read_text_file() txt_file_path=" " Reads from a given text file and returns entire contents as a single list
ap.folder_write_text_file() txt_file_path=" ", contents=" " Writes given contents to a text file
ap.folder_create() strFolderPath=" " When you are making leaf directory, if any intermediate-level directory is missing, folder_create() method creates them.
ap.folder_create_text_file() textFolderPath=" ", txtFileName=" " Creates text file in the given path.
ap.folder_get_all_filenames_as_list() strFolderPath=" ", extension='all' Get all the files of the given folder in a list.
ap.folder_delete_all_files() fullPathOfTheFolder=" ", file_extension_without_dot="all" Deletes all the files of the given folder
ap.file_rename() old_file_path='', new_file_name='', print_status=True Renames the given file name to new file name with same extension.
ap.file_get_json_details() path_of_json_file='', section='' Returns all the details of the given section in a dictionary


  • 3 functions on Keyboard Operations:

Function Accepted Parameters Description
ap.key_press() key_1='', key_2='', key_3='', write_to_window=" " Emulates the given keystrokes.
ap.key_write_enter() text_to_write=" ", write_to_window=" ", delay_after_typing=1, key="e" Writes/Types the given text and press enter (by default) or tab key.
ap.key_hit_enter() write_to_window=" " Enter key will be pressed once.


  • 5 functions on Screen-scraping Operations:

Function Accepted Parameters Description
ap.scrape_save_contents_to_notepad() folderPathToSaveTheNotepad=" ", switch_to_window=" ",X=0, Y=0 Copy pastes all the available text on the screen to notepad and saves it.
ap.screen_clear_search() delay=0.2 Clears previously found text (crtl+f highlight)
ap.search_highlight_tab_enter_open() searchText=" ", hitEnterKey="Yes", shift_tab='No' Searches for a text on screen using crtl+f and hits enter. This function is useful in Citrix environment.
ap.find_text_on_screen() searchText=" ", delay=0.1, occurance=1, isSearchToBeCleared=False Clears previous search and finds the provided text on screen.


  • 11 functions on Browser Operations:

Function Accepted Parameters Description
driver = ap.ChromeBrowser() Function to launch browser and start the session.
driver.open_browser() dummy_browser=True,
incognito=False,
profile="Default"
Function to launch browser and start the session.
driver.navigate() url=" " Navigates to Specified URL.
driver.write() Value=" ", User_Visible_Text_Element=" " Write a string on the given element.
driver.mouse_click() User_Visible_Text_Element=" ", element=" ",
double_click=False, right_click=False
Click on the given element.
driver.mouse_hover() User_Visible_Text_Element=" " Performs a Mouse Hover over the Given User Visible Text Element
driver.scroll() direction="down", weight="100" px Scrolls the browser window.
driver.key_press() key_1=" ", key_2=" " Type text using Browser Helium Functions and press hot keys
driver.hit_enter() None Hits enter KEY using Browser Helium Functions
driver.wait_until() text=" ", element="t" Wait until a specific element is found.
driver.refresh_page() None Refresh the page.
driver.set_waiting_time() time=10 Set the waiting time for the self.browser_driver. If element is not found in the given time, it will raise an exception.
driver.find_element() element_xpath="xpath" Find the element using xpath.
driver.get_text() element_xpath=" ", element="t" Wait until a specific element is found.
driver.close() None Close the Helium browser.


  • 3 functions on String Operations:

Function Accepted Parameters Description
ap.string_remove_special_characters() inputStr=" " Removes all the special character.
ap.string_extract_only_alphabets() inputString=" " Returns only alphabets from given input string
ap.string_extract_only_numbers() inputString=" " Returns only numbers from given input string


  • Some miscellaneous functions:

Function Accepted Parameters Description
ap.clear_screen() None Clears Python Interpreter Terminal Window Screen
ap.print_with_magic_color() strMsg:str=" ", magic:bool=False Function to color and format terminal output
ap.show_emoji() strInput=" " Function which prints Emojis
ap.download_this_file() url=" " Downloads a given url file to BOT output folder or Browser's Download folder
ap.pause_program() seconds="5" Stops the program for given seconds

We love your contribution

Contribute to us by giving a star, writing articles on My-AutoPylot, giving comments, reporting bugs, bug fixes, feature enhancements, adding documentation, and many other ways.

Invitation to our Monthly Branded Hackathon

We also invite everyone to take part in our monthly branded event, the My-AutoPylot Hackathon, and stand a chance to work with us.


Acknowledgements

We sincerely thanks to all it's dependent packages for the great contribution, which made My-AutoPylot possible!

Need help in Building BOTS?

Write us by clicking below

Gmail  

You might also like...
Allow you to create you own custom decentralize job management system.

ants Allow you to create you own custom decentralize job management system. Install $ git clone https://github.com/hvuhsg/ants.git Run monitor exampl

Discord's own Dumbass made for shits n' Gigs!

FWB3 Discord's own Dumbass made for shits n' Gigs! Please note: This bot is made to be stupid and funny, If you want to get into bot development you'r

Run CodeServer on Google Colab using Inlets in less than 60 secs using your own domain.

Inlets Colab Run CodeServer on Colab using Inlets in less than 60 secs using your own domain. Features Optimized for Inlets/InletsPro Use your own Cus

Myrepo - A tool to create your own Arch Linux repository

myrepo A (experimental) tool to create your own Arch Linux repository Example We

Users can read others' travel journeys in addition to being able to upload and delete posts detailing their own experiences

Users can read others' travel journeys in addition to being able to upload and delete posts detailing their own experiences! Posts are organized by country and destination within that country.

Different steganography methods with examples and my own small image database

literally-the-most-useless-project [Different steganography methods with examples and my own small image database] This project currently contains thr

Procedurally generated Oblique Strategies for writing your own Oblique Strategies

Procedurally generated Oblique Strategies for writing your own Oblique Strategies.

Its a simple and fun to use application. You can make your own quizes and send the lik of the quiz to your friends.
Its a simple and fun to use application. You can make your own quizes and send the lik of the quiz to your friends.

Quiz Application Its a simple and fun to use application. You can make your own quizes and send the lik of the quiz to your friends. When they would a

The refactoring tutorial I wrote for PyConDE 2022. You can also work through the exercises on your own.
The refactoring tutorial I wrote for PyConDE 2022. You can also work through the exercises on your own.

Refactoring 101 planet images by Justin Nichol on opengameart.org CC-BY 3.0 Goal of this Tutorial In this tutorial, you will refactor a space travel t

Scripts for BGC analysis in large MAGs and results of their application to soil metagenomes within Chernevaya Taiga RSF-funded project

Scripts for BGC analysis in large MAGs and results of their application to soil metagenomes within Chernevaya Taiga RSF-funded project

1 Dec 06, 2021
Notifies server owners of mod updates, also notifies of player deaths and player joins through Discord.

ProjectZomboid-ServerAssistant Notifies server owners of mod updates, also notifies of player deaths and player joins through Discord. A Python based

3 Sep 30, 2022
This repository contains the exercices for the robotics class at Supaero, 2022.

Supaero robotics, 2022 This repository contains the exercices for the robotics class at Supaero, 2022. The exercices are organized by notebook. Each n

Gepetto team, LAAS-CNRS 5 Aug 01, 2022
pgvector support for Python

pgvector-python pgvector support for Python Great for online recommendations 🎉 Supports Django, SQLAlchemy, Psycopg 2, Psycopg 3, and asyncpg Install

Andrew Kane 37 Dec 20, 2022
python's memory-saving dictionary data structure

ConstDict python代替的Dict数据结构 若字典不会增加字段,只读/原字段修改 使用ConstDict可节省内存 Dict()内存主要消耗的地方: 1、Dict扩容机制,预留内存空间 2、Dict也是一个对象,内部会动态维护__dict__,增加slot类属性可以节省内容 节省内存大小

Grenter 1 Nov 03, 2021
Easy installer for running Amazon AVS Device SDK on Raspberry Pi

avs-device-sdk-pi Scripts to enable Alexa voice activation using Picovoice Porcupine If you like the work, find it useful and if you would like to get

4 Nov 14, 2022
How to build an Fahrenheit to Celsius Converter in Python

Generally to measure the temperature we make use of one of these two popular units i.e. Fahrenheit & Celsius.

PyLaboratory 0 Feb 07, 2022
PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks

PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks. With it you can: Open and edit a Qlik app inside a Ju

BIX Tecnologia 16 Sep 09, 2022
A small scale relica of bank management system using the MySQL queries in the python language.

Bank_Management_system This is a Bank Management System Database Project. Abstract: The main aim of the Bank Management Mini project is to keep record

Arun Singh Babal 1 Jan 27, 2022
A python program to detect rickrolls with just the youtube link.

rickroll_detector A python program to detect rickrolls with just the youtube link. Usage: clone this repo or download zip run the main.py file with py

Tricky 4 Nov 06, 2022
Zapiski za ure o C++-u

cpp-notes Zapiski o C++-u. Objavljena verzija je na https://e6.ijs.si/~jslak/c++/ Generating the notes The setup assumes you are working in a Linux en

Jure Slak 1 Jan 05, 2022
The docker-based Open edX distribution designed for peace of mind

Tutor: the docker-based Open edX distribution designed for peace of mind Tutor is a docker-based Open edX distribution, both for production and local

Overhang.IO 696 Dec 31, 2022
全局指针统一处理嵌套与非嵌套NER

GlobalPointer 全局指针统一处理嵌套与非嵌套NER。 介绍 博客:https://kexue.fm/archives/8373 效果 人民日报NER 验证集F1 测试集F1 训练速度 预测速度 CRF 96.39% 95.46% 1x 1x GlobalPointer (w/o RoPE

苏剑林(Jianlin Su) 183 Jan 06, 2023
Adansons Base is a data management tool that organizes metadata of unstructured data and creates and organizes datasets.

Adansons Base is a data management tool that organizes metadata of unstructured data and creates and organizes datasets. It makes dataset creation more effective and helps find essential insights fro

Adansons Inc 27 Oct 22, 2022
The purpose of this script is to bypass disablefund, provide some useful information, and dig the hook function of PHP extension.

The purpose of this script is to bypass disablefund, provide some useful information, and dig the hook function of PHP extension.

Firebasky 14 Aug 02, 2021
A check numbers python module

Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.com/FayasNoushad/Numbers/blob/main/LICENSE Deplo

Fayas Noushad 3 Nov 28, 2021
tetrados is a tool to generate a density of states using the linear tetrahedron method from a band structure.

tetrados tetrados is a tool to generate a density of states using the linear tetrahedron method from a band structure. Currently, only VASP calculatio

Alex Ganose 1 Dec 21, 2021
Displays Christmas-themed ASCII art

Christmas Color Scripts Displays Christmas-themed ASCII art. This was mainly inspired by DistroTube's Shell Color Scripts Screenshots ASCII Shadow Tex

1 Aug 09, 2022
Object-data mapper and advanced query manager for non relational databases

Object data mapper and advanced query manager for non relational databases. The data is owned by different, configurable back-end databases and it is

Luca Sbardella 121 Aug 11, 2022
Convert temps in your Alfred search bar

Alfred Temp Converter Convert temps in your Alfred search bar. Download Here Usage: temp 100f converts to Celsius, Kelvin, and Rankine. temp 100c conv

Justin Hamilton 4 Apr 11, 2022