python

Back Open Paginator
30.07.2025 23:11
paco (@paco@infosec.exchange)

My #LLM IDE generated some #Python code for me. It spits out a config file for another program, and then runs the program. I wonder why that program has trouble reading the YAML file we are generating...

config_path = os.path.join('output', f'config-{region}.yaml')
os.makedirs('output', exist_ok=True)
with open(config_path, 'w') as f:
json.dump(config, f, indent=2)




Show Original Post


30.07.2025 23:01
jimcarroll (@jimcarroll@mastodon.futurist.info)

Because if you don't know the details of what airplanes are flying past your deck while you work outside, you won't know.

#python #vibecoding #raspberrypi #raspberrypi5





Show Original Post


30.07.2025 22:46
kevinrenskers (@kevinrenskers@hachyderm.io)

New article!

Automate #Python package releases

loopwerk.io/articles/2025/auto

Super useful now that I maintain multiple #Python and #Django packages 😅




Show Original Post


30.07.2025 22:40
pyladiescon (@pyladiescon@fosstodon.org)

💜 We’re looking for volunteers!

Join us for #PyLadiesCon 2025, our 3rd global Python conference celebrating diversity in tech 🌍🐍

📣 Check out the blog with all the details: conference.pyladies.com/2025-c

#Python #PyLadies





Show Original Post


30.07.2025 22:25
feoh (@feoh@oldbytes.space)

@paco Not just faster, honestly? All around better and more capable.

For a full time Pythonista like myself, #uv has been a life changer!




Show Original Post


30.07.2025 07:44
posts (@posts@brunovellutini.com)

EvoDevo Papers’ improved website and Bluesky support

The newest version of EvoDevo Papers is online, and it’s the biggest update since the last codebase refactoring. I’ve made several additions and improvements to the website and implemented cross-posting to Bluesky.

Why have a website?

For many years, EvoDevo Papers’ posts were only on Twitter. Everything was well—until it wasn’t. When I moved it to Mastodon, all the 1.6k posts remained behind. The account was reborn with zero posts and followers. Posting continued in the Fediverse. However, when the botsin.space instance closed down and EvoDevo Papers migrated to biologists.social, the newer posts were also lost. The contents in third-party social media platforms, even of the finest kind, like the Fediverse, are ephemeral.

Ephemeral is fine and fits the original motto of streaming the latest papers. But, over the past years, I began to recognize that having a curated collection of works from a field can have a lot of value and deserves a persistent archive. That’s why when I refactored the bot, I made a website for EvoDevo Papers. It is meant to serve as the main source of content, while the posts are syndicated to third-party social media sites (following IndieWeb’s POSSE practice).

Website updates

The original website was minimal. It had a single page showing the five latest posts, the feeds, and an about section. There was no way to explore older posts or check in more detail the indexed feeds.

With the update, I made the home page simpler but more informative. There are now separate pages for the about, feeds, and posts, where you can browse the contents, and each post got an individual page linking to the associated statuses on Mastodon and Bluesky.

The website also has an RSS feed now to follow EvoDevo Papers directly from your feed reader.

Bluesky posting

In the turmoil of the Twitter exodus, supporting Bluesky posting wasn’t my priority. I was focused on making EvoDevo Papers work for Mastodon, since I believe the non-corporate nature of the Fediverse is a better and more robust option for rebuilding online scientific communities.

However, Bluesky reached a critical mass of scientists, particularly within the DevBio and EvoDevo communities, that I would like to reach. So, I’ve activated the EvoDevo Papers account there, and let the paper posting begin.

Implementing Bluesky support wasn’t trivial. It required substantial refactoring of the database models and publishing pipeline. But it was for the better. The app is now more modular and supports the addition of other accounts.

Next steps

With the refactoring of the publishing pipeline, I have the logic more or less in place to enable the posting of papers from the archive, not only the latest publications. This allows us to publish a random older paper, for example, on days when there are no new papers. This would increase the potential interactions.

For the same reason, I’m also considering increasing the frequency of posting to two times a day (currently it’s only once per day). Although I’m not convinced yet. I like the low posting rate; it feels less overwhelming. Who needs more social media posts on their timelines anyway?

Finally, I’m also importing the entire history of posts back from 2015 to consolidate the database and celebrate the ten years of EvoDevo Papers online.


URL: brunovellutini.com/posts/evode

#bibliography #django #evoDevo #python #webDevelopment





Show Original Post


27.07.2025 04:53
mr_daemon (@mr_daemon@untrusted.website)

Well, it's time. I'm releasing my tool that lets you aggregate patch and update status of hosts over ssh on unix-like systems.

The github repository has details as well as links to the exhaustive documentation.

It is my hope that at least another person finds it useful

github.com/mrdaemon/exosphere

#SRE #HomeLab #Python #unix #linux #freebsd #SysAdmin





Show Original Post


23.07.2025 15:54
christianrickert (@christianrickert@23.social)

I've been using my #Python script to update my #venv #modules via #pip for a while - now on #macOS, #Windows, and #LINUX.
It avoids leaving conflicting modules by running with two passes.

github.com/christianrickert/up




Show Original Post


22.07.2025 22:50
taylor (@taylor@social.axfive.net)

Made a #Blender rendition of this piece by @evansky_arts : https://mastodon.social/@evansky_arts/114886154370491434

Took me about 5 hours so far. Very much of this is unfinished. The lighting effect in the sky is too smooth and not bright-looking enough, there are no cherry blossoms, the clouds aren't right (and I think are supposed to be clusters of cherry blossoms in the original work), the lanterns aren't finished or hanging off anything, many branches are still missing, and the main branch isn't done, but I was intending it to be a pretty quick and rough reproduction, so I'm happy enough with where it is at this moment.

I may return to it at some point to work on it more and improve it, but not anytime soon.

#Blender #3DArt #Python #Snake #Blender3D #Blender3DArt #Moon #Sky #Night #Clouds





Show Original Post


06.07.2025 16:20
stylus (@stylus@social.afront.org)

Doing a little iterative code development in micropython on an emulated m68k mac... I might not be so happy with the loading time if a real floppy was involved, but in an emulator it's heckin' snappy.

Clearly I need to tackle the issue that you can't REALLY draw to the same window as the terminal....

#micropython #python #retroComputing #retro68 #macintosh #m68k





Show Original Post


22.06.2025 14:29
HaraldKi (@HaraldKi@nrw.social)

Looking for a new project.

Anyone need help with a Java, Typescript, Python (or elisp, bash, others potentially) open source project.
Issue on a git repo (like codeberg) and I might take a look.

#codeberg #java #javascript #typescript #python #programming

What code I usually write? See there: codeberg.org/harald




Show Original Post


29.04.2025 12:47
villares (@villares@ciberlandia.pt)

Would you like to learn the very basics of #programming? I can teach you. I like to teach #Python in the context of making drawings.

If you already know how to program but would like to learn some Python or some #CreativeCoding, I can help too! Maybe you know someone who would enjoy this?

All my teaching materials are free and open, but I need income to keep producing them. Some generous people make small recurring donations. Check out abav.lugaralgum.com/links

Schedule a free chat with me and we can discuss further details like time availability and my rates.

[Updated to improve text.]




Show Original Post


1 ...1605 1606 1607 1608 1609 1610 1611 1612 1613 1614
UP