Just released: em 4.4.0, the CLI emoji keyboard 🚀⌨️✨
✨ Upgraded to emojilib 4.0.0: "The keywords include most if not all the :shortcode: from different platforms"
✨ Dropped support for oh-so-very-nearly-EOL Python 3.8.
Just released: em 4.4.0, the CLI emoji keyboard 🚀⌨️✨
✨ Upgraded to emojilib 4.0.0: "The keywords include most if not all the :shortcode: from different platforms"
✨ Dropped support for oh-so-very-nearly-EOL Python 3.8.
Pillow 11.3.0 has been released!
This release offers wheels that include AVIF support, wheels for Python 3.14 and even iOS wheels.
Read more about our changes and a security fix at https://pillow.readthedocs.io/en/stable/releasenotes/11.3.0.html
#Python #Pillow #PythonPillow #release #Python314 #iOS #AVIF
Pillow just crossed the 3 billion downloads mark on PyPI! 🚀📈🚀📈🚀📈
Total downloads: 3,001,836,264
Calling upon #Python developers. Have you implemented #Passkey authentication without using third-party services?
I'm trying to find some good reference material but all seem to include usage of third-party services for managing the authentication...
... but I want full "ownership" of the authentication stack before deciding to ship that to someone else. One of the most critical components is not something I feel entirely comfortable handing off to someone else.
So... anyone got something to share? I have come across this:
https://pypi.org/project/webauthn/
That seems to give me the server/backend stuff. If you have experience building the frontend/UX components using #Reflex then I would be even more excited to hear from you! 🙂
Netencode: I’m currently building out my project of making a “better” structured language for use in UNIX-pipelines and shell scripting and the like.
It’s human-readable, but supports trivial generation with printf & wc, tagged values (sum types, Result<T>) and embedding arbitrary binaries without escaping due to being length-prefixed.
I think it’s pretty cool!
#netencode #ShowAndTell #unix #shell #haskell #python #rust #nix #programming #tooling
The silliest little #Python project that brought me joy recently was using this Adafruit Playground Express that I got for free at some PyCon to make a little ambient light for my keyboard at my desk. It dims automatically with its built-in light sensor so during sunny days it’s completely off and in complete darkness it’s bright enough to be able to see keys on a black keyboard.
It sits invisibly taped beneath the upper desktop so it illuminates the keyboard below. Needs less than 1W of power.
Time for an #introduction I guess.
I am:
- #Eindhoven native
- Physicist by training
- Software developer by profession (industrial and medical equipment, mainly #C++, but also #C and #Python)
- Electronics tinkerer (#ESP8266, #D1Mini, #mechanicalkeyboards, #platformio, #kicad)
- Smart home hobbyist (#HomeAssistant, #MQTT, #Tasmota)
- Into #selfhosting (#docker, #mailpile, #pihole)
- 3D printing early adopter (since 2014, #prusa, #marlin, #fusion360)
Saturday morning project complete: seven open source projects updated to include Python 3.14 beta releases in their CI workflows. The only complication was the lack of wheels for 'cffi', so the CI workflows need compilers installed.
Oh, I never pinned an #introduction!
Hi! I'm mostly here for conversations, reflections, and geekery around subjects that catch my fancy. Recently that orbits technology (esp #Python, data services, networks), music (writ large), languages (esp ancient Greek), autism, and general silliness. Structural protection for the marginalized is close to my heart, but I've learned I need to engage gently to stay healthy. I try to keep shitposting to a minimum.
I co-administer #signsandcodes.
Registration for PyOhio 2025 is open!
https://www.pyohio.org/2025/attend/registration/
#PyOhio is a free annual #Python programming language community conference based in Ohio.
📅 Dates: July 26 & 27, 2025
🗓️ Schedule: https://www.pyohio.org/2025/program/schedule/
📍 Location: The Cleveland State University Student Center in Cleveland, Ohio: https://www.pyohio.org/2025/attend/venue/
👕 T-Shirts: https://www.pyohio.org/2025/attend/shirts/ Order online and either ship direct or pick them up with your badge at check-in
I wrote a #python client for #Librofm https://codeberg.org/bfordham/librofm
Using #jellyfin I naturally wanted to put the #audiobooks I've purchased on it. And I didn't want to do it all by hand. Then things kinda spiraled, they way they do when you write software for fun as well as for work.
Hopefully folks will find it useful.
My latest blog post: Back 2 Basics - R-2R Ladder DAC
https://mikecoats.com/back-2-basics-r-2r-ladder-dac/
The first in a series of 'back to basics' projects, building real, practical, circuits. This time it's an R-2R Ladder DAC.
#code #electronics #embedded #esp32 #firmware #hardware #microPython #python
#Python makes your homework a snap: #Math #B3
#!/usr/bin/python3
import sys
from sys import argv
import numpy as np
a=np.array(eval(sys.argv[1]))
print("Matrix:\n")
print(np.matrix(a))
b=a.T
print("\nTranspose:\n")
print(np.matrix(b))
print("\nTrace: ",a.trace())
print("\nDeterminant: ",np.round(np.linalg.det(a),6))
print("\nPseudo-inverse:\n")
c=np.linalg.pinv(a)
print(np.matrix(c))
d,e=np.linalg.eig(a)
print("\nEigenvalues: ",np.round(d,6))
I posted this last week, asking for #Python users to fill out a silly little survey:
https://social.coop/@Yhg1s/114577319279302611
I got quite a few responses! Almost 300 at this point. I can use this! It'll be hilarious! I can still use more answers, though, because some of the answers are much more spread out than I expected, even after cleaning up and consolidating. I hope with a few more responses I get more obvious standouts answers.
Please fill out the survey if you haven't :)
https://docs.google.com/forms/d/e/1FAIpQLSfRgC-YWEriHW_rbcBY9jWJf35w3bPxP01Mg5EAu25lOyPAeg/viewform
#programming #engineering #mathematics #commonLisp ellipse drawing article drastic improvement. A walkthrough to using cl-series #series macro package.
https://screwlisp.small-web.org/programming/cl-series-ellipse-sampling/
Now in the old one yesterday (I was coming down with a cold!) I got the somewhat cutting feedback "should've been 6 lines of #python ". Honestly, pythonistas, I am ready to learn what you have to teach ;p.
Thoughts, feedback, criticism most welcome. What's /your/ example?
I am convinced* that @Yhg1s is in the process of creating the most important* study* in the history of #Python, and you should contribute to it: https://docs.google.com/forms/d/e/1FAIpQLSfRgC-YWEriHW_rbcBY9jWJf35w3bPxP01Mg5EAu25lOyPAeg/viewform
Use #Python at all? I would like to do a silly thing, which I hope will bring amusement to others as well as me (if it works out).
If you wouldn't mind, please fill out this form, and boost for reach:
https://docs.google.com/forms/d/e/1FAIpQLSfRgC-YWEriHW_rbcBY9jWJf35w3bPxP01Mg5EAu25lOyPAeg/viewform
There is a job in #Berlin, related to #renewableEnergy, #embeddedSystems, #Debian, #freeSoftware, #C, #Python, #Django, #JavaScript, and even #XMPP.
https://www.ammonit.com/about-us/career/
Disclaimer: It's my company/employer.
EDIT: It's not necessary to tick ALL the boxes. There is always time to learn.
EDIT²: Due to a change of the website, the offer is gone atm.
EDIT³: Website is fixed!
#Ammonit #greenJobs #fediJobs #fediHire #windEnergy #solarEnergy
Why is a RedHat "Platform Engineering Leader & Senior Principal Software Engineer" using AI in the most facile way to ask me to do work out of nowhere? It's extremely rude, and really tone deaf coming from a company built on the knowledge and time of open source maintainers. https://github.com/orgs/pallets/discussions/5744 #Python #Flask #RedHat
Since there has been a huge influx of new users, I decided to write a new #Introduction and actually pin it to my profile.
I'm pushing 50 years old and I live in a Red State that is trying to make me illegal. I'm a #pansexual / #bisexual #transgender woman married to a heterosexual cisgender woman who frequently talks about the current hellscape for people like me in my Toots.
I'm #NeuroDivergent / #ND which is probably why all of these sentences start with "I".
I've worked in #InfoSec for a little over 20 years. I've had lots of roles in #SecEng, #SecOps, and #ThreatManagement. I taught myself #Perl, #Bash, #SQL, and #PowerShell. I'm decent at #JavaScript. I can read #Python and #Ruby. I enjoy automating things and turning manual processes into scripts.
I've been the primary #CareGiver to my wife for 8 years since she developed a chronic condition and went on disability.
My hobbies including #writing #paranormal short fiction, journaling my #dreams, and playing #PCGames on my laptop and #SteamDeck.
I prefer #StarGate over #StarTrek over #StarWars. Still waiting for Amazon to do something, anything with the Stargate property.
While we loved the #ArrowVerse including #Stargirl and #SwampThing, in general we prefer #Marvel over #DC.
I'm a fan of #Horror / #HorrorFam, #HorrorMovies and #HorrorBooks, especially the existential dread of #CosmicHorror or #LovecraftianHorror. I tend to sympathize with the nameless terrors. I am not a fan of mindless slashers, unrelenting gore, or torture porn. Over-the-top, egregious gore that crosses into the absurd is fine, though, so I am a Sam Raimi fan, obvs. Also, #HorrorComedies are underappreciated.
I'm slowly reconnecting with my #Pagan roots. I knew some stuff about #Tarot and had a friend who as a tree a lifetime ago and I'm trying to rekindle that.
We've got #Cats and they are our kids. I also happen to love #Frogs, but we don't have any of those.
#BLM #BlackLivesMatter
#TransgenderRightsAreHumanRights
#LGBT #LGBTQ #LGBTQIA
#ThePandemicIsNotOver
#ClimateChangeIsReal
#SexWorkIsWork
The Official Python Documentary has published their teaser trailer at PyCon US 2025, and I'm so honored to be part of the story of Python along with other prominent Python figures.
Check the trailer, and watch the official launch of the documentary at EuroPython later this year.
May as well throw this query out to the fediverse.
I am looking for *concrete examples* of code that works correctly when interpreted by Python 2.7 but *silently produces incorrect output* when interpreted by Python 3.x. I encountered such a thing about 10 years ago but didn't save it and have been unable to reconstruct it.
All examples are good, but examples that produce output from which it's difficult or impossible to recover the correct output are better.
Format star catalog data for use in the sc #terminal based spreadsheet application using #Python #K9
$ ./c.py hyg4.csv > hyg5.sc
#!/usr/bin/python3
import sys
import string
filename_in = sys.argv[1]
outfile = sys.stdout
delimiter = ','
infile = open(filename_in, 'r')
letters = string.ascii_uppercase
text=[":"]
row=0
for line in infile.readlines():
allp = line.rstrip().split(delimiter)
column = 0
for p in allp:
col = letters[column]
if len(p) == 0:
continue
try:
n = string.atol(p)
text.append('let %c%d = %d' % (col, row, n))
except:
if p[0] == '"':
text.append('leftstring %c%d = %s' % (col, row, p))
else:
text.append('leftstring %c%d = "%s"' % (col, row, p))
column += 1
row += 1
infile.close()
outfile.write("\n".join(text))
outfile.write("\n")
if outfile != sys.stdout:
outfile.close()
Nouvelle #introduction / #introductionfr pour le Fediverse.
Je fais du #design et du #webdev (#markup #css) à #Paris. Je fais du développement (#python, j’ai collaboré à @bookwyrm), je fais du #vélo surtout en #vélotaf, j'aime la #photo #argentique (#filmphotography) même si je ne pratique plus autant qu'avant.
Je parle souvent de #climat, parfois de #politique (#frpol). Ma chatte Pourriel est la plus belle du monde.
(#velo et #velotaf pour que le motdièze marche sans l'accent)