Metadata-Version: 2.4
Name: brimp
Version: 0.1.2
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
License-File: LICENSE
Summary: Scalable browser runtime for agents.
Keywords: browser,headless,requests,javascriptcore,dom,automation
Author: Riverside AI LLC
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://docs.brimp.ai
Project-URL: Homepage, https://brimp.ai
Project-URL: Issues, https://github.com/lexiforest/brimp/issues
Project-URL: Repository, https://github.com/lexiforest/brimp

# Python

See the [Python tutorial](https://docs.brimp.ai/examples/python/)
and [development setup](https://docs.brimp.ai/development/).

Browser subsystem plugins are enabled by default. An explicit `plugins` list
replaces them; `brimp.Session(plugins=[])` selects core only. Use `brimp.plugins.browser()`
to extend or customize the default set.

```python
import brimp

with brimp.Session(headers={"X-Client": "native-example"}) as session:
    page = session.get("https://example.com")
    page.raise_for_status()
    print(page.status_code, page.url)
    with page.query_selector("h1") as heading:
        heading.set_text_content("Edited in the DOM")
        print(heading.text_content())
    print(page.evaluate("Promise.resolve(document.title)"))
```

