r/PythonProjects2 • • Nov 04 '21

I was on the interview team at a small software firm and did a quick tutorial on a number of the most common rookie questions we would ask.

35 Upvotes

https://www.youtube.com/watch?v=O5kxXuqF4VI

Basic stuff like integer and string manipulation, defining and calling functions and hopefully seeing candidates think on their feet. If you're right out of college or transitioning into python/CS these sorts of exercises can be really useful!


r/PythonProjects2 • • May 24 '21

I built a RegEx Engine in Python

35 Upvotes

I build a RegEx Engine complete capable of backtracking. It has been very hard to think about the grammar, and how to backtrack especially.

Here's the link to the repo: GH repo


r/PythonProjects2 • • Feb 20 '21

I Made a 3D Graphics Engine Using Python and Pygame

35 Upvotes

Link to Showcase Video - https://youtu.be/RlZelJwtJwQ


r/PythonProjects2 • • Mar 13 '26

I developed a Python tool for Finding Origin IPs behind Cloudflare - Looking for feedback!

Post image
34 Upvotes

Hi everyone, I've been working on a personal project called CloudBypasser. It's a Python-based script designed for bug bounty hunters and security researchers to help identify the real origin IP of a website using various DNS and subdomain analysis techniques. It works perfectly on Termux and desktop environments. I'm currently looking for people to test it and give me feedback on the bypass logic. If anyone is interested in testing the tool or seeing how it works, just drop a comment or send me a DM and I'll share the details with you! I'd also appreciate any tips on improving the script's efficiency.


r/PythonProjects2 • • Jul 30 '25

Built a browser-based notebook environment with DuckDB integration and Hugging Face transformers

34 Upvotes

Just launched "Notebooks" in DataKit at https://datakit.page . All the compute is fully on the browser (no server is involved).

Key features:

  • Full Python notebook environment in browser

  • Direct SQL queries to DuckDB from notebook cells

  • Hugging Face transformers models loaded by default

  • Standard matplotlib/pandas/plotly/scikit support

  • Import/export .ipynb files

The DuckDB bridge is particularly useful - you can query your data with SQL and immediately analyze results with pandas in the same notebook. Supported transformers models are from Xenova's collection: https://huggingface.co/Xenova/models

Everything runs client-side using Pyodide. Would love feedback from the community.


r/PythonProjects2 • • Nov 09 '24

RANT Rainy 🌧️,Cosey day ☕️

Post image
34 Upvotes

r/PythonProjects2 • • Oct 25 '22

Resource I rebuilt classic Pacman from scratch (including graphics) completely in python using the PyGame module! All code and assets are available in a GitHub link as well, hope you guys like it! :) Cheers!

Thumbnail
youtube.com
34 Upvotes

r/PythonProjects2 • • Apr 10 '22

[P] Easy 🐍 🖥 Python Automation YouTube Playlist

34 Upvotes

If you’re a Beginner to Python Automation, a seasoned Developer, an Analyst or just someone looking to Automate your life and improve efficiency- I may have some YouTube videos for you over on my channel!

🐍 Improve your Data Analysis by Web Scraping with Python | The Simple Way

https://youtu.be/eJt2uOPd9ZQ

🐍 Use Python to Automate Excel | Automate Your Data Analysis

https://youtu.be/AceK0iIkQyg

🐍 Automating PDF Files with Python | Python for Data Analysis

https://youtu.be/SN6EADQBUOI

🐍 Simple Email Automation with Python | Work Efficiently with this Yagmail Email Bot

https://youtu.be/hnQrSSKARLE

🐍 Use Python to Convert PDFs & Other Documents to Audiobooks | Improve your Automation & Efficiency!

https://youtu.be/Mmx7sGLfx0U

🐍 Automate LinkedIn with Python and Selenium | Step by Step Automation

https://youtu.be/L_kDdsnEmF4

🐍 Automate System Notifications Using Python | Beginner Friendly Python Project

https://youtu.be/LJSLJ5Twmy8

Alternatively, you can view my whole Python for Automation Projects Playlist by following the link below!

https://youtube.com/playlist?list=PLKXb3B8q0HcCwe69DZnMW8BBZkgAO6aST


r/PythonProjects2 • • Mar 12 '22

Simulating Electrons with Python Turtle

34 Upvotes

r/PythonProjects2 • • Apr 26 '26

I built PyFyve: A fully local, offline Python tutor that teaches by not giving solutions, but providing hints and analysis (TUI).

Thumbnail
gallery
33 Upvotes

Hey everyone, I wanted to share PyFyve. It's a TUI-based Python tutor designed NOT to give you the answer. It's free, offline, and uses a fine-tuned llm (Qwen3-4b, more info on this on the github repo) running locally via ollama to generate hints for errors instead of solutions.

The whole thing started from a simple idea, when beginners ask llms for help, they get the answer. The first intuition naturally becomes to just copy it, it works, and they learn very little of the thinking part. So I built a tool where the AI is specifically trained to only give them exactly three sentences: what went wrong, which rule you broke, and a guiding statement. The rest is on them.

Under the hood, the terminal UI is built with Rich, and user code runs in an AST-based execution environment. Building solo, so it's Windows-only for now. Setup is straightforward: download the .exe installer, or run start.bat from source to automate the venv, dependencies, Ollama, and model download. No subscriptions, no API costs. Apache 2.0 licensed.

Limitations as of now:

  1. Just released (v1.0.0), this is a prototype

  2. Windows only (Linux/Mac support is on the roadmap)

  3. AI hints trigger only on actual Python exceptions, if your code runs but produces wrong output, the AI won't fire

  4. App freezes on infinite loops (timeout mechanism is the top priority on the roadmap)

  5. The model (fine-tuned Qwen 3 4B, ~2.5 GB) takes around 55s to cold-load on CPU-only machines; ~20s per hint after that. Dedicated GPU drops this to near 10s

  6. The lessons are currently placeholders covering intro through for-loops

  7. More info on the repo

GitHub: https://github.com/Macmill-340/PyFyve

AI Model: https://huggingface.co/Macmill/Fyve-AI


r/PythonProjects2 • • May 05 '23

[P] Moderate Controlnet Face Model Test

33 Upvotes

r/PythonProjects2 • • Aug 18 '20

[P] Easy Twitter Bot that Tweets Daily Deals from Amazon

33 Upvotes

Hey guys, idk if you remember me from a week or two ago but I posted on reddit that I used Python to make a twitter bot that tweets daily deals from Amazon. Every day a few tweets are sent out with a description in each tweet (link, price, title, etc.). Also, each tweet represents a product from a popular category (electronics, clothing, home, etc.).

I used some advice from my commenters and now my bot posts high-quality products with sales that are at least 20% off. In addition, it will post products that have at least a 4-star rating. Please follow and share this with your friends and family! I will follow back. Link to the bot is below. Thank you.

Link: https://twitter.com/daily_Deals_Bot


r/PythonProjects2 • • Apr 09 '26

Guess the output

Post image
32 Upvotes

r/PythonProjects2 • • Mar 21 '26

Python's Mutable and Immutable types

Post image
32 Upvotes

An exercise to help build the right mental model for Python data.

The “Solution” link uses 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵 to visualize execution and reveals what’s actually happening.


r/PythonProjects2 • • Mar 03 '26

Portal Flat 2D - 2D puzzle-platformer inspired by Portal.

Thumbnail
gallery
32 Upvotes

I just released a small 2D puzzle-platformer inspired by portal mechanics that I built from scratch using pygame.

The game reimagines the Portal experience in 2D, focusing on portals, momentum, and logic-based puzzles instead of combat.
All 19 test chambers from the original game are recreated in 2D form.

Features:

  • 🟠🟦 Fully recreated portal mechanics in 2D

  • 🧩 All 19 test chambers

  • 🎮 Controller support

  • 👥 Local co-op on a single screen

  • 🌐 Playable in the browser and as a desktop build

  • 🛠️ Built-in level editor (desktop version only)

You can play it directly in the browser.
Would love any feedback!

Link: https://shurik-is.itch.io/portal-flat-2d


r/PythonProjects2 • • Dec 06 '25

My first python package is live!

Post image
32 Upvotes

I spent the past few months learning and optimizing until finally I settled on architecture and a name (the hardest part /s) for my first pypi package. I was cleaning locations in a very dirty database using pycountry and geonamescache, but found myself having to build out my own fetching, validation and fuzzy matching anyway.

Impetus

I found pycountry worked well as a simple data wrapper, but fell short on consistency and function. I also didn't like having to wrap every call in a try block.

geonamescache has a more comprehensive dataset, but I wasn't a fan of its API or that it only output dicts. I wanted something more predictable and clean.

For basic, offline data fetching, both libraries are definitely worthy. I needed an offline solution with a search engine, a consistent schema and comprehensive dataset. So I yoinked my cleaning logic, merged pycountry's ISO 3166 data with GeoNames data, and tweaked away until I landed on my first stable version of localis!

Overview

The dataset is eager loaded in-memory and contains:

  • All 249 countries

  • 51k subdivisions (admin levels 1 & 2)

  • 451k GeoNames cities

The current API for each dataset includes:

  • get: by internal id, < 1ms

  • lookup: by various unique identifiers, < 1ms

  • filter: by multiple fields, < 4ms

  • search: typo tolerant, 95%+ accurate @ 15% typo rate, 1-30ms/call

localis was built for performance and accuracy, so it can be used for reliable data cleaning, autocompletes, dropdowns, etc. The performance does come at a cost, lazy loading for first method calls range from 350-1700ms.

If you feel like roasting my code and ci/cd: https://github.com/dstoffels/localis

If you feel like roasting the package itself: https://pypi.org/project/localis/

Either way, I hope someone finds it useful!


r/PythonProjects2 • • Aug 30 '25

The weirdest hello world

Post image
32 Upvotes

I decided to make hello world in the weirdest way I could.


r/PythonProjects2 • • Aug 28 '26

I made a password generator using digits and special characters

Post image
31 Upvotes

r/PythonProjects2 • • May 28 '26

I built a terminal visualizer for 24+ pathfinding algorithms in pure Python — watch BFS, A*, Dijkstra and more solve mazes step by step

Thumbnail
gallery
31 Upvotes

For the past few months I've been building this as a way to actually understand algorithms instead of just reading about them. The idea was simple: if you can watch an algorithm think in real time, the theory sticks differently.


What it does

  • 15 classic pathfinding algorithms (BFS, A*, Dijkstra, IDA*, Bellman-Ford, Wall Followers, Trémaux and more) animated step by step in the terminal

  • Race two algorithms side by side on the same maze

  • Duel mode — overlay two solution paths and see exactly where they agree and where they diverge

  • Step-by-step Autopsy Explainer — replay any run frame by frame with plain-language explanation of what the algorithm is deciding at each step

  • TSP / Treasure Hunt, Multi-Agent Pathfinding (CBS), and Pursuit-Evasion modules

  • Zero dependencies — pure Python 3.9+, runs anywhere


How to try it

git clone https://github.com/Sperfect99/Algorithm_Encyclopedia
cd Algorithm_Encyclopedia
python _encyclopedia_launcher.py --check
python _encyclopedia_launcher.py

Start with complexity 3, pick BFS (option 1), run it, then pick A* (option 3) on the same maze, and use Duel after. That one comparison shows more than an hour of reading.


Where it stands

The algorithm core is stable and tested with CI across Python 3.9–3.12 on Linux, macOS, and Windows. The interface works but is still rough in places — making it more intuitive is the next big thing on the list.

If you try it and something feels clunky or unclear, I'd genuinely like to know. No need to open a PR — a comment here or an Issue on GitHub is more than enough.


r/PythonProjects2 • • Apr 04 '26

Filer - A File-Managing programming language

Post image
31 Upvotes

Hi! First of all, thank you to check this project. I spent my last 5 month on this and it's still not finished. Following this litle message are the features that are coded and the ones that will be coded. If you got any suggestions of what to add, feel free to leave a comment! I'm only 14y old and this is my biggest project after Pychat (my discord-like chat system) and Pygame3D (a library to make simple 3D games, easily).

Features for now:

-Basic file and folder actions (like creating, removing, moving, etc)

-Global vars

-Normal vars

-Builtins vars for src and dest

-Out in In commands to log text or ask user

-Very basic condition system (WIP): no connectors like "and", "or" or "not" and no "else" yet

Features to add:

-Complete condition system

-Loop with or without condition

-Addon system (like libs in Python)

Github coming soon!


r/PythonProjects2 • • Feb 19 '26

Working on a strange attractor visualiser with Streamlit

31 Upvotes

I've been playing around with Streamlit and wanted to combine it with my obsession with strange attractors to make an interactive dashboard. Really cool how plotly and streamlit integrate with each other and been having fun working on this. Any tips from anyone who's worked with streamlit before if there's a way to make the sliders/plot change smoother? Or is this just a limitation on how I've implemented this?

Link to the repo


r/PythonProjects2 • • Jan 09 '26

I built a wrapper to get unlimited free access to GPT-4o, Gemini 2.5, and Llama 3 (16k+ reqs/day)

31 Upvotes

I built a wrapper to get unlimited free access to GPT-4o, Gemini 2.5, and Llama 3 (16k+ reqs/day)

Hey everyone!

I wanted to share a tool I built called FreeFlow LLM (freeflow-llm)

Like many of you, I love using powerful models like GPT-4o and Llama 3.3, but I hate hitting rate limits or paying for API usage during development/testing. I noticed that providers like Groq, Google (Gemini), and GitHub Models offer really generous free tiers, but managing multiple keys and switching between them when one runs out is a pain.

So I built FreeFlow to automate it.

What it does

It acts as a unified API layer. You just toss in a list of free API keys (e.g., 2 Groq keys, 3 Gemini keys), and FreeFlow handles the rest:

  • Auto-Rotation: Cycles through keys to avoid rate limits.

  • Auto-Fallback: If Groq is down or limited, it seamlessly switches to Gemini or GitHub Models.

  • Unified Interface: One simple client.chat()  method that works for all providers.

  • Streaming: Full support for real-time response streaming.

Installation

pip install freeflow-llm

from freeflow_llm import FreeFlowClient

# It automatically finds your keys in env vars
with FreeFlowClient() as client:
    response = client.chat(
        messages=[{"role": "user", "content": "Explain quantum computing"}]
    )
    print(response.content)

r/PythonProjects2 • • Feb 20 '25

Resource Instagram CLI – Chat on Instagram Without the Brainrot (see comment for details)

31 Upvotes

r/PythonProjects2 • • Aug 23 '22

[P] Moderate I made a bot in python that builds out any 2D image in Minecraft

Thumbnail
youtu.be
31 Upvotes

r/PythonProjects2 • • Jul 28 '22

how to detect the typing/writing state with python? please help!!!

31 Upvotes