python

Back Open Paginator
04.09.2025 03:52
r (@r@bsky.brid.gy)

Just cut a new release of `pypi-publish` v1.13.0! It's got internal runtime update, housekeeping, also diagnostic messages and security improvements from @yossarian.net! github.com/pypa/gh-acti... / github.com/pypa/gh-acti... #python #Packaging

Release v1.13.0 · pypa/gh-acti...




Show Original Post


04.09.2025 03:52
webknjaz (@webknjaz@mastodon.social)

Just cut a new release of `pypi-publish` v1.13.0!

It's got internal runtime update, housekeeping, also diagnostic messages and security improvements from @yossarian

github.com/pypa/gh-action-pypi / github.com/pypa/gh-action-pypi




Show Original Post


04.09.2025 03:45
lobsters (@lobsters@mastodon.social)

Sharing a mutable reference between Rust and Python lobste.rs/s/1tpdkv
blog.lilyf.org/posts/python-mu




Show Original Post


04.09.2025 03:08
fundor333 (@fundor333@mastodon.social)

More I learn about Ollama more i like it. I want to use it everywhere





Show Original Post


04.09.2025 02:12
glyph (@glyph@mastodon.social)

It's 2025 and I am still not 100% sure how to have go to sleep and wait for *either* an event from the keyboard/mouse/controller *or* an event from the network *or* a vblank interrupt without some kind of hard-coded polling timeout. Various attempts I've made at this in the past have violated thread safety rules and I'm not sure the documentation even covers all the constraints I need to preserve.




Show Original Post


04.09.2025 01:25
fundor333 (@fundor333@mastodon.social)

And now I am studing Ollama with Python for implementing LLM in some of mine tools

(fundor333.com/micro/2025/09/an)




Show Original Post


04.09.2025 00:52
ology (@ology@fosstodon.org)

Woo! 🎵 🎶

```python
from music21 import *
import random
from random_rhythms import Rhythm

r = Rhythm(measure_size=5, groups={1/3: 3})
motif = r.motif()

sc = scale.WholeToneScale('C4')

s = stream.Stream()
s.append(meter.TimeSignature('5/4'))

for d in motif:
k = random.choice(sc.pitches)
n = note.Note(k)
n.duration = duration.Duration(d)
s.append(n)

s.show() # or 'midi'
```

#Python #Music




Show Original Post


04.09.2025 00:08
monster (@monster@tech.lgbt)

With everyone being so focused on Ty and Pyrefly right now, I'd like to put a lesser known type checker in the spotlight for a second, called Zuban.

I know, yet another Python type checker, just what the Python ecosystem needs! But hear me out, this one is genuinely exciting to me.

It's made by a long time Python ecosystem contributor, who you might know for creating Jedi.

Of course, it has all the goodies you'd want these days, which is a good CLI, an LSP, being written in Rust for performance, etc.

But it also aims for Mypy compatibility with zmypy, making it a great potential option for existing projects using Mypy that just want something faster.

I reported a couple of issues which got fixed in a span of hours too!

I'd say give it a go, don't expect perfect results, but report issues if you find them :blobcatthumbsup:

#Python #notAnAd




Show Original Post


04.09.2025 00:03
ology (@ology@fosstodon.org)

Bam!

pypi.org/project/random-rhythm

#python #music




Show Original Post


03.09.2025 23:43
franciswashere (@franciswashere@mastodon.social)

facebook.com/share/p/1GiZtwp2U




Show Original Post


03.09.2025 23:01
ECardosoDev (@ECardosoDev@mastodon.social)

Pro tip em Python: List comprehensions tornam o código mais conciso e eficiente.




Show Original Post


03.09.2025 23:00
askubuntu (@askubuntu@ubuntu.social)

How to use Buildozer on WSL with last Ubuntu version? #python #android #windowssubsystemforlinux

askubuntu.com/q/1555452/612




Show Original Post


1 ...1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 ...1550
UP