Skip to main content

Show part of your screen in 8-bit grayscale

Project description

monolens

Show part of your screen in 8-bit grayscale.

Click to watch demo

Usage

Install with pip install monolens. Then run monolens in a terminal on the screen that you want to look at.

  • Drag the lens around by holding a Mouse button down inside the window
  • Resize the lens by pressing up, down, left, right
  • To refresh the lens press the spacebar (see limitations)
  • To quit, press Q

Known limitations

  • The app currently only works smoothly on OSX, it glitches on Linux.
  • Pulling the window to another screen is currently not supported. To switch screens, you need to run monolens from a terminal on that screen. This limitation will hopefully be lifted in the future.
  • The lens uses a static screenshot which has to be manually updated if the screen content changed. Press spacebar to update the lens (which causes it to flicker).
  • On OSX, you need to give monolens permission to make screenshots, since an ordinary App is not allowed to read pixels outside of its window for security reasons. monolens is safe to use because it has no networking code implemented at all.

For developers

  • One can run monolens without installing it from the project folder via python -m monolens. You need to install pyside6 manually then.

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

monolens-0.3.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

monolens-0.3.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file monolens-0.3.0.tar.gz.

File metadata

  • Download URL: monolens-0.3.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for monolens-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1a0c7743638efe2b4b406bec156873193bedbb712f958e99ca86c3b812d025b8
MD5 2bb39ac8760bea870728eb89a2c441a7
BLAKE2b-256 5f32ab48770bc656459ec6dbfe6f0cf56985d94ae92bcecc1a38003aaa526ea0

See more details on using hashes here.

File details

Details for the file monolens-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: monolens-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for monolens-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39a961f6ac8e6c85b51d243e614664b0754f4f9be06c3e5d9dd8b23ff2c48cd3
MD5 931ed9e4250e4e8253041c030bde2fdc
BLAKE2b-256 f3d5af9409052a4e84211260ab874ec3d6a07d43948d8e49af35744dce6276a2

See more details on using hashes here.

Supported by

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