If you’re looking for practical examples of Python automation, this article features a selection of scripts available in the BotCity repository.
From web scraping and data analysis to email automation and form filling, each script showcases the potential of the BotCity framework to simplify repetitive tasks and boost productivity.
Check out the details of each one and see how to apply them in your daily routine!
Learn more: Bot Repository
1. Google Maps Routes
This bot aims to collect pairs of addresses from a spreadsheet and search in the google maps website for the best routes, collecting the information and the link to the route that was generated. At the end, the spreadsheet is updated with the route link that was collected.
- Python
- BotCity framework core for RPA
- Google Maps website
Script: Bot – Google Maps Routes
2. IBGEBot
Automation using BotCity FrameWork, which works with computer vision, was developed for the Rocketseat Scholarships challenge at the #DoWhile event. Simple automation to access the IBGE website and download data in Excel format from the chosen location.
Script:: IBGEBot
3. Dev.to analysis
The automation performs web scraping on the dev.to website, extracting data from the week’s most popular articles, such as title, number of reactions, comments, and tags and generates a CSV with this data. It then creates a dashboard using Streamlit with the data obtained from the website.
- You have Python >= 3.10
- Your computer is <Windows>
Script:: Dev.to analysis
4. BotInfomoney
The automation collects information on the most significant rises in the stock market through the Infomoney website, searches the index and value of shares on Google Finance, and generates a demonstrative spreadsheet.
Script:: BotInfomoney
5. WhatsAppBot
Developed in Python with BotCity Studio. This automation access WhatsApp and interacts with another bot added to the contacts to check the balance available on the student transport card.
Script:: WhatsAppBot
6. ImageEditorBot
This is a bot that operates the online Image Editor Pixlr found at https://pixlr.com/.
Requirements:
- Python 3.9 or newer + venv
- Chromedriver.exe added to your PATH variable (alternatively, just put it inside the same folder as the bot.py)
- Deactivate Windows Clear Type
Script:: ImageEditBot
7. WebFormFilling
This automation was created to simplify the process of filling out online forms. It uses the Python RPA library to interact with graphical interface elements, quickly and accurately populating fields with specific data.
Script: WebFormFilling
8. Top Stocks B3
Automation that extracts and filters current stocks on the Brazilian stock exchange (B3) based on data from the fundamentus.com.br website that correspond to the following criteria: P/E between 3 and 10; P/BV between 0.5 and 2; Dividend Yield between 7% and 14%; ROE between 15% and 30%; Liquidity greater than 1M.
Script:: Top Stocks B3
9. Bitwarden API
This automation loads some secrets in the Bitwarden vault and uses them to fill the form. I used a web bot template from BotCity, accessing DOM elements. You must install Python, Pip, Virtualenv, and other dependencies described in the requirements file.
Script: Bitwarden API
10. RPA email
The RPA automation project was developed with Python using the BotCity framework to read zip codes, consults the Correios do Brasil website, saves the information in a Google Sheets spreadsheet, and sends an email to notify that the registration executed well.
Script: RPA email
Have you checked out the BotCity repository?
The scripts in the BotCity repository are great examples of how automation can simplify daily tasks — whether it’s data collection, API integration, or even sending automated emails.
If you want to explore these solutions and start applying them, just access the repositories and test the automations in your own environment. Try them out and don’t forget to create your free BotCity account!