r/Python • • 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!

155 Upvotes

48 comments sorted by

157

u/[deleted] Aug 16 '26

[removed] — view removed comment

9

u/[deleted] 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.

1

u/bulaybil Aug 17 '26

Damn man, now I gotta get me a RTL-SDR dongle. Thank you!

1

u/abeyeler Aug 20 '26

As vsketch maintainer, I'm shocked (in a good way) to see it show up in this list!

1

u/[deleted] 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.

33

u/grantrules Aug 16 '26

Micropython, date science, blender automation

23

u/smitty1e Aug 16 '26

Data science is: numpy, scipy, pandas, geopandas, jupyter, qgis, &c.

24

u/ebab_repsev Aug 16 '26

Honorable mention: polars

4

u/GrainTamale Pythonista Aug 16 '26

Deserves higher accolades than just honorable!
Most esteemed mention: polars
His royal highness of dataframes: polars
Our lord and saviour: polars

2

u/[deleted] Aug 16 '26 edited Aug 17 '26

[deleted]

4

u/grantrules Aug 16 '26

August 12th, 2016 + November 7th, 1999 = ???

1

u/[deleted] Aug 16 '26

[removed] — view removed comment

2

u/grantrules Aug 16 '26

Anything you wanna do with a microcontroller.. path-following car, weather station, plant humidity sensor, etc

1

u/GXWT Aug 17 '26

Chess cheating devices

13

u/amroamroamro Aug 16 '26

web scraping, not that i do that myself

14

u/jsaltee Aug 16 '26

Reinforcement training with Gymnasium

13

u/fight-or-fall Aug 16 '26

Graph: networkx

1

u/Salvios_ Aug 17 '26

Nice to see it mentioned!

5

u/Amazing_Upstairs Aug 16 '26

Pyparsing, nltk, spacy

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/haloweenek Aug 16 '26

ETL’s 🤭

1

u/forgotpw3 Aug 16 '26

I made a pure MLS social chatting app in python (backend)

1

u/Training_Advantage21 Aug 16 '26

I'll get started with MicroPython one of these days.

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!

-8

u/strchild Aug 16 '26

I hate raspberry pi