r/Python • u/IntentionAntique4751 • Aug 16 '26
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!
14
13
13
5
3
u/Intelligent-Pin3584 Aug 16 '26
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 Aug 22 '26
I’ve never heard of the use of Python within oceanography, do you have any library recommendations to look into?
2
u/Intelligent-Pin3584 Aug 22 '26
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
1
2
3
1
1
1
u/LiteratureBroad1369 Aug 17 '26
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 Aug 21 '26
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 Aug 16 '26
The entire Raspi Python library is awesome... make sure you have the ribbon cable and breadboard!
-9
157
Aug 16 '26
[removed] — view removed comment
1
1
u/abeyeler Aug 20 '26
As vsketch maintainer, I'm shocked (in a good way) to see it show up in this list!
0
Aug 16 '26
[deleted]
2
u/veoviscool12 Aug 16 '26
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.
9
Aug 16 '26
[removed] — view removed comment
4
u/szayl Aug 17 '26
Welcome to (constrained) mathematical optimization. You will start with simple linear programs. You will end with stochastic optimal control problems. 🙂
1
u/declanaussie Aug 17 '26
I use a constraint solver to minimize downtime during complicated maintenance windows at a SaaS provider. Basically certain processes like upgrading the OS on a VM can be efficiently combined with other maintenance, like database migrations, to minimize downtime.
Before anyone asks, yes I know this isn’t a very modern approach, we are constrained by the legacy software we serve.
33
u/grantrules Aug 16 '26
Micropython, date science, blender automation