So instead of doing stuff around the house, I started a new project (🐿️)

Introducing Bakat: a generator for share images for your workouts without giving all your data away

Not running a public version yet, but PRs welcome: https://scm.gruezi.net/buckbanzai/bakat

#Python #Flask #Workout #Fitness

A quote from Corey Quinn

I cannot believe I'm saying this, but getting the literal Pope to canonize your product's specific technical limitations as a spiritual treatise is the single greatest act of vendor lobbying …

Simon Willison’s Weblog

Convert csv to wikimedia table format with #Python

#!/usr/bin/env python3
import csv,sys
r=csv.reader(open(sys.argv[1]) if len(sys.argv)>1 else sys.stdin)
print('{| class="wikitable"')
for i,row in enumerate(r):
print('|-')
print(('!' if i<1 else '|')+' || '.join(row))
print('|}')

New #python rant. I was using os.system() to run system commands, but this time I wanted to save the output of the command. The answer* is to use either a completely different function or a completely different package.

No single learning in python seems to be transferable. I need to learn some other completely new way of doing everything every time I want to move even a bit from what I'm doing.

* https://stackoverflow.com/a/3503909

Assign output of os.system to a variable and prevent it from being displayed on the screen

I want to assign the output of a command I run using os.system to a variable and prevent it from being output to the screen. But, in the below code ,the output is sent to the screen and the value p...

Stack Overflow

#kafx composing modes. Added all that qt support. (In this case Additive)
plus debug pos origin anchor and bounds

#python #qt

longwei 1.5.1
- Added `llms.txt` and `llms-full.txt` to the documentation site for LLM agent consumption

#Python #PyPI #ActivityPub #OpenSource

I just merged a patch by @alex27 to #uxn #python uxnpy, "Add initial implementation of uxn repl":

https://git.sr.ht/~ismael-vc/uxnpy/commit/4db351630af1f8431dfaa8e7d5fe031a8cf609bf

Thank you very much Aleph! I can't remember the last time I received a contribution to a project.

Please let me know if there is anything else you'd like me to expose from the core.

I'm working on more opcodes, but I'm thinking in making uxnslo.py have the same API so you may test a fully compliant implementation with the repl until I finish the latest implementation. :)

WSGISwitchInterval is a new directive in mod_wsgi 6.0.0 that exposes Python's GIL switch interval as a tunable.

The default has not changed since Python 3.2 shipped in 2011. For CPU-bound Python workloads it can leave large throughput gains on the table. A benchmark in the post goes from 37k to 121k rpm just by tightening it.

The directive is mod_wsgi specific, but the lever applies to any Python web stack.

https://grahamdumpleton.me/posts/2026/05/wsgi-switch-interval-in-mod-wsgi-6-0-0/

#python

WSGISwitchInterval in mod_wsgi 6.0.0 - Graham Dumpleton

mod_wsgi 6.0.0 adds WSGISwitchInterval, a tuning lever for Python's GIL switch interval. With proper telemetry it can deliver large gains on CPU-bound workloads.