Skip to main content

A modern, type-safe IPC client for Hyprland's UNIX sockets.

Project description

hyprland-ipc

Test and Coverage codecov PyPI - Version PyPI - Python Version


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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hyprland_ipc-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

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

Hashes for hyprland_ipc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca0fd9d8c75721184606fccf7f265bebe00dbd783e8617d69e4928f53d774b4e
MD5 f7da759d41c71cbd60c4ea8ddbbb4213
BLAKE2b-256 a6495c0ebede4b35844640eb8bd54e7ace9f820c2d1f49ddfd9bbbe709d666ef

See more details on using hashes here.

File details

Details for the file hyprland_ipc-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hyprland_ipc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35d5bd4e894345921f802a59addcbaa72ea85d02fca3898f9f6446cce60120a7
MD5 03c2c3f190c7f4693b1ba168160542fd
BLAKE2b-256 8c014126b800083f8cccaca2931f1001aa7f7caaf466d5fabbd8c77af14bd584

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page