John Snow (@jsnow64k) header
John Snow (@jsnow64k) profile picture

QEMU engineer @RedHat (Python, Backup, Jobs, AHCI, S/ATA, FDC, &c) they/them; he/him; or no pronouns (jsnow) PFP by @Alixesque

Lowell, MA
Joined February 2018
Photo by John Snow (@jsnow64k)Photo by John Snow (@jsnow64k)
I'm pleased to announce the first release of QEMU's very first official Python package, qemu.qmp! pypi.org/project/qemu.qmp/ This is version v0.0.1, and there's still a few things to iron out before we tag a stable release, but if you're curious, I'd love to hear your feedback!
1
2
12
Which, hey! I'm learning how to package things for Fedora. Here's a long Bugzilla thread where I leapt first and looked later: bugzilla.redhat.com/show_bug… But, I think it's just about done now. Thanks Kashyap, Maxwell, Miro, and Cole.
OK, so I figured out how to manage packages on GitLab and PyPI fairly well. Now to learn how to package qemu.qmp for ... Fedora. ... I have never once in my life actually written a specfile, so this is going to be fun.
1
Uh, uh, uhhh! It's going OK, but it's harder than I thought. I think I'm closing in on something everyone's mostly happy with. And then maybe I can actually think about something else besides this package for a change!
computers: I don't recommend them, personally
1
2
I need a vector logo graphic for pypi.org/project/qemu.qmp/ - I'm willing to pay a (small-ish, out of my own pocket) commission. (Copyright and license TBD, but it'll be F/OSS.) Uhh... anyone have ideas for what it should be? An Emu with a forked tongue? 😅
19
12
I see that this is a highly searched for bot phrase. Oops. If you're interested, just please communicate to me that you understand this is a tiny, one-person open source project. Would be happiest with someone I know, or someone who has done work for F/OSS before.
1
2
> make man just made up a new type of guy
I wonder if there's a Python library for printing the current time in Swatch internet time. Maybe I'll start having all of my Python loggers use @‍beat time by default from now on.
It can be used to talk to QEMU[+KVM], QEMU Guest Agent, the QEMU Storage Daemon, or anything else that speaks QMP.
1
Check out the docs on the PyPI page for more info, but I'm happy to chat about it and answer questions if you have any :~)
No, I *love* that gitlab.com won't let me sign in from Fedora, and I think this is awesome behavior. Why do you ask? Turns out the "Checking your browser" redirect crud they use gets confused if you're using Fedora, because that modifies your browser's user-agent.
1
1
1
I'll boot up a Windows 98 VM and log in from IE6 if that'll help.
1
dear diary: sphinx. :( :( :(
1
There's a magical intrinsic property in the Python data model that makes a function an Async Function :tm: and not just a function that returns an awaitable, and that's func.__code__.co_flags containing CO_COROUTINE.
1
1
I wonder if you could change this at runtime to make people hate you.