Skip to content

Python library implementation of the yabai client for advanced scripting purposes.

License

Notifications You must be signed in to change notification settings

xiamaz/python-yabai-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Yabai Client

This is a reimplementation of the client part of yabai in python. This currently only establishes a unix socket connection, sends a freeform string and parses the returned json data into a python data structure.

Example

import yabai_client

yc = yabai_client.YabaiClient()
spaces_info = yc.send_message("query --spaces")
# This will get spaces information as a dict

About

Python library implementation of the yabai client for advanced scripting purposes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages