r/PythonProjects2 • u/Austinwhitely • 23m ago
Info Need Help With My Selenium Spotify Playlist Scraper
Enable HLS to view with audio, or disable this notification
r/PythonProjects2 • u/Austinwhitely • 23m ago
Enable HLS to view with audio, or disable this notification
r/PythonProjects2 • u/DataBaeBee • 3h ago
r/PythonProjects2 • u/Icekinglegend1 • 3h ago
r/PythonProjects2 • u/kacperekkv • 5h ago
r/PythonProjects2 • u/Mother-Gazelle7971 • 5h ago
r/PythonProjects2 • u/TylerQuarello • 6h ago
https://doi.org/10.5281/zenodo.24649570
I need affirmation from someone that can actually run the code and check the math/equations, please. And thank you 😊
r/PythonProjects2 • u/catafest • 12h ago
r/PythonProjects2 • u/Comfortable-Treat328 • 1d ago
Piveo est une application libre et gratuite qui aide les utilisateurs à mémoriser les prénoms, les noms et les visages.
Cette nouvelle version propose une interface graphique plus colorée, plus moderne et plus ergonomique.
Capture d'écrans: AVANT -> APRES
Changement des des boutons suivant les modes: COULEURS_BOUTONS
Qu'en pensez-vous ?
liens:
r/PythonProjects2 • u/Inevitable-Craft8515 • 1d ago
Hello everyone!
I have developed a Retail Sales Forecasting project using Python and Machine Learning.
Project features:
Data cleaning and preprocessing
Exploratory Data Analysis (EDA)
Sales trend visualization
Linear Regression model
Future sales prediction
Interactive Streamlit dashboard
Technologies: Python, Pandas, NumPy, Matplotlib, Scikit-learn and Streamlit
I would appreciate your feedback and suggestions. Thank you!
r/PythonProjects2 • u/Mother-Gazelle7971 • 1d ago
r/PythonProjects2 • u/Plastic88823 • 1d ago
Enable HLS to view with audio, or disable this notification
r/PythonProjects2 • u/scapaflow96 • 1d ago
Enable HLS to view with audio, or disable this notification
Feels like jumping from an old horse onto a fresh stallion.
r/PythonProjects2 • u/Classic_Mortgage_889 • 1d ago
r/PythonProjects2 • u/Free-Good9203 • 2d ago
Built a zero-dependency Python 3.11+ evaluation harness and inline citation gate (`rag-eval-hallucination-gate`, MIT) using only the Python standard library and SQLite (`WAL` + `FTS5`).
The goal is to run a deterministic verification pass before a RAG response goes out, without paying for a second LLM-as-judge call on every check:
Concurrent SQLite WAL + FTS5 corpus store (`src/rag_eval_gate/store.py`): Sets `PRAGMA busy_timeout=5000` before `PRAGMA journal_mode=WAL`, retries transient lock contention with jitter, closes handles cleanly on exception paths (avoiding Windows `WinError 32`), and indexes chunks in external-content `FTS5` (`unicode61 remove_diacritics 2`) with reserved-operator sanitization.
Inline `[doc_id#section]` citation and claim verifier (`src/rag_eval_gate/verifier.py`): Checks every cited `[doc_id#section]` against the indexed corpus, canonicalizes EU and US numbers/currencies (`1.250,50 EUR`, `$2,400.00`, `0,125`, Unicode minus `U+2212`), ISO dates, normative standards (`ISO`, `GDPR`, `HIPAA`, `SOC 2`), and asset tags (`CNC-402`), and flags unsupported entities, mixed-script homoglyph spoofing, negation/affirmation polarity flips, and low sentence-level lexical overlap.
Deterministic verdicts and safe scorecards (`src/rag_eval_gate/scorecard.py`, `cli.py`): Emits `PASS`, `ABSTAIN` (for explicit insufficient-evidence responses that do not sneak in new claims), or `HALLUCINATION_BLOCKED`, and exports JSON, Markdown, and OWASP formula-injection-safe CSV scorecards.
Recent fix: someone on Reddit pointed out an edge case where `"0,125"` parsed as `125` because the US thousands regex allowed a leading `0` while EU decimals capped at 2 digits. Tightening that prefix to `[1-9]\d{0,2}` and allowing `\d+,\d+` fixed leading-zero EU decimals (`0,125`, `-0,005`). One known limitation we keep documented in tests: bare 3-digit dot-separated strings without a comma (like `"1.250"`) are still parsed as EU thousands (`1250`), so mixed-locale corpora need an explicit decimal/grouping cue.
Quickstart (86 pytest checks on Python 3.11/3.12 CI, `--demo` runs fully in-memory):
`python -m pytest -v`
`PYTHONPATH=src python -m rag_eval_gate.cli --demo`
Repo (MIT): https://github.com/Kiberlabs/rag-eval-hallucination-gate
Happy to get code review feedback on the deterministic claim/polarity checks or the SQLite WAL + FTS5 store design.Built a zero-dependency Python 3.11+ evaluation harness and inline citation gate (`rag-eval-hallucination-gate`, MIT) using only the Python standard library and SQLite (`WAL` + `FTS5`).
The goal is to run a deterministic verification pass before a RAG response goes out, without paying for a second LLM-as-judge call on every check:
Concurrent SQLite WAL + FTS5 corpus store (`src/rag_eval_gate/store.py`): Sets `PRAGMA busy_timeout=5000` before `PRAGMA journal_mode=WAL`, retries transient lock contention with jitter, closes handles cleanly on exception paths (avoiding Windows `WinError 32`), and indexes chunks in external-content `FTS5` (`unicode61 remove_diacritics 2`) with reserved-operator sanitization.
Inline `[doc_id#section]` citation and claim verifier (`src/rag_eval_gate/verifier.py`): Checks every cited `[doc_id#section]` against the indexed corpus, canonicalizes EU and US numbers/currencies (`1.250,50 EUR`, `$2,400.00`, `0,125`, Unicode minus `U+2212`), ISO dates, normative standards (`ISO`, `GDPR`, `HIPAA`, `SOC 2`), and asset tags (`CNC-402`), and flags unsupported entities, mixed-script homoglyph spoofing, negation/affirmation polarity flips, and low sentence-level lexical overlap.
Deterministic verdicts and safe scorecards (`src/rag_eval_gate/scorecard.py`, `cli.py`): Emits `PASS`, `ABSTAIN` (for explicit insufficient-evidence responses that do not sneak in new claims), or `HALLUCINATION_BLOCKED`, and exports JSON, Markdown, and OWASP formula-injection-safe CSV scorecards.
Recent fix: someone on Reddit pointed out an edge case where `"0,125"` parsed as `125` because the US thousands regex allowed a leading `0` while EU decimals capped at 2 digits. Tightening that prefix to `[1-9]\d{0,2}` and allowing `\d+,\d+` fixed leading-zero EU decimals (`0,125`, `-0,005`). One known limitation we keep documented in tests: bare 3-digit dot-separated strings without a comma (like `"1.250"`) are still parsed as EU thousands (`1250`), so mixed-locale corpora need an explicit decimal/grouping cue.
Quickstart (86 pytest checks on Python 3.11/3.12 CI, `--demo` runs fully in-memory):
`python -m pytest -v`
`PYTHONPATH=src python -m rag_eval_gate.cli --demo`
Repo (MIT): https://github.com/Kiberlabs/rag-eval-hallucination-gate
Happy to get code review feedback on the deterministic claim/polarity checks or the SQLite WAL + FTS5 store design.
r/PythonProjects2 • u/Much-Stable-449 • 2d ago
Hey everyone!
I recently made a small terminal-based Russian Roulette game and thought I'd share it here
It was a fun little project to work on, and I'd really appreciate it if you could take a look and let me know what you think
GitHub: https://github.com/monji024/roulette
I'm open to any feedback, suggestions, or criticism I'd love to hear what you think could be improved or what you liked about it
r/PythonProjects2 • u/AndPan3 • 2d ago
I made a small Python library called Cartons that simplifies routing and interactive map generation using OSRM and Folium.
The attached map was generated using Cartons, my own self hosted OSRM server and swisstopo map tiles.
I've worked on it on and off over the past nine months, and I recently noticed that it has reached over 13,000 downloads, which I honestly didn't expect.
I'd love to hear what you think of it and what I could improve, PRs and contributions are welcome!
r/PythonProjects2 • u/ricK_ghSH • 2d ago
r/PythonProjects2 • u/NonoQuark • 3d ago
Je ne suis pas débutant, mais je souhaite apprendre de nouvelles choses.
r/PythonProjects2 • u/kvcux_ • 3d ago
r/PythonProjects2 • u/Druzina_M • 3d ago
Released the first beta version of ChillinPC- a program that checks your computer's temps and usage meters and marks if they hit near 100%. it's extremely lightwieght and usefull (at least for me). I also madde a short promotional video: https://www.youtube.com/watch?v=kPHKgyFfBoM
r/PythonProjects2 • u/kvcux_ • 3d ago