python

Back Open Paginator
11.01.2026 02:16
rzeta0 (@rzeta0@mathstodon.xyz)

What do round brackets with code inside do in Python?

(
something
something_else
)

I've only ever seen round brackets contain parameters to functions.

I'm asking because plotnine code seems to do it, and I wonder if it is some special overloaded operator ?

#python #plotnine #dataviz




Show Original Post


11.01.2026 01:28
sharlatan (@sharlatan@mastodon.social)

100% mission complication

codeberg.org/guix/guix/issues/

@guix Python team has been merged to next-master - NumPy is default on v2.3.1







Show Original Post


11.01.2026 00:04
ponderingpothos (@ponderingpothos@hachyderm.io)

The `interpn` library for Rust and Python has the fastest interpolation algorithms I'm aware of - up to 250x faster than Scipy - and today it got faster!

After years of focusing on single-thread performance, I finally called it "good enough" and gave it more cores using `rayon`.

Because the underlying kernel is rigorously non-allocating (and no-std compatible!), the only significant overhead from threading is due to spawning the thread itself. As a result, the parallel speedup is nearly linear!

#rustlang #performance #python





Show Original Post


11.01.2026 00:02
DerRente (@DerRente@mastodontech.de)

Schluss mit Testdaten-Raten: Hypothesis macht euer Testing endlich brutal ehrlich
Ihr macht Testing nicht erst seit gestern – In meinem Fall 27 Jahre Erfahrung heißt: Ihr habt jede Sorte Bug gesehen. Ihr wisst auch: Die meiste
dev-crowd.com/2026/01/11/schlu
#ExplorativesTesten #Penetrationtest #Programmierung #Python #TestEngineering #Testframework #Testmanagement #Testsuites #Tools #Tools #Hypothesis





Show Original Post


10.01.2026 23:50
adamghill (@adamghill@indieweb.social)

Just published 0.6.0 of refreshcss, a pure #Python library to clean unused #CSS.

- Much better modern CSS support via pypi.org/project/tinycss2/, i.e. can now parse Bulma 1.x.
- Use pypi.org/project/justhtml/ for parsing #HTML instead of just using regex.
- Much improved performance, i.e. can now reasonably parse the entire 3 MB Tailwind file on the fly! 🚀

🛠️ github.com/adamghill/refreshcss
📦 pypi.org/project/refreshcss/

#WebDev




Show Original Post


10.01.2026 23:17
IllestPreacha (@IllestPreacha@post.lurk.org)

CellularPoetry

Blog/Images/Poem/Code : blog.illestpreacha.com/genuary

#Genuary #Genuary2026 #creativecoding #cellularautomata #Genuary9 #electronicliterature #poetry #dataart #dataviz

For the 9th Prompt of Genuary2026 : Crazy Cellular Automata, CellularPoetry rules are coded in #Python Where poems are made from various cellular rule sets to make the images come to life and give restrictions to the poet.

Poems ( more in blog)
Achieving Every Assumption covered in Aerial Areas, Calculating Creative endeavours endlessly

Futuristic Foresight fading away, consistency constantly evaporating, Pleasure Pausing, Intermission Awaits

Fulfilling any hypothesis unhidden around airborne dreamscapes, Arriving and Pollinating Plots

#coding #animation #newmedia #codepoem #visualpoem #speculativedesign





Show Original Post


10.01.2026 23:01
PythonPeak (@PythonPeak@mastodon.social)

Python Advanced Dictionary Operations With Defaultdict

Learn advanced Advanced Dictionary Operations With Defaultdict techniques in Python
Master powerful patterns and best practices
Boost your Python programming skills

youtube.com/watch?v=n4Ni1BDxPmU




Show Original Post


10.01.2026 22:25
DerRente (@DerRente@mastodontech.de)

Metamorphic Testing automatisieren: Wenn Dir das „richtige Ergebnis“ fehlt – aber Du trotzdem Bugs findest
Du kennst das: Du testest ein System, das dir kein „eindeutig richtig“ liefert. Ein KI-Model
dev-crowd.com/2026/01/10/metam
#Allgemein #ExplorativesTesten #Penetrationtest #Programmierung #Python #TestEngineering #Testframework #Testmanagement #Testsuites #Tools #Tools




Show Original Post


10.01.2026 21:34
nhpaul (@nhpaul@sigmoid.social)

I continue to work on o-o, a CLI for running my ML jobs (or any jobs) in the cloud. The recent release focused on bug fixing and adding unit tests. The project now has over 90% testing code coverage, which I gotta say, is just a really nice place to be.

homepage: o-o.tools/
source: sr.ht/~ootools/oocli/

#MLOps #Python #Testing #DataScience




Show Original Post


10.01.2026 21:24
philcowans (@philcowans@universeodon.com)

Does anyone know the right way to create an #email header containing a colon with the email package from the #Python standard library? If I just give it a string containing one I think it confuses it with the field name delimiter and attempts to fold the header in an invalid way, which results in an exception from a later validation stage.

I'm not even sure what's supposed to happen here. Are unescaped colons permitted in the values of email headers, and therefore there's a bug in the folding algorithm, or do they need to be escaped somehow? If so, are escaped words the right way to do it? I'd imagine that having a colon in an email subjet came up before the advent of MIME.




Show Original Post


10.01.2026 21:15
alexzap (@alexzap@mastodon.social)




Taking Stock of the Tech-Centered Market in 2025 & Outlook for 2026

Python-Led & Third-Party FinTech Macro-to-Micro SWOT Analysis of the Growing Tech Segment Share Across 11 GICs: A Holistic View

👇

medium.com/@alexzap922/taking-





Show Original Post


10.01.2026 20:55
isazajuancarlos (@isazajuancarlos@mastodon.social)

Transforma tu negocio con nuestros servicios de Python. Desde MVPs y chatbots inteligentes hasta scripts personalizados. Aumenta la eficiencia y automatiza con Xiliux. ¡Cotiza hoy mismo!

🔗 xiliux.com





Show Original Post


1 ...675 676 677 678 679 680 681 682 683 684 685 ...1584
UP