semvec/pypi-packages huggingface dataset:
systa 0.2.1
Windows GUI automation with a cool API.
License: MIT
Requires Python: >=3.8,<4.0
Keywords: automation,windows

Systa: A ``Window`` for `windows <https://en.wikipedia.org/wiki/Window_(computing)>`_ on `Windows™ <https://en.wikipedia.org/wiki/Microsoft_Windows>`_.
==========================================================================================================================================================

**Systa** is a Microsoft Windows automation library, built for people who aren't Microsoft
Windows programming gurus.

`Documentation. <https://dmwyatt.github.io/systa/>`_

Install
-------

``pip install systa``

Basic Usage
-----------

>>> from systa.windows import current_windows
>>> "Untitled - Notepad" in current_windows
True
>>> "🍔" in current_windows
False
>>> notepad = current_windows["Untitled - Notepad"][0]
>>> notepad.maximized
False
>>> notepad.maximized = True # it's now maximized
>>> notepad.maximized
True

Events
------
The real power of systa springs from its integration with Windows system hooks.  You can
run code when things happen on the system.

.. code-block:: python

  from systa.events.decorators import listen_to, filter_by
  from systa.events.store import callback_store
  from systa.events.types import EventData

  @filter_by.require_size_is_less_than(200, 200)
  @filter_by.require_title("*Notepad")
  @listen_to.restore
  @listen_to.create
  def a_func_to_do_the_thing(event_data: EventData):
      print(f"Notepad restored or created! ({event_data.window.width}, {event_data.window.height})")

  callback_store.run()

The above code prints a message when:

1. A window is opened *OR* a window is restored from a minimized state.
2. *AND* the window's title ends with the string ``Notepad``.
3. *AND* the window's size is less than 200x200.
mylint 0.1.0
My really simple rendition of how a linter works.
License: MIT
Requires Python: >=3.7

# mylint

My really simple rendition of how a linter works.

This original version was written for my [AST article][1]. Since then I've added
tests and turned it into a package. Check the [original branch][2] for the
original version of this, that was used in the article.

[1]: https://sadh.life/post/ast
[2]: https://github.com/tusharsadhwani/mylint/tree/original

## Usage

```console
mylint [...file names]
```

Example:

```console
$ mylint tests/testcode.py
testcode.py:17:15: W001: Set contains duplicate item: 1
testcode.py:12:12: W001: Set contains duplicate item: 'PUT'
testcode.py:1:0: W002: Unused variable: 's'
testcode.py:5:4: W002: Unused variable: 'var'
testcode.py:17:0: W002: Unused variable: 's2'
```

## Development / Testing

Setup a virtual environment, and install the package with:

```bash
pip install -r requirements-dev.txt
```

Then run `pytest` to run tests. Now, have fun playing with the code and tests!

## Type Checking

Run `mypy .`
bmptoduet 0.1.3
Convert Monochrome BMP to Duet3D Menu Image
License: MIT
Requires Python: >=3.7,<3.11

# bmptoduet
[![PyPI version](https://badge.fury.io/py/bmptoduet.svg)](https://badge.fury.io/py/bmptoduet) Convert Monochrome BMP to Duet3D Menu Image 

For the Duet 12864 menu system - https://duet3d.dozuki.com/Wiki/Duet_2_Maestro_12864_display_menu_system

## Usage

```
$ bmptoduet -h
usage: bmptoduet [-h] bitmap output

Convert Monochrome BMP to Duet3D Menu Image

positional arguments:
  bitmap      Input monochrome bitmap
  output      Output filename

optional arguments:
  -h, --help  show this help message and exit
```