Metadata-Version: 2.1
Name: mathsnip
Version: 0.0.7
Summary: this is a description
Home-page: https://github.com/zk4/mathsnip
Download-URL: https://github.com/zk4/mathsnip/archive/master.zip
Author: zk
Author-email: liuzq7@gmail.com
License: BSD
Keywords: best practice for python project
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Requires-Python: >3.0.0
Description-Content-Type: text/markdown
Requires-Dist: Pillow (==9.5.0)
Requires-Dist: PySimpleGUI (==4.60.5)
Requires-Dist: pywildcard (==1.0.10)
Requires-Dist: requests (==2.31.0)

# Demo

![iShot_2023-06-28_20.53.44](assets/iShot_2023-06-28_20.53.44.gif)

# Install

``` python
pip install mathsnip
```

# Configuration
put your app_id and app_key in ~/.bash_config
```
export MATHPIX_APP_ID="xxx"
export MATHPIX_APP_KEY="xxx"
```

where to find the app_id and app_key?
- open https://accounts.mathpix.com/account
- click 'OCR API settings'
- and you should find

# Use
```
mathsnip
```

# Reference
gui part: https://mgregchi02.medium.com/take-screenshots-of-any-area-of-the-screen-with-python-gui-program-6320110e99f7
