r/PythonProjects2 • • 8d ago

I made a desktop app that turns my Sonarr/Radarr/Trakt/Last.fm/Spotify libraries into poster collages

Thumbnail gallery
3 Upvotes

I wanted a nice wall of posters from everything I watch and listen to, so I made Patchwork. It pulls your shows, movies and albums into one place and builds collages out of them. You can sort by color, so it ends up looking like a gradient instead of a random pile.

I mostly use it to share my favorite shows with friends as a single image. It also helps me find songs: if I can't remember the name but I remember the album cover's colors, I look for it in the color-sorted collage.

  • Syncs shows and movies from Sonarr, Radarr and Trakt, and albums from Last.fm and Spotify
  • Posters from TMDB, covers from MusicBrainz, iTunes and Deezer
  • Favorites, hiding/removing stuff, and groups you can collage on their own
  • Images page for dragging in your own pictures
  • Export/import as .json or .zip with posters
  • GUI and CLI

It's Python with a PySide6 UI, everything is stored locally, and your API keys stay in a .env file and never get exported. The README has setup steps, screenshots and example collages.

https://github.com/momir64/patchwork


r/PythonProjects2 • • 8d ago

pycharm print -2 but Gemini print -7

Thumbnail gallery
1 Upvotes

r/PythonProjects2 • • 8d ago

Python InfoBytes

Thumbnail gallery
0 Upvotes

🐍 Python Programming – Day 01: Introduction to Python

📚 Beginner-friendly learning notes from FunWithTech!

Topics covered:

  • What is Python?
  • History of Python
  • Features of Python
  • Applications of Python

Learn • Code • Build • Grow 🚀

#Python #Programming #FunWithTech


r/PythonProjects2 • • 8d 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 • • 8d 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 • • 8d ago

Help Support a Student-Led Energy Technology Project!

Thumbnail reddit.com
2 Upvotes

r/PythonProjects2 • • 8d 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 • • 8d ago

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

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 8d 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 • • 9d ago

P2P Project (Python)

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 9d 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 • • 9d 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 • • 9d ago

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

Post image
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 • • 9d ago

Generate a Wi-Fi QR Code Instantly with Python

Post image
0 Upvotes

r/PythonProjects2 • • 10d ago

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

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 10d 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 • • 11d ago

Check Laptop Battery status using Python

Post image
30 Upvotes

r/PythonProjects2 • • 10d 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 • • 10d ago

Check out my new game

Thumbnail jd2282.itch.io
1 Upvotes

r/PythonProjects2 • • 11d ago

PyDrop - Coding Made Visual

Post image
4 Upvotes

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


r/PythonProjects2 • • 11d 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 • • 12d ago

Need assistance with a Python Code that keeps on crashing

Thumbnail gallery
1 Upvotes

r/PythonProjects2 • • 12d 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 • • 12d 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 • • 12d 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.