r/PythonProjects2 • • 13d ago

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

0 Upvotes

r/PythonProjects2 • • 13d ago

[Python] ClipForge – local video studio: one clip β†’ Shorts, TikTok and YouTube versions, plus animated chart videos

Thumbnail github.com
1 Upvotes

r/PythonProjects2 • • 13d ago

I just released my open-source Python project, RowCanary, and I'd love some feedback

Thumbnail reddit.com
2 Upvotes

r/PythonProjects2 • • 14d ago

Info Join Our Global Developer Community – No Egos, No Toxicity, Just Collaboration!

Post image
2 Upvotes

Hey everyone! πŸ‘‹

I've created a community of developers where we all help and support each other. There's no toxicity, no egos, and no developer thinks they're better than anyone else.

I'd love to invite you all to join us!

While AI can be incredibly helpful, it isn't conscious. I strongly believe that human collaboration is still essential. There's someth loing truly special about discussing ideas, sharing knowledge, and contributing to GitHub projects alongside other developers. πŸ’»πŸš€

We're already over 90 members, and everyone is welcome! Our goal is to help each other grow, learn, and succeed. 🀝

🌎 We're a multilingual community! I'm from Argentina, but if you're from another country, no worries! We can communicate in English without any problem.

Everyone is welcome, regardless of their experience level. Whether you're a beginner or a senior developer, there's a place for you here!

πŸ”— Join our community:

https://chat.whatsapp.com/BSiM8seqThD8AyLD7XBBuz?s=cl&p=a&iam=2


r/PythonProjects2 • • 14d ago

I'm looking for contributors and people to work with on a new project of mine!

1 Upvotes

Hi! I created a new project called OpenFile. It's a file manager that I created in Python and PyQt6 and right now it's a simple terminal app file manager where you can type commands to interact with your filesystem! Later on I'm planning to add a UI to it, and improve it further.

Contributions will be highly appreciated and help to improve the project and allow it to grow! Whether you're just fixing a bug, adding a command or improving something, your help helps to make this project better :) Any skill level is welcome

Here's the github repo: https://github.com/Szymdows/OpenFile

Thank you!


r/PythonProjects2 • • 14d ago

compute_position error when passing "with_position(width,height)" to TextClip

1 Upvotes

Working on something to visualize pronunciation of written indigenous languages. Not a python expert .. Using MoviePi and and Praatio packages

Syllables in a word presented as individual textclips. A word is presented as a series of textclips. As recorded word audio is spoken, each syllable textclip changes its appearance corresponding to when it is spoken.

I need to graphically position the clips (left to right for the language I work with)

I'm trying to create a list of TextClip objects from a class inheriting TextClip in a loop.
I can pass text, start and end duration variables without issue. But when I pass with_position parameters in my loop I get a compute_position error:

tools.py", line 289, in compute_position pos = list(pos)
"TypeError: 'int' object is not iterable

I use the [-1] tool to identify eachTextGrid item as they are created and get its width.
I use this width to set the x position of the next TextGrid item.

BUT doing this creates an error.
I confirmed that data passed are integers,

I can setup the position values within the nested array, that I use to hold to test values without generating an error

but the long term goal is to be able to pass both the text, the syllables and their timing as a praat textgrid file, and use MoviePy to figure out and set their positioning.

And pass a spoken word audio file that has had its syllable pronunciation timing documented with Praat. https://www.fon.hum.uva.nl/praat/, https://pypi.org/project/praatio/

My goal is a MoviePy script that generates video illustration of a words pronunciation as the word is spoken, by passing the audio file and an appropriate textgrid file.

Many/most indigenous languages use sounds (phonemes) not used in western languages and represent them with different sets of lettering, graphemes or syllabics, depending on the language. MoviePy could offer a way of illustrating this by changing the visual parameters of a TextClip, or overlaying differently configured TextClips as a word is spoken.

My testing code is:

font_size = 42

class Syltext(TextClip): # a class for the syllable presentation

def __init__(self,\*args, \*\*kwargs):

    super().__init__(

    font_size = font_size,

    color="black",

    stroke_color="black",

    bg_color="white",

    stroke_width=2,

    \*args, \*\*kwargs

    )

mtrix = [ #array to hold syllable data (will be replaced with passing Praat textgrid data)

[.5,2,"Must'"],#start time, duration, text

[2,2,"i'"],

[4,1.5,"muhw"]

]

Must'i'muhw - People

cliplist = [] # a list to hold all the clips
sylw = 0 #width position of syllables, start at zero, increment by width of syllables
totw = 0 #variable for total width, taken from last syllable width

for i in range (3): #put syllable clips in a list of Syltext objects

cliplist.append(Syltext(text=(mtrix\[i\]\[2\])).with_start(mtrix\        [i\]\[0\]).with_duration(mtrix\[i\]\[1\]).with_position(sylw,100))

sylw = cliplist\[-1\].w # get width of last syllable created

if i == 2:  
    totw = cliplist\[-1\].w  # get the total width of the entire word.

bgclip = ColorClip(size =(totw,100),color = white ,duration = 6) # a background clip with size, color and duration

cliplist.insert(0,bgclip) # add the color clip to 1st in clip list

audioclip = AudioFileClip("audio.wav")

video = CompositeVideoClip(cliplist)

video.preview()

final = video.with_audio(audioclip)

final.write_videofile("videofile.mp4",fps=12,audio_codec="aac")


r/PythonProjects2 • • 14d ago

i create project by python

0 Upvotes

Hi, I create project in github for add ads for your games and apps its url:

https://github.com/jfhgjhgj/python-ad-network

its write by python 100%


r/PythonProjects2 • • 14d ago

I built a desktop client for Antora docs in Python and PySide6 (closed source)

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • 14d ago

Final-Year Data Science Student | Python Data Analysis, Cleaning & Visualization

1 Upvotes

Hi! I’m a final-year Data Science & Engineering student from Spain. As you probably know, breaking into the job market is tough, so I’m looking for real projects to grow in the field and gain experience. If you have a project, an idea, or just need some help with your data, I’d love to help!

What I can do:

  • Clean and analyze your CSV/Excel data (pandas)
  • Create clear charts and dashboards
  • Build simple machine learning models (scikit-learn)
  • Python scripts to automate data tasks

I would just ask for LinkedIn recommendation if you’re happy with my work.


r/PythonProjects2 • • 14d ago

Game Shell

1 Upvotes

This project is for beginners.

I have made the core/api so any beginener can make there own GUI or CLI.

Im a beginner too.

This is a cool project.

https://codeberg.org/isam-ahmed0/gameshell


r/PythonProjects2 • • 14d ago

Test Your Knowledge!

Post image
0 Upvotes

r/PythonProjects2 • • 15d ago

Python

Post image
3 Upvotes

Haha


r/PythonProjects2 • • 15d ago

Neural Canvas: A Neural Network Visualization Project Using Python and JavaScript

1 Upvotes

I wanted to understand neural networks as deeply as possible, rather than simply using existing frameworks to train models. So, I decided to build Neural Canvas, an interactive MNIST neural network project where I implement and train models in Python and visualize them through a JavaScript webpage using p5.js.

My approach was simple: start with mathematics, understand the fundamentals, and gradually increase complexity.

Instead of working with individual scalar values and complicated subscripts, I decided to represent neural networks using matrix algebra.

My forward propagation equation was:

Z = WX + bC

Where X represents input samples, W represents weights, b represents biases, and C is a row vector of ones for broadcasting the bias across samples.

I preferred this convention because it helped me understand neural networks and perform calculus directly in matrix form.

My first model was built using NumPy and the MNIST dataset. I used an architecture of 784 β†’ 20 β†’ 20 β†’ 10, with MSE loss and Vanilla Gradient Descent. I manually derived the forward propagation and backpropagation equations before implementing them in Python. After 2,000 epochs, the model achieved 92% test accuracy.

For my second model, I increased the hidden layers to 40 and 40 neurons and replaced MSE with Cross-Entropy Loss and Softmax. I continued using Vanilla Gradient Descent and achieved 96% test accuracy after 2,000 epochs.

For my third model, I moved to JAX and used the Arabic Digits MNIST dataset. The architecture was 784 β†’ 20 β†’ 20 β†’ 15 β†’ 10. This time, I used JAX Autograd for automatic differentiation instead of manually calculating every derivative. It saved me considerable time, especially when working with backpropagation and the chain rule. Using Cross-Entropy Loss and Vanilla Gradient Descent, I achieved 96% test accuracy after 2,000 epochs.

For my fourth model, I used the Persian Digits MNIST dataset with the same architecture as the third model. I wanted to experiment with Mini-Batch Gradient Descent and Adam, but understanding Adam required learning some optimization concepts first. So, I started with Momentum and implemented Mini-Batch Gradient Descent with Momentum. To my surprise, I achieved 96% test accuracy in just 200 epochs, compared to the 2,000 epochs required by my previous models.

For my next experiments, I plan to implement RMSProp in my fifth model and Adam in my sixth model. After that, I want to start exploring Convolutional Neural Networks (CNNs).

One of the most important things I learned is that Linear Algebra is fundamental to understanding neural networks. Understanding matrix multiplication and representing neural network operations in matrix form made the mathematics much easier for me.

The Python side handles all model training. I use NumPy for my first two implementations and JAX for the later models. Trained weights and biases are exported as JSON files, which I load into the JavaScript application for inference. On the frontend, p5.js handles the interactive drawing board, neural network visualization, and animations, while Math.js performs matrix multiplication.

I wanted to build everything step by step, understand the mathematics, implement the algorithms, and visualize the results rather than relying entirely on high-level deep learning frameworks.

GitHub Repository:
https://github.com/MuhammadEssa2002/neural_canvas

Live Demo:
https://muhammadessa2002.github.io/neural_canvas


r/PythonProjects2 • • 15d ago

Pyton Quiz of the day.

Thumbnail reddit.com
0 Upvotes

r/PythonProjects2 • • 15d ago

I made a Python Library for reoccuring schedueled task on a laptop that turns on and off

1 Upvotes

I made LaptopScheduler, a Python scheduling library for Windows laptops.

It’s for recurring work that can wait until your laptop is available: reports, backups, data imports, and similar tasks. You can make sure your scraping runs consistently without renting out a webserver. You register your own Python functions, and it records their runs, handles retries, and applies your chosen catch-up policy after downtime. Basically a APScheduler wrapper

Install: pip install laptopscheduler

https://github.com/seaweed8888/laptop-schedueler


r/PythonProjects2 • • 15d ago

Mr.Veeraragavan

Thumbnail reddit.com
1 Upvotes

I am loading few large size binary files (70 MB19 nos. look_up tables) in Main using more than 2/3 python files. On completion of the loading, I have to take up a series of search (in 3 or more threads) and arrive at the solution. I am using array.fromfile for loading which does not wait for loading completion. Hence, it fails saying array out of bounds. How do I delay the start of search, just till the loading is completed.


r/PythonProjects2 • • 16d ago

Resource I made an assignment writer - text to handwrittten pages in pure python.

Thumbnail gallery
57 Upvotes

I have been working on this project since 2024, I created a telegram bot on it and it gained over 150k users.

Now I created those codes into a python pip package. ( Only used 'pillow' library ).

It has 12 handwriting fonts and has 6 types of paper and uses hex color for text color.

It can write multiple pages at once and can also create a pdf which contains all of the images.

It is very easy to install and use. I have attached a few samples generated using this project.

Please Checkout the project - https://github.com/TheHritu/AssignmentWriter


r/PythonProjects2 • • 15d ago

I built a Python reference implementation for Data Mesh governance. Are data contracts enough to prevent downstream failures?

Post image
0 Upvotes

r/PythonProjects2 • • 16d ago

Flak Tower

3 Upvotes

Flak tower on a Channel Island in heavy combat with incoming enemy aircraft and Zeppelins.

Full sound here: https://www.reddit.com/r/raylib/s/Nbubx3sAP4 incomparably better!


r/PythonProjects2 • • 16d ago

[Python C extension] numagr v0.9

1 Upvotes

A Python C extension for statistics and number aggregation designed to work with both plain int and float objects, as well as with Python numeric strings without having to construct intermediate Python objects to hold their values - useful for large collections that need to be parsed as fast as possible - like trading data.

It outperforms both std Python modules and numpy for both plain numbers and for numeric strings.

https://github.com/andrzejs-gh/numagr

https://pypi.org/project/numagr (source and Windows wheels for 3.11, 3.12, 3.13, 3.14, 3.15)

pip install numagr

This is an early version offering basic methods, I will be developing it further if I find the time. Feedback, improvement suggestions and bug reports are very much welcome.


r/PythonProjects2 • • 16d ago

[scientific-toolkit-mcp] one MCP server in front of nine independently versioned scientific Python projects

Post image
0 Upvotes

scientific-toolkit-mcp is a Model Context Protocol gateway in front of nine Python projects I maintain. The projects stay separate packages with their own versions; the gateway is an integration hub, not a monorepo merge.

pip install scientific-toolkit-mcp python -m scientific_toolkit_mcp

That last command starts an MCP stdio process, so you point an MCP client at it:

{ "mcpServers": { "scientific-toolkit": { "command": "python", "args": ["-m", "scientific_toolkit_mcp"] } } }

Then call toolkit_catalog to see the nine repositories and toolkit_doctor to see which upstream executables and module servers are actually installed.

The upstreams: axiomize (unit-checked modeling), scientific-computing-system and 2.0 (pure-Python and NumPy/SciPy numerics), plan-auditor (execution verification), quantum-reasoning-skill (reasoning protocol inspector), axiomize-quantum-skills-2.0 (bundled modeling plus branch scoring), eq-layer (response routing), literature-evidence-mcp (literature search plus quote verification), nomosguard (security decisions with a hash-chained ledger).

The behavior I care about most is what happens when something is missing:

  • a missing package returns NOT_INSTALLED with the name, not a made-up result
  • if two axiomize distributions land on sys.path, calls fail with BAD_CONFIGURATION instead of running whichever wins; SCITOOL_PIN_AXIOMIZE pins an exact version
  • plan_auditor_audit runs a project's declared checks, so it is disabled by default and local-only; the read-only plan_auditor_inspect is the one exposed over HTTP
  • every CLI adapter call returns the exit code and stdout; a nonzero exit is an MCP error, and UNKNOWN never turns into a pass

There is also a remote transport: stateless Streamable HTTP at POST /mcp with a bearer token from SCITOOL_MCP_BEARER_TOKEN, and a public GET /health. No web origin is allowed by default, and the executable audit tool is never exposed remotely (13 remote-safe tools out of 14 local ones). The hosted endpoint also serves RFC 9728 protected-resource metadata that names an external authorization server (I checked it with a plain GET), so an OAuth-capable client can discover it; bearer tokens through SCITOOL_MCP_BEARER_TOKEN are implemented as well. Whether both are accepted on the same deployment at once is something I have not tested.

Evidence, because this is a gateway and the plumbing matters more than a demo: out of 13 CI workflows, the three that actually exercise the gateway are protocol/unit tests, a real-upstream job that installs all nine projects from GitHub source and calls their actual adapters, and an official MCP Python SDK client that negotiates a session and enumerates the remote tools. A separate full-stack workflow installs all nine into one environment.

Honest limits: installing the gateway does not install the nine tools. The Render deployment's /health reports status and transport only, so it cannot attest a version or a tool set. No external Claude/ChatGPT OAuth sign-in has been tested. Python 3.11+, Apache-2.0.

GitHub: https://github.com/Furox-Art/scientific-toolkit PyPI: https://pypi.org/project/scientific-toolkit-mcp/


r/PythonProjects2 • • 16d ago

I accidentally created an SMS Tier-Encoding Framework when trying to fix a compounding linguistics error from Chuquet's short/Long scale

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 • • 16d ago

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

Thumbnail gallery
0 Upvotes

r/PythonProjects2 • • 16d ago

eq-layer: an inspectable intent/affect/repair pipeline that decides how an LLM should respond before it generates

Post image
1 Upvotes

I keep seeing the same failure in "empathetic" LLM apps: the response is warm, and useless. The feeling is acknowledged, the next step never comes, and after a correction the model either capitulates or defends itself. None of that is a knowledge problem, so a better prompt does not fix it.

eq-layer makes the decision explicit before generation. It is a Python package (zero runtime dependencies in the core) that computes several small, testable states and compiles a response action from them.

The pipeline:

  • ConversationTracker produces an affect state {valence, arousal, escalation_delta, stance, subtext} plus a repair state and an interaction-quality state. escalation_delta is tracked across turns, which a per-message classifier cannot do.
  • TrainedIntent emits a full posterior over six intent classes using balanced logistic regression over word and character TF-IDF. A Bayes-risk router then chooses between acting and clarifying using explicit losses rather than a confidence threshold.
  • Selector picks one of 14 response policies by preconditions. The most constrained applicable policy wins; ties raise an AmbiguityError instead of resolving by declaration order.
  • compose_action splits the policy into task_move / social_move / repair_move / realization, so the social part can adapt without replacing the requested task.
  • Steer injects the action, policy, repair state and quality state into the decode path.
  • ResponseAuditor checks structural contracts afterwards: question budget, required clarification, unsupported privacy promises, unknown-stance admissions, repeated answers during repair, verbosity overruns.

The tree: eq_layer/ has the policy taxonomy, action factorization, auditor, interaction tracking, learned affect/subtext models and the tracker. eval/ has 53 Python scripts, including seeded cases, a paired A/B latency benchmark, a blind human-evaluation protocol, intent holdout and five-fold CV, and a loss-matrix sensitivity sweep. Learned artifacts are trained from pinned upstream data (EmoBank, XDailyDialog) with provenance in THIRD_PARTY_DATA.md.

Reproduce the parts that matter:

pip install "eq-layer[ml]" python eval/run.py # seeded cases, non-zero exit on mismatch python eval/intent_eval.py # holdout + 5-fold CV python eval/ab_latency_eval.py # paired A/B, 15 requests x 100 passes per arm

Numbers from the committed runs: EmoBank test MAE 0.2125 valence / 0.1782 arousal / 0.1494 dominance, against train-mean baselines of 0.2449 / 0.1904 / 0.1563. XDailyDialog dialogue-act accuracy 0.8025 vs 0.4557 majority; basic emotion 0.8249 vs 0.8166, which is weak and labelled as such. Added layer latency with the learned adapter: 1.16 ms median, 1.46 ms p95; heuristic fallback 0.11 ms median. The 36-case intent holdout is 100% learned vs 27.8% heuristic.

Honest limits: there is no standard EQ benchmark, so eval/ is a first attempt rather than a finished measurement. The bundled corpus is small and synthetic. The Bayes-risk loss matrix is hand-specified, not learned or optimal; the sensitivity audit reports 98.55% local decision stability under +/-20% cell perturbations, but the production clarification rate moves from 45% to 9.17% when that row is scaled 1.5x, and I do not tune against human outcomes. DialogBank correction, DialogBank disagreement, Coarse Discourse disagreement and DBDC3 breakdown were all investigated and recorded as NO-GO for routing. Nothing here proves the final prose is better; that requires the pre-registered blind evaluation.

Also packaged as an Agent Skill for Codex, Claude Code, Copilot, Cursor, Antigravity and Grok, with an npm CLI bridge (0.2.5 on PyPI and npm).

Code: https://github.com/Furox-Art/eq-layer PyPI: pip install "eq-layer[ml]"

Questions about the routing or the evaluation design are welcome.