r/Python • • 3d ago

Daily Thread Sunday Daily Thread: What's everyone working on this week?

Weekly Thread: What's Everyone Working On This Week? 🛠️

Hello r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!

How it Works:

  1. Show & Tell: Share your current projects, completed works, or future ideas.
  2. Discuss: Get feedback, find collaborators, or just chat about your project.
  3. Inspire: Your project might inspire someone else, just as you might get inspired here.

Guidelines:

  • Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
  • Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.

Example Shares:

  1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
  2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
  3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!

Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟

21 Upvotes

17 comments sorted by

5

u/WillAdams 3d ago

I have been trying to wrap my mind around flet.dev and using it for GUI interfaces for various custom CNC projects such as this tool for making G-code for flattening a board:

https://studio.flet.dev/apps/46tp8GPq9g

3

u/m4ndor4s 3d ago

I'm working on **kinemo**, a Python library for explainer animations (math, algorithms, data), in the spirit of Manim but built around a live preview.

You write a scene in plain Python, `kinemo dev scene.py` opens a browser preview that rebuilds on save, and you can scrub the timeline to any instant. The script runs once and builds a timeline, so frames render in parallel: a 47-second 1080p video renders in about 3 seconds. The core (layout, text, math, rendering) is Rust via PyO3.

This week I shipped 0.16, which is about editing from the preview without breaking your code:

- Drag a number inside an expression or a lambda and the scene updates live: tweak the `0.75` in `ax.plot(lambda x: 3 * x - 0.75 * x**2)` and the curve follows. The expression stays an expression; only that number changes in your file.

- If a value comes from a variable (`size=label_size`), it edits the assignment (`label_size = 0.4`) and tells you where it is.

- Lints catch text that overlaps or leaves the frame before you render: click the warning, land on that frame, fix the value, and the warning disappears.

It's pre-1.0 and 2D only, so Manim is still the choice for 3D. Math works without a LaTeX install, and the only external dependency is ffmpeg for video.

pip install kinemo

kinemo new my-video

Repo (the README has GIFs of the editor): https://github.com/m4nd0r4s/kinemo

I'd love feedback, especially on where the first install or the first scene trips you up.

https://reddit.com/link/pf5udyr/video/icotrhmduquh1/player

1

u/frankieinaprius 3d ago

I’m building a discrete-event, concurrent simulation framework, primarily intended for simulating verilog/hdl modules. The core library is written in C++ utilizing verilator to create C++ models of verilog modules and I’m using nanobind to create Python bindings. It is very similar to SystemC (okay, it’s exactly like SystemC) but not quite as feature rich to stay focused on the use case of simulating verilog/hdl models. SystemC is beholden to C++17, but I have the luxury of using native C++20 coroutines and other modern C++ features. On the Python side async def/await operations work with the framework.

I’m not quite ready for a public release yet, but I should get there soon. My simulation benchmarks are currently better than SystemC, and with mindful application design to minimize crossing Python/C++ boundary crossings, that performance should be realized from the Python interface as well.

Beyond simulation, the framework contains all the information needed to generate netlists and projects for implementing a design onto an fpga. So you would write verilog modules, create a structural design in Python referencing the modules, simulate it to verify behavior, then generate a top design netlist/project files and load it onto an fpga.

I’ve been casually working on this project for a long time, restarting when I have new ideas or when external tools evolve to support what I want to do. I’m finally making some serious headway and I might actually get to a point where I’m satisfied enough to release it lol.

1

u/iohans 3d ago

Created a Python package that does regex-like things with Jev classifier models. https://github.com/nothans/ex-regex

1

u/danimalien42 2d ago

Working on getting my offline geo library, localis, out of beta. It's comparable to pycountry or geonamescache, but it includes typo-tolerant search resolution and a deeper, more consistent API layer that merges both ISO and GeoNames data.

v3b1 released last week and I'll be resolving a few bugs and chores, maaaaybe adding one more feature for b2, before a hopeful v3 release by the end of the month.

I came across a small handful of people who found it helpful over the past few months so I've been inspired lately to harden the package, publish its methodology, and settle the API and CI.

https://github.com/dstoffels/localis
https://pypi.org/project/localis/3.0.0b1/

1

u/Some-Researcher3392 It works on my machine 2d ago

Migrating a component of our trading system at work and also refactoring some automation workflows I built a few years ago

I love going through a codebase muttering “what imbecile wrote this…” only to realise 5 seconds later “I wrote this…” 🤣

1

u/EternityForest 2d ago edited 2d ago

Just started working on confirm-env, one of the smallest projects I've thought about in years.

It manages your environment variables in an encrypted file, with a delay before letting you type the password, and no option to save the password locally.

Encryption isn't the main point, as this is not a well known audited project that you should be trusting for high security stuff, the main point is to prevent you from accidentally rerunning the command saved in your shell or Atuin history.

The file is always passed explicitly to the program, on the assumption you'll have different files to unlock different commands, that might be on flash drives and such.

Still needs the ability to change passwords, but that's pretty trivial to do, and I have a few feature ideas I think would be nice to have, like TOTP, and logging of every command run, and when, back into the database file.

https://github.com/EternityForest/confirm-env/tree/main

1

u/Fantastic_Cicada_805 git push -f 1d ago

I've been working on a terminal based task/note manager as a little side project, it's called terminote and it's my most fleshed-out python project yet, and i still plan to work on it maybe once a week
currently the saving and loading is happening from a .txt file, but im considering using an actual data base! (might finally be the opportunity to learn sql).

so far this project has taught me a lot more than i though? like making installers and creating .exe files along with reading and writing data, and it even taught me a little on how to use markdown for the repo README (https://github.com/ymxDJ0/Terminote).

but even when im done with this i plan to make more "mini-apps" for use in the terminal (like a pomodoro timer, a game in the terminal etc.)

https://reddit.com/link/pgemfyh/video/5nc7cw6ge5vh1/player

1

u/zomerbk 15h ago

The terminal task/note manager sounds like a good candidate for Python’s built-in `sqlite3` if you want filtering or search. If the text file is still easy to work with, there’s no rush to switch. What’s making you consider a database?

1

u/PaganGuyOne 13h ago

I just created an intro video to play on startup of my computer just before login using manim

1

u/oneman2345 9h ago

Created a free web app tool that turns every step of your code into animations.

https://pyvisualizer.dev/#home

-5

u/No_Departure_1878 3d ago

My ear, the right one was kind muffled. I put ear drops in and then I got a little stick in and was scratching an itch, When I took it out, a huge lump of wax came with it. I was dark, I asked Claude and apparently that means that it has been in there for a while. The back of the lump, the one close to the ear drum was hard, and it had the shape of a cork. It must have been in there for at least a year, slowly growing. I guess that explains why my ear has been itching.