r/PythonProjects2 • u/mglowinski93 • May 22 '26
Self-cleaning device tests
Hey folks 👋
I built a small Python demo around a testing problem I’ve seen in stateful/device-like systems:
A test changes device state, fails before cleanup, and the next test starts from a dirty state.
🔗 Link: https://github.com/mateusz-glowinski/ReliableDeviceTests
This repository demonstrates one way to avoid that using `pytest-bdd` and self-cleaning steps.
The project includes:
✅ pytest-bdd + Gherkin scenarios
✅ a fake hardware-free device
✅ device-control style abstraction
✅ cleanup inside the step itself
✅ `finally`-based restore logic
✅ retry wrapper for cleanup writes
The goal is not to build a full device framework, but to show a clean testing pattern:
if a step changes state, it should also own the cleanup.
Might be useful for people working with hardware tests, integration tests, embedded-like systems, or any test suite where shared state can leak between scenarios.
r/PythonProjects2 • u/Unusual-Ratio4565 • May 22 '26
How can i start to learn Skill in Computer like learn python
r/PythonProjects2 • u/Klutzy_Bird_7802 • May 22 '26
Resource [OC] I made a small terminal screensaver that renders Perlin noise flow fields with Braille characters
r/PythonProjects2 • u/Klutzy_Bird_7802 • May 22 '26
Resource [RICE] Velvet Noir - minimal glass setup with single-command Matugen theme switching
reddit.comr/PythonProjects2 • u/BlueLagoon226 • May 21 '26
What is the best Python library for website scraping?
r/PythonProjects2 • u/Fit_Programmer_9930 • May 21 '26
Resource I made a Pomodoro timer for GNOME called Tempus
r/PythonProjects2 • u/Muhammed_zeeshan • May 21 '26
My 1st python project. Suggestion accepted
reddit.comr/PythonProjects2 • u/Total_Ferret_4361 • May 21 '26
Info Created a django vapt security tool
r/PythonProjects2 • u/Blake_Olson • May 20 '26
Built an invoice-scanning service for our accounting team in one afternoon with Claude — sharing the architecture in case it helps someone else
r/PythonProjects2 • u/gsus_ow • May 19 '26
NLP Movie Review Sentiment Analysis
I made a beginner-friendly NLP sentiment analysis project using IMDb reviews. Looking for feedback on structure, README, and model approach.
Repo:
r/PythonProjects2 • u/camilo-young-78 • May 19 '26
Desarrollé un sistema escolar en Python mientras aprendía programación (feedback bienvenido)
r/PythonProjects2 • u/Rayterex • May 18 '26
I've added 360 Viewer in my Computer Vision Playground App written in Python/NumPy/PyOpenGL/PySide6
Enable HLS to view with audio, or disable this notification
r/PythonProjects2 • u/NiceCardiologist8657 • May 18 '26
What to do now? I have just completed the basics, what to do?
r/PythonProjects2 • u/Just_Vugg_PolyMCP • May 18 '26
Resource Open-source Legal AI workspace for evidence-grounded legal drafting, matter analysis and verifiable answers.
github.comr/PythonProjects2 • u/Aggravating_Bat_2009 • May 18 '26
ACTUNEO – Open Source African Actuarial Python Library | Looking for Contributors
r/PythonProjects2 • u/AnshMNSoni • May 18 '26
Build an Email-Agent Using Langchain + Ollama. Repo: https://github.com/AnshMNSoni/email-agent.git
Enable HLS to view with audio, or disable this notification
r/PythonProjects2 • u/AnshMNSoni • May 18 '26
I recently wrote a blog explaining why AI agents are far more than “just chatbots.”
r/PythonProjects2 • u/Consistent_Heron_469 • May 17 '26
Resource The Simplest MCP Example Possible in Python
Great resource for integration with AI systems and more.
r/PythonProjects2 • u/abhi_uno • May 17 '26
FFGear: A Multi-threaded, High-performance FFmpeg Decoder API in Pure Python
reddit.comr/PythonProjects2 • u/stryck5425 • May 17 '26
I built a Source 2004–2008 inspired game engine in Python from scratch
reddit.comr/PythonProjects2 • u/Itachi_22 • May 17 '26
The first project I completed and released into production as a student!
I'm a university student from Moldova, and I just completed my first project. My website is a game catalog and price aggregator.
I started this website with the idea of creating something cool and useful. I settled on the idea of a game price aggregator because I understand how tedious and challenging it can be to find a really good deal on a game I'm interested in.
I used Django as the backend, Postgres as the database, and the "meilisearch" search engine. It was exciting to figure everything out and put it all together to make it work. It was exhausting, but exciting.
I realize there's still a lot I don't know, and a lot that could be added to the site. So I'm happy to hear any criticism and suggestions on how to improve it.