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 quit, press Q or double click while hovering over the lens

Known limitations

  • The app works smoothly on OSX, but flickers on Linux when you move the lens.
  • Some people have found issues when using two screens. It is tested with two screens on OSX, but not yet on Linux. Please leave an issue if it does not work for you.
  • 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 works on OSX at least). This limitation will hopefully be lifted in the near future.
  • The lens actually uses a static screenshot which is periodically updated. Because of this pixels directly under the lens cannot be updated unless you move the lens away first from new content that you want to look at and then back.
  • 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

  • You 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.4.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

monolens-0.4.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: monolens-0.4.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.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.4.0.tar.gz
Algorithm Hash digest
SHA256 a3723a8e200dfb0111bd36c0f4dae3029ef69a25eda73826d9ac86083c008904
MD5 32c43085864e0420e6ff382ee01d8a45
BLAKE2b-256 0d29a034963ebf1b8538c9cab1cfaf596595c4b38fc3c33570b9bb88c1356454

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monolens-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c9dbf1e3b1def549c461175b4f7702eee55ed5c48aff244e9a7cbedaa7f0df6
MD5 89e971d45f1df917ee22f2a9c3f0dca2
BLAKE2b-256 6c9b90ee8cb8cf567b1daaa3f45b207d3438242f08c20fb67497086ea9be4fbc

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