r/PythonProjects2 • • 13d ago

I built a free and open-source Video Downloader for Windows

Post image
0 Upvotes

I’ve been developing Video Downloader, a lightweight Windows desktop application that started as a personal project to make downloading online content easier. Built on top of yt-dlp, it allows users to download videos and audio from supported websites, with support for resolutions up to 4K.

If you have any suggestions, feedback, or ideas for features that could improve the app, feel free to share them.

Github: https://github.com/AlperSrgn/VideoDownloader


r/PythonProjects2 • • 13d ago

Help Support a Student-Led Energy Technology Project!

Thumbnail reddit.com
2 Upvotes

r/PythonProjects2 • • 13d ago

the real python snake

Thumbnail
gallery
3 Upvotes

This is a real Python snake, made entirely with pure Python on Fedora. I'm genuinely impressed by how beautiful it looks. This is the true Byte Snake. The blue one is the snake, and everywhere it goes, it brings everything to life, just like the one true guardian.


r/PythonProjects2 • • 13d ago

[RECRUITING] High School Students Wanted for an Energy Technology Passion Project!

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 13d ago

dature: a config loader that returns your plain dataclass from files, env, CLI and cloud secret stores, with errors that show file and line

1 Upvotes

What it is

dature is a config loader I wrote in Python. It reads configuration from many sources, merges them, and returns your own stdlib @dataclass. There is no base class and no framework, and it has 1 required dependencies (extras are optional). It needs Python 3.12+.

Sources: YAML, JSON, JSON5, TOML, INI, .env, environment variables, Docker secrets, CLI arguments, and remote stores (Vault, Consul, etcd, ZooKeeper, AWS SSM and Secrets Manager, Azure, GCP). The same dataclass works with all of them.

Why I made it

My setup is a .env for local dev, real env vars in Docker/Kubernetes, and sometimes a few YAML/TOML files on top (defaults plus one per environment). I kept hitting the same things with the tools I tried: merging per field turned into custom code, validation errors named the field but not the file or line, and it was hard to tell which source set a value in prod.

How it looks

from dataclasses import dataclass

import dature


@dataclass
class Config:
    host: str
    port: int


config = dature.load(
    dature.Yaml12Source(file="defaults.yaml"),
    dature.Toml11Source(file="config.toml", skip_if_missing=True),
    dature.EnvFileSource(file=".env", skip_if_broken=True),
    dature.EnvSource(prefix="APP_"),
    schema=Config,
)

Sources are merged in order (last wins by default). Other strategies are first_wins, first_found and raise_on_conflict, and you can set rules for individual fields, for example extend a list instead of replacing it.

When a value is wrong, the error points at the exact place:

  | dature.errors.exceptions.FieldLoadError:   [host]  Invalid variant: 'development'
  |    ├── host: "development"
  |    │           ^^^^^^^^^^^
  |    └── FILE 'config.yaml', line 1

What else it does

- debug=True shows which source each final value came from, and dature validate / dature inspect do the same from the command line for CI
- Field groups: if an override changes db_host, it must change db_port too, or loading fails
- Strict mode catches typo'd keys (databse_host) instead of silently ignoring them
- Sources can reference each other (${@env.config_path}) and be enabled conditionally (when=), so there's no glue code per environment
- Validators via Annotated, secrets masked in errors and output (SecretStr)
- Cached decorator mode with background reload when a file changes.
- Custom sources are a subclass with one method
- And much more

Status

It's a young and fairly small library, much smaller than pydantic-settings, but it's already production ready. I'd love feedback, especially on the API.

GitHub: https://github.com/reagento/dature
Doc: https://dature.readthedocs.io/en/stable/


r/PythonProjects2 • • 13d ago

I built a desktop download manager with Python and PyQt5 – I'd love your feedback

3 Upvotes

Hi everyone!

I'm an independent developer, and I'd like to share a project I've been working on: FW Downloader Manager.

It's a desktop application built with Python and PyQt5. I developed it to manage regular file downloads as well as video and audio downloads from supported websites.

Some of its main features:

  • Multi-connection HTTP/HTTPS downloads (up to 32 connections when supported by the server).

  • Pause and resume support for compatible downloads.

  • Video and audio downloads using yt-dlp.

  • FFmpeg integration for media processing.

  • Browser integration with Chromium-based browsers and Firefox.

  • Download queues, groups, scheduling, and speed limits.

  • Multilingual graphical interface, including Arabic RTL support.

I built this project to put my Python development skills into practice, and I'd genuinely appreciate feedback from the community.

GitHub: https://github.com/FouadWre-Dev/FW-Downloader-Manager

If you find this project useful, I'd appreciate a ⭐ on GitHub. Feedback and suggestions are always welcome!

Thanks!


r/PythonProjects2 • • 13d ago

P2P Project (Python)

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 13d ago

Generate a Wi-Fi QR Code Instantly with Python

Post image
0 Upvotes

r/PythonProjects2 • • 13d ago

I hate using extra files so I made my own pixel art render

0 Upvotes

import pygame

pygame.init()

screen = pygame.display.set_mode((1000, 672))

pygame.display.set_caption("ME GAMING :3")

running = True

clock = pygame.time.Clock()

pixel = 0

color = {

"grass": [(0, 200, 0), (0, 0, 0), (255, 255, 255)]

}

txtr = {

"grass": [

0, 2, 0, 0, 0, 0, 0, 0,

0, 0, 2, 0, 0, 0, 0, 0,

0, 0, 0, 2, 0, 0, 0, 0,

0, 0, 0, 0, 2, 0, 0, 0,

0, 0, 0, 0, 0, 2, 0, 0,

0, 0, 0, 0, 0, 0, 2, 0,

0, 0, 0, 0, 0, 0, 0, 2,

0, 0, 0, 0, 0, 0, 0, 0,

]

}

def draw_txtr(choise, x, y):

pixel = 0

for q in range(len(txtr[choise])//8):

for z in range(8):

if txtr[choise][pixel] > 0:

clr = color[choise][txtr[choise][pixel - 1]]

pygame.draw.rect(

screen,

clr,

(x+(z4), y+(q4), 4, 4)

)  

pixel += 1

#################

##  MAIN CODE  ##

#################

while running:

screen.fill((0, 0, 0))

draw_txtr("grass", 10, 10)

for event in pygame.event.get():  

if event.type == pygame.QUIT:

running = False

pygame.display.flip()

clock.tick(60)


r/PythonProjects2 • • 13d ago

ai code

Post image
1 Upvotes

I built the AI code. Just used python to run it.

Github: https://github.com/alfar988/Lumo-code


r/PythonProjects2 • • 14d ago

Resource I built a Material 3 carousel extension for Flet (Python)

1 Upvotes

Hey everyone! 👋

I've been working on a small open-source project called flet-m3-carousel.

It's a Flet extension that brings Flutter's "m3_carousel" package to Python through an "M3Carousel" control.

It currently supports five carousel layouts:

  • "hero"

  • "contained"

  • "uncontained"

  • "uncontainedMultiAspect"

  • "fullScreen"

It also exposes tap and scroll-change events, so you can respond to user interactions from Python.

Getting started:

pip install flet-m3-carousel

from flet_m3_carousel import M3Carousel, M3CarouselItem

The actual carousel layout and animation are handled by the upstream Flutter package. This project provides the Flet integration rather than reimplementing the animation system.

Currently tested on Linux desktop. Other platforms haven't been tested yet.

This is a relatively small project, but I'd genuinely appreciate feedback, suggestions, and contributions from the Flet community.

GitHub: https://github.com/programmersd21/flet-m3-carousel

PyPI: https://pypi.org/project/flet-m3-carousel/

Thanks for checking it out!


r/PythonProjects2 • • 14d ago

How should I approach building a simple ATS-style CV scorer in Python?

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 14d ago

Same model, same harmful topics, different refusals depending on whether I asked in English, MSA or Egyptian Arabic

1 Upvotes

I built a small English/Arabic quote service using Gemini and created 63 evaluation cases to test its guardrails.

A few findings from testing with gemini-3.5-flash-lite:

Three unexpected bugs: A model refusal was displayed as a quote, a Chinese word slipped into an Arabic response, and stalled API calls failed requests despite having half their time budget remaining.

Prompt injection: The input checks blocked 15 out of 20 attacks. Gemini ignored the remaining five, as well as all 17 canary attacks tested without guardrails. This suggests the checks provide an additional layer of protection rather than being the only defense.

Multilingual safety: Roughly 40% of harmful requests were refused in each language, but the decisions weren't always consistent. For example, a pipe-bomb request was refused in both Arabic varieties but reframed as an anti-violence quote in English. Only 78% of cases received the same decision across all three languages.

An unresolved issue: A request about secretly tracking an ex-partner's location generated romanticized quotes in every language. Neither the model's safety filters nor my checks detected the harmful intent behind the seemingly harmless wording.

The dataset is small and written by one person, so these results are more of a smoke test than a benchmark.

I'm curious how others approach multilingual safety evaluation. How do you create language-specific test cases instead of simply translating English ones? And how do you evaluate responses that avoid harmful instructions by reframing the request, without manually reviewing every output?

Source code (MIT): https://github.com/1AyaNabil1/swan-llm-service


r/PythonProjects2 • • 15d ago

Controversial Python interpreter

1 Upvotes

how can i fix this i tried everything abt this issue but i cant find a solid solution


r/PythonProjects2 • • 15d ago

Check out my new game

Thumbnail jd2282.itch.io
1 Upvotes

r/PythonProjects2 • • 16d ago

Check Laptop Battery status using Python

Post image
30 Upvotes

r/PythonProjects2 • • 16d ago

Resource I made a package to pause/stop a running training loop from another terminal (or the Mac menu bar)

Post image
1 Upvotes

r/PythonProjects2 • • 16d ago

PyDrop - Coding Made Visual

Post image
4 Upvotes

It's basically Unreal Engines C++ programming, but with python.


r/PythonProjects2 • • 16d ago

Need assistance with a Python Code that keeps on crashing

Thumbnail gallery
1 Upvotes

r/PythonProjects2 • • 16d ago

How easy is it to make a trading strategy? A few minutes.

1 Upvotes

Full docs coming soon. Pure python with a sprinkle of Cython for loops and cache + NiceGUI.


r/PythonProjects2 • • 16d ago

[Web] I built a browser game where you script stickman combat in Python!

1 Upvotes

Hey there!

I wanted to create an interactive way to practice Python logic and algorithms through visual 2D physics combat, so I built **Stickman Battle**.

🎮 **Playable in Browser:** https://arrows-dev.itch.io/stickman-battle

### 🛠️ How the Python Engine Works:

- **AST-Secured Sandbox:** Players write Python code directly in the browser. The server parses and inspects the AST (Abstract Syntax Tree) to sandbox execution safely, preventing arbitrary OS calls while allowing loops, conditionals, and standard library modules like `import math`.

- **Real-Time Sensors:** The sandbox injects dynamic sensors into player code (e.g. `get_enemy_distance()`, `is_enemy_attacking()`), enabling reactive state-machine logic.

- **Mathematical Projectiles:** Players can use `math.sin()` and `math.cos()` to compute custom trajectory arcs for ranged spells.

- **Multiplayer Networking:** 60 FPS physics sync powered by Python + WebSockets.

Runs 100% in the browser with zero installation needed. I'd love your thoughts on the sandboxing architecture and feedback on the combat loop!


r/PythonProjects2 • • 17d ago

Full ML Algo Creator software. Python & PineScript AI Algo Generation.

Thumbnail gallery
1 Upvotes

Fully Python with NiceGUI for the Ui/UX. Backend 100% Python / Cython.


r/PythonProjects2 • • 17d ago

Resource SystemUpdater - a zero-dependency system and package updater for Linux/macOS written in pure Python

1 Upvotes

Running five separate commands just to update my Linux desktop got old pretty fast. So I wrote sysupdate - a Python CLI tool that updates system packages, Flatpaks, containers, and a bunch of other stuff in one go. It also works on macOS and sticks strictly to the Python 3.11+ standard library, meaning zero external dependencies to install.

Why not just use Topgrade? I actually used it for a while. For me though, updates almost never finished completely clean, and I was missing stuff for my own setup like Snapper hooks. The terminal UI also looked a bit dated to me. It printed way too much junk I didn't care about seeing every single time, and once you closed the terminal, there was zero history left to check.

How sysupdate handles things differently:

  • Support for Btrfs snapshots through Snapper right before system packages get touched (with a timer cooldown, so running it twice in an hour won't spam snapshots).

  • Exact reboot tracking that lists which specific updated packages are asking for a system restart at the end, rather than just throwing a generic "reboot required" message.

  • Local run history for your last 30 runs (sysupdate --history / --show-log) with tokens and credentials stripped out automatically. Super useful when something breaks and you want to see what failed yesterday.

GitHub & install instructions (Git / Homebrew tap): https://github.com/Piotrunius/SystemUpdater

If you hit any bugs or want support for another package manager, let me know.


r/PythonProjects2 • • 17d ago

Info I built a fail-closed Python calculator for AI evaluation. 41 targeted tests passed. Looking for developer feedback.

1 Upvotes

What should a software system do when evidence is missing or a mathematical operation is undefined?

In many data pipelines, missing values can accidentally be treated as zero, or calculations can be forced through invalid mathematical boundaries. This can produce misleading results.

I am developing the Organic Intelligence Protocol (OIP), a research stage framework for evidence-based AI evaluation. As part of this work, I audited the OIP Calculator Kernel v1.0.0.

The implementation follows a fail-closed approach:

Missing evidence is not zero: Missing inputs should not silently become valid numerical values.

Division by zero boundary: When IDS = 0, the Learning Independence Value (LIV) is returned as UNDEFINED. No arbitrary denominator is introduced.

Input validation: The tested implementation includes checks for invalid inputs and mathematical boundaries.

Overflow handling: Arithmetic overflow and non-finite results are covered by targeted tests.

The latest audit recorded 41 successful targeted runtime tests covering core calculations, pipeline behaviour, input validation, mathematical boundaries and overflow handling. The final audit register also passed all 8 integrity checks.

Important limitations..

These were targeted tests of the latest saved function definitions, not a fresh execution of the entire original notebook.

The mathematical specification still has unresolved issues.

Scientific and empirical validation have not been established.

This is research-stage software, not a validated AI safety solution.

I would appreciate feedback from Python developers:

What additional edge cases would you test in a calculator where missing evidence must never be mistaken for a valid numerical result?


r/PythonProjects2 • • 17d ago

guys, give me a python library pls, so you draw smth, and it compares your drawing with a pattern

0 Upvotes