Neue Episode: @shezi , Dominik und @jochen unterhalten sich über Arrays und Sequenzen: https://python-podcast.de/show/arrays-und-sequenzen/ #Python
This is a nice new #Django 5.1 feature. I tend to work on websites that allow all access or no access except for a few marketing/signup pages. https://mastodon.world/@davidfstr/112484705392388791
This #Python article from Jacob Padilla (not on Mastodon?) that builds #AsyncIO from scratch is well worth your time. 🎩
https://jacobpadilla.com/articles/recreating-asyncio#yield-to-await
Django: Getting a full model instance from a Subquery
New release 1.5.0 of scikit-learn is out: https://github.com/scikit-learn/scikit-learn/releases/tag/1.5.0
I have just released Blacknoise 1.0.
In versioning terms it's a big jump from the previous 0.0.6 release. Code-wise nothing much changed. The 1.0 version should communicate that I consider the package to be production-ready (after using it in production for two months) and also that I intend to continue maintaining the package.
Get it while it's hot:
https://pypi.org/project/blacknoise/
Now that Python's default tracebacks are becoming colorized as part of 3.13, it would be fun to also make the filenames terminal hyperlinks with the file:// scheme, so clicking them would open them with the system handler.
(here's how that works: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
unfortunately there's no agreed way to also link to a specific line (yet))
The difference between “continuous deployment”, “continuous delivery” and “continuous integration” is the difference between the eternal torments of sisyphus, tantalus and prometheus, respectively
At the airport en route to #PyConUS and feeling all kinds of feelings but let me start with this one, which too often remains unstated in the constantly frustrating and difficult world of software development:
I love Python. I love the Python community. It is such an enormous array of gifts (the code, the ecosystem, the social events) that has enabled so much of my career and my *life* that I want to express my gratitude.
Now in public beta: 1Password SDKs for Python, Javascript, and Go 🎉
Available as open-source libraries, the SDKs can be used to create, read, update, and delete items saved in 1Password with more features on the way.
Share your thoughts below.
Come for wisdom on tox & Nox – stay for unrelated gems that will improve your life! #python #video
https://youtu.be/ImBvrDvK-1U https://mastodon.social/@treyhunner/112419178337248517
Sieht so aus als ob es dieses Jahr einen pytest dev Sprint gäbe: https://github.com/pytest-dev/sprint @the_compiler 🥳
Bis zum 26. April um 18 Uhr könnt ihr noch am Gewinnspiel teilnehmen, um das DevOps-Buch (http://devops-buch.net) von @svij zu gewinnen!
Näheres dazu in den letzten beiden Folgen!
Neue Episode: @svij, Dominik und @jochen unterhalten sich über DevOps (Redux): https://python-podcast.de/show/devops-redux/
OH: Dance like no one is watching, love like you’ve never been hurt - but code like all your repos are public.
🎲 Do you like Python's little CLIs? For example:
$ python -m http.server
$ python -m webbrowser https://www.python.org
$ python -m uuid
$ python -m calendar
What about adding one to `random`?
$ python -m random curry "fish n chips" tacos
curry
$ python -m random 6
6
$ python -m random 2.5
1.6423361547011504
Give your feedback on my proposal at
https://discuss.python.org/t/command-line-interface-for-the-random-module/51304
If there's support we *might* be able to get it into 3.13 before May's beta cutoff! 🤞
Wir haben noch Platz am Mittwoch beim #Python #Meetup in #Karlsruhe:
https://www.meetup.com/de-DE/karlsruhe-python-meetup/events/299651759
Ich würde mich freuen, wenn ihr vorbei kommt und ich euch was über Python logging erzählen darf :)
Congrats to the team over at Khan Academy for adding a fully interactive Python programming course!
https://www.khanacademy.org/computing/intro-to-python-fundamentals
That includes a Python coding environment in the browser and a gallery of Python programs. Filter by "Python" here:
https://www.khanacademy.org/computing/programs
A useful article on debugging Python. Tools improve the process, but in my experience the quickest way to identify a bug's root cause is methodically challenging your assumptions about what is happening. With deeper knowledge and gut feeling about the code you can be faster by reordering (not skipping!) your assumptions you need to investigate. Then check them based on the observed erratic behaviour.
https://www.syntaxerror.tech/syntax-error-11-debugging-python/
When I co-created the #pytest automated testing tool me and others insisted on a no-dependency approach because anything under test could interfere with it .... But I also was increasingly aware that a malicious merged PR in pytest, now a world wide deployed tool in many companies and governmental institutions, could cause a massive backdooring cataclysm ... At least for the first decade pytest folks were friends with each other and knew each other physically, that kind of helps a bit I guess?
🎉 The Django News Newsletter Issue 225: 🎉 Sarah "New Django Fellow!" Boyce 🎉
Djangonaut Space debrief, Flask-like Django in a single file, optimzing the system check framework, and more.
"Fixing a Bug in PyPy's Incremental GC", the promised blog post on my recent debugging Odyssey:
https://www.pypy.org/posts/2024/03/fixing-bug-incremental-gc.html
Rise and shine, Djangonauts! ☀️
We have recorded and planned a few episodes of Django Brew ☕ already, but we are curious what sort of topics you might be interested in?
Please take our poll to let us know! 🙌
And comment down below if you have other ideas!