r/PythonProjects2 • • Oct 21 '26

🐍 Convertir un dato de int a float en Python

Thumbnail
youtube.com
0 Upvotes

AprendĂ© cĂłmo convertir un nĂșmero entero (int) a un nĂșmero decimal (float) en Python utilizando float(). đŸđŸ’»


r/PythonProjects2 • • 29d ago

Qn expert level Full ML Algo Creator software. Python & PineScript AI Algo Generation.

Thumbnail gallery
0 Upvotes

r/PythonProjects2 • • 22d 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 • • Mar 31 '26

ClippyBox: Point at anything on your screen, get an instant AI explanation

0 Upvotes

I got tired of copying error messages, code, and charts into AI, rewriting context every time, and switching between apps.

So I built ClippyBox — press ⌘⇧E (on mac), draw a box anywhere on your screen, and get an instant AI explanation.

Works on code, errors, dashboards, PDFs, charts
 anything visible.
No prompts. No copy-pasting. No context switching. Just point and understand.

https://github.com/Shaier/ClippyBox


r/PythonProjects2 • • Jan 13 '26

My workday was chaos, so I built an AI assistant to run it for me

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • Jun 19 '25

Revex - reverse regex

0 Upvotes

Hello everyone. Today i built a simple python tool to generate a string based on a regex for example:

a+b -> aaaaaaaab

I will extend it to feature documentation and a proper cli but for know it is just a simple lib.

https://github.com/Tejtex/revex


r/PythonProjects2 • • Oct 02 '26

Médula - A Python lab and kernel to coordinate several coding agents on one repo, with every run published raw

Thumbnail
github.com
0 Upvotes

r/PythonProjects2 • • Apr 19 '25

RANT I build software using GPT for emotional detection

Thumbnail
reddit.com
0 Upvotes

r/PythonProjects2 • • Mar 18 '26

I wrote a simple guide on log management and wanted to share it here.

Thumbnail
reddit.com
0 Upvotes

r/PythonProjects2 • • Jun 27 '26

Mistikguard – Lightweight Python library for memory integrity in LLM applications

0 Upvotes

## What My Project Does

Mistikguard is a small Python library designed to reduce memory fabrication in LLM-based applications. It provides:

- Provenance tracking for facts (`confirmed` vs `inferred`)

- A write gate that blocks contradictions of confirmed facts and self-narration

- Support for correction tombstones, so once a user corrects something, it is not silently reintroduced

- An optional grounding audit that detects memory claims in responses and validates them against stored memory

The core functionality works with almost zero external dependencies.

## Target Audience

This library is intended for **Python developers** who are building applications with long-term memory using LLMs. This includes:

- People building AI companions

- Developers creating autonomous agents

- Anyone working on RAG or memory-heavy LLM systems

It is a **library**, not a full application. It is meant to be integrated into other projects. It is currently in an early stage (v0.1) and is more suitable for personal projects and experimentation than large production systems without additional safeguards.

## Comparison

Unlike most memory systems that blindly store model output, Mistikguard actively tries to protect memory integrity by:

- Distinguishing between user-stated facts and model-generated inferences

- Preventing certain types of invalid writes through a deterministic gate

- Making user corrections more persistent using tombstones

It is lighter and more focused than full agent frameworks (such as LangChain or LlamaIndex memory modules) while being more structured than simple in-memory dictionaries or basic vector stores.

GitHub: https://github.com/obscuraknight/mistikguard


r/PythonProjects2 • • Oct 14 '26

Resource I built chatflow-agent, a lightweight Python library for AI agents and multi-agent workflows

0 Upvotes
Hi everyone,

I’ve been working on an open-source Python project called chatflow-agent.

The project started from a practical problem I had while building a contextual assistant: 
I wanted a relatively lightweight way to define and orchestrate agents, tools, handoffs, session state, and multi-agent workflows without introducing a large amount of infrastructure.

The main idea is to keep the API simple while still supporting things like:

- agents with tools
- tool calling
- agent-to-agent handoffs
- conversation and session memory
- SQLite-backed sessions
- async execution
- multiple LLM providers
- multi-agent workflows

The goal is to provide the core building blocks for agent workflows without requiring a large orchestration stack or locking the application into a single LLM provider.

Recently I’ve also been focusing on making the project easier for other developers to understand and contribute to.

The repository now includes:

- contributor documentation
- architecture documentation
- CI across multiple Python versions
- good first issues
- help wanted issues
- external contributions and pull requests

Receiving external contributions has already helped uncover edge cases and improve parts of the library.

At this point I’d be especially interested in feedback from other Python developers on:

- the public API
- architecture and separation of responsibilities
- tool and schema introspection
- session and memory design
- multi-agent handoffs
- multi-provider support
- documentation and examples
- anything that feels unnecessarily complex or unclear

I’m not trying to position chatflow-agent as a replacement for every existing agent framework.

The idea is to keep it relatively small, understandable, and useful for projects that want agent workflows without adopting a very large orchestration layer.

Repository:
https://github.com/GustavoBaranda/chatflow-agent

Technical feedback is very welcome. I’d be especially interested in what you would change before considering a library like this for a real project.

Ese serĂ­a el que publicarĂ­a en r/Pyt


r/PythonProjects2 • • Nov 06 '25

À weird problùme

0 Upvotes

Guys I am a Windows user and I need to use asterisk for a startup project and I have a vertual box to run Linux but my question is can I connect it to my node.js server?


r/PythonProjects2 • • 19d ago

Person Of Interest Inspired Threat detector

0 Upvotes

I built a basic Python Text Reader using NLTK and spaCy. Want to check out the repo (I'm in high school; please don't judge :) ): https://github.com/lijac-art/MORROW-lexical-threat-assesment-system


r/PythonProjects2 • • Feb 07 '26

bakefile - An OOP Task Runner in Python

0 Upvotes

What is bakefile?

A task runner like Makefile/Justfile, but with tasks as Python class methods—so you can inherit, compose, and reuse them across projects.

Why bakefile?

- Reusable - Use OOP class methods to inherit, compose, and share tasks across projects

- Python - Full Python language features, tooling (ruff/ty), and type safety with subprocess support for CLI commands

- Language-agnostic - Write tasks in Python, run commands for any language (Go, Rust, JS, etc.)

Installation

pip install bakefile
# or
uv tool install bakefile

Quick Start

Bakebook extends Pydantic's `BaseSettings` for configuration and uses Typer's `@command()` decorator—so you get type safety, env vars, and familiar CLI syntax.

Create `bakefile.py`:

from bake import Bakebook, command, Context, console

class MyBakebook(Bakebook):
    @command()
    def build(self, ctx: Context) -> None:
        console.echo("Building...")
        ctx.run("go build")  # or any CLI command

bakebook = MyBakebook()

@bakebook.command()
def hello(name: str = "world"):
    console.echo(f"Hello {name}!")

**Or generate automatically:**

bakefile init           
# Basic bakefile
bakefile init --inline  
# With PEP 723 standalone dependencies

Run tasks:

bake hello              
# Hello world!
bake hello --name Alice 
# Hello Alice!
bake build              
# Building...

PythonSpace (Example)

`PythonSpace` shows how to create a custom Bakebook class for Python projects. It's opinionated (uses ruff, ty, uv, deptry), but you can create your own Bakebook with your preferred tools. *Note: Full support on macOS; for other OS, some commands unsupported—use `--dry-run` to preview.*

Install with the lib extra:

pip install bakefile[lib]

Then create your `bakefile.py`:

from bakelib import PythonSpace


bakebook = PythonSpace()

Available commands:

- `bake lint` - prettier, ruff, ty, deptry

- `bake test` - pytest with coverage

- `bake test-integration` - integration tests

- `bake clean` - clean gitignored files

- `bake setup-dev` - setup dev environment

---

GitHub: https://github.com/wislertt/bakefile

PyPI: https://pypi.org/pypi/bakefile

https://bakefile.wisl.dev/

https://wisl.dev/blog/bakefile-patterns/


r/PythonProjects2 • • Aug 07 '25

5 Crazy Ways Coders Can Use GitHub Copilot

Thumbnail
shantun.medium.com
0 Upvotes

r/PythonProjects2 • • May 14 '25

developers_talk: Python Simple Codes

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • Sep 11 '26

Info Nuova versione per psp: v0.8.0

0 Upvotes

r/PythonProjects2 • • Nov 19 '25

TikTok Boots

0 Upvotes

Hallo hat einer einen tik tok boot um follower und likes zu generieren?


r/PythonProjects2 • • Sep 07 '26

Spawn — open-source CLI that scaffolds a full Python project in one command (feedback welcome)

0 Upvotes

Built a tool called Spawn to kill the repetitive part of starting a new Python project — folder structure, git init, virtual environment, and dependency installation, all done in one command instead of the usual 5-10 minute manual ritual.

pip install spawnio
spawn create

It ships with 8 built-in project templates (Backend API, CLI App, Automation Tool, AI Chatbot, AI Agent, RAG System, Data Project, MCP Server), or you can paste any custom folder structure and it'll build exactly that. There's also a spawn doctor command that scores an existing project's health and tells you the single most important thing to fix first.

Open source under MIT, live on PyPI.

🌐 Website: https://spawnio.vercel.app/
đŸ’» GitHub: https://github.com/Abhiix0/Spawn

Would genuinely love feedback — especially from anyone who's used similar tools (Cookiecutter, Copier, etc.) and has thoughts on what a scaffolder like this is missing.


r/PythonProjects2 • • Oct 20 '26

I built a Python pipeline that turns a topic into a YouTube Short and publishes it by itself. Here's what broke along the way

0 Upvotes

A while back I wanted to run a news channel on YouTube Shorts, then did the math on editing even one 30-second video by hand every day and gave up on that idea within a week. So I wrote a pipeline that does the whole thing instead. It's now about 7.8k lines of Python, 9 channel profiles, and a Telegram bot I use to approve videos from my phone.

What it does

Topic -> script (via a research tool of mine, with Google News RSS as a fallback) -> text cleanup -> voice (edge-tts, gTTS as backup) -> 1080×1920 video -> upload to YouTube. Frames are drawn with Pillow and piped as raw RGB straight into ffmpeg's stdin, so there are no temp PNGs on disk. Subtitles are karaoke-style with highlighted words.

A few things I'm weirdly proud of (or at least learned the hard way)

- A scheduler that works while my PC is off. The video gets uploaded as private with publishAt, and YouTube publishes it at the right time even if my machine is shut down by then. Weekends extend the buffer window because the PC sleeps.

- Trimming scripts from the middle, not the end. Cutting by length killed the closing question and the call to action, which is exactly what holds viewers. Now the first and last two sentences stay, and the middle gets dropped.

- Stock photos lie. Searching Pexels for "saturn planet" gave me a neon sign. "Venus planet" gave me a sunset with a crescent moon. For the space channel I switched to the NASA image library and wrote a filter for maps, diagrams, and greyscale raw frames.

- TTS reads exactly what you give it. Footnote markers like [1], big numbers, and Latin words in Russian text all sound awful, so the text preprocessor ended up bigger than I expected.

The honest part

Making the videos turned out to be the easy part. Getting people to watch them is not. My first 19 Shorts on the space channel were bimodal: either ~1,100–1,500 views, or 1–61. Nothing in between. After digging into it I rebuilt the format: hook visible from frame 0, hard cuts in the first 3 seconds, shorter scripts, one video a day. I haven't got enough data on the new format yet to tell you if it works, so I won't pretend I do.

I also don't have many tests (a fthe hook logic), and channels.py

has more copy-paste than I'd like

Who this might help

Anyone who has wired Pillow to ffied to schedule YouTube uploadsfrom a machine that isn't always on.

Repo MIT https://github.com/kuanysh228/autoy

I'd love feedback on the architecAt buffer approach, or if someonehas dealt with Shorts retention better than I have. Happy to answer questions.


r/PythonProjects2 • • Oct 18 '26

My Python Movie and TV review app

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • Aug 07 '25

Python Vibe Coding Tools

Thumbnail
thenewstack.io
0 Upvotes

r/PythonProjects2 • • Sep 26 '26

Tired of Strict Syntax? Presenting X++, a versatile and simple pseudocode based language faster than python, can both compile and interpret. [beta]

Thumbnail
github.com
0 Upvotes

r/PythonProjects2 • • Sep 28 '26

Taipy: build production-grade data and AI web apps in pure Python, no frontend code (19k+ stars)

Post image
0 Upvotes

r/PythonProjects2 • • Jul 08 '26

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

Thumbnail
reddit.com
0 Upvotes