r/madeinpython • • 3d ago

Here's why I’m building a home for vulkan python. Why do you care about this community?

Thumbnail
github.com
1 Upvotes

r/madeinpython • • 3d ago

The first beta version of the tawjih package (version 0.13.1) is now available on PyPI!

1 Upvotes

​

https://pypi.org/project/tawjih/

We're excited to share the initial release of the tawjih package for Python developers, designed to \[state the package's function, e.g., facilitate code routing/path management/AI application building\]. Why try it now?

• 🛠️ Lightweight and fast: Designed to seamlessly integrate into your existing projects.

• 🧪 Open beta: All developers are welcome to test the package, find bugs, and share their suggestions for future releases. Package link and documentation: pypi.org

💻 Code repository (GitHub): https://github.com/AlmodinyMk/LLM-tawjih-Model-building

\#Python #PyPI #OpenSource


r/madeinpython • • 3d ago

We built sentropy, a Python package for measuring diversity while accounting for similarities between data points

1 Upvotes

Hi Python community!

I'd like to share an open-source Python package that I've co-authored: sentropy.

The motivation behind it is that traditional entropy measures, such as Shannon entropy, treat every distinct element as completely different. But in many datasets, distinct elements can be very similar to one another.

For example, consider a dataset of protein sequences. Two sequences that differ by a single amino acid are arguably more similar than two sequences that differ at every position. Traditional Shannon entropy doesn't capture this distinction.

Sentropy implements similarity-sensitive entropy measures, based on the mathematical framework developed by Leinster, Cobbold and Reeve.

A few things you can do with it:

  • Calculate similarity-sensitive α, β and γ diversity.
  • Explore different viewpoints using the parameter q.
  • Pass your own similarity matrix or define a custom similarity function.
  • Calculate similarities on the fly, without explicitly constructing a potentially large similarity matrix.
  • Calculate relative sentropy and cross-sentropy.
  • Use PyTorch/GPU functionality.
  • Calculate the Vendi score.

It's not restricted to biological data, either. The package can work with any dataset for which you can define a meaningful similarity function.

For example, the README includes demonstrations using amino-acid sequences and image datasets.

Installation:

pip install sentropy

Links:

I'd love to hear what you think! In particular, I'm interested in how people might use similarity-sensitive diversity measures in machine learning, data analysis, or other areas outside bioinformatics.

Feedback, suggestions, and contributions are welcome!


r/madeinpython • • 4d ago

made a termux tool that checks your code for llama.cpp 1.0 breaking changes before you get burned by them

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 4d ago

Kiri vs. Podman on Linux: A Python Benchmarking Tool for Different Distributions

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 4d ago

Animating Multiple Matplotlib Subplots inside a Single Window using FuncAnimation() class & Python

Thumbnail
youtube.com
1 Upvotes

In this tutorial, Learn how to animate multiple line plots (axes) inside a single matplotlib window (figure) in real time concurrently using Python. Here we will learn to create multiple subplots (axes) first using plt.subplots() and then animate those subplots simultaneously inside a single matplotlib window using the FuncAnimation() class and Python.


r/madeinpython • • 4d ago

SnakTUI — Snake with combos, power-ups and a persistent top-10 leaderboard, in pure Python/Textual

Thumbnail
gallery
1 Upvotes

Repo + install: https://github.com/Mark44928/SnakTUI

pipx install git+https://github.com/Mark44928/SnakTUI && snaktui

Unicode block rendering, adaptive layout, full keyboard control.

Combos to ×5 with milestone celebrations, three power-ups

(Speed Boost / Slow Time / Ghost — phase through walls), golden

timed food, hazards, particles, screen shake, 5 themes,

3 difficulties, and a persistent top-10 leaderboard in atomic JSON

(survives Ctrl-C mid-game). Headless smoke tests via Textual's

Pilot — real key events, runs in CI with no TTY.

Runs on any terminal with Python 3.9+. I develop it on Termux —

no PC involved.

Code is AI-agent-written (OpenCode + free models), human-directed.

Gallery: title screen / mid-run with the live RUN STATE panel /

game-over stats screen (with instant replay on R).


r/madeinpython • • 4d ago

So I was looking at all the cool libraries that numFocus has developed. I saw the guy who made of them of lex Friedman. I want create drop ins for the big ones using vulkan compute etc.

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 5d ago

Coding The PS5 OS For PC (Part 1: Boot Sequence)

0 Upvotes

I've recreated the PS5 boot screen and it runs on my pc, and i thought i'll show you guys!

What are your thoughts?


r/madeinpython • • 5d ago

Construí Blink, una herramienta de CLI para detectar problemas de calidad de datos antes de que se vuelvan un problema

0 Upvotes

¡Hola a todos!

He estado trabajando en Blink, una pequeña herramienta de CLI de Python de código abierto que ayuda a detectar problemas de calidad de datos en archivos CSV, TSV y Parquet.

Revisa valores faltantes, duplicados, valores atípicos y tipos de datos inconsistentes. También permite comparar datasets, detección opcional de anomalías basada en ML y reportes en JSON.

Todo se ejecuta localmente sin modificar tus archivos originales.

GitHub: https://github.com/Gianni300x/blink

De verdad agradecería cualquier feedback o sugerencia.

Si te sirve Blink, considera dejar una ⭐ en el repositorio o seguirme en GitHub. ¡Significaría mucho!

¡Gracias por echarle un vistazo!


r/madeinpython • • 5d ago

I built a real-time Python code-combat arena with custom N-gram AI for high school students

Post image
0 Upvotes

Hi everyone,
I am a high school student from Kolkata, India. I noticed many beginners get intimidated by dry, terminal-based Python syntax.

To make learning interactive, I built Stickman Battle—a browser-based multiplayer arena where traditional keyboard controls are disabled. Instead, you write pure Python logic (if-else conditionals, distance sensors, trigonometric spells) to battle autonomous AI bots or classmates in 1v1 duels.

Tech stack:

The project is completely free and open-source. I’m a student developer and not very good at marketing, but I would really appreciate honest technical feedback from fellow developers and educators!

🎮 Play in Browser (Itch.io): https://arrows-dev.itch.io/stickman-battle
🐙 GitHub (Source Code): https://github.com/SHAYAK-ARROW/Stickman-Battle


r/madeinpython • • 5d ago

Slippery Penguin v2.6.1

Thumbnail
github.com
0 Upvotes

This is Slippery Penguin, an SUID/SGID enumerator and vulnerability scanner. It is entirely open source, and human led and maintained, by myself. We have a small community of regular contributors who have put real work into this project, and I'm sure each contributor is as proud of their work as I am honored to maintain it!

Slippery Penguin has json based flags list it enumerates against, reporting potential findings as well as a context message along with them. It also checks against an included and updatable GTFOBins data list. Optionally, the user can also pass --runtime-tracing to employ strace based scanning.

As of v2.6.1, Slippery Penguin now also features file system scanning and security analysis operations!

All results can be viewed in the terminal only, or logged with varying types of logging available. JSON is the default logging, with HTML, PDF, and CSV reports available to be generated based on a given run's findings.

We're still working on integrating file system operations results into the reports, stay posted! As of v2.6.1 they are available via JSON and CSV only, with issues on the repo regarding the others if you would like to contribute!

Extensive documentation is included for any usage or contribution questions. :)


r/madeinpython • • 5d ago

RPLang(RIP), A customized Python

1 Upvotes

I made a funny language in python called rplang(rip), A customized Python

It used to a python with my own customized keywords. It supports python modules and .lore modules

this is a private project.


r/madeinpython • • 5d 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/madeinpython • • 6d ago

I built Blink, a CLI tool to catch data quality issues before they become problems

2 Upvotes

Hey everyone!

I've been working on Blink, a small open-source Python CLI tool that helps detect data quality issues in CSV, TSV, and Parquet files.

It checks for missing values, duplicates, outliers, and inconsistent data types. It also supports dataset comparisons, optional ML-based anomaly detection, and JSON reports.

Everything runs locally without modifying your original files.

GitHub: https://github.com/Gianni300x/blink

I'd really appreciate any feedback or suggestions!

If you find Blink useful, consider leaving a ⭐ on the repo or following me on GitHub. It would mean a lot!

Thanks for checking it out!


r/madeinpython • • 6d ago

A little pre-AI project of mine

Thumbnail
github.com
1 Upvotes

r/madeinpython • • 6d ago

Working on wxcss- a package adding css support to WxPython

Thumbnail reddit.com
1 Upvotes

r/madeinpython • • 6d ago

i built EnvGrave, a tiny CLI that finds unused and missing .env variables made in python

Post image
1 Upvotes

Hey everyone!

I recently made EnvGrave, a small open-source Python CLI that scans your projects for environment variable issues.

It checks for:

  • Unused variables
  • Missing variables referenced in code
  • Duplicate definitions
  • Inconsistent variable names

It works locally, doesn't need any API keys, and doesn't print your environment variable values.

Install it from GitHub:

pip install git+https://github.com/Mubloxi/envgrave.git

Then run:

envgrave scan .

I wanted something simple that could help clean up messy .env files without needing a bunch of configuration.

It's my first release, so feedback and suggestions would be appreciated!

GitHub: https://github.com/Mubloxi/envgrave

Please Star This Repo It Motivates Me To Make More Projects!


r/madeinpython • • 7d ago

my python flight search library refuses checked bags instead of guessing the fee

0 Upvotes

disclosure: i made this. viajante is a free, MIT licensed python library that reads google flights with no api key. it also runs as a cli and an mcp server.

if you pass bags=1, it doesn't send the search. this is what comes back:

viajante can't filter Google Flights for checked bags, so this search wasn't sent. For cabin bags pass carry_on=2 (total for the whole party), not bags=2. Then confirm bag rules on the airline or Google Flights page.

carry_on works because google flights has a filter for cabin bags, and the library checks that the results page shows that filter applied. checked bags have nothing like that to check against.

if you still want bag cost in the sort, baggage_buffer=40 adds 40 to low cost fares with unknown bag info. it only changes the order. the printed price stays google's, and the offer says the bag fee isn't verified.

from viajante import get_flights

report = get_flights("MAD-LHR:2026-12-18", baggage_buffer=40, top=5)

repo: https://github.com/felipebasurto/viajante

would you rather get the error, or a price with a "bags not included" warning?


r/madeinpython • • 7d ago

I made a time app.. but with neko characters

2 Upvotes

This is a simple time app. But instead of numbers - it uses neko characters!

Made it in 45 minutes just for fun

Repo


r/madeinpython • • 7d ago

Reaktiv Workbook – A spreadsheet where every cell is Python

0 Upvotes

Hey guys! After I tried to reintroduce Signals Reactivity state management (inspired by Angular and SolidJS) to the Python community with my reaktiv package, I like to go one step further to reimagine how Python Notebooks (Jupyter Notebook, Marimo, …) could look like, if Signals gets used as the core mechanism for reactive data pipelines.

The clue here: each cell in the spreadsheet represents a signals primitive under the hood! Say hello again to Signal, Computed, Effect, Linked and Resource!

So effectively you are using the spreadsheet interface as a canvas to model your business logic around these core primitives. Each cell represents a data pipeline execution.

I am working in the signal processing field and like seeing dense data and see how parameters changes and affects the outcome. I also always liked how spreadsheets used data as part of their UI instead of writing an UI on top of the data.


r/madeinpython • • 7d ago

Aide avec Trinket Python

Post image
0 Upvotes

r/madeinpython • • 7d ago

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

2 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.