langchain-brightdata 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of langchain-brightdata might be problematic. Click here for more details.

@@ -0,0 +1,17 @@
1
+ MIT License
2
+ Copyright (c) 2025 Bright Data
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+ The above copyright notice and this permission notice shall be included in all
10
+ copies or substantial portions of the Software.
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17
+ SOFTWARE.
@@ -0,0 +1,67 @@
1
+ Metadata-Version: 2.4
2
+ Name: langchain-brightdata
3
+ Version: 0.1.0
4
+ Summary: Bright Data tools for LangChain
5
+ Author: Bright Data
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: langchain-core>=0.3.56
13
+ Requires-Dist: pydantic>=2.11.3
14
+ Requires-Dist: requests>=2.32.0
15
+ Requires-Dist: aiohttp>=3.11.0
16
+ Dynamic: author
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
24
+
25
+ # LangChain Bright Data Tools
26
+
27
+ This package integrates Bright Data's services with LangChain.
28
+
29
+ ## Tools Included
30
+
31
+ - **BrightDataSERP**: Perform search engine queries with geo-targeting
32
+ - **BrightDataUnblocker**: Access websites that might be geo-restricted
33
+ - **BrightDataWebScraperAPI**: Extract structured data from websites
34
+
35
+ ## Installation
36
+
37
+ ```bash
38
+ pip install langchain-brightdata
39
+ ```
40
+
41
+ ## Usage
42
+
43
+ ```python
44
+
45
+ from langchain_brightdata import BrightDataSERP
46
+
47
+ # Initialize the tool with your API key
48
+ search_tool = BrightDataSERP(bright_data_api_key="your-api-key")
49
+
50
+ # Use the tool
51
+ results = search_tool.invoke({
52
+ "query": "artificial intelligence news",
53
+ "search_engine": "google",
54
+ "country": "us"
55
+ })
56
+
57
+ ```
58
+ ## Authentication
59
+
60
+ You'll need a Bright Data API key. You can set it as an environment variable:
61
+
62
+ ```bash
63
+ export BRIGHT_DATA_API_KEY="your-api-key"
64
+
65
+ ```
66
+
67
+ Or pass it directly when initializing the tools.
@@ -0,0 +1,43 @@
1
+ # LangChain Bright Data Tools
2
+
3
+ This package integrates Bright Data's services with LangChain.
4
+
5
+ ## Tools Included
6
+
7
+ - **BrightDataSERP**: Perform search engine queries with geo-targeting
8
+ - **BrightDataUnblocker**: Access websites that might be geo-restricted
9
+ - **BrightDataWebScraperAPI**: Extract structured data from websites
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ pip install langchain-brightdata
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```python
20
+
21
+ from langchain_brightdata import BrightDataSERP
22
+
23
+ # Initialize the tool with your API key
24
+ search_tool = BrightDataSERP(bright_data_api_key="your-api-key")
25
+
26
+ # Use the tool
27
+ results = search_tool.invoke({
28
+ "query": "artificial intelligence news",
29
+ "search_engine": "google",
30
+ "country": "us"
31
+ })
32
+
33
+ ```
34
+ ## Authentication
35
+
36
+ You'll need a Bright Data API key. You can set it as an environment variable:
37
+
38
+ ```bash
39
+ export BRIGHT_DATA_API_KEY="your-api-key"
40
+
41
+ ```
42
+
43
+ Or pass it directly when initializing the tools.
@@ -0,0 +1,67 @@
1
+ Metadata-Version: 2.4
2
+ Name: langchain-brightdata
3
+ Version: 0.1.0
4
+ Summary: Bright Data tools for LangChain
5
+ Author: Bright Data
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: langchain-core>=0.3.56
13
+ Requires-Dist: pydantic>=2.11.3
14
+ Requires-Dist: requests>=2.32.0
15
+ Requires-Dist: aiohttp>=3.11.0
16
+ Dynamic: author
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
24
+
25
+ # LangChain Bright Data Tools
26
+
27
+ This package integrates Bright Data's services with LangChain.
28
+
29
+ ## Tools Included
30
+
31
+ - **BrightDataSERP**: Perform search engine queries with geo-targeting
32
+ - **BrightDataUnblocker**: Access websites that might be geo-restricted
33
+ - **BrightDataWebScraperAPI**: Extract structured data from websites
34
+
35
+ ## Installation
36
+
37
+ ```bash
38
+ pip install langchain-brightdata
39
+ ```
40
+
41
+ ## Usage
42
+
43
+ ```python
44
+
45
+ from langchain_brightdata import BrightDataSERP
46
+
47
+ # Initialize the tool with your API key
48
+ search_tool = BrightDataSERP(bright_data_api_key="your-api-key")
49
+
50
+ # Use the tool
51
+ results = search_tool.invoke({
52
+ "query": "artificial intelligence news",
53
+ "search_engine": "google",
54
+ "country": "us"
55
+ })
56
+
57
+ ```
58
+ ## Authentication
59
+
60
+ You'll need a Bright Data API key. You can set it as an environment variable:
61
+
62
+ ```bash
63
+ export BRIGHT_DATA_API_KEY="your-api-key"
64
+
65
+ ```
66
+
67
+ Or pass it directly when initializing the tools.
@@ -0,0 +1,8 @@
1
+ LICENSE
2
+ README.md
3
+ setup.py
4
+ langchain_brightdata.egg-info/PKG-INFO
5
+ langchain_brightdata.egg-info/SOURCES.txt
6
+ langchain_brightdata.egg-info/dependency_links.txt
7
+ langchain_brightdata.egg-info/requires.txt
8
+ langchain_brightdata.egg-info/top_level.txt
@@ -0,0 +1,4 @@
1
+ langchain-core>=0.3.56
2
+ pydantic>=2.11.3
3
+ requests>=2.32.0
4
+ aiohttp>=3.11.0
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,26 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ with open("README.md", "r", encoding="utf-8") as fh:
4
+ long_description = fh.read()
5
+
6
+ setup(
7
+ name="langchain-brightdata",
8
+ version="0.1.0",
9
+ author="Bright Data",
10
+ description="Bright Data tools for LangChain",
11
+ long_description=long_description,
12
+ long_description_content_type="text/markdown",
13
+ packages=find_packages(),
14
+ classifiers=[
15
+ "Programming Language :: Python :: 3",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Operating System :: OS Independent",
18
+ ],
19
+ python_requires=">=3.8",
20
+ install_requires=[
21
+ "langchain-core>=0.3.56",
22
+ "pydantic>=2.11.3",
23
+ "requests>=2.32.0",
24
+ "aiohttp>=3.11.0",
25
+ ],
26
+ )