semvec/pypi-packages huggingface dataset:
browsinator 0.1.2
A Python library for programmatically controlling and interacting with a web browser using the Chrome DevTools Protocol
Requires Python: >=3.6

# Browsinator

Browsinator is a Python library for programmatically controlling and interacting with a web browser using the Chrome DevTools Protocol.


## Installation

To install Browsinator, you'll need Python 3.6 or later. You can install it using pip:

```bash
pip install browsinator
```

## Usage

Here's a basic example of how to use Browsinator:

```python
from browsinator import Browser
Browser.start() # Start Chrome or ...
Browser.start_brave() # Start Brave
browser = Browser()
```

#### Navigate to a URL
```python
browser.load("https://example.com", wait=True)
```

#### Run JavaScript

```python
result = browser.run_script("document.title")
print(f"Page title: {result}")
```

#### Monitor network traffic
```python
browser.match_network("api/data", lambda req, res, data: print(f"API data: {data}"))
browser.monitor_network()
```

#### Run raw debug methods

For example calling [Network.getResponseBody](https://chromedevtools.github.io/devtools-protocol/tot/Network/) with a specific request ID:

```python
result = browser.send_command("Network.getResponseBody", {"requestId": 1})
print(f"Response body: {result}")
```

#### Simulate user input
```python
browser.keyboard_type("Hello, World!")
browser.keyboard_press_enter()
browser.mouse_click_selector("#submit-button")
```

#### Close the browser
```python
browser.close()
```

## Custom Chrome startup

You can also customize the Chrome startup:

```python
# Start Chrome with custom options
Browser.start(
    path="/path/to/chrome",  # Custom Chrome executable path
    minimized=False,         # Start Chrome in normal window (not minimized)
    debug_port=9223          # Use a custom debugging port
)
browser = Browser(debug_port=9222)

```
english-dict 1.1.1
Simple, storage efficient solution to find definitions with ease.
Keywords: dictionary, meaning, english, easy to use, English Dictionary, english dictionary

# English Dict
### `find_word()`
English Dict can be used to find the meaning of words easily.
To find the meaning of an English word by using the `find_word()` function to find the meaning of a word easily. Like
over here:

```
# Replace example with any english word

word =  "example"

find_word(word)

>> example means - : an instance
 (such as a problem to be solved)
 serving to illustrate a rule or
 precept or to act as an exercise
 in the application of a rule
 ```

You can type `c` to clear the terminal if it gets to 
messy.

### `find_synonyms()`

English Dict can be used to find the synonyms of words too.
To find 20 synonyms of an English word by using the `find_synonyms()` function to find the 20 synonyms of a word easily. Like
over here:

```
word =  "example"

find_synonyms(word)

>> Here are your synonyms:

1. lesson
2. object
3. part
4. pattern
5. precedent
6. symbol
7. archetype
8. citation
9. copy
10. excuse
11. exemplar
12. exemplification
13. ideal
14. original
15. paradigm
16. paragon
17. prototype
18. quotation
19. representation
20. sample
```

> [!NOTE]
> 
> Remember to remove suffixes (prefixes can stay). Examples: -ing, -ed, -less, -ful