Metadata-Version: 2.1
Name: llama-index-readers-oxylabs
Version: 0.1.0
Summary: llama-index readers oxylabs integration
License: MIT
Author: Rostyslav Borovyk
Author-email: rostyslav.borovyk@oxylabs.io
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: httpx (>=0.28.1,<0.29.0)
Requires-Dist: llama-index-core (>=0.12.0,<0.13.0)
Requires-Dist: lxml (>=5.3.2,<6.0.0)
Requires-Dist: lxml-html-clean (>=0.4.2,<0.5.0)
Requires-Dist: markdownify (>=1.1.0,<2.0.0)
Description-Content-Type: text/markdown

# LlamaIndex Oxylabs Reader Integration

Use Oxylabs Reader to load the data from search engines, e-commerce sites, travel platforms, and any other website.
For more information checkout out the [Oxylabs documentation](https://developers.oxylabs.io/scraper-apis/web-scraper-api).

## Instructions for OxylabsReader

### Setup and Installation

Installation with `pip`

```shell
pip install llama-index-readers-oxylabs
```

Installation with `poetry`

```shell
poetry add llama-index-readers-oxylabs
```

Installation with `uv`

```shell
uv add llama-index-readers-oxylabs
```

### Get Oxylabs credentials

[Set up](https://oxylabs.io/) your Oxylabs account and get the username and password

### Using OxylabsReader

```python
from llama_index.readers.oxylabs import OxylabsGoogleSearchReader


reader = OxylabsGoogleSearchReader(
    username="OXYLABS_USERNAME",
    password="OXYLABS_PASSWORD",
)

docs = reader.load_data(
    {"query": "Iphone 16", "parse": True, "geo_location": "Berlin, Germany"}
)

print(docs[0].text)
```

