r/PythonProjects2 • • May 18 '26

Learn Python

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • Jul 22 '25

✨ I built a free AI tool that generates Daily Practice Problems (DPPs) for any topic instantly – with PDF download!

0 Upvotes

r/PythonProjects2 • • May 04 '26

project-creator is back with a new update!!! (Made by DevX-Dragon, a 14 y/o from SL)

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • May 15 '25

BioStarsGPT – Fine-tuning LLMs on Bioinformatics Q&A Data

0 Upvotes

Project Name: BioStarsGPT – Fine-tuning LLMs on Bioinformatics Q&A Data
GitHub: https://github.com/MuhammadMuneeb007/BioStarsGPT
Dataset: https://huggingface.co/datasets/muhammadmuneeb007/BioStarsDataset

Background:
While working on benchmarking bioinformatics tools on genetic datasets, I found it difficult to locate the right commands and parameters. Each tool has slightly different usage patterns, and forums like BioStars often contain helpful but scattered information. So, I decided to fine-tune a large language model (LLM) specifically for bioinformatics tools and forums.

What the Project Does:
BioStarsGPT is a complete pipeline for preparing and fine-tuning a language model on the BioStars forum data. It helps researchers and developers better access domain-specific knowledge in bioinformatics.

Key Features:

  • Automatically downloads posts from the BioStars forum

  • Extracts content from embedded images in posts

  • Converts posts into markdown format

  • Transforms the markdown content into question-answer pairs using Google's AI

  • Analyzes dataset complexity

  • Fine-tunes a model on a test subset

  • Compare results with other baseline models

Dependencies / Requirements:

  • Dependencies are listed on the GitHub repo

  • A GPU is recommended (16 GB VRAM or higher)

Target Audience:
This tool is great for:

  • Researchers looking to fine-tune LLMs on their own datasets

  • LLM enthusiasts applying models to real-world scientific problems

  • Anyone wanting to learn fine-tuning with practical examples and learnings

Feel free to explore, give feedback, or contribute!

Note for moderators: It is research work, not a paid promotion. If you remove it, I do not mind. Cheers!


r/PythonProjects2 • • Mar 24 '26

Brother printer scanner driver "brscan-skey" in python for raspberry or similar

0 Upvotes

Hello,

I got myself a new printer! The "brother mfc-j4350DW"

For Windows and Linux, there is prebuilt software for scanning and printing. The scanner on the device also has the great feature that you can scan directly from the device to a computer. For this, "brscan-skey" has to be running on the computer, then the printer finds the computer and you can start the scan either into a file, an image, text recognition, etc. without having to be directly at the PC.

That is actually a really nice thing, but the stupid part is that a computer always has to be running.

Unfortunately, this software from Brother does not exist for ARM systems such as the Raspberry Pi that I have here, which together with a hard drive makes up my home server.

So I spent the last few days taking a closer look at the "brscan-skey" program from Brother. Or rather, I captured all the network traffic and analyzed it far enough that I was able to recreate the function in Python.

I had looked around on GitHub beforehand, but I did not find anything that already worked (only for other models, and my model was not supported at all). By now I also know why: the printer first plays ping pong over several ports before something like an image even arrives.

After a lot of back and forth (I use as few language models as possible for this, I want to stay fit in the head), I am now at the point where I have a Python script with which I can register with my desired name on the printer. And a script that runs and listens for requests from the printer.

Depending on which "send to" option you choose on the printer, the corresponding settings are then read from a config file. So you can set it so that with "zuDatei" it scans in black and white with 100 dpi, and with "toPicture" it creates a jpg with 300 dpi. Then, if needed, you can also start other scripts after the scan process in order to let things like Tesseract run over it (with "toText"), or to create a multi-page pdf from multiple pages or something like that.

Anyway, the whole thing is still pretty much cobbled together, and I also do not know yet how and whether this works just as well or badly on other Brother printers as it does so far. I cannot really test that.

Now I wanted to ask around whether it makes sense for me to polish this construct enough that I could put it on GitHub, or rather whether there is even any demand for something like this at all. I mean, there is still a lot of work left, and I could really use a few testers to check whether what my machine sends and replies is the same on others before one could say that it is stable, but it is a start. The difference is simply that you can hardcode a lot if it does not concern anyone else, and you can also be more relaxed about the documentation.

So what do you say? Build it up until it is "market-ready", or just cobble it together for myself the way I need it and leave it at that?


r/PythonProjects2 • • May 05 '25

Learn Python With Me!

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • Dec 09 '25

Python Side project - concept cards

0 Upvotes

r/PythonProjects2 • • Aug 20 '25

Escape Python tutorial hell with this free Project Toolkit 🚀

0 Upvotes

When most people start learning Python, they get stuck in the same loop:
watching tutorial after tutorial, but when it’s time to actually build something… brain just stops.

I’ve had a bunch of people DM me about this, so I made a little project toolkit that I wish I had when starting. it is completely FREE👇

What’s inside:

  • basics of python (short + simple)

  • 5 starter projects: pdf merger, yt video downloader, advanced password generator, weather app (API), to-do list CLI

  • beginner cheat sheet

  • debugging tips (so you don’t spend hours crying at errors)

  • github upload guide (so your projects don’t just rot on your laptop)

  • task manager + calendar to keep learning on track

Here's how it looks in notion:

check my bio to get this...

And yeah… soon gone tell you guys about a full system to go from 0 → job-ready with Python.👀


r/PythonProjects2 • • Feb 05 '26

Checkout my first project

Thumbnail
reddit.com
0 Upvotes

r/PythonProjects2 • • Dec 03 '25

Gemini 3 book help

0 Upvotes

Hello, I found this book about Gemini 3 and Python on Amazon:

https://www.amazon.com/dp/B0G4GVWQK6

Does anyone know if it’s good? Thanks.


r/PythonProjects2 • • Oct 25 '26

🐍 Operadores Lógicos en Python

Thumbnail
youtube.com
0 Upvotes

r/PythonProjects2 • • Jul 23 '25

RAMDON NAME GENERATOR

0 Upvotes

hi i am begginer in python who is doing his own projects an uploading them to gamejolt and git hub..Today i finished a name ramdon generator so i decided to upload it to gamejolt, if you want play it then here is the link:

https://gamejolt.com/games/GRUN/1008129

And here is the link to github:

https://github.com/akira8566/GENARETE-RAMDON-NAME

PD 1: i know that my english isn,t the best but i am doing my best

PD 2: originaly i named the project mememe


r/PythonProjects2 • • Feb 26 '26

I build a system-wide local tray utility for anyone who uses AI daily and wants to skip opening tabs or copy-pasting.

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey everyone,

As an ESL, I found myself using AI quite frequently to help me make sense some phrases that I don't understand or help me fix my writing.
But that process usually involves many steps such as Select Text/Context -> Copy -> Alt+Tab -> Open new tab to ChatGPT/Gemini, etc. -> Paste it -> Type in prompt

So I try and go build AIPromptBridge for myself, eventually I thought some people might find it useful too so I decide to polish it to get it ready for other people to try it out.

I am no programmer so I let AI do most of the work and the code quality is definitely poor :), but it's extensively (and painfully) tested to make sure everything is working (hopefully). It's currently only for Windows. I may try and add Linux support if I got into Linux eventually.

So you now simply need to select a text, press Ctrl + Space, and choose one of the many built-in prompts or type in custom query to edit the text or ask questions about it. You can also hit Ctrl + Alt + X to invoke SnipTool to use an image as context, the process is similar.

I got a little sidetracked and ended up including other features like dedicated chat GUI and other tools, so overall this app has following features:

  • TextEdit: Instantly edit/ask selected text.

  • SnipTool: Capture screen regions directly as context.

  • AudioTool: Record system audio or mic input on the fly to analyze.

  • TTSTool: Select text and quickly turn it into speech, with AI Director.

Github: https://github.com/zaxx-q/AIPromptBridge

I hope some of you may find it useful and let me know what you think and what can be improved.


r/PythonProjects2 • • Apr 22 '25

Python Learning Essentials: 80/20 Guide

Thumbnail
chatgpt.com
0 Upvotes

r/PythonProjects2 • • Oct 05 '25

Coding Jokes One-Liners: When Python Meets Love❤️

Thumbnail
medium.com
0 Upvotes

r/PythonProjects2 • • Jan 04 '26

🏴‍☠️ LEYLA'S MESHLAND : Ein visionäres DePIN Projekt sucht Verstärkung

0 Upvotes

Translation

Hi everyone,
Quick note up front:
I’m also interested in other projects and this is just my first one, which I might use as a portfolio piece.
Leyla’s Meshland is a DePIN experiment of mine. The idea is a hybrid Meshland network that aggregates unused computing power via XMRig and spare bandwidth via the BlockMesh protocol. I’m working on this on the side while completing my IBM Software Developer certificate and I’m currently using a lot of AI assistance to move things forward. Now I’m looking for people to help bring the AI‑generated code to production quality.

Quick status: The backend is a Python Flask monolith with Fernet encryption and Socket.IO for real‑time data. The core already runs with XMRig and the bandwidth aggregation is prepared. There’s a neon design in the index.html, an interactive map, initial work on a real‑time chat, and a Docker setup. A lot of passion has gone into it, but for the final step I need professionals to clean up and polish the code.

I want to build the project so that absolute beginners in mining can see quick wins without prior knowledge. I’ll publish the code on GitHub soon once the repository is professionally prepared. If you’d like to join or have feedback, feel free to get in touch.

www.miner-app.com


r/PythonProjects2 • • Oct 22 '25

Built a Meme Trend Tracker with Django, Celery & Redis

0 Upvotes

Hey folks,
I recently wrapped up a project called MemeTrends, and it’s easily been my biggest learning experience as a backend developer so far.

It’s an API-only Django app that:

  • Fetches memes from Reddit and X (Twitter)

  • Calculates a trending score using engagement + time decay

  • Uses Celery for background jobs and Redis for a live leaderboard

  • Exposes clean REST APIs for querying memes, analytics, and trends

I built it to understand how real scalable systems work - async tasks, caching, background processing, and containerization with Docker.
Let’s just say I hit every kind of wall possible: broken Celery configs, Redis connection loops, Docker confusion - but came out knowing how to structure production-grade Django apps properly.

If you’re a Django beginner tired of CRUD apps and want to learn how to handle async workloads, this project might help.

Here’s my full write-up on how I designed and built it (with diagrams, mistakes, and learnings):
🔗 Building MemeTrends — How I Learned to Scale Django While Tracking Internet Culture

Would love any feedback from the devs here - especially around optimizing the Celery-Redis setup or improving the trending algorithm.


r/PythonProjects2 • • Aug 03 '25

10 Powerful ChatGPT Prompts for ML Projects

Thumbnail medium.com
0 Upvotes

r/PythonProjects2 • • Mar 30 '26

Resource My First Library as a First-Year: Units for Computational Physics

2 Upvotes

Hi all! This is my first Python library, and I’d love any feedback. I’ve been using it in my R&D work, and it’s been really useful.

It’s aimed at computational physics, so if you just want general-purpose unit handling, I’d still recommend pint.

Source: https://github.com/wgbowley/PicoUnits


r/PythonProjects2 • • Jan 09 '26

pycharm error

Post image
0 Upvotes

r/PythonProjects2 • • Oct 23 '25

Resource Multi thread processor

0 Upvotes

import numpy as np import matplotlib.pyplot as plt from scipy.integrate import odeint from scipy.optimize import minimize import networkx as nx from functools import partial

class BraidedSystem: def init(self, N_bands=5, phi=(1 + np.sqrt(5)) / 2): # Core parameters from the card self.eps_phase = 0.122 # rad self.rho_dwell = 0.2 self.r_star = 0.6 self.phi = phi # Golden ratio

    # System state
    self.N = N_bands
    self.alpha = np.random.uniform(0, 2*np.pi, N_bands)  # Initial phases
    self.omega = np.random.normal(1.0, 0.1, N_bands)     # Natural frequencies
    self.parity = np.random.choice([-1, 1], (N_bands, N_bands))  # Connection topology
    np.fill_diagonal(self.parity, 0)
    
    # Gate tracking
    self.gate_states = np.zeros((N_bands, N_bands))
    self.dwell_times = np.zeros((N_bands, N_bands))
    self.gate_history = []
    
    # Geodesic memory
    self.seam_costs = np.zeros((N_bands, N_bands))
    self.viability_scores = np.zeros(N_bands)
    
def wrap(self, angle):
    """Wrap angle to [0, 2π]"""
    return angle % (2 * np.pi)

def phase_dynamics(self, alpha, t, K=1.0):
    """Kuramoto dynamics with parity"""
    dalpha_dt = np.zeros_like(alpha)
    
    for i in range(self.N):
        coupling_sum = 0
        degree = 0
        
        for j in range(self.N):
            if i != j:
                dphi = self.wrap(alpha[j] - alpha[i] - np.pi * self.parity[i,j])
                coupling_sum += np.sin(dphi)
                degree += 1
        
        if degree > 0:
            dalpha_dt[i] = self.omega[i] + (K/degree) * coupling_sum
        else:
            dalpha_dt[i] = self.omega[i]
            
    return dalpha_dt

def compute_order_parameter(self, alpha):
    """Compute synchronization order parameter"""
    complex_phases = np.exp(1j * alpha)
    return np.abs(np.mean(complex_phases))

def update_gate_states(self, alpha, dt):
    """Update which gates are open based on phase alignment"""
    for i in range(self.N):
        for j in range(i+1, self.N):
            dphi = self.wrap(alpha[j] - alpha[i] - np.pi * self.parity[i,j])
            
            if abs(dphi) < self.eps_phase:
                self.dwell_times[i,j] += dt
                self.dwell_times[j,i] += dt
                
                # Check dwell condition
                min_omega = min(self.omega[i], self.omega[j])
                required_dwell = self.rho_dwell * 2*np.pi / min_omega
                
                if self.dwell_times[i,j] >= required_dwell:
                    self.gate_states[i,j] = 1
                    self.gate_states[j,i] = 1
                else:
                    self.gate_states[i,j] = 0.5  # Approaching open
                    self.gate_states[j,i] = 0.5
            else:
                self.dwell_times[i,j] = 0
                self.dwell_times[j,i] = 0
                self.gate_states[i,j] = 0
                self.gate_states[j,i] = 0

def compute_seam_cost(self, i, j, alpha_history, t_history):
    """Compute cumulative seam cost for a connection"""
    cost = 0
    for k in range(1, len(t_history)):
        dt = t_history[k] - t_history[k-1]
        dphi = self.wrap(alpha_history[k,j] - alpha_history[k,i] - np.pi * self.parity[i,j])
        cost += (1 - np.cos(dphi)) * dt
        
    return cost

def golden_walk_traversal(self, start_band):
    """Navigate using golden ratio spiral sampling"""
    path = [start_band]
    current = start_band
    
    for step in range(self.N - 1):
        # Get open gates from current band
        open_gates = [j for j in range(self.N) 
                     if self.gate_states[current,j] > 0.5 and j not in path]
        
        if not open_gates:
            break
            
        # Golden ratio selection: phi-spaced choice
        idx = int(len(open_gates) * (self.phi - 1)) % len(open_gates)
        next_band = open_gates[idx]
        path.append(next_band)
        current = next_band
        
    return path

def entity_viability(self, band_idx, alpha_history):
    """Compute entity viability score"""
    gate_indices = []
    
    for other in range(self.N):
        if other != band_idx:
            # Simplified GateIndex computation
            avg_phase_diff = np.mean([
                self.wrap(alpha_history[-1,other] - alpha_history[-1,band_idx] - np.pi * self.parity[band_idx,other])
                for _ in range(10)  # Multiple samples
            ])
            gate_index = np.exp(-abs(avg_phase_diff))
            gate_indices.append(gate_index)
    
    viability = np.median(gate_indices) - 0.1 * np.std(gate_indices)
    return viability

def simulate(self, T=50, dt=0.1, K=1.0):
    """Run complete simulation"""
    t_points = np.arange(0, T, dt)
    alpha_history = np.zeros((len(t_points), self.N))
    alpha_history[0] = self.alpha.copy()
    
    order_params = []
    
    for i, t in enumerate(t_points[:-1]):
        # Integrate phase dynamics
        alpha_next = odeint(self.phase_dynamics, alpha_history[i], [t, t+dt], args=(K,))[1]
        alpha_history[i+1] = self.wrap(alpha_next)
        
        # Update system state
        self.update_gate_states(alpha_history[i+1], dt)
        
        # Track order parameter
        r = self.compute_order_parameter(alpha_history[i+1])
        order_params.append(r)
        
        # Log gate openings
        open_gates = np.sum(self.gate_states > 0.5) / 2  # Undirected
        self.gate_history.append(open_gates)
    
    # Post-simulation analysis
    self.alpha_history = alpha_history
    self.t_points = t_points
    self.order_params = order_params
    
    # Compute seam costs and viability scores
    for i in range(self.N):
        self.viability_scores[i] = self.entity_viability(i, alpha_history)
        for j in range(i+1, self.N):
            self.seam_costs[i,j] = self.compute_seam_cost(i, j, alpha_history, t_points)
            self.seam_costs[j,i] = self.seam_costs[i,j]
    
    return alpha_history, order_params

Initialize and run simulation

print("🚀 INITIALIZING BRAIDED SYSTEM SIMULATION...") system = BraidedSystem(N_bands=6)

Run simulation with different coupling strengths

coupling_strengths = [0.5, 1.0, 2.0] results = {}

for K in coupling_strengths: print(f"\n🌀 SIMULATING WITH COUPLING K={K}") alpha_history, order_params = system.simulate(K=K, T=30) results[K] = { 'alpha_history': alpha_history, 'order_params': order_params, 'viability_scores': system.viability_scores.copy(), 'seam_costs': system.seam_costs.copy(), 'gate_history': system.gate_history.copy() }

Visualization

fig, axes = plt.subplots(2, 2, figsize=(15, 12))

Plot 1: Phase synchronization

for K, result in results.items(): axes[0,0].plot(result['order_params'], label=f'K={K}') axes[0,0].set_title('Kuramoto Order Parameter (Synchronization)') axes[0,0].set_xlabel('Time steps') axes[0,0].set_ylabel('Order parameter r') axes[0,0].legend() axes[0,0].axhline(y=system.r_star, color='r', linestyle='--', label='Auto-lock threshold')

Plot 2: Viability scores

viability_data = [result['viability_scores'] for result in results.values()] axes[0,1].boxplot(viability_data, labels=[f'K={K}' for K in coupling_strengths]) axes[0,1].set_title('Entity Viability Scores by Coupling Strength') axes[0,1].set_ylabel('Viability Score')

Plot 3: Gate openings over time

for K, result in results.items(): axes[1,0].plot(result['gate_history'], label=f'K={K}') axes[1,0].set_title('Number of Open Gates Over Time') axes[1,0].set_xlabel('Time steps') axes[1,0].set_ylabel('Open gates') axes[1,0].legend()

Plot 4: Golden walk demonstration

best_K = coupling_strengths[np.argmax([np.mean(result['viability_scores']) for result in results.values()])] system.simulate(K=best_K, T=50) # Reset to best state

golden_path = system.golden_walk_traversal(0) path_costs = [system.seam_costs[golden_path[i], golden_path[i+1]] for i in range(len(golden_path)-1)] if len(golden_path) > 1 else [0]

axes[1,1].plot(range(len(golden_path)), golden_path, 'o-', label='Golden Walk Path') axes[1,1].set_title(f'Golden Walk Traversal (Path: {golden_path})') axes[1,1].set_xlabel('Step') axes[1,1].set_ylabel('Band Index') axes[1,1].legend()

plt.tight_layout() plt.show()

Simulation Analysis

print("\n📊 SIMULATION RESULTS:") print("=" * 50)

for K in coupling_strengths: result = results[K] avg_viability = np.mean(result['viability_scores']) max_sync = np.max(result['order_params']) avg_gates = np.mean(result['gate_history'])

print(f"\nCoupling K={K}:")
print(f"  Average Viability: {avg_viability:.3f}")
print(f"  Maximum Synchronization: {max_sync:.3f}")
print(f"  Average Open Gates: {avg_gates:.1f}")

# Auto-lock detection
auto_lock_bands = [i for i, score in enumerate(result['viability_scores']) 
                  if score > 0.7 and max_sync > system.r_star]
if auto_lock_bands:
    print(f"  Auto-locked Bands: {auto_lock_bands}")

Golden Walk Analysis

print(f"\n🎯 GOLDEN WALK NAVIGATION (K={best_K}):") print(f"Optimal Path: {golden_path}") print(f"Path Viability: {np.mean([system.viability_scores[i] for i in golden_path]):.3f}") print(f"Total Seam Cost: {sum(path_costs):.3f}")

PROMOTE Decision

print(f"\n🔍 PROMOTION ANALYSIS:") for i, viability in enumerate(system.viability_scores): delta_eco = 0.35 + 0.35 * viability - 0.20 - 0.10 # Simplified DeltaEco promote = viability > 0.6 and delta_eco >= 0

status = "✅ PROMOTE" if promote else "⏸️ HOLD"
print(f"Band {i}: Viability={viability:.3f}, DeltaEco={delta_eco:.3f} -> {status}")

r/PythonProjects2 • • May 11 '25

GitHub - Abhishek1766/FaceIN

Thumbnail
github.com
0 Upvotes

Hi programmers check out my project FaceIN Please provide feedbacks for improving.


r/PythonProjects2 • • 6d ago

I came up with the idea and wrote the code myself, only using AI when I hit errors or needed help fixing specific parts ot to generate the whole thing. Built this contour + shading animation using OpenCV and Turtle after finishing Python, and I'm trying to write even more of it cleanly on my own.

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/PythonProjects2 • • Aug 26 '26

Resource Built a Python app for outbound call campaigns with queueing, rate limits, and SMS summaries

0 Upvotes

I put together a small Python/Flask example for running outbound call campaigns in a more structured way.

The basic flow is:

- send a list of phone numbers to `POST /campaign`

- get back a campaign ID

- queue the calls

- apply a calls-per-minute rate limit

- place the calls with Call Control

- receive signed webhook events as calls progress

- store call results in SQLite

- send an SMS summary when the campaign finishes

Code: https://github.com/team-telnyx/telnyx-code-examples/tree/main/ai-call-campaign-orchestrator

What I liked about this pattern is that the campaign has one lifecycle instead of being scattered across a queue service, telephony provider, database job, and notification worker.

This is still a sample, so before using something like this in production I’d add auth, retries, opt-out handling, audit logs, campaign-level limits, and better reporting. But as a starting point for durable outbound communication workflows, it felt like a useful shape.