I3ipc

Latest version: v2.2.1

Safety actively analyzes 619528 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.2.1

Version 2.2.1 includes sway comatibility enhancements (98) and other bugfixes.

* Make the sway INPUT event subscribable (127).
* Remove the enum-compat dependency (128).
* Add examples and docs to MANIFEST.in (132).
* Add sway-specific fields to OutputReply (137).
* Add `find_by_pid()` method for sway (142).
* Add side properties to Gaps object (143).
* Add `ipc_data` attribute to objects (8947b9f).
* Add all known sway properties (e6c7f1b).
* Fix scratchpad for sway (f11e729).
* Bug: fix crash after reload then restart (148).

2.1.1

Version 2.1.1 includes bugfixes and new features.

* Regression: emit detailed events correctly (126)
* Regression: null values in replies should be python None (123)
* Add the sway input event (122)
* Raise handler exceptions from Connection.main() (the old behavior was just to exit silently which is wrong) (125)

2.0.1

Version 2.0.1 is a major release which adds breaking changes and major new features.

i3ipc-python is now Python 3 only.

This release adds the asyncio connection class. New code for Python 3.6 or greater is recommended to use this class over the old blocking connection.

* (breaking) Remove python2 support (110)
* (breaking) Use the `Rect` class for `OutputReply` and `WorkspaceReply` rect attributes (cec29f9).
* (breaking) Make socket-related members of the `Connection` private (4936704)
- `cmd_socket`, `cmd_lock`, `sub_socket`, `sub_lock`, `MAGIC`, `_event_socket_setup()`, `_event_socket_teardown()`, `_event_socket_poll()`
* (breaking) Make event-related members of the `Connection` private (8424811)
- `subscribe()`, `EventType`
* (breaking) Remove `GenericEvent` in favor of specific events `OutputEvent`, `ModeEvent`, and `ShutdownEvent`.
* (breaking) Remove the `PropsObject` (6ddbc22)
* Add asyncio support with the new `aio.Connection` class.
* Add `Event` class for event subscription by enum (59)
* Add the `app_id` attribute to the `Con` class (sway only) (113).
* Get the socket path from the root window with python-xlib (116).
* Add a commands to get inputs and seats (sway only) (115).
* Add `event_state_mask` and `symbols` (sway only) to `BindingInfo` (262246d).
* Add version info in `__version__.py` (ee779b).
* Use real X windows in tests (4e9746c).
* Run tests in a docker container (97d0455).
* Add type annotations for all public members.
* Completely rewrite the documentation.

1.7.1

Version 1.7.1 adds some bugfixes and features.

* Add support to get socketpath from the `sway` binary (93a8f0c).
* Return empty list on commands that don't return a result (cf55812).
* Implement the `SHUTDOWN` event (d338889).
* Implement the autoreconnect feature (fa3a813).
* Make sending commands thread safe (e9fcefa).
* Add `title` attribute to `Con` class (34ea24e).
* Add `pid` attribute to `Con` class for sway (bd0224e).

1.6.0

* Properly tear down subscription socket (83)
* Implement send_tick message and tick event
* Add a timeout parameter to the main function
* Implement GET_BINDING_MODES
* Implement GET_CONFIG
* Implement GET_MARKS
* Fix pickling of types by fixing a _ReplyType exception (89)
* Add the sticky property

1.5.1

* add the Connection::off() function to stop listening to events
* add a timeout parameter to the main loop to terminate after some time
* use SHUT_RDWR on the socket to fix some bugs with main_quit()

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.