Metadata-Version: 2.1
Name: PlaywrightSafeThread
Version: 0.4.1
Summary: PlaywrightSafeThread
Home-page: https://github.com/3mora2/PlaywrightSafeThread
Author: Ammar Alkotb
Author-email: ammar.alkotb@gmail.com
License: MIT License
Project-URL: Bug Report, https://github.com/3mora2/PlaywrightSafeThread/issues/new
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: playwright
Requires-Dist: playwright-stealth
Requires-Dist: psutil

# PlaywrightSafeThread
use [playwright](https://github.com/microsoft/playwright-python) as async and sync safe thread

used in [WPP_Whatsapp](https://github.com/3mora2/WPP_Whatsapp)

use sync in only one at time, else use async

in events like `page.on` use async and wait

from [minet](https://github.com/medialab/minet/blob/master/minet/browser/threadsafe_browser.py)

### Installation
```
pip install PlaywrightSafeThread
```
```
pip install git+https://www.github.com/3mora2/PlaywrightSafeThread@main
```

