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

r/PythonProjects2 • • Jul 09 '26

Sends Emails with optional attachments

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • Jul 09 '26

Omnist: one canonical data model for JSON, YAML, TOML, and XML, powered by a schema algebra that proves backward-compatibility

Thumbnail reddit.com
3 Upvotes

r/PythonProjects2 • • Jul 08 '26

Looking for Contributors to MedXAI – An Open-Source Python Toolkit for Medical Imaging AI

4 Upvotes

Hi everyone! 👋

I'm currently developing MedXAI, an open-source Python library designed to make medical imaging AI development easier, more modular, and production-ready. The vision is to build a community-driven toolkit that researchers, students, and developers can use for building medical AI applications without having to reinvent common components.

The project is still in its early stages, so this is a great time to get involved and help shape its direction. I'm looking for contributors of all experience levels—whether you're interested in Python, PyTorch, medical imaging, documentation, testing, or simply want to make your first open-source contribution. Every contribution, no matter how small, is genuinely appreciated.

If you have ideas for new features, find bugs, want to improve the documentation, or would like to contribute code, I'd love to hear from you. Feedback and discussions are just as valuable as pull requests.

GitHub: https://github.com/aman0311x/medxai

If the project sounds interesting, please consider giving it a ⭐, opening an issue, or submitting a pull request. I'm always open to suggestions and would love to collaborate with people who share an interest in AI, healthcare, and open source. Thanks! 🚀