Adding the `wraps` decorator from `functools` #python standard library preserves important attributes for debugging and automatic doc generation, which get lost normally, when a function is wrapped via another function.

Prisma triangular de Euclides:
- Cualquier prisma con base triangular es divisible en tres pirámides de base triangular de igual volumen
objetivo: Graficar 1 prisma y 3 pirámides
#Geometria #3D #Python #Guanacaste #Lecheria #Anzoategui software Libre flisol
Some sunday coding / hacking and following #Python #F1 #HungaryGP 😜

More #trimesh studies... got back some missing edges, but also got one unwanted edge betweeen two co-planar faces. Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_08_03
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding
Here's a screenshot from Aston Villa v Fulham last season
I scrape the Premier League website for a pet project of mine and since the end of the season they've made a lot of changes to the site
(and added more data)
I've thus made a lot of changes to the code
(and now scrape more data!)
One of the quirks is that red/yellow cards will display `()`, not 0
No other null values display like this though
Ever found oddities in websites?
#selenium #python #coding #data #webdev #html

#programming #python #python #python #cpp

Anyone would know a workaround about the lack of native support for complex valued arrays in #xarray netcdf writer?
Разрабатывать гуй с PySide6 удобно. Сам пишешь себе архитектурные паттерны и сам решаешь следовать им или нет.
Раньше пробовал писать гуй на Rust/C# (iced/Avalonia). На расте было тоже нормально, но это было _нудно_, токсичные отношения с компилятором короче. А в авалонии шарпа тонна бойлерплейта и файлов с папками, голова кругом.
Чтобы не быть пустословным скажу, что на авалонии и iced я написал гуй для разных приложений (sme-rs, plombir-launcher). Их можно у меня в кодеберге посмотреть

The pythonbuilder got a few improvements. Apart from introducing ruff as a consistent python code formatter and for linting in addition to mypy, it got a new module pbpython.py which wraps
- ruff check
- ruff format
- mypy
calls for easy use as target builders.
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming
#python
#ruff
#mypy
/ ╔╗
║╚■
╔╝
╔╝
╔╣
╔╦╬╣
╚╩╬╬╗■■
╔═╩╩╩╩╝
╔╝
■╬╗
╠╣
■╣■
║
║
╔╬╗
■╣╠╩╗
║■ ■
■
[program finished]
#python #network
Sobald man anfängt Shellscripte zu „programmieren“ hat was man was falsch gemacht und sollte dringend python lernen.
LangExtract: Python library for extracting structured data from language models
Link: https://github.com/google/langextract
Discussion: https://news.ycombinator.com/item?id=44735059