<commit_before># pyscreencapture
## Take screenshots on Mac OS X from the command line like God intended

pyscreencapture let's you specify an Application Name and Window Title to take a screenshot of a specific window via the commandline.
It's a thin wrapper that grabs the window IDs from Quartz and passes them to `screencapture`.

## Example
Take a screenshot of the Pycharm application with the window title containing "pyscreencapture".

`python3 screencapture.py Pycharm -t pyscreencapture`


## Installation
Grab the source, run the following in the source dir:
`pip3 install -r requirements.txt`

then run
`python3 pyscreencapture.py --help`

## Help
`python3 pyscreencapture.py --help`

```
Usage: screencapture.py [OPTIONS] [APPLICATION_NAME]

Options:
  -w, --window_selection_options TEXT
                                  Options: above_window below_window<commit_msg>grammar<commit_after># pyscreencapture
## Take screenshots on Mac OS X from the command line like God intended

pyscreencapture lets you specify an Application Name and Window Title to take a screenshot of a specific window via the commandline.
It's a thin wrapper that grabs the window IDs from Quartz and passes them to `screencapture`.

## Example
Take a screenshot of the Pycharm application with the window title containing "pyscreencapture".

`python3 screencapture.py Pycharm -t pyscreencapture`


## Installation
Grab the source, run the following in the source dir:
`pip3 install -r requirements.txt`

then run
`python3 pyscreencapture.py --help`

## Help
`python3 pyscreencapture.py --help`

```
Usage: screencapture.py [OPTIONS] [APPLICATION_NAME]

Options:
  -w, --window_selection_options TEXT
                                  Options: above_window below_window
{'fraction_non_alphanumeric': 0.06317586795674444, 'fraction_numerical': 0.004553215708594195, 'mean_word_length': 4.095652173913043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5462271', 'n_tokens_mistral': 520, 'n_tokens_neox': 498, 'n_words': 211}