Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
0.93, 2026/XX/XX -- ALL: Replaced bare `except:` clauses with `except Exception:`, preventing accidental suppression of system-exit signals (KeyboardInterrupt, SystemExit) during error handling.
ALL: Removed dependency on `typing_extensions`
0.8, 2023/10/11 -- ALL: Added saveSetup() and restoreSetup(). Fixed / Improved watchdog (especially in Linux). Fixed / improved setPosition() method
LINUX: Added ewmhlib as separate module. Fixed watchdog (freezing randomly invoking screen_resources and get_output_info), fixed workarea crash (some apps/environments do not set it), improved to work almost fine in Manjaro/KDE, avoid crashing in Wayland for "fake" :1 display (though module won't likely work)
WIN32: Fixed dev.StateFlags returning weird values for multi-monitor. Fixed GetAwarenessFromDpiAwarenessContext not supported on Windows Server
Expand Down
10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ Documentation = "https://pymonctl.readthedocs.io/"
name = "PyMonCtl"
version = "0.92"
description = "Cross-Platform toolkit to get info on and control monitors connected"
authors = [
{ name = "Kalmat", email = "palookjones@gmail.com" },
]
authors = [{ name = "Kalmat", email = "palookjones@gmail.com" }]
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
Expand Down Expand Up @@ -57,13 +55,10 @@ dependencies = [
"python-xlib>=0.21; sys_platform == 'linux'",
"ewmhlib>=0.2; sys_platform == 'linux'",
"pyobjc>=8.1; sys_platform == 'darwin'",
"typing_extensions>=4.4.0",
]

[dependency-groups]
docs = [
"myst-parser",
]
docs = ["myst-parser"]
dev = [
{ include-group = "docs" },
"ewmhlib",
Expand All @@ -72,7 +67,6 @@ dev = [
# types-pywin32>=312.0.0.20260609 doesn't support Python 3.9
# and produces a difference in typing, keep stable typing as long as we support Python 3.9
"types-pywin32<312.0.0.20260609",
"typing_extensions>=4.4.0",
]

[tool.uv]
Expand Down
3 changes: 1 addition & 2 deletions src/pymonctl/_structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

import sys
from enum import IntEnum
from typing import NamedTuple, Tuple
from typing_extensions import TypedDict
from typing import NamedTuple, Tuple, TypedDict


class Box(NamedTuple):
Expand Down
4 changes: 0 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading