Skip to main content

Search

Items tagged with: python


🐍🔐 Python lockfiles are back!

Read @brettcannon's new PEP 751 – "A file format to list Python dependencies for installation reproducibility":

peps.python.org/pep-0751/

Discuss it:

discuss.python.org/t/pep-751-l…

#Python #lockfiles #PEP751


I want to write my #Python docstrings in #Markdown, but I can't seem to find a standardised workflow and format for doing so. I've come across a bunch of tools and scripts people have hacked together, and Stack Overflow answers telling me to write code to convert the Markdown to ReStructured Text so documentation tools can understand it.

Is this really so rare that I have to take on a boat load of complexity to make it work?


PyGObject, the #Python bindings for #GTK, have recently merged support for asynchronous programming, closing an orthogonality gap between Python's async support and GTK having been single-threaded / event based since forever: gitlab.gnome.org/GNOME/pygobje…
This ends a decade of using projects such as gbulb that kindly bridged that gap.


I'm not sure he is on the fediverse, but huge kudos to long time GNOME contributor Benjamin Berg for this. This is such an amazing gift that he has worked on for the last couple of years and it really levels up PyGObject. 🤩 #Python #GNOME


I promised myself that I wouldn't return to this, but the maintainer of #PyNose while "leading a busy life" found time to grace us with a "post-mortem" to the "license confusion". Do I have to point out that it just keeps adding insult to injury?

Some interesting things we learn:

• we "mainly came from Reddit and 4Chan."
• "Certainly looks legal if Microsoft can do it."
• or maybe not… "even big companies can get licensing wrong sometimes."
• …and in general, past actions of Microsoft justify everything.
• he's the hero "who fixes unmaintained Python packages that businesses still depend on", while we're all the villains.

In the end, the biggest issue remains. The guy's so full of himself that he still didn't realize that license wasn't the real problem. The problem was that he was a complete asshole about it, and this "post-mortem" proves that he still is completely incapable of self-reflection.

• […] "pynose will continue to be shipped with Linux distributions around the world."

I wonder why would we want to do that, given that he already banned people participating in the original thread from reporting bugs.

#Gentoo #Python #FreeSoftware #OpenSource


I'm looking for a new role. I've been working professionally with #python for 12 years. For the past year and a half I've also been working with #rust.

In open source, I've contributed multiple headline features to #django and I'm a maintainer of #pyo3.

I'm based in the UK and I'm comfortable with remote work or hybrid.

My ideal role would involve both Python and Rust. I'm open to considering other roles too.

#getfedihired


I wouldn't say that #python is hard, its just different. It takes me a while to generate working code, but when I do it works. If you can handle #emacs config files you can handle #python.


Ouch. The voting page for the #Python Software Foundation (#PSF) Board of Directors 2024 Election is completely inaccessible with a keyboard.

It's hosted by OpaVote, which is presumably a third party. None of the director candidate checkboxes or bylaw change radio buttons can be navigated to, nor can their state be determined with a #screenReader to make sure I'm voting for the intended things. #accessibility


Ok, in an hour, i'll be starting this up. High temps, high effort and high complexity, what oculd go wrong? Let's dig into the #screenReader #accessibility of #jupyter notebooks, a tool prevalent in #dataScience, #python #programming in general, #machineLearning and therefore also practically all things #ai etc.
See you then over at twitch.tv/ic_null and youtube.com/@blindlycoding #goingLive #twitch #youtube #selfPromo


ok ok ok, we covered #jupyter last week. Our #datascience adventure continues with checking into the #accessibility of #google CoLab. Is it better than jupyter? Worse? Are there tools to make it better? How's a #blind person even do #ML and datascience anyway? Come see in just over 2 hours at twitch.tv/ic_null and youtube.com/@blindlycoding #python #programming #coLab #selfPromo


You can now watch the talk on "The Perfect Python Project" that I gave on Saturday at North Bay Python on YouTube. Please share and enjoy. youtube.com/watch?v=kcfERM6fcg…

#python #NBPy


So... I made noise on their official discussion spot. That means I'm locked in. uh oh :P discourse.jupyter.org/t/stream… :P #dataScience #AI #MachineLearning #jupyter #notebooks #Python #programming #selfPromo #twitch


🤢 Wow, someone raised request for an optional tab indentation support for accessibility on Blac, a popular formatter for #Python. They closed the issue and said "No, tabs for indentation are the devil. Making this configurable would go against Black's philosophy." #accessibility #indentation github.com/psf/black/issues/27…


Do you remember a couple of weeks ago when I complained that a very large #python contribution to #inkscape was poorly formatted and I felt embarrassed about pushing back and asking them to run a linter over it?

Yeah I'm not fucking embarrassed now, I'm furious. 🤬

Update: Apparently they meant a small section of it was, not the whole MR. I'm annoyed, but I'll have to take them at their word.

#llm #oss #foss #mergerequest


Nothing like a portable, cross-platform #Python setup script:

```
subprocess.check_call('git clone /[redacted].git]https://gitlab.com/[redacted]/[redacted].git /tmp/[redacted]', shell=True)
```


My friend, who has #ADHD, is looking to get into #programming, specifically #python. He's been using the official Python tutorial thus far, but I feel like he'd do much better with something like the #Rust book (practical chapters where you build small projects intermixed with reference chapters that teach the concepts). I feel that having interludes where you play a more active role will keep the whole learning process more frictionless. Does anyone know of such a thing geared towards Python?


📢La convocatoria de envío de propuestas para #PyConLatam24 ya está abierta.🎉

No pierdas la oportunidad de ser ponente en La conferencia de las personas desarrolladoras de #Python de toda Latinoamérica?

¡Envía tu propuesta! 👇
papercall.io/pyconlatam24

#Python 🐍
#PyCon
#Latam


Here is a blog post with links and references to accompany my closing keynote today at #PyConUS , on stories from a few years working on #Python packaging.

harihareswara.net/posts/2024/r…

#PyConStories


Love Python packaging? Hate Python packaging? FEAR Python packaging?

This talk was made for you, with 💜 , by our Executive Director and Founder, @leahawasser

You'll laugh, you'll cry, and you'll walk away inspired and empowered to tackle anything Python packaging throws at you. We promise.

#PyConUS #Python #pyOpenSci


🐍🧪 Python 3.13.0 is due out in October 2024 and work is underway to implement *experimental support* for PEP 703 "Making the Global Interpreter Lock Optional in CPython".

As the Steering Council noted in their acceptance of the PEP, to succeed it's important to have community support.

I wrote a little guide on how you can help test out the beta in your project, and help us find bugs in CPython:

dev.to/hugovk/help-us-test-fre…
#python #CPython #python313 #PEP703 #FreeThreaded
#JustDontCallItNoGIL


Python 3.13 beta 1 just landed.

My favorite new feature is the new #Python REPL.

Honestly, this may be my favorite feature since f-strings.

My write up on the differences between old and new REPLs:
treyhunner.com/2024/05/my-favo…


Editted to fix link. Please boost for reach if this kind of stuff interests you. Will post more on this later.

Once upon a time, there was a cool emulator frontend called Retroarch. This emulator wasn't accessible until I and a few other gamers went to them and asked about adding accessibility. An amazing person known as BarryR made it happen. Now, if you turn on accessibility mode in settings, or pass the "--accessibility" (or something like that) flag on the command line, you get spoken menus, including the emulator's pause menu, good for saving states and such. Then, using PIL and other image processing Python utilities, running a server and hooking into Retroarch, the script allowed players to move around the map, battle, talk to NPC's, ETC. The only problem was, no one wanted to test it. The blind gaming community pretty much spoke, saying that we want new games. We want cool new, easy accessibility. So that's what we have no, follow the beacon or get sighted help in the case of diablo and such. It's sad, but meh. It's what we wanted I guess. No Zelda for us. So, this is about as far as he got:

To expand on what devinprater was saying: I am working on an accessibility pack/service for Final Fantasy 1 for the NES (this was what was shown in the latest RetroArch update). The idea is similar to how Pokemon Crystal access works, but it's using the RetroArch AI Service interface to do so.
Right now, the FF1 access service is mostly done, but I need more testers to try it out and give me feedback on how it's working. Right now, you can get up to the point where you get the ship, but there's no code to deal with how the ship moves, so that still needs to be done. Likewise with the airship later on.
The service works the latest version of RetroArch, on linux and mac, but not windows. This is due to how nvda reads out the text and until the next major update to nvda (which will have a feature to fix this), it'll have to wait. If you have those, I (or maybe devinprater) can help you set it up on mac/linux to test out. The package itself is available at: (new link cause old one broke yesterday): dropbox.com/scl/fi/ggffl769fx6…
#accessibility #finalFantasy #RetroArch #blind #emulator #emulation #Python #ai #ML #MachineLearning


Workbench 46.1 is out!

flathub.org/apps/re.sonny.Work…

Happy International Workers' Day

See what's new and details at blog.sonny.re/workbench-46-1

#GNOME #GTK #JavaScript #rustlang #Python #Vala #Linux #development


👋 Career change alert!

Looking to pivot into tech & leverage my 10+ years of programming experience

🐍 Python
🦀 Rust
</> Web Development
🌐 CMS: WordPress & Wagtail
✨ Machine Learning: Torch & Tensorflow

My passion for code shines through my open-source projects! Check them out:
github.com/mush42
github.com/blindpandas

#rust #python #machinelearning #careeradvice #opentowork


The beta release for version 2 of @skytemple Randomizer is out! It's completely rewritten in GTK 4 and Adwaita and runs on Linux (Flathub), macOS and Windows!

Thanks to Workbench, Blueprint Compiler and GNOME's HIG redesigning the UI was actually a lot of fun, and the new UX just feels so nice and satisfying to work with.

Next up is migrating the SkyTemple main app to GTK 4 as well!

download.skytemple.org/randomi…

#pmd #pokemon #GTK #Adwaita #Workbench #blueprintcompiler #python


Python has seen significant performance improvements in the last few releases. MarkupSafe has a C extension to speed up operations, but it's now *slower* in many cases than the plain Python implementation. Having a C extension increases the difficulty of maintenance, builds, releases, and installs. I'm wondering if it's time to drop the speedups. github.com/pallets/markupsafe/… #Python #MarkupSafe #Flask


Jupyter notebooks in 2024 is still not accessible.

In his #PyCascades talk, Venkatesh Potluri (who is blind) noted that popular Python libraries like matplotlib etc still can't embed alt text.

He made a patch for it, but the notebooks still don't pick up alt text.

#accessibility #Python #jupyter


Malicious code in Python packages hits Discord bot platform with 170,000 users, among others: checkmarx.com/blog/over-170k-u…
#Python #PyPI #SupplyChain


Workbench 46 is out! 🛠️

flathub.org/apps/re.sonny.Work…

Actually it was a couple of hours ago before GNOME 46 but I didn't want to steal the show 😎

Here are the highlights 💡

Inline diagnostics for #Rust :rust: and #Python :python:

New Library demos: 📚

"Snapshot" to demonstrate one of GTK4 coolest feature.

"Dialog" and "Message Dialogs" to demonstrate libadwaita 1.5 new responsive dialogs.

26 demos ported to Python
5 demos ported to Vala

#GNOME #GTK #development #Linux #Python #Rust


Hi !

My company is looking for new #RustLang & #Python devs 😋

We are building an open-source e2e encrypted file sharing software: github.com/scille/parsec-cloud

More info: parsec.cloud/wp-content/upload…

🌎 France in full remote
⏰ Full-time
💲 36k-63k€

Retoot appreciated 🙏

#hiring #job #remotework


After my birthday passed, I'm working on a Banner Previewer and, honestly, despite being simple, it's one of the coolest things I've ever done.

It's still WIP: gitlab.gnome.org/CleoMenezesJr…

#GTK #GNOME #Python #Libadwaita


@dangerzone is an open source app that uses container sandboxes to create a "virtual photocopy" of a document.

This is to protect journalists and others from malware & trackers that might be implanted in documents sent to them by someone pretending to be a confidential source.

We (@freedomofpress) are hiring a software developer on a 6 month contract to work on the project. Remote, $70/hour, >=3 years of Python dev experience.

More info here:
grnh.se/1d1255f45us

#GetFediHired #Python


Is this Python diagnostics coming to Workbench 46 ? :python: :gnome:

Why yes it is!

Collaborative effort with @janvhs and @capypara 🙌

We are using pylsp and Ruff.

I'm also very excited to share that all 100+ demos have been ported to Python. Thanks to all contributors!

#Python #gtk #pygobject #development #GNOME


Other than the fresh new default, 46 will come with a fresh set of wallpapers to pick from. Ready for some new pixels?

blog.jimmac.eu/2024/gnome46-wa…

#gnome #gnome46 #release #inkscape #blender3d #python


Get started writing that #app in your favourite programming language!

developer.gnome.org/documentat…

Then start working on those features, with tutorials for #Blueprint, #JavaScript, #Python, #Rust and #Vala 🚀

apps.gnome.org/Workbench/

#GNOME #Workbench #Opensource #FOSS


New Changeset newsletter is out:

buttondown.email/Changeset/arc…

Guides on #opensource project management, caregiving and persuasion, arguing responsibly, and asking more effective questions. And: celebrating Beautiful Soup's 20th anniversary.

#Python #maintainership #FLOSS #burnout #sustainability #management


pymcurl is a new #python #libcurl binding pypi.org/project/pymcurl/