Search results

A @djangonautDjangonaut Space cohort is focusing on django-simple-deploy from now through the end of April. It's so nice to have a small, focused group of people to work with and move this project forward!

This has put renewed focus on the dsd-vps plugin. I tabled that last fall, because there are so many questions to sort through when automating a VPS deployment process. The 0.1.1 release (very preliminarily) supports this workflow now:

$ uv pip install dsd-vps
# Add django_simple_deploy to INSTALLED_APPS.
$ python manage.py deploy --platform digital_ocean --automate-all --ssh-key </path/to/public/key>
0

After fighting for... days?... to figure out why using `@dataclass_transform` wasn't showing the expected intellisense in VSCode, I finally figured out that the Jedi language server doesn't seem to support PEP 681 at all?!

I didn't have access to Pylance (because it's proprietary), but open-vsx.org/extension/detachh does seem to work.

(doing a bananas prototype where models can be derived just from typehints)

0
0

RE: fosstodon.org/@pycon/116212187

It is the ten year anniversary of my PyConUS 2016 keynote. I had hoped to attend this year to visit old friends and make new ones.

With no corporate sponsor, the cost in money, time, and effort is too much. My cancer treatment will not end until July. While my daily chemo drugs are self administered, they are considered hazardous. The rules tell me that they must be under lock and key while traveling.

No matter how I fiddle numbers, the logistics just don't work out.

Maybe 2027 will be my year.

@pyconPyCon US

0
0
0
0
0
0
0

Over the last few weeks, I focused on removing overhead from the request hot path in Django Bolt. The results from v0.6.4 → v0.7.0 are honestly better than I expected. I remember when I put 60k RPS in GitHub README because that was the maximum I was able to get from this. Now the same endpoint under the same condition achieves 160k RPS.

github.com/dj-bolt/django-bolt

Here is how I did it.

0
0
0
0
0
0
1
1
0
0
0
1
0

Cool, cool. wants to be hip and have types too, but so then what does this print?

for x in b"hello":
print(type(x))

0
0

The is now LIVE! This is the moment you've all been waiting for!

We're really excited to launch PyOhio 2026 with a bang, and we really want to hear what you have to say! Our CFP is open for ANYONE to submit, regardless of experience level! Our CFP will be open until April 19, AoE, so get those proposals started! You can submit up to 3 talk proposals using the form here: pretalx.com/pyohio-2026/cfp

Boosts are appreciated, and thank you for your support!

Artist conception of the of the NASA Space Launch System rocket in flight in a clear blue sky.  The word "PyOhio 2026 IS GO!" have been superimposed over the sky background.

Image credit: NASA/MSFC, Public domain, via Wikimedia Commons
0
0
0

FR - (English follows - see comments) Apprendre Python pour mon usage de données en sciences sociales est l'un de mes objectifs actuels.
J'avais de graaaaaaaaandes ambitions pour cette semaine de relâche qui s'achève déjà (bon, on a eu une heure de moins avec le retour à l'heure d'été — ça compte un peu, non ?)
Alors…
✔️ Suivi (en ligne) l'excellente introduction de @emilienschultz dans le cadre de @urfistlyon@social.siences.re : une formation qui propose une réflexion sur ce que fait un langage informatique à nos données — avec toutes ses implications —, bien au-delà des considérations purement techniques ou "utilitaires". Je ne pourrai malheureusement pas assister aux deux séances suivantes, offertes en présence…
✔️ Récupéré quelques manuels et tutoriels pour me lancer dans l'aventure
✔️ Et, ce qui est toujours essentiel pour moi : du "contexte". En l'occurrence, le documentaire accessible en ligne : Python, The Documentary (Cult. Repo) — recommandé par Émilien lors de la formation. Une plongée fascinante dans la création de Python — né d'un échec —, son développement, les défis de gouvernance d'une communauté qui n'a cessé de s'élargir, quelques-unes de ses crises, et l'intégration — tardive mais réelle — des femmes de la tech, avec l'émergence des , et aussi l'une de ses figures phares : @mariattaMariatta 🤦🏻‍♀️ :python: . Le documentaire raconte l'histoire principalement du point de vue des fondateurs et premiers développeurs plutôt que de la communauté dans son ensemble — il reste sans doute beaucoup à dire —, mais c'est une magnifique introduction à ce qui est devenu l'un des langages informatiques incontournables.

Et maintenant... plongée dans les choses sérieuses : du python !

youtu.be/GfH4QL4VqJ0

ENG - Learning Python for data work in the social sciences is one of my current goals.
I had graaaaaaaat ambitions for this spring break week, which is already drawing to a close… (we did lose an hour to daylight saving time — that counts for something, right?)
So…
✔️ Followed the excellent introductory session by Emilien Schultz (Urfist de Lyon): a course that invites you to reflect on what a programming language actually does to our data — and all that implies — well beyond purely technical or "utilitarian" considerations. Unfortunately, I won't be able to attend the two following sessions, which are offered in person…
✔️ Tracked down a few manuals and tutorials to get the adventure started
✔️ And, as always essential for me: some "context." In this case, the documentary available online — Python, The Documentary (Cult. Repo) — recommended by Emilien during the session. A fascinating dive into the creation of Python — born out of a failure —, its development, the governance challenges of a community that never stopped growing, its near-disappearance, and the — belated but real — inclusion of women developers, with the rise of and one of its leading figures, @mariattaMariatta 🤦🏻‍♀️ :python: . The documentary tells the story primarily from the perspective of the founders and early developers rather than the broader community — there is doubtless much more to be said —, but it is a wonderful introduction to what has become one of the most essential programming languages around.

Right. Time to open a terminal and write some actual code !

0

FR - (English follows - see comments) Apprendre Python pour mon usage de données en sciences sociales est l'un de mes objectifs actuels.
J'avais de graaaaaaaaandes ambitions pour cette semaine de relâche qui s'achève déjà (bon, on a eu une heure de moins avec le retour à l'heure d'été — ça compte un peu, non ?)
Alors…
✔️ Suivi (en ligne) l'excellente introduction de @emilienschultz dans le cadre de @urfistlyon@social.siences.re : une formation qui propose une réflexion sur ce que fait un langage informatique à nos données — avec toutes ses implications —, bien au-delà des considérations purement techniques ou "utilitaires". Je ne pourrai malheureusement pas assister aux deux séances suivantes, offertes en présence…
✔️ Récupéré quelques manuels et tutoriels pour me lancer dans l'aventure
✔️ Et, ce qui est toujours essentiel pour moi : du "contexte". En l'occurrence, le documentaire accessible en ligne : Python, The Documentary (Cult. Repo) — recommandé par Émilien lors de la formation. Une plongée fascinante dans la création de Python — né d'un échec —, son développement, les défis de gouvernance d'une communauté qui n'a cessé de s'élargir, quelques-unes de ses crises, et l'intégration — tardive mais réelle — des femmes de la tech, avec l'émergence des , et aussi l'une de ses figures phares : @mariattaMariatta 🤦🏻‍♀️ :python: . Le documentaire raconte l'histoire principalement du point de vue des fondateurs et premiers développeurs plutôt que de la communauté dans son ensemble — il reste sans doute beaucoup à dire —, mais c'est une magnifique introduction à ce qui est devenu l'un des langages informatiques incontournables.

Et maintenant... plongée dans les choses sérieuses : du python !

youtu.be/GfH4QL4VqJ0

0

I saw a TIL post on bsky today about using '/' with pathlib.Path's. Some other features recently added to
- itertools.batched (3.12)
- accessing re.Match groups using m[1] notation (faster than calling m.group(1)) (3.6)
- 1_000_000 is a legal syntax for 1000000 (3.6)
- command-line access to stdlib modules (python -m <name>)
- uuid (3.12)
- json (3.14)
- random (3.13)
- sqlite3 (3.12)
- http.server (3.4)
- f-strings (3.6)
- true multithreading (3.14)
- contextlib.chdir (3.11)

0
3
0
0
0
0
0
0