python

Back Open Paginator
02.03.2026 15:12
mgorny (@mgorny@social.treehouse.systems)

Oh, in other news, Wheel Variants (formerly PEP 817) is being split into smaller PEPs that will be easier to comprehend. The draft of the first split part, PEP 825, titled "Wheel Variants: Package Format" has been merged. We'd appreciate your feedback!

peps.python.org/pep-0825/
discuss.python.org/t/pep-825-w

#Python #packaging




Show Original Post


02.03.2026 15:07
moof (@moof@cupoftea.social)

I'm looking for guidance on #python and #uv best practices. I'm developing a small web api with a bunch of components that I'm hoping will be in reusable libraries.

The traditional way to do this would be to just develop the app, with the libraries inside a number of packages in the app root, and then somehow transplant those packages into separate repositories and tweak the original app's dependencies, sometimes with much swearing.

Then there was pip install -e, which at least allowed you to edit the packages as you developed against them.

Now uv seems to have the concept of a workspace which seems to assume a single git repository for all the app and associated libraries, which seems the opposite of what I want, as I would like to start with the separate repositories to begin with.

Is it expecting me to pull the separate repositories as git submodules?

How do I lay this out correctly in the most uv-friendly way?




Show Original Post


02.03.2026 14:58
janmr (@janmr@mathstodon.xyz)

Assignment Expressions was a controversial enhancement to the Python language and played a central role in Guido stepping down as BDFL peps.python.org/pep-0572/ mail.python.org/archives/list/ #programming #language #python #pep





Show Original Post


02.03.2026 14:57
andreas3000 (@andreas3000@mastodon.social)

đŸŽ” AudioMeta Python 1.1.0 is out !

Library & CLI for audio metadata (MP3, FLAC, WAV).

New:
- opt-in include_raw_binary_data
- MusicBrainz Artist ID (read/write + CLI).
- Breaking: include_cover/--no-cover removed; use include_raw_binary_data=True for raw/cover.

PyPI: pypi.org/project/audiometa-pyt
GitHub: github.com/BehindTheMusicTree/




Show Original Post


02.03.2026 14:50
cupz (@cupz@mas.to)

aaand we're off doing the #7drl challenge. This time I'm collaborating with more moonbrainers, with @robotkikker on the arts and deuterium coding and hopefully arting too. We'll make a weird #dream themed #roguelike.

I quickly wrote some game-ish stats in gnumeric, and monkeypatched a #python ods-parser so I can feed it some delicious #spreadsheets All these names will change so no spoilers here, its just enough to get some mechanics going.





Show Original Post


02.03.2026 14:38
official_aptivi (@official_aptivi@mastodon.social)

Aptivi Development Toolkit (ADT) will be available shortly!

This will be a drop-in replacement for the older shell-based toolkit!

officialaptivi.wordpress.com/2




Show Original Post


02.03.2026 14:37
2026 (@2026@officialaptivi.wordpress.com)

Aptivi Development Toolkit (ADT) availability announcement

Earlier, we have worked on the shell-based development toolkit that allowed users to build projects and applications more efficiently with the use of shell scripts. We were proud when we had released the toolkit under the tools repository in GitHub.

However, the problems that followed it, including inconsistency in the vendor scripts structure (one shell file for Linux and macOS vs. various batch files for Windows), and maintenance burdens, caused us to implement the second-generation development toolkit, which we’ll announce below.

Today, we are very excited to announce that the Aptivi Development Toolkit (ADT) implementation is now finally finished!

However, we are going to make this toolkit available shortly, as we are conducting further tests to the toolkit to ensure that it works as intended on multiple projects, such as our public projects. Without further ado, we’ll tell you about some of the key features of how ADT will transform your development experience when working on projects:

But, why Python? Why not C# in .NET? Because Python is a scripting language, while C# is more suited for applications. We are very grateful to explore new opportunities moving forward with the ADT toolkit!

The initial version will be released as a drop-in replacement for the script-based development toolkit, but you can still use the older toolkit under a new, archived branch.

Please note that you’ll have to obtain Python 3.10 or greater to be able to use this toolkit without any problems.

#ADT #AptiviDevelopmentToolkit #BuildSystem #news #Python #Tech #Technology #update



Show Original Post


02.03.2026 14:29
Posit (@Posit@fosstodon.org)

So many exciting events... with upcoming CFP deadlines! Which ones will you submit to?

🐍 SciPy (Jul 13-19, Minneapolis, MN): Mar 4 pretalx.com/scipy-2026/cfp
💊 R/Medicine (May 4-8, Virtual): Mar 6 rconsortium.github.io/RMedicin
đŸ”” UseR! (July 6-9, Warsaw, Poland): Mar 8 user2026.r-project.org/

#RStats #Python





Show Original Post


02.03.2026 14:24
mathsppblog (@mathsppblog@fosstodon.org)

How do you collapse runs of adjacent spaces in #Python ?

That is, shorter runs of 2+ consecutive spaces so there's only 1 space there?

I can't come up with a simple/straightforward way to do it with `str.join` and I'm surprised...

What am I missing?




Show Original Post


02.03.2026 14:10
mgorny (@mgorny@social.treehouse.systems)

And non-zero version epochs in #Python are now officially discouraged. Not that anyone used them.

packaging.python.org/en/latest

#Gentoo




Show Original Post


02.03.2026 13:46
bbelderbos (@bbelderbos@fosstodon.org)

Don't get me wrong, the learning curve is real!

However Python devs have a head start — you already think in types, you already care about elegance + clean code.

Which tip would've helped you most? Or any other ones?

#Python #Rust #LearnRust #PythonTips #SoftwareDevelopment




Show Original Post


02.03.2026 13:39
TechKeysX (@TechKeysX@mastodon.social)

How to Join tuples in Python explained - S1 EP06 P4 -





Show Original Post


1 ...397 398 399 400 401 402 403 404 405 406 407 ...1591
UP