All Projects → rr- → Screeninfo

rr- / Screeninfo

Licence: other
Fetch location and size of physical screens.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Screeninfo

screenAdaptation
Android screen UI adaptation
Stars: ✭ 24 (-72.73%)
Mutual labels:  screen
Autoinch
优雅的iPhone全尺寸/等比例精准适配工具
Stars: ✭ 395 (+348.86%)
Mutual labels:  screen
Bangjago Android Emulator
simple android emulator cli for mobile development
Stars: ✭ 56 (-36.36%)
Mutual labels:  screen
Scrap
📸 Screen capture made easy!
Stars: ✭ 273 (+210.23%)
Mutual labels:  screen
Calces Gradle Plugin
Android构建工具集:包含快速实现组件化构建脚本,快速实现屏幕最小宽度适配脚本
Stars: ✭ 366 (+315.91%)
Mutual labels:  screen
Mons
POSIX Shell script to quickly manage monitors on X
Stars: ✭ 457 (+419.32%)
Mutual labels:  screen
SimpleScreens
Simple Screens is a library of screens and screen components (forms, sections, transitions) to be included, extended, or generally reused in applications based on Moqui Framework and Mantle Business Artifacts.
Stars: ✭ 20 (-77.27%)
Mutual labels:  screen
Caffeine Ng
☕ Tray bar application able to temporarily inhibits the screensaver and sleep mode.
Stars: ✭ 72 (-18.18%)
Mutual labels:  screen
Evdi
Extensible Virtual Display Interface
Stars: ✭ 384 (+336.36%)
Mutual labels:  screen
Fakelogonscreen
Fake Windows logon screen to steal passwords
Stars: ✭ 710 (+706.82%)
Mutual labels:  screen
Linux Command
Linux命令大全搜索工具,内容包含Linux命令手册、详解、学习、搜集。https://git.io/linux
Stars: ✭ 17,481 (+19764.77%)
Mutual labels:  screen
React On Screen
Check if a react component in the viewport
Stars: ✭ 357 (+305.68%)
Mutual labels:  screen
Screentask
(📢 New Version Released) Screen sharing made easy! Share your screen across local devices without internet.
Stars: ✭ 466 (+429.55%)
Mutual labels:  screen
ScreenHelper
android 屏幕适配的终极方案: SmallestWidth适配修改和 DisplayMetrics.densityDpi属性, 完美兼容 AndroidX 和 Android 库 ^_^ ,欢迎使用~~
Stars: ✭ 36 (-59.09%)
Mutual labels:  screen
Screenadaptation
🔥一种非常好用的 Android 屏幕适配——smallestWidth 限定符适配 https://www.jianshu.com/p/1302ad5a4b04
Stars: ✭ 1,123 (+1176.14%)
Mutual labels:  screen
MMM-MagicMover
MagicMirror² module to avoid screen burn-in
Stars: ✭ 21 (-76.14%)
Mutual labels:  screen
Gbt
Highly configurable prompt builder for Bash, ZSH and PowerShell written in Go.
Stars: ✭ 457 (+419.32%)
Mutual labels:  screen
Disablemonitor
Easily disable or enable a monitor on your Mac.
Stars: ✭ 1,221 (+1287.5%)
Mutual labels:  screen
Aircast Ios
aircast iOS SDK --- airplay screen mirror receiver iOS8-iOS11.3 support
Stars: ✭ 64 (-27.27%)
Mutual labels:  screen
React Native Login Screen
React Native Login Screen
Stars: ✭ 499 (+467.05%)
Mutual labels:  screen

screeninfo

Fetch location and size of physical screens.

Supported environments

  • MS Windows
  • MS Windows: Cygwin
  • GNU/Linux: X11 (through Xinerama)
  • GNU/Linux: DRM (experimental)
  • OSX: (through PyOBJus)

I don't plan on testing OSX or other environments myself. For this reason, I strongly encourage pull requests.

Installation

pip install screeninfo

If you install it from sources:

python3 setup.py install

Usage

from screeninfo import get_monitors
for m in get_monitors():
    print(str(m))

Output:

Monitor(x=1920, y=0, width=1920, height=1080, name=None)
Monitor(x=0, y=0, width=1920, height=1080, name=None)

Forcing environment

In some cases (emulating X server on Cygwin etc.) you might want to specify the driver directly. You can do so by passing extra parameter to get_monitors() like this:

from screeninfo import get_monitors, Enumerator
for m in get_monitors(Enumerator.OSX):
    print(str(m))

Available drivers: windows, cygwin, x11, osx.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].