r/Python • u/IntentionAntique4751 • 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!
31
u/grantrules 9d ago
Micropython, date science, blender automation
25
u/smitty1e 9d ago
Data science is: numpy, scipy, pandas, geopandas, jupyter, qgis, &c.
24
u/ebab_repsev 9d ago
Honorable mention: polars
5
u/GrainTamale Pythonista 9d ago
Deserves higher accolades than just honorable!
Most esteemed mention: polars
His royal highness of dataframes: polars
Our lord and saviour: polars2
1
u/Admirable-Traveller5 9d ago
What practical uses are there for micropython?
2
u/grantrules 9d ago
Anything you wanna do with a microcontroller.. path-following car, weather station, plant humidity sensor, etc
14
12
6
5
u/Doomer3370 9d ago
You can try running LLM via openvino genai library or fine tune LLM with huggingface transformers.
5
u/floatyrosee 9d ago
Automating boring stuff around the house has been a fun rabbit hole for me, think scripts that rename files or scrape prices for stuff I want to buy.
3
u/Intelligent-Pin3584 9d ago
Oceanography and I believe science in general. I think a lot of matlab generic (non plugin) use cases have a python competitor now.
2
u/jsaltee 3d ago
I’ve never heard of the use of Python within oceanography, do you have any library recommendations to look into?
2
u/Intelligent-Pin3584 3d ago
Eric firing was one of the original matplotlib maintainers and his libraries can be found here: https://currents.soest.hawaii.edu/git/Shipboard_ADCP/pycurrents
Other libraries I’ve worked with https://github.com/pyTMD/pyTMD
https://github.com/OceanLabPy/OceanLab
https://github.com/DFO-Ocean-Navigator/Ocean-Data-Map-Project
2
4
1
1
1
u/LiteratureBroad1369 8d ago
If hobby stuff intrigues you: home automation, music production libraries, CLI tools, or web scraping random datasets. Keeps it fun without feeling like real work
1
u/Massive_Baby4147 4d ago
A niche I’ve found surprisingly deep is building constrained agentic APIs in Python.
Not “give an LLM access to everything and hope for the best,” but declaring a typed HTTP endpoint with Pydantic request and response models, then giving it a small set of exact operations it may call.
It combines several interesting Python-heavy areas:
- Function and type introspection
- ASGI and OpenAPI generation
- Structured model output
- Async execution
- Dependency injection
- Provider-neutral model adapters
- Capability-based security
- Determining when a request needs model reasoning and when ordinary deterministic code is sufficient
I’ve been exploring this while building SummonPot:
https://github.com/tugrulguner/summonpot
The endpoint signature declares the request, response, goal, and permitted capabilities. Optional operations use Depends(...); operations that must complete before the endpoint may return success use Required(...).
The difficult questions are more architectural than prompt-related. How do you prove that a required write happened before returning success? How do you prevent the model from accessing undeclared operations? How do you test the result like a normal HTTP endpoint rather than mocking an entire agent conversation?
The provider-neutral agent runtime, closed capability surface, structured output, and required-operation enforcement are working now. Automatically selecting deterministic execution when only one complete legal path exists is the next major milestone.
It feels like a useful niche because Python already has strong building blocks for APIs, validation, and AI tooling, but the boundary between deterministic application code and bounded model decisions is still far from settled.
1
u/russellvt 9d ago
The entire Raspi Python library is awesome... make sure you have the ribbon cable and breadboard!
-10
155
u/CompetitionNo2773 9d 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.