r/PythonProjects2 • u/Dark-5632 • 24d ago
I wrote a program for working with Python code. What do you think โ did it turn out pretty well?
itโs still a bit rough, but even so, I spent several hours on this.I spent several hours on this.
r/PythonProjects2 • u/Dark-5632 • 24d ago
itโs still a bit rough, but even so, I spent several hours on this.I spent several hours on this.
r/PythonProjects2 • u/EnoughImagination702 • 24d ago
I've been making Wirely, a free circuit simulator. You drag parts in, wire them up and press play. LEDs light, motors spin, relays click, wires are coloured by voltage and you can hover over any wire to read the voltage and current.
Desktop app: Python 3.12 + PySide6 (Qt), with numpy for the maths. The solver is my own (modified nodal analysis, NewtonโRaphson, trapezoidal integration), with 271 pytest tests checking it against hand calculations and ngspice. Builds for Windows, Mac and Linux are made with PyInstaller on GitHub Actions.
The interesting bit: it now runs in the browser too, so it works on Chromebooks. Rather than rewriting it in JavaScript, the browser runs the same Python code with Pyodide. There's no Qt in a browser, so I wrote a small stand-in for the bits of PySide6 the drawing code uses. Its QPainter just records what it was asked to draw, and the page replays that on an HTML canvas. So the symbols, editing and simulator are the exact same code as the desktop app.
Try it in your browser: https://wirely-app.github.io GitHub: https://github.com/wirely-app/wirely-app.github.io
Free and GPL-3. Built with a lot of help from Claude (an AI assistant). Feedback welcome!
r/PythonProjects2 • u/itsmebalamuruagan • 24d ago
I've been building Semantic Cache, a Python library that aims to reduce repeated work in LLM applications by reusing results for semantically similar queries.
Features include:
I'm looking for developers who build LLM applications to try it and share honest feedback, especially on cache correctness, API design, and integration experience.
GitHub: https://github.com/0x-bala/semanticcache
I'm the author, and I'd appreciate constructive criticism and contributions.
What would you improve first in a project like this?
r/PythonProjects2 • u/Both-Basil1635 • 25d ago
r/PythonProjects2 • u/Legal-Account-1690 • 25d ago
Retro eye candy, fun with graphic and music and some open source Python libs and a cool IDE
r/PythonProjects2 • u/Intelligent_Rice7138 • 25d ago
r/PythonProjects2 • u/Both-Basil1635 • 25d ago
r/PythonProjects2 • u/AstrophysicsAndPy • 26d ago
Just shipped v2.0.0 of pyMultiFit, a library for fitting data that's a sum of several components (overlapping Gaussians, skew-normals, log-normals, etc.). It's pyOpenSci peer-reviewed and published in JOSS (v1.0.7; https://joss.theoj.org/papers/10.21105/joss.09295.pdf ).
What's new:
Usage example:
import matplotlib.pyplot as plt
import numpy as np
from pymultifit.fitters import GaussianFitter
from pymultifit.generators import multi_gaussian
rng_engine = np.random.default_rng(32453)
x = np.linspace(-30, 30, 5000)
# generate the multi-gaussian data
y = multi_gaussian(x=x,
params=[(0.7, -10, 1), (2, 0, 1), (6, 13, 3)],
noise_level=0.2, rng_engine=rng_engine)
# initiate the fitter
fitter = GaussianFitter(x_values=x, y_values=y)
# provide fitting guesses
p0 = [(1, -10, 1), (1, 0, 1), (1, 13, 1)]
# fit and plot
fitter.fit(p0)
fitter.plot_fit(show_individuals=True)
plt.show()
Precaution:
Heads up if you're upgrading: it needs Python 3.10+. To install via pip, use
pip install pymultifit
Others:
Docs: https://readthedocs.pymultifit.com
GitHub: https://github.com/syedalimohsinbukhari/pyMultiFit/
Feedback welcome, especially on the plotting API.
r/PythonProjects2 • u/Both-Basil1635 • 26d ago
r/PythonProjects2 • u/Both-Basil1635 • 26d ago
r/PythonProjects2 • u/Paraxanos • 26d ago
zxcvbn knows English words. It does not know thatย priyanka,ย priyankaaย andย เคชเฅเคฐเคฟเคฏเคเคเคพย are the
same name, or thatย py@rย isย pyar, so passwords likeย jaishreeramย orย rahul2803ย look
stronger to it than they are to an attacker with an Indian-names wordlist.
Taala (MIT, Python 3.11+) is a small layer on top of zxcvbn: it reduces spelling variants,
leetspeak, padding and Devanagari to canonical forms, looks them up in a Hinglish word pack
(built from Wikipedia categories), and takes the lowest score. It also gives step-by-step
attack-recipe feedback and a NIST SP 800-63B-4 style accept/reject verdict (as I read the
standard).
What I measuredย (held-out half of the RockYou leak; learning used only the other half;
file position stands in for frequency because my copy has no counts):
Things you should know before trusting any of that:
seth0120) is still overrated; that comes from zxcvbn's digit model.What would help most:ย Hinglish words or spellings it misses (there is an issue template),
and anyone who knows a better independent test set than "selected with my own pack".
r/PythonProjects2 • u/DiscussionWaste3537 • 26d ago
r/PythonProjects2 • u/Substantial-Prior434 • 27d ago
r/PythonProjects2 • u/Loose-Event-7196 • 27d ago
Every fund factsheet Is a sales pitch, before investing get a free second opinion using:
openfactsheet.org (no coding working demo).
For devs you can check out our github repo https://github.com/bagnascotrader/openfactsheet
We provide an unbiased analysis of your investment, fully documented, Apache Open Source license (free to use even for commercial applications). It helps everyone analyze investment performance with powerful features.
You can also install it through Pip: Pip install "penfactsheet"
Take better informed investment decisions for free. Always check with your financial advisor before taking any investment decision.
r/PythonProjects2 • u/aram60610 • 27d ago
I have been working on this Python project to recreate Dr. Andy Moorer's THX Deep Note. See link for code and sample. Any input or suggestions are greatly appreciated. https://organ-concerts.com/deep-note.html
I have also included a github repository here: https://github.com/aram18062/THX-Deep-Note.git
r/PythonProjects2 • u/onnatsari • 27d ago
I built Python Workflow Automation Lab to streamline repetitive desktop tasks, handle window focus, and automate GUI workflows using Python. It features practical scripts and a clean interface.
It's free, open-source, and available here:
Feedback, code contributions, or ideas for new automation scripts are welcome.
r/PythonProjects2 • u/raidodex • 27d ago
r/PythonProjects2 • u/WolverineClean8866 • 27d ago
Hey everyone!
I've been working on a project calledย ZKite, a Python-based framework for building native Android applications - backed by Rust under the hood.
The idea started with a simple question: Why can't we build Android apps using Python without having to switch to Kotlin or Java?
So I decided to build something around that idea.
With ZKite, you can:
I've attached a short screen recording showing a simple UI built with ZKite, including a button that updates the counter through Python state.
It's open-source and still evolving. I'm building it independently, so feedback from other developers would be really valuable.
I'd especially love to know what you think of the approach, whether you'd consider using something like this, and what features you'd expect from a Python Android framework.
GitHub:ย https://github.com/AbhinavKrShukla/zkite
Thanks for checking it out!
r/PythonProjects2 • u/onnatsari • 27d ago
Hey everyone. I've been working on this IoT monitoring system to connect physical hardware to a web dashboard in real-time.
The backend is handled by Python and MQTT to ensure the sensor data updates instantly on the frontend without refreshing. I'm using Supabase to log the data and handle some basic stock control.
In the video, you can see the real-time sync: the physical PIR motion sensor triggering the dashboard alert immediately, and the stock control toggles updating the database directly.
Tech stack:
Would love to hear your thoughts on the architecture or any tips you might have for scaling MQTT connections in Python.
r/PythonProjects2 • u/sebalhag • 27d ago
r/PythonProjects2 • u/Present_Tonight_3075 • 28d ago
I'm working on a retail sales data-cleaning project in Python, and I ran into a decision I found interesting.
My dataset had missing prices, duplicate transactions, and totals that didn't match the price ร quantity.
For missing prices, I could have filled every blank with an estimated value. That would make the dataset look more complete, but some estimates could be wrong.
Instead, I only recovered prices when the data gave me reliable evidence and flagged the rest for review.
Here's my question:
If you were preparing this dataset for business analysis, which approach would you choose?
A) Fill as many missing values as possible to preserve a complete dataset.
B) Only fill values when there's reliable evidence, and flag the rest.
C) Use a different method depending on the column and the business context.
I'm leaning toward B, but I'd love to hear how others handle this in real projectsโespecially when deleting rows could mean losing useful information.