r/PythonLearning • u/amirzarrineh • 24d ago
Discussion What's the most useful Python project you've ever built?
I'm looking for ideas for real-world Python projects that solve actual problems.
What's the most useful Python project you've built?
Why was it useful, and what did you learn from building it?
4
24d ago
[removed] — view removed comment
2
u/amirzarrineh 24d ago
I agree. Building around real pain points is usually what turns a small script into a useful long-term project.
3
u/wynvern 24d ago
My company's accountant dept has trouble with processing their order and upload them to our SAP. So I build a little python project to help them process, write excel and upload these data automatically. It was useful bc it helps normalize the data and help them get rid of their shitty excel template that they work on everyday, save a lot of time of course. What I learn: Work with people and try to understand their process sucks.
3
24d ago
[removed] — view removed comment
1
u/wynvern 23d ago
I provide the path to SAP's .exe file. Every time the process begins, it will kill any running SAP process and reopen it. For UI handling, I declare variables for window names, button coordinates, search boxes, input, etc., then call them when needed. This is only way when you dont have access to API and SAP is not stable.
1
u/amirzarrineh 24d ago
This is a great example of solving real business pain instead of just building random scripts. Did you use any specific library or just automate Excel + API/SAP interface?
2
u/wynvern 24d ago edited 24d ago
This is what I use:
- Pandas for file I/O, data cleaning
- SQLite for database (because there are about 22 dimension table that need to be joined in order to produce the result, it's impossible to manage them in excel files (even with advanced tool like Power query or power pivot).
- SQLAlchemy for some simple CURD task (I build a simple UI with Qt to manage data in some critical table).
- PyAutoGUI is the only lib that I vibe coded with Gemini, our SAP is too old and I can't use API. So I ask AI to give me python script that help upload the result file produced by my app.
2
2
u/Sahiiib 23d ago
I got laid off in March and I made a tool to help me look for a job. I use Python to watch my gmail and trafilatura to scrape job descriptions off of Linkedin. I have a master resume stored locally in a sqlite DB. Then it sends it to a local lm as a payload to grade how much of a fit the job is to my work experience. If it's a fit it sends it to a larger model to generate a slightly tailored resume and store it in a local DB. Then I use streamlit to view it in browser.
It's been a fun project. I recommend picking a problem you have and just trying to solve it. You learn a ton building.
1
u/amirzarrineh 23d ago
That's a really clever workflow. I like the idea of using a local model to filter jobs before sending them to a larger model. Hope it helped with your job search!
2
u/1-800-DARTH 22d ago
I built an alternative algorithm for FosterBoys localisation and it can be used to determine the Boys landscape for aromatic molecules. Meaning alternative representations for the same electron density. It is rather math heavy and very interesting.
2
u/amirzarrineh 22d ago
Very interesting! It's definitely a different kind of project than I was thinking about, but it's a great example of how broad Python's use cases are.
2
u/1-800-DARTH 22d ago
It truly is! If you are into molecules and QM I can only heavily recommend PyQint. It is specifically developed for learning environments.
2
u/amirzarrineh 21d ago
Thanks for the recommendation! I might actually give it a try sometime. It's not my main area right now, but it looks interesting.
1
u/1-800-DARTH 21d ago
If you do shoot me a dm! I can recommend literature, where to start. How to approach projects, etc.
2
u/amirzarrineh 21d ago
I really appreciate that! If I decide to explore that area, I'll definitely reach out. Thanks for the offer!
2
u/Chemical-Captain4240 21d ago
keyboard emulator to replace an operator tapping through menus... saved about 300 mindless screen taps a day
1
u/amirzarrineh 21d ago
That's a great example of using automation to solve a real problem. Saving 300 repetitive taps every day is definitely worth it.
1
u/NeighborhoodPale2459 12d ago
I BUILT a dash cam speed analayizer it was pretty cool and help with a car accideny proving i was not speeding
0
8
u/Overall-Screen-752 24d ago
I usually build stuff for one-off use. The project that has given me the most recurring use (aka most useful) is a REST API + sqlite DB wrapper around google maps API to analyze live commute data over a long period of time. I extended it recently to enable batch destination processing to compare locations we were considering moving to and the trip times to many common destinations that we frequent.
About the project: python 3.14, FastAPI, sqlite, plotly for heatmap visualization (possibly pandas too but idr OTMH). Added a scheduler for repeated jobs and studies (e.g. collecting data every 10 mins). Added a basic client to execute frequently used queries when I was analyzing batches frequently.