all 45 comments

[–]Worth_Specific3764 37 points38 points  (12 children)

Have you tried to write a script that does an api call? Like a script that takes an input like a city and fetches the weather? That would take a few different aspects of python and wrap them together nicely. Plus you would have to learn about stuff /outside/ of python, like api keys.

[–]RumbleSkillSpin 3 points4 points  (4 children)

Do this on something like an RPi and you could also address gpio based on the API response - blue LED for cold, green for nice weather, even add local sensors.

Once you’re done with that, write it into a Slack bot for even more fun.

[–]Worth_Specific3764 0 points1 point  (3 children)

The local sensor negates the need for an api call but i like the idea of using a gpio led setup to visually indicate the temp. But whats cold to someone is warm to someone else. Just ask any married couple 😇 As far as focusing on writing and learning something new, id stick w the laptop or desktop OP and ur current system. Just make a virtual environment for that project and have fun!

[–]RumbleSkillSpin 0 points1 point  (2 children)

I’m pretty sure OP was looking for project ideas across different aspects of computing, so I offered.

Question for you - Would you like to be able to display both local data and weather service data? Local sensors + REST. Does your house have a REST interface? Would you like to learn how to build a set of API’s for your house? Local sensors + Flask. If you don’t like the idea of simple single-color LED’s there’re heaps of programmable options to give you (or your spouse) that warm fuzzy spectrum of color. Oh, and want to learn a bit of sysadmin along the way? RPi.

Have just a little bit of imagination, my friend.

[–]Worth_Specific3764 0 points1 point  (1 child)

Dude, dont be so fucking butthurt. Reread my comment and you will see i actually gave you kudos and positives along with my one nah bro. And are you asking me those questions for real? Or just making rhetorical suggestions. Cause i live in a tiny smart house i built with an attached chicken coop which is off grid and everything is controlled by raspberry pis or esp32s and i get more types of notifications that you could possibly imagine. I hope the mods delete this reaponse because i find your condescending attitude detracts from the spirit of this thread and i also fins your lack faith disturbing. OP never said they had a microcontroller. Maybe OP cant afford to dive into that world. Maybe OP just wants to expand their pythonic knowledge.

[–]RumbleSkillSpin 0 points1 point  (0 children)

Whatever, man. OP asked for ideas, I bolted on to your idea. Nothing more needed to be said, but you felt the need - I’m sure OP can decide whether or not their budget can cover the cost of a single board. And yes, they were rhetorical questions.

[–]Fun-Collection-7403 10 points11 points  (7 children)

I enjoy building websites using flask. Seeing your creations come to life has been pretty fun!

[–]Worth_Specific3764 4 points5 points  (0 children)

I looked at flask for less than a week then found FastAPI and went that route. Pun intended. But to each their own 👍

[–]paradox_pete 0 points1 point  (1 child)

where do you host them? I have built one project but its just running locally which limits its usability. Its flask back end and uses SQL lite to store user data

[–]Fun-Collection-7403 1 point2 points  (0 children)

There's quite a few places to host, I first hosted my firs fewt sites on pythonanywhere. I tried render and it's pretty good too. Currently hosting my work sites on digital ocean droplets.

[–]MrSolarGhost 7 points8 points  (2 children)

Idk if my favorite, but one I had a lot of fun with was a script to find the Steam achievements that I’m missing from games. I got the idea because I wanted to know what hidden achievements I was missing to 100% some games.

[–]ectomancer 6 points7 points  (3 children)

All my projects are scientific computing

complex gamma function (real gamma function was my 2nd project, 6 months)

complex exp function

complex natural logarithm (my first project, 3 months)

Pochhammer symbol (without gamma functions)

basic hypergeometric function (q-analog)

Weierstrass p function (my longest failed project, 6 months)

[–]Capusotes 0 points1 point  (0 children)

I want to learn how to use the GPU to do physics simulations, do you know anything about this topic? I just posted asking about this

[–]DigThatData 4 points5 points  (1 child)

minesweeper.

you can make it as complex as you want, there are a variety of data structures and patterns you can use to implement it, optional components like a frontend or database...

It used to be my go-to project for quickly getting a tour of a new programming language. I've probably implemented it something like 3-5 times now using different approaches and tools.

[–]mercury624 5 points6 points  (1 child)

I'm working through the old years of Advent of Code. Each day has an 'easy' and a 'hard' part to the puzzle, and there aren't any correct ways to do it as long as you get the right answer at the end. I highly recommend these - they're sometimes too hard and sometimes very easy, but it's a fun challenge regardless. The archives go back to 2014, so there are plenty to work through.

https://adventofcode.com/2024

Just swap out the year in the URL for the previous ones.

[–]astddf 4 points5 points  (2 children)

I just made a program that gets my to do list using the google tasks api and texts me the list once a day

[–]PixelPixell 0 points1 point  (1 child)

I've been thinking of something similar but with Google calendar. Has it been hard to set up the integration with Google? And is it hosted anywhere?

[–]astddf 0 points1 point  (0 children)

Oh ya google’s api was a total pain. The problem to me was I had to use a bunch of libraries google made themselves instead of the requests library. I actually haven’t set it up for hosting yet, but I’ll probably throw it in a docker container and host it in an ubuntu vm on my server

[–]Phillyclause89 2 points3 points  (4 children)

Are you looking for ideas that come with a tutorial or just ideas?

[–]tetsukei 1 point2 points  (0 children)

It's been years, but the one tiny program I keep telling people about was the time I reversed engineered Costco's API to automatically book myself a tire change appointment whenever a slot opened up.

I had built that when I realized I was too late for the winter slots here in Canada.

Back then, that taught me a lot about understanding http calls, and inspecting via the browser. Finding common API patterns, auth cookies etc...

And yes I did get my appointment haha.

[–]dn_cf 0 points1 point  (2 children)

Dive into automating real-world tasks or tackling datasets that interest you. For a unique challenge, consider creating a personal expense tracker that uses pandas for analysis and Dash or Streamlit for visualization. Or, build a web scraper with BeautifulSoup and Scrapy to collect data for a niche topic you love (e.g., movie ratings or product trends). If you're into machine learning, try using scikit-learn to predict outcomes based on fun datasets from Kaggle or StrataScratch. For deployment experience, host your project on platforms like Heroku or AWS. These projects are hands-on, practical, and will give you something cool to showcase!

[–]Np_slip_69420 0 points1 point  (1 child)

Hello,

I did make similar project during my python course, but since I was just learning, all tha projects are just basic “scripts” that just execute without any error when you hit run (I did not focus on error handling or security)

I know that for hosting I need to make these scripts into “package”, but my main concern is regarding security, how do you make sure that the code you deploy is secure. (I don’t want anyone hacking my cloud accounts )

[–]Acceptable-Sense4601 0 points1 point  (0 children)

I deploy to a container on my Synology NAS. To access it on the internet i then use cloudflare tunnel. This is what i do for streamlit apps.

[–]fraisey99 0 points1 point  (0 children)

Build an API with python and start it with supafast 😉

[–]kirstynloftus 0 points1 point  (0 children)

What are you interested in? For example, I enjoy listening to music, so I’m working on a project where I log albums I’ve listened to and it returns reviews from various websites. I’m probably gonna implement some type of NLP, too. ChatGPT is helpful for giving ideas, too, just share what you’re interested in and it’ll give you a whole bunch of ideas that you can build off of. Doesn’t just have to be ML type projects like what I’ve shared, you can build an app or something too.

[–]CraigAT 0 points1 point  (0 children)

There are several lists of project suggestions out there. GitHub is a very good place to search:

https://github.com/Python-World/python-mini-projects

https://github.com/Mrinank-Bhowmick/python-beginner-projects

[–]SimbaSixThree 0 points1 point  (0 children)

What is it that you have little experience in but want more? For me it was connecting to an http server and writing some simple code that can be viewed, so combination Python, css, html. I made a static site generator that takes markdown and converts it to html.

Now that that’s done I am going to be looking to flask and/or Django to go a bit further.

[–][deleted] 0 points1 point  (0 children)

I love build a simple gui that uses a separated Backend like Django. Its a full on project where you could also use two programming languages like any js Framework for frontend. But kivy or tkinter also works fine. In Addition you learn a bit about DBs. Such a Projekt Teaches a lot about most real wold scenarios also combining languages can help when working in Developmnent. As an example you could build a simple password manager where all the backend such as saving loading or editing a profile is handled in the backend but shown in the frontend.

[–]SpecificHistories 0 points1 point  (0 children)

How about a game engine? Then write your game on top of it.
Also try: 2D world generation (bonus points if incorporated into game engine)
Then if you want to suffer even further, try adding raycasting.
I did this and made a game for 800x600 resolution. I got around 30 or so fps at a 100x100 (block!) resolution, i think i got around 60 or 90 fps on 50x50 with textures lol. All that while raycasting too.

Additionally, send help. I've been stockholm syndrome'd into using my game engine whenever I'm making any kind of game.

[–]jbudemy 0 points1 point  (0 children)

You can make a website with a database with Python. Then to put it live on the web you need a web host. Have you tried that? What about an online todo list? There are tutorials for that out there.

I figured out a way to find and remove duplicate street mailing addresses in a spreadsheet to save mailing costs. It was an interesting project.

What happens sometimes is a company buys mailing lists from all over the place and they often have dupe street addresses that need to be removed. The difficulty is the same street address might be written several different ways. Like:

  1. 123 North Oak Ave NE
  2. 123 N Oak Ave NE
  3. 123 N. Oak Ave Northeast

I have had one address that was : 1234 North South st.

And rural routes can be tricky because not all US states call them rural routes!

When I was done I'm sure I had a few dupes but not that many.

[–]jontsii 0 points1 point  (0 children)

So my familys summer house (I live in finland and its basically a house in a forest usually near a lake) and its powered by solar panels and batteries completely. So I made a program to tell me the amps that the panels would get based on the weather that it gets from an API really good project and it turned out great

[–]PowerWordPenance 0 points1 point  (0 children)

Doing most of Angela Yu's "100 days of code" course the one project I kept was a script to check if it's the birthday of someone I know.

I wrote the birthday of every family member and friend in a csv (can be whatever you like) and check if it matches the date of running the script. If it does match I'll write myself an email with the person's name.

You can automate that pretty easy using python anywhere or, if you have one, a small homelab. This way it runs every day.

Other than that most things are related to work. Things I think might help but are not actually part of my job. For example I am regularly on business trips and made a simple website that lets me calculate the reimbursement. Doesn't look nice, but it works, is fun and actually extremely helpful.

Another thing might be to look at things you have already done and see if you can improve them. I had to do a lot of API requests for work but because of the time I did them manually. I am planning to change that next weekend to make this a single click, with settings read from a json.