Skip to main content

macos_display

Fetch information about macOS displays given a display ID, which is available from nsscreen.deviceDescription()["NSScreenNumber"] using pyobjc.

Get the user-visible display name from an id:

>>> import macos_display
>>> macos_display.display_name(69732928)
'Color LCD'

List all display names:

>>> from AppKit import NSScreen
>>> import macos_display
>>> screens = NSScreen.screens()
>>> for screen in screens:
...     screen_id = screen.deviceDescription()["NSScreenNumber"]
...     name = macos_display.display_name(screen_id)
...     print(name)
...
Color LCD
SAMSUNG
LCD1970NXp

Metadata

Release files for macos-display 1.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for macos-display 1.1.10
File Size Uploaded
macos_display-1.1.10.tar.gz 5.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for macos-display 1.1.10
File Interpreter ABI Platform
macos_display-1.1.10-cp310-cp310-macosx_10_14_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.14+ x86-64 Details
macos_display-1.1.10-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
macos_display-1.1.10-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details

Total release size: 168.6 kB

Release files / macos_display-1.1.10.tar.gz

Download URL macos_display-1.1.10.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
691293d8770dcbbdf5ac4a825c2c168904bff0f3a18eb228731dce3dec4825d1
BLAKE2b-256 checksum
How to use checksums
49147318a6a1a161a42a784186a780452c7060e6223621ca864145407852dd43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / macos_display-1.1.10-cp310-cp310-macosx_10_14_x86_64.whl

Download URL macos_display-1.1.10-cp310-cp310-macosx_10_14_x86_64.whl
Size 54.2 kB
Tags CPython 3.10 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
d274b3e6fca465528e5401f5f58143e28f6c3a0856948207d8c265ff21a26df5
BLAKE2b-256 checksum
How to use checksums
0884bfc58897e689e1c5deb08de27b515d6bd1df7048e55d6d533dd14a428de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / macos_display-1.1.10-cp39-cp39-macosx_10_14_x86_64.whl

Download URL macos_display-1.1.10-cp39-cp39-macosx_10_14_x86_64.whl
Size 54.4 kB
Tags CPython 3.9 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
a3089292456ecae6385b1e2f531aa84d8968416786ce8ec68b80ffedeaa3997f
BLAKE2b-256 checksum
How to use checksums
71ea172bff24abfb84ff5d98ecb849d527a8590363793458d9cec70f4ed05390
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / macos_display-1.1.10-cp38-cp38-macosx_10_14_x86_64.whl

Download URL macos_display-1.1.10-cp38-cp38-macosx_10_14_x86_64.whl
Size 54.2 kB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
65d784bc71dff51d967af0d96e32d760c80d6e2ad367fba78b828d5edd113507
BLAKE2b-256 checksum
How to use checksums
e4f36973aab98a196c49771a35543c5b98880ed0b97a45abaa4141ed9034ad19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release history Release notifications | RSS feed

This release

1.1.10 This release

4 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

3 release files

1.1.3

3 release files

1.1.2

4 release files

1.1.1

3 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page