Skip to main content

Search

Items tagged with: Python


🤢 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


A part of #Rustlang that doesn't get mentioned but is a ridiculous quality of life boon:

dbg!()

Just #[derive(Debug)] on a struct and print it. Suddenly you get insight into what's going on. Very rarely do you need to write your own print.

Insert a dbg in the middle of anything

let diffi = debug!(diffs).iter();

and you get a message with line number and the name of variable:

[src/lib.rs:192:19] diffs = [16, 86, 11]

Not even #Python has that!

#coding #softwareengineering #programming


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


Just used my #python skills to do a simple die roll from memory for some RP we are doing! Yes!


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/


This year will be the 20th anniversary of @leonardr's #Python screen-scraping tool Beautiful Soup.

harihareswara.net/posts/2024/c…

Please contact me if you'd like to contribute to the celebration by any of:

* contributing to a "how Beautiful Soup was important to my life or career" anthology
* helping edit and publish that anthology
* funding printing the book
* throwing or speaking at a party on or around May 19th, 2024
* helping upgrade Leonard's PyCon travel so it's not just economy/coach


Sneak peek into the first episode of Hidden Figures of Python!

Meet Joanna Jablonski!

She's written lots of great articles for RealPython, blogged for the Python Language Summit, and recently authored a PEP!

Subscribe to not miss the episode release!

#Python #HiddenFiguresOfPython #thePSF #DiversityAndInclusion


#Workbench has been added to the showcase on gjs.guide, the #GJS documentation site!

gjs.guide/showcase/#workbench

We want newcomers to know there's over 100 API demos in JavaScript, alongside implementations in Python, Rust and Vala.

Get started with #GNOME in #JavaScript or #Python, and you'll have an expressive platform to learn #Vala and #Rust!

welcome.gnome.org/


Happy 30th to #Python 1.0.0, announced by Guido van Rossum on 27 Jan 1994 in comp.lang.misc! 🎂 🎈 3️⃣0️⃣ 🍾 🎉

---

Python 1.0.0 is out!

Guido van Rossum
27 Jan 1994

--> Tired of decyphering the Perl code you wrote last week?

--> Frustrated with Bourne shell syntax?

--> Spent too much time staring at core dumps lately?

Maybe you should try Python, the next generation object-oriented
scripting and prototyping language, with a *readable* syntax.

---

Read in full:
groups.google.com/g/comp.lang.…


The #Kivy UI framework for #Python has been completely inaccessible to screen reader users for many years. But my colleague Arnold Loubriat is working on fixing that, using #AccessKit, particularly the Python bindings that he developed. There's still a long way to go on this project, but he has posted his work in progress here: github.com/DataTriny/kivy/tree… And here's the tracking issue: github.com/kivy/kivy/issues/85…


Workbench 45.4 is out 🛠️

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

• Restore on-disk projects on start
• Restore scroll and cursor positions on format and Run
• Add "Copy" and "Select All" to Console
• Add Vala formatter support
• Add WebP image format support
• Library: Add "Context Menu" demo
• Library: Add "HTTP Server" demo
• Library: 12 demos ported to Python, 4 to Vala and 2 to Rust

Happy hacking / learning / prototyping

#Linux #development #GTK #GNOME #libadwaita #Rust #JavaScript #Python #Vala


On December 1st, due to community involvement, the Cyber Resilience Act (CRA) passed with much better language for open source communities, read all about it! #python #CyberResilience pyfound.blogspot.com/2024/01/C…


I was laid-off a few weeks ago and am looking for a new role. If anyone is looking for an experienced backend engineer who loves to build products & teams then please reach out or connect!

I have experience with #Python, Rust, lots of networking background, and more. Open to remote or hybrid roles in near Boston.

linkedin.com/in/patrickcloke/

#fedihire


New #python-dbusmock release with lots of great contributions from @3v1n0 and @whot !

github.com/martinpitt/python-d…

There's auto-generated API docs on martinpitt.github.io/python-db… as well now.

#qa #testing #dbus #mock #release