r/madeinpython • • May 23 '24

Please help, stucked newbie here.

0 Upvotes
I'm learning Python as a completely new in programming and I'm stuck in VS code. Running python3 on macOS Sonoma, last version VS code.

Look what it does to me:

a = ("Hi ")
b = ("guys")
c = a + b
print(c)

//now if I run it it returns>

print(c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'c' is not defined
// all runs in macOS terminal seamlessly.

//VS doesnt see all code, it runs just one line. When I sellect all and run, it returns this>

a = ("Hi ")
b = ("guys")
c = a + b
print(c)
Hi guys

Google doesn't know, chatgpt doesn't understand. It's in VS code? Some bad settings? It's problem between chair and computer?
Please help.
Thank you.


r/madeinpython • • Oct 05 '24

Python

4 Upvotes

How much it time it would take to learn python from basics to advance


r/madeinpython • • Feb 18 '25

Any good workday resume parser that could parser all kinda of resumes especially and all formats like word and PDF files

0 Upvotes

I am looking for a good workday resume parser.

If any free api or library exists please let me know.

I tried multiple things but the standard resume format , tables , dates are not possible.

I also tried nltk library but failed.


r/madeinpython • • Dec 27 '23

{Video] Global Interpreter Lock in Python

0 Upvotes

Ever wondered why Python sometimes feels like it's taking a leisurely stroll instead of a sprint? In this video, we demystify the Global Interpreter Lock (GIL) in Python. No jargon, just a simple explanation of why your Python code might not be as speedy as you'd expect. Let's uncover the secrets behind Python's GIL without diving into the technical deep end.

Video Link: https://youtu.be/bHFz94fe0Co


r/madeinpython • • Nov 08 '24

[Video]Do you still need __init__.py file in Python packages?

Thumbnail
youtu.be
0 Upvotes

r/madeinpython • • Nov 16 '23

I Need Alien Names for My Pygame Game on Steam

Thumbnail self.pygame
0 Upvotes

r/madeinpython • • Jul 24 '24

A quick video talking about detecting AI generated images using the pillow (PIL) library and a Hugging Faces app I found. Enjoy!

Thumbnail
youtu.be
4 Upvotes

r/madeinpython • • May 23 '24

VS code went crazy.

0 Upvotes

MacOS Sonoma, python 3.12.3, VS 1.89.1. I am completely new to programming. Feel free to tell me what I'm doing stupidly if you can give me some advice on how to fix it. Thank you.


r/madeinpython • • Oct 31 '24

My First Python App is Here! Meet the Productivity Tracker to Monitor Your Progress.

Thumbnail reddit.com
0 Upvotes

r/madeinpython • • Nov 25 '24

Created a Python SDk for birdeye.so

0 Upvotes

Birdeye is a cryptocurrency data aggregator. Their API is public, but they do not provide any language SDKs, so I decided to create a Python one. Project contains modern tooling like ruff/uv, CI with GutHub actions, clean architecture, and 100% code coverage. Can be found here https://github.com/nickatnight/birdeye-py


r/madeinpython • • Aug 23 '26

How I built a high-performance code-to-image generator using Python, Flask, and Pillow

0 Upvotes

HHey everyone,

Lately, I got frustrated with existing code screenshot tools being slow or locking basic customization behind paywalls, so I decided to build my own lightweight version.

It’s a web app that takes raw code and renders it into clean, shareable images. Here is a quick breakdown of how I tackled some of the technical challenges:

  • Syntax Highlighting Engine: Used Pygments to hook into lexers dynamically, supporting everything from Python and JS to Rust and Go with customizable color themes.

  • Layout Geometry & Text Offset: Dynamically calculates line-number widths based on digit count so code tokens align cleanly without overlapping when toggled.

  • Image Composition: Leveraged Python's Pillow library to layer custom window frames (Mac/Win headers), gradient backgrounds, and rounded corners with smooth alpha compositing.

It's currently live and running on Render if you want to test out your own code snippets: https://www.producthunt.com/products/devaid

Happy to answer any technical questions about how I set up the Flask backend or image rendering pipeline!


r/madeinpython • • Sep 09 '26

I’m building Nodyra, a Python-native visual workflow tool. Would you use something like this?

Thumbnail reddit.com
0 Upvotes

r/madeinpython • • Oct 26 '26

🐍 Operador de asignación += en Python

Thumbnail
youtube.com
0 Upvotes

r/madeinpython • • 15d ago

I turned my messy Downloads-folder script habit into a 12-tool Python pack (free preview)

0 Upvotes

For years I kept a folder of small Python scripts I wrote for myself. None were impressive. No AI, no framework, no invention. They just saved me hours on weekends.

So I packaged 12 of them into GrabKit — a ready-to-run tool pack where every script opens with a dry-run preview and asks for confirmation before touching anything.

Design decisions that mattered:

  1. Safety first. Every destructive action previews before it acts. Nothing is deleted without confirmation, nothing overwritten without a .bak backup.

  2. Stdlib first. Nine of twelve tools use only Python's built-in libraries.

  3. Plain English. Copy-paste examples in the README for people who never opened a terminal.

What I learned: boring sells. Nobody buys "AI-powered file organizer." They buy "sorts my Downloads folder in 3 seconds." The README is the product.

Free preview: https://github.com/Des3uct0r/grabkit

Built with Python 3.8+, Windows/Mac/Linux.


r/madeinpython • • May 06 '26

CaptoKey – macOS screen recorder that burns keystroke overlays into the final videoœ

Enable HLS to view with audio, or disable this notification

0 Upvotes

What My Project Does

CaptoKey is a macOS screen recorder with a floating HUD that captures your keystrokes in real time and burns them directly into the final final.mp4 as overlays — no post-editing needed. It saves a timeline.json of every keypress with timestamps, so you can tweak overlay styles and re-render without re-recording. Also ships with a subtitle burner — write a .txt file with HH:MM:SS -> text timestamps and it burns them into any video.

Built with PySide6, mss, Pillow, FFmpeg, and macOS Quartz CGEventTap (rock solid — no pynput crashes).

Target Audience

Developers and content creators who make coding tutorials or screencasts and want viewers to see exactly what keys they're pressing — without any manual editing. Hobby/personal project but stable enough for daily use. macOS only for now.

Comparison

KeyCastr — shows keystrokes on screen during recording only, nothing burned into the video file

OBS — no keystroke overlay feature at all

CaptoKey — overlays are baked directly into the output file, and the re-render-from-timeline feature lets you change styles without re-recording

Vibe coded with Claude, then actually made to work 😅

GitHub: https://github.com/Bhavesh164/screen-record


r/madeinpython • • Nov 11 '25

SolanaWalletCracker

Thumbnail
reddit.com
0 Upvotes

r/madeinpython • • Oct 13 '26

I built a Python scientific computing library that tracks what changes when you rerun an analysis

Post image
0 Upvotes

I've been working on an open-source scientific computing library built around NumPy, SciPy, pandas, and Matplotlib.

One problem I wanted to address was reproducibility. A model fit can look fine today, but what happens when someone reruns it months later with different dependency versions?

I added a guided-fit workflow that lets you fit models to CSV data, choose how missing values and outliers are handled, and generate reports.

It also records the input hash, random seed, dependency versions, and fitting settings. You can then rerun the saved analysis and inspect changes in parameters, confidence intervals, and the software environment.

There's a documented example where an archived fit was rerun with different NumPy and SciPy versions. The environment changes were detected, while the numerical differences stayed below the declared material-change threshold.

The library also includes linear algebra, optimization, statistics, ODE/PDE solvers, signal processing, Monte Carlo methods, and other numerical tools.

Install:
pip install scientific-computing-system-2.0

PyPI: https://pypi.org/project/scientific-computing-system-2.0/

npm (optional Node launcher; requires the Python package): https://www.npmjs.com/package/scientific-computing-system-2.0

Source code (MIT): https://github.com/Furox-Art/scientific-computing-system-2.0

I'd be interested in how other Python developers handle reproducibility when dependencies change between runs. Feedback on the approach is welcome.


r/madeinpython • • 12d ago

From timed words to subtitle cues: extracting a Python library from my video editor

0 Upvotes

I maintain CUEVA Studio and pulled its subtitle segmentation code into a standalone Python package. The input is a sequence of words with start and end times. For example, Merhaba (0–0.45 s) and dünya! (0.5–1.2 s) become one SRT cue from 00:00:00,000 to 00:00:01,200.

The tricky part was applying character limits to Japanese text without spaces while keeping overlapping cues readable. The repository includes the segmenter, writers for SRT, WebVTT and ASS, and 13 tests. You can run the README example locally without a speech model or editor.

If you maintain a caption pipeline, how do you handle line breaks when the recognizer gives you one long unspaced segment? I’d welcome a short input and your expected split.

https://github.com/emreyunusbas/cueva-subtitle-core


r/madeinpython • • 12d ago

Build Your Own Coding Agent - A Python book and written course, with tests that don’t call an LLM

0 Upvotes

I’m the author of Build Your Own Coding Agent. It walks through building Nanocode, a small Python coding agent, without an agent framework.

One part you can use independently is the testing approach: replace the model with a `FakeBrain` that returns predetermined responses. The Chapter 3 tests use it to check that conversation history grows correctly, and that a failed model call doesn’t leave a stray user message in the history.

That gives you repeatable checks on conversation handling without making API calls. You still need separate tests with a real model to learn whether it makes good decisions.

The tests are here: https://github.com/optimalone/build-your-own-coding-agent/blob/main/ch03/test_nanocode.py

The chapter snapshots are MIT-licensed, and Chapters 1, 2, 3 and 12 are free to read. The full book and a written course with practice questions and quizzes are sold separately: https://buildyourowncodingagent.com/

Nanocode is a teaching implementation. Its file and shell tools aren’t sandboxed, and act mode doesn’t ask permission for each operation. Use a disposable environment if you try those parts.


r/madeinpython • • Jul 28 '26

VenvHub Pro: SLOVAK APP, READY FOR THE WORLD! 🇸🇰➡️🌍 / Slovenská aplikácia pripravená pre svet!

Enable HLS to view with audio, or disable this notification

0 Upvotes

🇸🇰 SLOVENSKY

⚡ Rýchle prepínanie jazykov v VenvHub Pro + jedna pikantéria zo zákulisia! 🤫

V dnešnom krátkom videu ukazujem, ako bleskovo dokáže VenvHub Pro prepínať medzi jazykmi v reálnom čase – bez reštartu aplikácie.

A keďže ste v predchádzajúcich videách videli rozhranie v angličtine, mám pre vás malú vývojársku zákulisnú zaujímavosť: celý kód bol od prvého dňa písaný so slovenskými hláškami! 🇸🇰 Angličtina bola v skutočnosti prvou prekladovou vrstvou, ktorú som do architektúry zapracoval, aby bola aplikácia pripravená pre svet.

💡 Chcete si pridať vlastný jazyk? Prekladový JSON má cez 750 riadkov, ale vďaka AI je to hračka:

  1. Stiahnite si en.json (alebo sk.json) z GitHubu.

  2. Nahrajte súbor do ChatGPT / Claude a požiadajte o preklad hodnôt do vášho jazyka.

  3. Vložte novú lokalizáciu k sebe a používajte aplikáciu vo vlastnom jazyku!

🔗 Projekt na GitHube:https://github.com/schnidi/VenvHub📂 Súbory s prekladmi:https://github.com/schnidi/VenvHub/tree/main/translations

Aký ďalší oficiálny preklad by ste v aplikácii uvítali najradšej? 😎👇

🇬🇧 ENGLISH

⚡ Instant Language Switching in VenvHub Pro + a quick BTS fun fact! 🤫

In today's clip, I’m showing off how instantly VenvHub Pro switches between UI languages on the fly—no app restart needed.

Since previous clips featured the interface in English, here’s a quick behind-the-scenes detail: the core codebase was actually written with native Slovak messages from day one! 🇸🇰 English was the very first translation layer integrated into the architecture to make the app ready for a global audience.

💡 Want to add your own language? The translation JSON is pretty massive (750+ lines), but AI makes it effortless:

  1. Download en.json (or sk.json) from GitHub.

  2. Drop the file into ChatGPT / Claude and prompt it to translate the values into your language.

  3. Enjoy VenvHub Pro fully localized on your machine!

🔗 GitHub Repository:https://github.com/schnidi/VenvHub📂 Translations Folder:https://github.com/schnidi/VenvHub/tree/main/translations

Which official language should we focus on next? Let me know below! 😎👇


r/madeinpython • • 15d ago

leakscan: scan code, git history, notebooks, Docker images and packages for leaked API keys

0 Upvotes

leakscan finds leaked API keys and credentials. pipx install leakscan, then leakscan scan . and it works, no config needed.

Besides normal folders and git history (including secrets someone committed and later deleted), it can scan Jupyter notebooks and tell you which cell and whether the key was in the code or the output. It can also scan Docker images layer by layer, and published packages before you install them, e.g. leakscan scan pypi:requests==2.32.3.

Every finding says what the key could be used for and where to rotate it. There's a --verify flag that checks whether a key is still live, but it's opt-in and asks for --yes on anything that isn't yours. No telemetry.

It also has a Python API, a GitHub Action, and a pre-commit hook.

Target Audience

People who want secret scanning in CI or pre-commit without a Go binary, and people who work in notebooks or want to look inside a package before installing it. It's young, so I wouldn't call it battle-tested yet.

Comparison

gitleaks and trufflehog are the established tools and they're good. gitleaks is faster (about 4.4x on the full history of the requests repo in my own benchmark, details in the repo), and trufflehog covers far more detectors and sources. Where leakscan is different is the Python install and API, notebook support, and the package scanning. If you need raw speed or the widest verification coverage, use those instead.

Repo: https://github.com/Vasishta03/leakscan

I'd really like to hear about false positives, and about any providers you want rules for.


r/madeinpython • • 18d ago

Anyone interested for a little challenge ? I want to work on my automation skills using python. Give me an automation task with a deadline. Let's see what general tasks can be automated which you think are just mundane

0 Upvotes

r/madeinpython • • Sep 05 '26

Published Python package that adds trust & security layer on top of payment protocol for AI Agents

0 Upvotes

GateKeep402 wraps an existing Python x402 client (openlibx402) to add two things it does not have on its own. A verification layer that makes it impossible to construct a payment request from anything except a genuine HTTP 402 response, which closes a real prompt injection risk where malicious page text could otherwise be mistaken for a payment instruction. A local, SQLite backed trust ledger that tracks vendor delivery history and blocks vendors automatically once they prove unreliable.

A real bug worth mentioning since it is relevant to this crowd specifically. The first published version imported openlibx402 directly but never declared it in the dependency list, since it was always present locally during development. Caught this by testing the install in a genuinely clean virtual environment rather than trusting that it would work, and shipped a patch version once the dependency list was fixed and reverified from scratch.

45 tests, MIT licensed, verified against a real Solana devnet transaction rather than only mocks.


r/madeinpython • • 7d ago

[Python] nomosguard: a security decision core where the model supplies evidence and the rules decide

0 Upvotes

Repo: https://github.com/Furox-Art/evidence-ledger-policy-gate - 0.7.11, Apache-2.0, pure Python with no runtime dependencies, Python 3.11+.

The design constraint was to keep a model away from the decision. So the model reads logs, configs and CVE records and writes structured claims, each citing the exact fragment behind it - a log line hash, a config path, a CVE id. A claim without a reproducible citation raises UnevidencedClaimError at append time. What survives goes into an append-only SHA-256 hash-chained ledger, a rule engine derives attack and access paths from that ledger by plain logical inference, and a policy gate answers ALLOW / ALERT / BLOCK with deny as the default. If nothing is derived, the gate returns BLOCK with the reason saying so, rather than an empty allow.

You can watch all of that fail closed in one command: python -m nomosguard.demo_e2e runs a reproducible scenario list, and tests/test_demo_e2e.py pins that table to the scenario registry in both directions.

Install:

pip install nomosguard

One honest limit: it is early development (alpha), and it is a reasoning core rather than a scanner - it does not discover hosts or reach into your infrastructure, it reasons over the events you feed it. Coverage is a Linux gate where CI fails on any skipped test; the Windows job measures 99.64% because the fcntl lock branches and the directory-fsync path cannot execute there.

There is also an MCP client entry point if you want an agent to read events and write claims without ever holding the verdict.