Python Mss Versions Save

An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.

v9.0.1

1 year ago
  • 🐛 CLI: fixed entry point not taking into account arguments (#255)

v9.0.0

1 year ago

:heart: contributors: @mgorny, @CTPaHHuK-HEbA

  • 🐞 Linux: add failure handling to XOpenDisplay() call (fixes #246)
  • 🚀 Mac: tiny improvement in monitors finding
  • 🐛 Windows: refactored how internal handles are stored (fixes #198)
  • 🐛 Windows: removed side effects when leaving the context manager, resources are all freed (fixes #209)
  • CI: run tests via xvfb-run on GitHub Actions (#248)
  • tests: enhance test_get_pixels.py, and try to fix a random failure at the same time (related to #251)
  • tests: use PyVirtualDisplay instead of xvfbwrapper (#249)
  • tests: automatic rerun in case of failure (related to #251)

v8.0.3

1 year ago

:heart: contributors: @mgorny, @relent95

  • 🐍 added support for Python 3.12
  • 💯 MSS: added PEP 561 compatibility
  • 🐛 MSS: include more files in the sdist package (#240)
  • 🐞 Linux: restore the original X error handler in .close() (#241)
  • 🐛 Linux: fixed XRRCrtcInfo.width, and XRRCrtcInfo.height, C types
  • doc: use markdown for the README, and changelogs
  • ⚠️ dev: renamed the master branch to main
  • 🐛 dev: review the structure of the repository to fix/improve packaging issues (#243)

v8.0.2

1 year ago
  • 🐞 fixed SetuptoolsDeprecationWarning: Installing 'XXX' as data is deprecated, please list it in packages
  • 🐛 CLI: fixed arguments handling

v8.0.1

1 year ago
  • 🐞 MSS: ensure --with-cursor, and with_cursor argument & attribute, are simple NOOP on platforms not supporting the feature
  • 🐞 CLI: do not raise a ScreenShotError when -q, or --quiet, is used but return 1
  • 🐛 tests: fix test_entry_point() with multiple monitors having the same resolution

v8.0.0

1 year ago
  • ⚠️ removed support for Python 3.6
  • ⚠️ removed support for Python 3.7
  • 🐛 MSS: fixed PEP 484 prohibits implicit Optional
  • 💯 MSS: the whole source code was migrated to PEP 570 (Python positional-only parameters)
  • 🆕 Linux: added mouse support (related to #55)
  • 🐛 Linux: reset the X server error handler on exit to prevent issues with Tk/Tkinter (fixes #220)
  • 🐛 Linux: refactored how internal handles are stored to fix issues with multiple X servers (fixes #210)
  • 🐛 Linux: removed side effects when leaving the context manager, resources are all freed (fixes #210)
  • 🆕 CLI: added --with-cursor argument
  • tests: added PyPy 3.9, removed tox, and improved GNU/Linux coverage

v7.0.1

1 year ago
  • :bug: fixed the wheel package

v7.0.0

1 year ago

:heart: contributors: @CTPaHHuK-HEbA, @Tonyl314, @ArchangeGabriel

  • :snake: added support for Python 3.11
  • :snake: added support for Python 3.10
  • :warning: removed support for Python 3.5
  • MSS: modernized the code base (types, f-string, ran isort & black) (close #101)
  • MSS: fixed several Sourcery issues
  • MSS: fixed typos here, and there
  • doc: fixed an error when building the documentation

v6.1.0

3 years ago
  • MSS: reworked how C functions are initialised
  • Mac: reduce the number of function calls
  • Mac: support macOS Big Sur (fixes #178)
  • tests: expand Python versions to 3.9 and 3.10
  • tests: fix macOS intepreter not found on Travis-CI
  • tests: fix test_entry_point() when there are several monitors

v6.0.0

3 years ago
  • removed usage of deprecated license_file option for license_files
  • fixed flake8 usage in pre-commit
  • the module is now available on conda (closes #170)
  • MSS: the implementation is now thread-safe on all OSes (fixes #169)
  • Linux: better handling of the Xrandr extension (fixes #168)
  • tests: fixed a random bug on test_grab_with_tuple_percents() (fixes #142)