r/Python • • Aug 17 '26

Discussion What are some Python automations you built for your life?

What Python scripts/projects did you built to use on a day to day basis? Or maybe someone else built it, but it’s useful for your personal life in some way

I think the “projects ideas” thread is really missing those useful opportunities

I myself thought about automating tax calculations, but still didn’t take the time to do it hah

323 Upvotes

164 comments sorted by

View all comments

Show parent comment

3

u/pacopac25 Aug 17 '26

For one of my clients, IT will dump a .parquet or CSV into a directory on a schedule. I use DuckDB to transform into the format I need.

Sometimes I just grab what I need with PowerQuery, but often I'll create "views" which I store in sqlite format for use later.

1

u/pacopac25 Aug 20 '26

Note: To ensure idempotency, I store a hash of the files I consume, because sometimes, for no reason, they stop appending the date to the csv. So I get heres yourcrappydata1.csv, heresyourcrappydata2.csv, etc instead of heresyourcrappydata_2026-08-20.csv

1

u/unsungzero1027 Aug 20 '26

That’s annoying. I have to send reports to one of our vendors for them to add clients that have or removed a specific program. I HAVE to append the report with mmddyyhhmmss and it literally is nothing to add. I wonder if they are having issues with the file path after appending the date. Though that would only make sense if they moved where the report originally gets dropped.

Or could just be someone is off that day and the person covering for them doesn’t decide to add the date?