hugovk, to python
@hugovk@mastodon.social avatar

🎉 We just had 3 successful core dev votes in parallel!

Each dev focuses on different yet important areas, reflecting the size & breadth of the CPython project.

Please give a big welcome to:

🍏 @freakboy3742 added iOS support ()
https://discuss.python.org/t/vote-to-promote-russell-keith-magee/53821

🐛 Tian Gao works on the pdb debugger
https://discuss.python.org/t/vote-to-promote-tian-gao/53895

🏎️ @mdboom works on benchmarking in the Faster CPython team
https://discuss.python.org/t/vote-to-promote-michael-droettboom/54227

That's 5 new so far this year, same as last year 🚀
https://hugovk.github.io/python-core-devs/by-year.html

nedbat, to python
@nedbat@hachyderm.io avatar

Mostly you shouldn't subclass built-in types. But if you do, dict subclasses can define missing: it's called when a key is missing. Instead of hiding a dict in a function as a cache, how about hiding a function in a dict!? A Fibonacci dictionary:

pyOpenSci, to KindActions
@pyOpenSci@fosstodon.org avatar

💜 We would love nothing more than to have you join our ever-growing community of volunteers! We're currently expanding our editorial board, and could use your help.

Volunteer editors:
🔍 find reviewers
👷‍♀️ oversee the review process
🌸 support submitters
✅ determine package acceptance

Questions? Drop 'em in the comments below!

Learn more: https://www.pyopensci.org/blog/pyos-call-for-editors-may-2024.html

ThePSF, to python
@ThePSF@fosstodon.org avatar

We want your vote! Every voting-eligible PSF Member (Supporting, Managing, Contributing, and Fellow) needs to affirm their membership to vote in this year’s Board election to ensure that we meet quorum as required by our bylaws 🗳️
https://pyfound.blogspot.com/2024/06/affirm-your-psf-membership-voting-status.html

leahawasser, to python
@leahawasser@fosstodon.org avatar

i wrote another blog post on my personal experiences with packaging as a teacher, a user and a maintainer. And how giving a tech talk on a big stage felt! (hint: scary!)

i'm curious if others have experienced imposter syndrome and/or challenges navigating our packaging ecosystem / data science ecosystem! let me know what you think. 💗

https://www.pyopensci.org/blog/python-packaging-friends-dont-let-friends-package-alone.html

phildini, to python
@phildini@wandering.shop avatar

Oh this is extremely handy... someone on the #python core team seems to be really focusing on CLI utilities and I love this
https://mastodon.social/@treyhunner/112554261035770847

ThePSF, to python
@ThePSF@fosstodon.org avatar

There are still a few days left to take advantage of the latest package from @nostarch: Dive into DevOps!
You can pick up 5 great titles for just $1, or go up to $35 for all 22 items in this "indispensable IT library".
Either way, be sure to use "Adjust Donation" to choose how much of your purchase goes to the PSF🐍❤️

https://www.humblebundle.com/books/dive-into-dev-ops-no-starch-books

https://www.humblebundle.com/books/dive-into-dev-ops-no-starch-books

retiolus, to python
@retiolus@mamot.fr avatar
bbelderbos, to python
@bbelderbos@fosstodon.org avatar

@treyhunner does a deep dive of #Python's many command-line utilities. 🙏 🔥

First of all it's good to know that you can use -m to run a Python module as if it were a script 💡

There are some nifty ones like inspect / json.tool / zipapp. You'll surely pick up new ones ... 💪

treyhunner, to python
@treyhunner@mastodon.social avatar

Well, if you're trying to delete a block of code but you don't want to lose it, and you're using Git (or a similar version control system) I would commit that code to Git and then delete it.

Read more 👉 https://trey.io/a5O8qe

dwarmstrong, to python
@dwarmstrong@fosstodon.org avatar

Sometimes photo files are created with prefix "IMG_*", or saved in uppercase, or with suffix ".jpeg", or something else entirely. So I created a python script to rename photo(s) using the datetime_original attribute from EXIF metadata in format YYYYMMDD_HHMMSS.jpg.

Setting this up with a daily cronjob will automatically locate and rename new photos to the desired format:

https://www.dwarmstrong.org/rename-photos/

#Python #Programming #Linux

mblayman, to python
@mblayman@mastodon.social avatar

🐍 On this Building SaaS with #Python and #Django, I started a new feature to add a PDF report bundle to my homeschool app. This will be useful when a user completes their school year and needs records of all the year's activities. https://www.youtube.com/watch?v=cM2sA1AP3fM

o76923, to python
@o76923@kitty.social avatar

I still think it's nuts that 's best solutions for rendering are a bunch of wrappers around CairoSVG with the two next best solutions being use Inkscape from the command line and wand, a wrapper around ImageMagick.

phildini, to fediverse
@phildini@wandering.shop avatar

I wonder if @devs keynote is going to end up being relevant to my @NorthBayPython talk about building an #ActivityPub server in #python 🤔
https://fosstodon.org/@haubles/112575770024394167

nedbat, to python
@nedbat@hachyderm.io avatar

I guess the time has come. I think I have to finally figure out what #Python's sys.meta_path does...
https://docs.python.org/3/library/sys.html#sys.meta_path

CyrilBrulebois, to python
@CyrilBrulebois@mamot.fr avatar

Just reminded that #Python's considerations to anything packaging-related is a trashfire: deprecating distutils, including distutils.version, pointing to an external module that provides “Reusable core utilities for various Python Packaging interoperability specifications.”

pyOpenSci, to opensource
@pyOpenSci@fosstodon.org avatar

There aren’t enough characters for us to tell you about all the incredible things that the sourmash package, a command-line tool and Python/Rust library for metagenome analysis and genome comparison using k-mers, does, but we promise that you’re going to want to check out this incredible package from Tessa Pierce-Ward, Titus Brown, and Luiz Irber!

📄 Learn more: https://sourmash.readthedocs.io/en/latest/

#OpenSource #OpenScience #Python #pyOpenSci #genomics #metagenomics

leanpub, to gpt
@leanpub@mastodon.social avatar

The Generative AI Mastery Bundle https://leanpub.com/b/the-generative-ai-mastery-bundle by Aymen El Amri is the featured bundle on the Leanpub homepage! https://leanpub.com

frankel, to python
@frankel@mastodon.top avatar

#Python's many command-line utilities

https://www.pythonmorsels.com/cli-tools/

kjaymiller, to python
@kjaymiller@mastodon.social avatar

A live stream with AI, testing, and OpenTelemetry! A little something for everyone!

Lot's of #python as well.

Also ask questions and chill as well.

https://www.youtube.com/watch?v=rytQC5QW7z4

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/5) 𝐇𝐚𝐩𝐩𝐲 𝐒𝐚𝐭𝐮𝐫𝐝𝐚𝐲! ☀️
Here are a few steps you can take to reduce your Python 🐍 image size 👇🏼

TLDR - Using slim image and multi-stage build

#mlops #python #datascience #docker

mblayman, to python
@mblayman@mastodon.social avatar

🐍 On this Building SaaS with #Python and #Django, I'm building a new feature that allows users to do bulk deletion on tasks that they create for their students' courses. https://www.youtube.com/watch?v=heWgYkMh1bw

glyph, (edited ) to random
@glyph@mastodon.social avatar

Python 3.12.3 came out a few days ago, and that means it's time for my favorite infrequently-run shell command: https://pypi.org/project/MOPUp/

gnulinux, to python German
@gnulinux@social.anoxinon.de avatar

Python-Tk: Ein Neofetch-GUI selbst schreiben Teil 2

Der zweite Teil einer Einführung in die Python3-Bibliothek Tkinter und der lange Weg zum perfekten GUI.

https://gnulinux.ch/python-tk-ein-neofetch-gui-selbst-schreiben-teil-2

mblayman, to python
@mblayman@mastodon.social avatar

You already know about 🐍 Snakes on a Plane, but how about Planes on a Serverless? At @pythonfrederick, @pierson_pat showed off the openly available plane data from 1090MHz and how he maps those flights on the web with a #Python lambda. https://www.youtube.com/watch?v=dMFWMTIyEgU

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines