This repository houses two powerful projects: "Daily Sales Whatsapp Report," a daily Python routine orchestrating seamless interactions with a restaurant ERP and disseminating insights via WhatsApp, and "Custom PowerBI," a dynamic data app utilizing Python, Streamlit, and Altair to extract, visualize, and communicate key metrics from the same ERP. Streamline the restaurant management with automated processes, dinamic charts and insightful reporting.
This automations is a daily routine powered by Python, leveraging technologies like Requests, Playwright, and Pandas. It seamlessly interacts with a restaurant ERP, retrieves sales data, generates insightful considerations, and effortlessly shares the top 7 products' performance on a WhatsApp group.
Explain the steps of the automation process:
- Call a restaurant ERP API.
- Authenticate using OAuth 2.0. and refresh the token if is needed
- GET data from a sales endpoint.
- Parses the JSON and analyzes and summarize the content.
- Create a considerations/resume text with a table of the top 7 products with the best sales earnings.
- Open a browser in your web WhatsApp already in a group.
- Send the message to the group.
- Python 3
- Requests
- Pandas
- Playwright
- Pyperclip
- Locale
- Tabulate
- tqdm
Fun Fact: These automations run every single day for more than 2 years.
Report is a dynamic data app crafted with Python, Pandas, Streamlit, and Altair. Extracting insights from a restaurant ERP, it offers a user-friendly interface to upload CSV files, clean and wrangle data, and present visually appealing and informative charts. The reports, printed in PDF, are tailored for effective communication with stakeholders.
Explain the steps of the reporting process:
- Run a web server with a menu separated by topics.
- Upload CSV files extracted from the restaurant ERP.
- Read, clean, and wrangle the data with Pandas.
- Display beautiful and helpful charts with customized colors using Streamlit and Altair.
- Print the reports in PDF to send to restaurant stakeholders.
- Python 3
- Pandas
- Streamlit
- Altair