It is installing the psd-tools (aka psd_tools) module in `~/.local/lib/python3.11/site-packages` and I can see the file there, but #Blender's python refuses to believe that it's installed. I would love to love #python, but installing the fucking thing is waaay harder than actually writing it.
Generate HTML conveniently and efficiently with Python generators https://lobste.rs/s/ka3uqb #python #web
https://github.com/pcarbonn/fast_html
Postgres as queue https://lobste.rs/s/mvysit #databases #python
https://leontrolski.github.io/postgres-as-queue.html
Any #bpy thing-knowers able to help me out? I'm writing a script that relies on the psd-tools module. To make sure it is loaded I do
```
try:
import psd_tools
except ImportError:
subprocess.check_call([python_executable, '-m', 'ensurepip'])
subprocess.check_call([python_executable, '-m', 'pip', 'install', 'psd-tools'])
import psd_tools
```
I can see pip installing the module, but when I finally get to the import psd_tools line at the end it says that the module is not loaded.
#blender #python #psd-tools #AskFedi
New #python #software project released ... no one will care about this one, it's for work. It monitors a Teraslice stream processing instance:
https://pypi.org/project/ts-topy/
Useful to me and 10 other people.
PySpark Data Bricks Syntax Cheat Sheet #pyspark #python #databricks
PySpark Syntax Cheat Sheet: I have covered the below operators/function from PySpark: 1. Drop table if already present 2. Create ... source
https://quadexcel.com/wp/pyspark-data-bricks-syntax-cheat-sheet-pyspark-python-databricks/
Just released: Version 10.6.29 of passagemath, the pip-installable modularized #SageMath fork, a general-purpose #Mathematics system in #Python.
github.com/passagemath/...
This version brings a new package by P. Weil for finitely generated subgroups of infinite groups.
#FOSS #MathSky #GAPSystem
Release passagemath-10.6.29 · ...
If this Jedi-mode in #emacs for #python?

Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_30
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

The show my wife is currently performing in is Stephen Sondheim's Assassins, so the music I used is "Something Just Broke"...
But everybody's got the right to be happy, and this week, what makes me happy is Perl Weekly Challenge 341.
#PerlWeeklyChallenge #raku #perl #python #elixir
Perl Weekly Challenge: Somethi...
A new article, enjoy! #ai #python
"Goodbye Wordpress and thanks AI"
https://mkennedy.codes/posts/goodbye-wordpress-thanks-ai/
Something in #VSCode just wrote a #JupyterNotebook in my name, seemingly based on the name I gave to the #Python project. When I saw that the file existed, I assumed it was just some “Hello, world” like thing.
Eventually I looked at it.
It was extensive had lots of sentences like, “I haven't yet decided how to represent digits larger than 9”, which either are not true or non-sensical for my project.
I am pleased that I could this before that ever made it to a public repository. And I am extremely annoyed that I could have published some AI generated text in my name.
I’m not in principle opposed to using AI to assist in development. After all, linters are AI as far as I am concerned. But something that writes crap in my name without explicitly drawing my attention to the fact that it is doing so is not the kind of thing that will win me over to AI.