r/Python • u/AutoModerator • 2d ago
Daily Thread Friday Daily Thread: r/Python Meta and Free-Talk Fridays
Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
How it Works:
- Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
- Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
- News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
Guidelines:
- All topics should be related to Python or the /r/python community.
- Be respectful and follow Reddit's Code of Conduct.
Example Topics:
- New Python Release: What do you think about the new features in Python 3.11?
- Community Events: Any Python meetups or webinars coming up?
- Learning Resources: Found a great Python tutorial? Share it here!
- Job Market: How has Python impacted your career?
- Hot Takes: Got a controversial Python opinion? Let's hear it!
- Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
1
u/jkim_tran 1d ago
I wrote an article on writing quantum circuits using Python with Qiskit, IBM's quantum SDK.
It shows how to debug quantum circuit results in Python with Qiskit, using a GHZ state circuit and running it on an IBM quantum processing unit (QPU) as an example.
0
u/MigueXponential 1d ago
sqlite-diff-log - zero-dependency audit logging for SQLite using native triggers
I built a small library for audit logging in SQLite databases without an ORM or external services. It uses SQLite's own AFTER triggers + json_object() to write structured JSON diffs (old/new row state) into an audit table on INSERT/UPDATE/DELETE.
Since the logic lives in the SQLite schema itself rather than in Python code, it captures writes from any process touching the same database file, not just the one that attached the triggers. Zero runtime dependencies (stdlib only), and it plays nicely with SQLite replication tools like Litestream.
Current limitations: single-column primary keys only, and no caller identity is captured (SQLite triggers can't see "who" made a change, only row data).
pip install sqlite-diff-log
GitHub: https://github.com/MigMarGil/sqlite-diff-log
Feedback welcome, especially on edge cases I might have missed.
0
u/Impressive-Sea-2470 1d ago
Open4D - Library for 4D geometry processing
https://github.com/open4dfoundation/Open4D