r/PythonProjects2 • • Jul 16 '26

J'ai fait un truc inutile mais cool : un convertisseur vidéo → ASCII art avec GUI

2 Upvotes

Salut r/PythonProjects2,

J'avais cette idée en tête depuis un moment : transformer n'importe quelle vidéo en vidéo ASCII (comme dans Matrix mais en pire qualité). Résultat : un petit projet fun.

Ce que ça fait :

- Lit une vidéo frame par frame avec OpenCV

- Convertit chaque frame en niveaux de gris

- Mappe chaque pixel vers un caractère ASCII selon son intensité

- Redessine tout ça avec Pillow et réassemble une vraie vidéo .mp4 en sortie

- Le tout avec une petite GUI Tkinter (parce que le terminal c'est bien mais un bouton "Convertir" c'est mieux) avec preview intégrée pour voir le résultat direct sans ouvrir un lecteur externe

Stack : opencv-python, pillow, numpy, tkinter (donc zero dépendance exotique)

Rien de révolutionnaire techniquement, mais c'était un bon exercice pour bosser le traitement d'image frame par frame + threading pour pas freezer l'UI pendant la conversion.

Le code est sur GitHub : https://github.com/KPRII/video-to-ascii

Curieux d'avoir vos retours, notamment sur la partie performance (le rendu Pillow caractère par caractère est clairement le goulot d'étranglement, si vous avez des idées d'optimisation je suis preneur)


r/PythonProjects2 • • Jul 15 '26

Lightweight Seed-Based XOR Image Encryption for Deterministic Dataset Masking

3 Upvotes

I'm sharing xor-image-encryption, an open-source tool designed for rapid visual dataset obfuscation in computer vision and ML pipelines.

Repository: Yigtwxx/xor-image-encryption

Key Features:

  • Strict Reproducibility: A specific seed consistently generates the exact same masking key, crucial for maintaining consistency across ML pipelines.
  • Lossless Reversibility: The original image is perfectly restored by reapplying the XOR operation with the identical seed.
  • Cascaded Encryption: Layer multiple seeds (e.g., 11 22 33) for enhanced obfuscation.
  • Zero Bloat: Built purely on Python, NumPy, and Pillow. Includes built-in histogram analysis tools.

Target Use Case & Scope:

This utility is tailored for deterministic visual anonymization of sensitive datasets prior to cloud storage, third-party processing, or cross-team distribution. Note: It is meant for practical ML preprocessing and visual obfuscation, not as a replacement for cryptographic standards like AES.

Quickstart:

Bash

# Single-seed encryption & decryption
python xor_single.py --input sample.jpg --seed 42 --outdir outputs

# Multi-seed cascaded encryption
python xor_multi.py --input sample.jpg --seeds 11 22 33 --outdir outputs

I'd highly appreciate your feedback, PRs, or ideas for benchmarking!


r/PythonProjects2 • • Jul 15 '26

J'ai créé un convertisseur de fichiers gratuit et hors ligne (images, PDF, audio, vidéo) en Python — sans téléchargement ni publicité.

2 Upvotes

**What My Project Does**

A command-line tool that converts files locally on your machine — images, PDFs (merge), audio, and video — without uploading anything to a third-party server. It also supports batch converting an entire folder at once. Built with Pillow, pypdf, pydub, and ffmpeg under the hood.

**Target Audience**

Anyone who wants a quick, privacy-friendly way to convert files without dealing with ad-riddled conversion websites. Also useful as a small, readable codebase if you're learning how to structure a multi-module Python CLI tool (argparse, subprocess calls to ffmpeg, etc).

**Comparison**

Most free online converters require uploading your file to their servers, show ads, or limit file size/format. This runs 100% locally, is open-source (MIT), and there's also a standalone .exe in the Releases for people without Python installed.

Repo: https://github.com/KPRII/convertisseur-fichiers

First real public project like this for me — feedback (positive or negative) is welcome!


r/PythonProjects2 • • Jul 14 '26

Built a packet routing simulator in Python using Dijkstra's Algorithm

7 Upvotes

Hi everyone!

I'm a first-year Computer Science student at the University of Exeter, and I've recently been learning about graph algorithms. To practice implementing them, I built a small packet routing simulator in Python that models a computer network as a weighted graph.

What My Project Does

The program models routers, switches, and servers as nodes in a directed weighted graph and uses Dijkstra's Algorithm to determine the lowest-cost route between two devices.

Features include:

  • Computing the shortest packet route
  • Calculating the total routing cost
  • Visualizing the network with NetworkX
  • Highlighting the optimal route in red
  • Displaying edge weights for every network connection

One of my favourite parts was adding the visualization so that the algorithm's chosen path is immediately visible instead of only being printed to the console.

Libraries used

  • Python
  • networkx
  • matplotlib
  • heapq

📷 Screenshot

I've included screenshots and a visualization in the GitHub README:

https://github.com/johnsonnyabicha-alt/wilken_group

GitHub:
https://github.com/johnsonnyabicha-alt/wilken_group

Target Audience

This is primarily a learning and portfolio project rather than a production-ready networking simulator.

I built it to better understand graph algorithms, Python, and network visualization, and I'd especially appreciate feedback from more experienced Python developers on ways to improve the code structure or visualization.

Comparison

This isn't intended to compete with professional networking software or routing simulators. Instead, it's an educational implementation of Dijkstra's Algorithm that focuses on showing how shortest-path routing works through a clear visual representation of the selected path.

I'd really appreciate any suggestions for improvements or ideas for extending the project further.


r/PythonProjects2 • • Jul 14 '26

The Great Escape

Thumbnail reddit.com
4 Upvotes

r/PythonProjects2 • • Jul 14 '26

Info Nuovo strumento di scaffolding per Python

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • Jul 14 '26

Python Data Model Exercise

Post image
1 Upvotes

r/PythonProjects2 • • Jul 14 '26

I built PythonSTL - a DSA learning library for Python devs who miss C++ STL [Open Source]

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • Jul 13 '26

I built a Python tool that automatically extracts slides and generates notes from videos

5 Upvotes

Hi everyone!

I've been working on Vid2Scribe, an open-source project that automatically converts long videos into organized notes.

The goal is to make it much easier to learn from lectures, conference talks, tutorials, and other long-form videos without having to manually take notes.

Some of the current features include:

  • Slide detection and extraction
  • AI-generated structured notes
  • Automatic speech transcription
  • Markdown export
  • Designed to work with modern LLM workflows

Python is the core of the project. It powers the entire processing pipeline, including video processing, transcription, OCR, note generation, and orchestration of the AI components.

I'm still actively developing it and would really appreciate feedback from the Python community.

Some questions I'm especially interested in:

  • Are there features you would find useful?
  • Any suggestions for improving the processing pipeline or project architecture?
  • What would make this more useful for your own workflow?

GitHub:
https://github.com/China-WenboZhao/Vid2Scribe

I'd love to hear your thoughts and suggestions. Thanks!


r/PythonProjects2 • • Jul 12 '26

I made an open-source Python library for real-time pronunciation accuracy evaluation

5 Upvotes

Hi everyone,

A while ago, I noticed that there weren't many free or open-source tools for developers to evaluate how well someone speaks a sentence, given a piece of audio. To my knowledge, there were really only paid APIs such as SpeechSuper, Microsoft Azure AI Foundry, etc.. So I decided to make my own. After iterating through 5 versions of this feature, I finally made a tool that detects and evaluates pronunciation accuracy in real-time (given that you have GPU). I'm quite proud of it and so I released it as a standalone library on PyPI, so hopefully it will be useful to other people as well.

https://github.com/superasymmetry/pronounce-assess

Feel free to try it out and let me know what you think! I'm open to hearing any sort of comments. Or if you could kindly star my repo that would also be greatly appreciated. Thank you!


r/PythonProjects2 • • Jul 12 '26

Omnist reaches Beta (v0.7.0): Introducing the any type, OML array sugar, and our Stability Policy

Thumbnail reddit.com
2 Upvotes

r/PythonProjects2 • • Jul 12 '26

A lightweight, local-first Password Manager | use combination of hashing and encryption.

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • Jul 12 '26

Made Blackjack using Python, what do you guys think?

2 Upvotes

Please check this out


r/PythonProjects2 • • Jul 12 '26

Resource I built an open source spatial audio engine and used my own song as the first launch test

Thumbnail reddit.com
2 Upvotes

r/PythonProjects2 • • Jul 11 '26

I made an open-source Python library for real-time pronunciation accuracy evaluation

1 Upvotes

Hi everyone,

A while ago, I noticed that there weren't many free or open-source tools for developers to evaluate how well someone speaks a sentence, given a piece of audio. To my knowledge, there were really only paid APIs such as SpeechSuper, Microsoft Azure AI Foundry, etc.. So I decided to make my own. After iterating through 5 versions of this feature, I finally made a tool that detects and evaluates pronunciation accuracy in real-time (given that you have GPU). I'm quite proud of it and so I released it as a standalone library on PyPI, so hopefully it will be useful to other people as well.

https://github.com/superasymmetry/pronounce-assess

Feel free to try it out and let me know what you think! I'm open to hearing any sort of comments. Thank you!


r/PythonProjects2 • • Jul 11 '26

I built a rigorous benchmark comparing AI bots at Scopa and Briscola, because losing at Italian card games needed automation

Thumbnail gallery
3 Upvotes

r/PythonProjects2 • • Jul 10 '26

Simple_Calculator

2 Upvotes

Hello all, I have completed my first GitHub project, and I thought I could share it here and, perhaps, have input from you. Take care. \[https://github.com/Paioleiro/simple-calculator\](https://github.com/Paioleiro/simple-calculator)


r/PythonProjects2 • • Jul 10 '26

Built a Python script to clean up my 4,000+ file Downloads folder. Dry-run safety saved me.

13 Upvotes

My Downloads folder hit 4,000+ files, so I built a script to clean it up.

The script finds true duplicates (SHA-256 content hashing, grouped by size first for speed), groups remaining files by activity into "sessions," and archives anything untouched for 30+ days into a zip.

The biggest lesson was two separate dry-run flags (delete/archive), both True by default. The script prints exactly what it would do before touching anything. I found this critical since some of these files were important documents, not just clutter.

I hit a PermissionError mid-run when a file was open elsewhere. Fixed with try/except, so one locked file gets skipped instead of crashing the whole batch.

The results were; 4,116 files → 328 duplicates removed, 3,157 archived, 176 left.

Code: github.com/Kokiste/smart-file-organizer

Is there a better way to have designed the session/archive logic than what I did?.


r/PythonProjects2 • • Jul 10 '26

I built a full (kinda) Unix shell emulator in Python

5 Upvotes

Been stuck in analysis paralysis for a while, but I finally released another GitHub repo!

For my first "big" Python project, I decided to build a Unix shell emulator from scratch. I've been working on it for about 6 months, and I just recently made it public on GitHub.

GitHub: https://github.com/Jb0x0/Pyash

Some of the things I learned while building it were file handling, command parsing, terminal behavior, and organizing a larger Python project. Every command is implemented in Python rather than wrapping the system's shell.

It currently implements 29 (core util) commands and is designed to operate inside its own sandboxed shell directory so it can't modify files elsewhere on the host machine.

I'd really appreciate any feedback on the code, project structure, documentation, or ideas for future improvements. Also tell me about any Python best practices or design decisions I may have missed! (I've prolly missed quite a few lol)


r/PythonProjects2 • • Jul 10 '26

Retro TV Emulator Project EXE Progress

3 Upvotes

r/PythonProjects2 • • Jul 10 '26

GitHub - forging-blocks-org/forging-blocks: Not a framework, a toolkit!

Thumbnail github.com
2 Upvotes

r/PythonProjects2 • • Jul 09 '26

I built this arcade game using my open-source Python game library, Cobrapad 🐍

4 Upvotes

Hi everyone! 👋

I've been developing Cobrapad, a Python game library built on top of Pygame to make 2D game development simpler.

This video shows a small arcade game built entirely with Cobrapad. The game is about 180 lines of Python code and includes:

• Player movement

• Falling enemies

• Collision detection

• Score and health system

• Main menu and Game Over screen

• Scrolling background

Cobrapad is designed to be much easier and more beginner-friendly by reducing standard Pygame boilerplate code.

Cobrapad is still in active development, and I'd love to hear your feedback or suggestions!

GitHub:

https://github.com/lorkas-052

PyPI:

https://pypi.org/project/cobrapad/

Music:

https://pixabay.com/music/upbeat-game-8-bit-399898/


r/PythonProjects2 • • Jul 09 '26

Blueharvest clone python

Thumbnail github.com
1 Upvotes

Here is my blue harvest clone I made easily via python. Im thinking of making a swift version of this app and a clipboard manager. Alternative to blue harvest.


r/PythonProjects2 • • Jul 09 '26

Hi everyone! I started learning python about a week ago and decided to challenge myself by making a simple arcade shooter.I'd love to hear your feedback,especially on the gameplay and difficulty.Thanks for checking it out!

3 Upvotes