Mopad: Gamepad support for Python is finally here!
What my project does:
Browsers have a gamepad API these days, but these weren't exposed to Python notebooks yet. Thanks to mopad, you can now use a widget (made with anywidget!) to control Python with a game controller. It's more useful that you might initially think because this also means that you can build labelling interfaces in your notebook and add labels to data with a device that makes everything feel like a fun video game.
Target audience:
It's mainly meant for ML/AI people that like to work with Python notebooks. The main target for the widget is marimo but because it's made with anywidget it should also work in Jupyter/VSCode/colab.
Comparison:
I'm not aware of other projects that add gamepad support, but one downside that's fair to mention is that this approach only works in browser based notebook because we need the web API. Not all gamepads are supported by all vendors (MacOS only allows for bluetooth gamepads AFAIK), but I've tried a bunch of pads and they all work great!
If you're keen to see a demo, check the YT video here: https://www.youtube.com/watch?v=4fXLB5\_F2rg&ab\_channel=marimo
If you have a gamepad in your hand, you can also try it out on
/r/Python
https://redd.it/1l269h7
What my project does:
Browsers have a gamepad API these days, but these weren't exposed to Python notebooks yet. Thanks to mopad, you can now use a widget (made with anywidget!) to control Python with a game controller. It's more useful that you might initially think because this also means that you can build labelling interfaces in your notebook and add labels to data with a device that makes everything feel like a fun video game.
Target audience:
It's mainly meant for ML/AI people that like to work with Python notebooks. The main target for the widget is marimo but because it's made with anywidget it should also work in Jupyter/VSCode/colab.
Comparison:
I'm not aware of other projects that add gamepad support, but one downside that's fair to mention is that this approach only works in browser based notebook because we need the web API. Not all gamepads are supported by all vendors (MacOS only allows for bluetooth gamepads AFAIK), but I've tried a bunch of pads and they all work great!
If you're keen to see a demo, check the YT video here: https://www.youtube.com/watch?v=4fXLB5\_F2rg&ab\_channel=marimo
If you have a gamepad in your hand, you can also try it out on
/r/Python
https://redd.it/1l269h7
How are you using just (Justfile) local workflows for Python projects?
Hynek Schlawack just put out another great video on uv (https://youtu.be/TiBIjouDGuI?si=lBfoBG8rgUFcS3Sx), this time also discussing how he uses the just tool to store commands in a cross-platform portable way to do everyday tasks like installing/refreshing virtual environments, running tests/code checks, and development tasks like sending requests.
Is this getting common in Python land? I know it is among Rustaceans (where I first saw it a few months ago), anyone have good examples they wrote/saw, or experiences? Very curious to hear more: Hynek’s style of usage is quite different to how I have been using them. Links to example Justfiles welcome!
I am mainly using them for pre-commit/pre-push checks and to make CI setup ‘self-documenting’ (i.e. clear what is run, from where)
/r/Python
https://redd.it/1ltr3n1
Hynek Schlawack just put out another great video on uv (https://youtu.be/TiBIjouDGuI?si=lBfoBG8rgUFcS3Sx), this time also discussing how he uses the just tool to store commands in a cross-platform portable way to do everyday tasks like installing/refreshing virtual environments, running tests/code checks, and development tasks like sending requests.
Is this getting common in Python land? I know it is among Rustaceans (where I first saw it a few months ago), anyone have good examples they wrote/saw, or experiences? Very curious to hear more: Hynek’s style of usage is quite different to how I have been using them. Links to example Justfiles welcome!
I am mainly using them for pre-commit/pre-push checks and to make CI setup ‘self-documenting’ (i.e. clear what is run, from where)
/r/Python
https://redd.it/1ltr3n1
YouTube
uv: Making Python Local Workflows FAST and BORING in 2025
After setting up our #Python uv projects for success in https://www.youtube.com/watch?v=mFyE9xgeKcA, it's time to finally get some work done! In this video I show you my local workflows for production projects and the tools that help me to keep everything…
Need Career Advice: Stuck in .NET Web Forms, Should I Switch to Python Flask?
Hi everyone,
I’ve been working at a company for the past 4 months. I was hired to work on a .NET Web Forms project, but the pace of work is extremely slow. For the last 3 months, I haven’t written any real code — I’ve just been learning about Web Forms.
The company is saying they’ll give me actual work on an ERP project starting next week, but honestly, I’m not feeling confident. I’ve been told there will be no proper mentorship or guidance, and I find ERP systems really hard to grasp.
On the other hand, I’m passionate about innovation and working with new technologies. I really enjoy Python and I’ve been considering switching over to Flask development instead, since it aligns more with what I want to do in the future.
I’m feeling a lot of stress and confusion right now. Should I stick it out with this company and the ERP/.NET stuff, or should I start focusing on Python Flask and make a shift in that direction?
Any advice from experienced developers would be really appreciated. Thanks!
\#CareerAdvice #DotNet #Python #Flask #ERP #WebForms #JuniorDeveloper #ProgrammingHelp
/r/flask
https://redd.it/1mbebbe
Hi everyone,
I’ve been working at a company for the past 4 months. I was hired to work on a .NET Web Forms project, but the pace of work is extremely slow. For the last 3 months, I haven’t written any real code — I’ve just been learning about Web Forms.
The company is saying they’ll give me actual work on an ERP project starting next week, but honestly, I’m not feeling confident. I’ve been told there will be no proper mentorship or guidance, and I find ERP systems really hard to grasp.
On the other hand, I’m passionate about innovation and working with new technologies. I really enjoy Python and I’ve been considering switching over to Flask development instead, since it aligns more with what I want to do in the future.
I’m feeling a lot of stress and confusion right now. Should I stick it out with this company and the ERP/.NET stuff, or should I start focusing on Python Flask and make a shift in that direction?
Any advice from experienced developers would be really appreciated. Thanks!
\#CareerAdvice #DotNet #Python #Flask #ERP #WebForms #JuniorDeveloper #ProgrammingHelp
/r/flask
https://redd.it/1mbebbe
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
I created a playground to my python UI framework DARS
I'm excited to share the new Dars Playground! I have been working on this project for a long time now and I am expanding its ecosystem as much as I can. Now I have just launched a playground so that everyone can try Dars on the web without installing anything, just reading a little documentation and using bases from other frameworks. The next step will be to implement a VDom (virtual dom) option to the framework itself and a signals (hooks) system, all of this optional for those who want to use the virtual dom and those who do not, so use the export or hot reload that is already integrated.
The playground allows you to experiment with Dars UI code and preview the results instantly in your browser. It's a great way to learn, prototype, and see how Dars turns your Python code into static HTML/CSS/JS.
Key Features:
• Write Dars Python code directly in the editor.
• Instant preview with a single click (or Ctrl + Enter).
• Ideal for experimenting and building UI quickly.
Give it a try and tell me what you think!
Link to Playground: https://dars-playground.vercel.app
Dars GitHub repository: https://github.com/ZtaMDev/Dars-Framework
#Python #UI #WebDevelopment #DarsFramework
/r/Python
https://redd.it/1n69tas
I'm excited to share the new Dars Playground! I have been working on this project for a long time now and I am expanding its ecosystem as much as I can. Now I have just launched a playground so that everyone can try Dars on the web without installing anything, just reading a little documentation and using bases from other frameworks. The next step will be to implement a VDom (virtual dom) option to the framework itself and a signals (hooks) system, all of this optional for those who want to use the virtual dom and those who do not, so use the export or hot reload that is already integrated.
The playground allows you to experiment with Dars UI code and preview the results instantly in your browser. It's a great way to learn, prototype, and see how Dars turns your Python code into static HTML/CSS/JS.
Key Features:
• Write Dars Python code directly in the editor.
• Instant preview with a single click (or Ctrl + Enter).
• Ideal for experimenting and building UI quickly.
Give it a try and tell me what you think!
Link to Playground: https://dars-playground.vercel.app
Dars GitHub repository: https://github.com/ZtaMDev/Dars-Framework
#Python #UI #WebDevelopment #DarsFramework
/r/Python
https://redd.it/1n69tas
Python + Django + HID DigitalPersona 4500: Biometric Registration & MySQL Integration
https://youtu.be/fB23Sdu5n2c
/r/django
https://redd.it/1nl9zlq
https://youtu.be/fB23Sdu5n2c
/r/django
https://redd.it/1nl9zlq
YouTube
Python Django Biometric Registration with HID DigitalPersona 4500 | Save Fingerprints to MySQL DB
In this video, I demonstrate Biometric Registration in a Python Django Application using the HID DigitalPersona 4500 Fingerprint Scanner. You will see How to Capture Person Details, perform Fingerprint Enrollment and then Save both the Personal Data and Biometric…
Oxidized Python/Django packages?
Hey, I’m building own project using Django and many packages use Rust under the hood.
Interesting what people use.
My list of all I’ve used so far:
Django:
- django-minify-html
Logging:
- logly
Web:
- robyn
Database:
- psqlpy
Date time:
- whenever
JSON:
- orjson
Audio:
- sphn
Files:
- opendal
Web server:
- granian
- ferron
Templates:
- minijinja
Code checking:
- ruff
Venv:
- uv
#python #rust
/r/django
https://redd.it/1oxqwd3
Hey, I’m building own project using Django and many packages use Rust under the hood.
Interesting what people use.
My list of all I’ve used so far:
Django:
- django-minify-html
Logging:
- logly
Web:
- robyn
Database:
- psqlpy
Date time:
- whenever
JSON:
- orjson
Audio:
- sphn
Files:
- opendal
Web server:
- granian
- ferron
Templates:
- minijinja
Code checking:
- ruff
Venv:
- uv
#python #rust
/r/django
https://redd.it/1oxqwd3
Reddit
From the django community on Reddit
Explore this post and more from the django community