#pyobjc — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pyobjc, aggregated by home.social.
-
I got so fed up with #elgato's #streamdeck app that I decided to hack my own with #pyobjc, blackjack and... #Copilot. Once I've implemented a couple more things (not sure I need pages, but generating icons from SFSymbol and awareness of foreground app seem useful) I'll put it up on GitHub.
-
Does anyone out there on the fediverse happen to know how I could embed Sparkle in a #macOS #Python application using #PyObjC and packaged with #Py2App ? I gather that the --frameworks option is involved, but … is it just as simple as downloading the bundle from https://github.com/sparkle-project/Sparkle/releases/tag/2.6.4 and then pointing the `--frameworks` option at the `.framework` dir in there? If I do that, what is the right incantation to get some pyobjc bindings packaged and finding it both in dev and in dist?
-
This just keeps printing "authorized: True", "focused: 0" regardless of what I do with my focus status and I am sure it has something to do with some dumb entitlement or Info.plist configuration and some days I kinda understand the impulse to throw your Macbook in a lake and run Slackware on a 10-year-old ThinkPad instead https://gist.github.com/glyph/28546aacb820291affb08c5dcfd46843 #python #pyobjc
-
@RhetTbull did you ever find my old work using #pyobjc?
-
I've been trying not to get too infrastructure-y (it's a character flaw) with this app, but the process of manually rebuilding NSTableViewDataSource implementations in #PyObjC against each list, and NSKeyValueObserving implementations against every object in those lists, in my nominally cross-platform #Python model eventually got too tedious, and I'm glad I went to go generalize this. It was a fun exercise and it should give me a repeatable idiom to bridge to KVO.
-
I cannot describe just how sick of writing this blog post I am, but it's done now, and I am going to hopefully just run this tool every few days for the next six months and *never think about this again*
-
Consider this a very soft launch since I have no idea if anyone else can realistically run it yet, but I have managed to jam all of the horrible domain knowledge I've accrued about making an app bundle built with Python and py2app *actually* sign and notarize all the way for 3rd party macOS app distribution. I've now tested it with 2 very different apps and fixed a bunch of issues.
-
Have you ever googled for 'mac hotkey python' and found this thing that doesn't work? https://pyobjc.readthedocs.io/en/pyobjc-6-branch/examples/Cocoa/AppKit/HotKeyPython/index.html
I just released a thing that actually does work: https://pypi.org/project/quickmachotkey/
-
Here's the first VERY VERY PRERELEASE quality build of my time-blindness mitigation tool for macOS. (Linux & Windows ports will come eventually.)
While the app *should* be vaguely usable now — I use it daily — I mostly want to know if it literally even launches on anybody else's computer. There are a lot of potential problems in the build process.
https://github.com/glyph/Pomodouroboros/releases/tag/0.2.5.1
-
@mikeymikey hey okay let’s talk about #pyobjc!
How do you integrate third-party frameworks like cocoapods into a primarily python pyobjc project, i.e. one built with py2app, not xcodebuild?
-
Hooray, looks like the thing where Xcode’s interface builder couldn’t read Python/pyobjc class statements any more was just a bug, and it has been fixed. Finally I can toss this janky shim-generator nonsense script. Nice to know it’s still (extremely tacitly) supported.
Can’t put an annotation on the same line as an IBOutlet though. I wonder if the implementation is just a regex in there somewhere …
-
Wait really? A network full of this many nerds and nobody but me is out here talking about #pyobjc?
Mastodon - I am -ashamed- of you :blobfoxglare:
-
#introduction time - ahoy, I'm a fruitco eng, (formerly Dropboxer and repenting FBer) focused on all things non-consumer (❤️ #macOS and #Mac ❤️)
My github gists are full of horrible hacks and I've written ObjC bridging code in at least 5 or 6 languages at this point. And if you don't stop me, I'll friggin' do it again. I know more about #python, ctypes, and #pyobjc than is legally allowed.
I inhale #scifi and books. I have no shelf control. Pets outnumber humans 6 to 1 in this household. Say hi