A modern, type-safe IPC client for Hyprland's UNIX sockets.
Project description
hyprland-ipc
Table of Contents
Installation
pip install hyprland-ipc
This package requires Python 3.12 or newer.
Usage
from hyprland_ipc import HyprlandIPC
# Discover socket paths from the environment
ipc = HyprlandIPC.from_env()
# Print two events then exit
for i, event in enumerate(ipc.events()):
print(event)
if i == 1:
break
License
hyprland-ipc is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hyprland_ipc-0.1.0.tar.gz
(15.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyprland_ipc-0.1.0.tar.gz.
File metadata
- Download URL: hyprland_ipc-0.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca0fd9d8c75721184606fccf7f265bebe00dbd783e8617d69e4928f53d774b4e
|
|
| MD5 |
f7da759d41c71cbd60c4ea8ddbbb4213
|
|
| BLAKE2b-256 |
a6495c0ebede4b35844640eb8bd54e7ace9f820c2d1f49ddfd9bbbe709d666ef
|
File details
Details for the file hyprland_ipc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hyprland_ipc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35d5bd4e894345921f802a59addcbaa72ea85d02fca3898f9f6446cce60120a7
|
|
| MD5 |
03c2c3f190c7f4693b1ba168160542fd
|
|
| BLAKE2b-256 |
8c014126b800083f8cccaca2931f1001aa7f7caaf466d5fabbd8c77af14bd584
|