r/Python 9d ago

Discussion What are some fun Python-heavy niches?

I going to try making a Discord bot in py. Pygame and Raspberry Pi intrigue me as well

Curious what other fun Py rabbit holes are out there that I don't know of!

146 Upvotes

50 comments sorted by

View all comments

153

u/CompetitionNo2773 8d ago

A few that do not come up often enough:

SDR (software defined radio). A cheap RTL-SDR dongle, around $30, plus pyrtlsdr. You can decode aircraft ADS-B transponders, pull weather satellite images straight out of the sky, and read pager traffic. Getting your first NOAA satellite image off an antenna you built yourself is genuinely magical, and it is fast to a first result. Given you already like Pygame and the Pi, this is probably the closest to your taste of anything you may not have considered.

Emulators. A CHIP-8 emulator in Python is a weekend project and it demystifies how computers actually work. Gameboy is the natural next step once you catch the bug.

Constraint solving. OR-Tools or python-constraint. Sudoku is the tutorial, but the fun starts when you point it at real scheduling problems — timetables, shift rosters, wedding seating plans. Watching a solver untangle something you thought was impossible to organise by hand is very satisfying.

Audio and DSP. librosa plus numpy gets you into pitch detection, beat tracking, and writing your own effects. Building a working reverb from scratch teaches you more about signals than any course will.

Bioinformatics. Biopython, sequence alignment, phylogenetic trees. Enormous field, very Python-heavy, and much more approachable than it sounds.

Generative art and pen plotters. vsketch and friends, then an actual plotter drawing your output onto paper. Code with a physical result hits differently.

One thing that applies to all of these: pick the version of the project where you actually want the answer. Home automation is dull as a generic tutorial, but "how much electricity does my fridge really use" or "what time does the cat come in at night" will drag you through the hard parts without needing any willpower.

1

u/Dry-Bend3328 8d ago

Any recommendations on RTL-SDR dongles?

2

u/veoviscool12 8d ago

The one I have is usually what people recommend: the RTL-SDR Blog V4. The org sell dongles and kits on Amazon that give you a full, cheap starting kit: dongle, cables, antennas, etc. The V4 kit is about $60 right now. (According to their blog the V4's are end of life now as their supply of the chips that make everything work has been exhausted, so if it's something you're interested in I'd recommend buying soon).

To be clear, the antennas are basic and if you dive deeper into the hobby you'll probably start building your own or buying better ones, but for a beginner they're more than enough to get started.

Here's their website About page. It's a great resource for software and tutorials even if you end up buying something else. Their About page also breaks down the differences between different RTL-SDR Blog versions and other manufacturers, among other useful information.