Live data from Hacker News

Ask HN: What you have automated with Python?

news.ycombinator.com

41–48 of 48 posts

Re: Ask HN: What you have automated with Python?

#41
Not in Python (yet), but I recently built a tiny Bash script to extract some useful information from Java Flight Recorder logs (by essentially converting them to XML and doing some XPath queries).

However, covering all corner cases in Bash is such a pain that I might just migrate it all to Python someday.

Re: Ask HN: What you have automated with Python?

#43
We, meaning 3 of us, have automated a greenhouse using Python code running on a raspberry pi -- this includes getting data from sensors within the greenhouse (temperature, humidity, soil moisture, soil temperature, carbon dioxide), from an accurite 5 in 1 weather station outside, and then running fans (intake and exhaust), water pumps and sprinklers, camera, etc... and pump data to web, so that we do not need to be present to see what is happening inside the greenhouse. No code is production ready, but we have had 2 good vegetables crops from the greenhouse already. The problem we working on is presented here : https://medium.com/@pravenj/a-bucket-a-day-a-hack-in-agricul...

Re: Ask HN: What you have automated with Python?

#44
post #43

We, meaning 3 of us, have automated a greenhouse using Python code running on a raspberry pi -- this includes getting data from sensors within the greenhouse (temperature, humidity, soil moisture, soil temperature, carbon dioxide), from an accurite 5 in 1 weather station outside, and then running fans (intake and exhaust), water pumps and sprinklers, camera, etc... and pump data to web, so that we do not need to be p…

Absolutely Inspiring. Are you guys hiring?

Re: Ask HN: What you have automated with Python?

#46
European Govt Bond market making including order management on inter dealer broker electronic markets, risk driven automated hedging with Eurex futures and ax driven quoting on dealer to client markets. Ten years ago. Can't share the code I'm afraid as it's proprietary.

Re: Ask HN: What you have automated with Python?

#47
I had a script that each week would process the schedule of a local movie theater (which only shows non-recent movies), fetch my individual score for each from Criticker[1] and send me an email with the entries scoring over 70%.

I managed to watch some classics on a Big Screen thanks to it!

Re: Ask HN: What you have automated with Python?

#48
post #2

I have a script that logs into my bank's web interface, and extracts my current balance. I subtract out my upcoming bills/savings transactions to tell me how much money I can spend until my next paycheck. My next step is to have it email the amount spendable every morning. I'm using python 3, selenium, and SQLAlchemy connected to a home MySQL server.

Same here, though I only store them in a plain text file.

My tip for others trying the same is to look into your bank's mobile site, if they have one. Mine was much simpler to parse, I only needed a single XPath expression to extract the number.

Also, if your bank's site is AJAX-y, look into the network tab of your browser, chances are you can find an URL that sends you a nice JSON back with the data you need.

Post reply on HN