langchain-specstream 0.1.0__py3-none-any.whl

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.
@@ -0,0 +1,8 @@
1
+ """SpecStream for LangChain: ask for any list on the live web in plain words, within a price you set."""
2
+
3
+ from langchain_specstream._api import SpecStreamError
4
+ from langchain_specstream.retrievers import SpecStreamRetriever
5
+ from langchain_specstream.tools import SpecStreamFindList, SpecStreamGetListResults, specstream_tools
6
+
7
+ __all__ = ["SpecStreamError", "SpecStreamFindList", "SpecStreamGetListResults", "SpecStreamRetriever", "specstream_tools"]
8
+ __version__ = "0.1.0"
@@ -0,0 +1,197 @@
1
+ """The SpecStream REST calls the tools share: read a request, price it, start it within a maximum, read its rows."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import hashlib
6
+ import json
7
+ import time
8
+ import urllib.error
9
+ import urllib.parse
10
+ import urllib.request
11
+ from dataclasses import dataclass
12
+ from typing import Any, Callable
13
+
14
+ DEFAULT_BASE_URL = "https://api.specstream.ai"
15
+ USER_AGENT = "langchain-specstream/0.1.0"
16
+ FINISHED = {"completed", "partial"}
17
+ STOPPED = {"failed", "cancelled", "canceled", "expired"}
18
+ # Fields every row carries; a column with the same name is renamed so it can't overwrite them.
19
+ RESERVED = {"list_id", "list_link", "position", "source_url", "checked_at"}
20
+
21
+ Opener = Callable[[urllib.request.Request, float], Any]
22
+
23
+
24
+ class SpecStreamError(RuntimeError):
25
+ """SpecStream refused a call or answered with something this package can't read."""
26
+
27
+
28
+ def _dollars(cents: int) -> str:
29
+ return f"${cents / 100:.2f}"
30
+
31
+
32
+ def list_link(find_id: str) -> str:
33
+ return f"https://specstream.ai/workspace/collections/{urllib.parse.quote(find_id, safe='')}"
34
+
35
+
36
+ def flatten_row(find_id: str, record: dict[str, Any]) -> dict[str, Any]:
37
+ """One row as flat fields: each column's label holds what the list shows, plus where the row was read."""
38
+ row: dict[str, Any] = {"list_id": find_id, "position": record.get("ordinal")}
39
+ source: dict[str, Any] | None = None
40
+ for cell in record.get("details") or record.get("cells") or []:
41
+ label = str(cell.get("label") or cell.get("column_id") or "").strip()
42
+ if not label:
43
+ continue
44
+ if label in RESERVED:
45
+ label = f"{label} (column)"
46
+ if cell.get("absence"):
47
+ value: Any = ""
48
+ elif cell.get("display") is not None:
49
+ value = cell["display"]
50
+ else:
51
+ value = cell.get("value") if cell.get("value") is not None else ""
52
+ row[label] = value
53
+ provenance = cell.get("provenance") or {}
54
+ if source is None and str(provenance.get("source_url") or "").startswith("http"):
55
+ source = provenance
56
+ row["source_url"] = source.get("source_url", "") if source else ""
57
+ row["checked_at"] = source.get("observed_at", "") if source else ""
58
+ row["list_link"] = list_link(find_id)
59
+ return row
60
+
61
+
62
+ @dataclass
63
+ class SpecStreamAPI:
64
+ api_key: str
65
+ base_url: str = DEFAULT_BASE_URL
66
+ timeout: float = 30.0
67
+ opener: Opener | None = None
68
+ sleep: Callable[[float], None] = time.sleep
69
+ clock: Callable[[], float] = time.monotonic
70
+
71
+ def request(self, method: str, path: str, body: dict[str, Any] | None = None, *, allow_404: bool = False) -> dict[str, Any] | None:
72
+ key = (self.api_key or "").strip()
73
+ if not key:
74
+ raise SpecStreamError("Set SPECSTREAM_API_KEY or pass api_key. Create a key under Agents & API in your SpecStream workspace.")
75
+ request = urllib.request.Request(
76
+ self.base_url.rstrip("/") + path,
77
+ data=None if body is None else json.dumps(body).encode(),
78
+ method=method,
79
+ headers={
80
+ "Authorization": key if key.lower().startswith("bearer ") else f"Bearer {key}",
81
+ "Accept": "application/json",
82
+ "Content-Type": "application/json",
83
+ "User-Agent": USER_AGENT,
84
+ },
85
+ )
86
+ open_ = self.opener or (lambda req, timeout: urllib.request.urlopen(req, timeout=timeout))
87
+ try:
88
+ response = open_(request, self.timeout)
89
+ try:
90
+ raw = response.read()
91
+ finally:
92
+ response.close()
93
+ except urllib.error.HTTPError as error:
94
+ if allow_404 and error.code == 404:
95
+ return None
96
+ raise SpecStreamError(_error_message(error)) from None
97
+ except urllib.error.URLError as error:
98
+ raise SpecStreamError(f"Couldn't reach SpecStream: {error.reason}") from None
99
+ try:
100
+ payload = json.loads(raw or b"{}")
101
+ except ValueError:
102
+ payload = None
103
+ if not isinstance(payload, dict) or not isinstance(payload.get("data"), dict):
104
+ raise SpecStreamError("SpecStream returned a response this package couldn't read.")
105
+ return payload["data"]
106
+
107
+ def results(self, find_id: str) -> dict[str, Any]:
108
+ """Every row found so far for a list, following the pages."""
109
+ rows: list[dict[str, Any]] = []
110
+ cursor: str | None = None
111
+ status = "running"
112
+ while True:
113
+ query = {"limit": "100", **({"cursor": cursor} if cursor else {})}
114
+ page = self.request("GET", f"/v1/finds/{urllib.parse.quote(find_id, safe='')}/rows?{urllib.parse.urlencode(query)}") or {}
115
+ status = page.get("status") or status
116
+ rows.extend(flatten_row(find_id, record) for record in page.get("rows") or [])
117
+ cursor = page.get("next_cursor")
118
+ if not cursor:
119
+ break
120
+ return {"list_id": find_id, "status": status, "list_link": list_link(find_id), "row_count": len(rows), "rows": rows}
121
+
122
+ def find_list(
123
+ self,
124
+ request: str,
125
+ *,
126
+ max_results: int,
127
+ max_price_usd: float,
128
+ wait_seconds: float = 300.0,
129
+ poll_interval: float = 3.0,
130
+ locale: str = "en-US",
131
+ key_prefix: str = "langchain",
132
+ ) -> dict[str, Any]:
133
+ q = (request or "").strip()
134
+ if not q:
135
+ raise ValueError("Describe the list to find.")
136
+ if not isinstance(max_results, int) or max_results < 1:
137
+ raise ValueError("max_results must be 1 or more.")
138
+ max_cents = round(float(max_price_usd) * 100)
139
+ if max_cents <= 0:
140
+ raise ValueError("max_price_usd must be greater than 0.")
141
+
142
+ # The same request with the same limits within the same hour gets the run it already started,
143
+ # so a retried agent step never buys the list twice.
144
+ hour = time.strftime("%Y-%m-%dT%H", time.gmtime())
145
+ digest = hashlib.sha256(f"{q}|{max_results}|{max_cents}|{hour}".encode()).hexdigest()[:32]
146
+ request_key = f"{key_prefix}-{digest}"
147
+ existing = self.request("GET", f"/v1/capacity/requests/{urllib.parse.quote(request_key, safe='')}", allow_404=True)
148
+ if existing and existing.get("find_id"):
149
+ find_id = existing["find_id"]
150
+ maximum_cents = int(existing.get("maximum_cents") or max_cents)
151
+ else:
152
+ reading = self.request("POST", "/v1/parse", {"q": q, "locale": locale}) or {}
153
+ if reading.get("status") != "runnable":
154
+ read_as = reading.get("canonical_sentence") or q
155
+ return {
156
+ "status": "needs_edit",
157
+ "request": q,
158
+ "message": f'SpecStream needs a clearer request before it can price it. It read: "{read_as}". Add the place or what every row must meet.',
159
+ }
160
+ quote = self.request(
161
+ "POST", "/v1/capacity/quotes", {"ast_hash": reading["ast_hash"], "operation": "find", "requested_units": max_results}
162
+ ) or {}
163
+ maximum_cents = int(quote.get("maximum_cents") or 0)
164
+ if maximum_cents > max_cents:
165
+ return {
166
+ "status": "over_maximum",
167
+ "request": q,
168
+ "maximum_price_usd": maximum_cents / 100,
169
+ "message": f"Nothing ran: this list can cost up to {_dollars(maximum_cents)}, above the maximum of {_dollars(max_cents)}. Ask for fewer results or raise max_price_usd.",
170
+ }
171
+ run = self.request(
172
+ "POST",
173
+ "/v1/capacity/executions",
174
+ {"quote_id": quote["quote_id"], "quote_hash": quote["quote_hash"], "confirm_max_cents": maximum_cents, "idempotency_key": request_key},
175
+ ) or {}
176
+ find_id = run["find_id"]
177
+
178
+ deadline = self.clock() + max(0.0, wait_seconds)
179
+ while True:
180
+ result = self.results(find_id)
181
+ if result["status"] in FINISHED | STOPPED or self.clock() >= deadline:
182
+ break
183
+ self.sleep(poll_interval)
184
+ result.update({"request": q, "maximum_price_usd": maximum_cents / 100})
185
+ if result["status"] not in FINISHED | STOPPED:
186
+ result["message"] = "Still running. Call specstream_get_list_results with this list_id for the rest."
187
+ return result
188
+
189
+
190
+ def _error_message(error: urllib.error.HTTPError) -> str:
191
+ try:
192
+ payload = json.loads(error.read() or b"{}")
193
+ except ValueError:
194
+ payload = {}
195
+ detail = payload.get("error") if isinstance(payload, dict) else None
196
+ message = detail.get("message") if isinstance(detail, dict) else detail if isinstance(detail, str) else None
197
+ return f"SpecStream answered {error.code}: {message or error.reason}"
File without changes
@@ -0,0 +1,54 @@
1
+ """A retriever whose documents are the rows of a SpecStream list."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from langchain_core.callbacks import CallbackManagerForRetrieverRun
6
+ from langchain_core.documents import Document
7
+ from langchain_core.retrievers import BaseRetriever
8
+ from langchain_core.utils import secret_from_env
9
+ from pydantic import Field, SecretStr
10
+
11
+ from langchain_specstream._api import DEFAULT_BASE_URL, SpecStreamAPI, SpecStreamError
12
+
13
+ # Row fields that describe where the row came from rather than what it says.
14
+ _META = ("list_id", "list_link", "position", "source_url", "checked_at")
15
+
16
+
17
+ class SpecStreamRetriever(BaseRetriever):
18
+ """Turn a plain-English request into documents, one per matching row, with its source in the metadata.
19
+
20
+ Example:
21
+ .. code-block:: python
22
+
23
+ from langchain_specstream import SpecStreamRetriever
24
+
25
+ retriever = SpecStreamRetriever(max_price_usd=3, max_results=25)
26
+ docs = retriever.invoke("Breweries in Portland, Oregon that host events, with their website")
27
+ """
28
+
29
+ api_key: SecretStr = Field(default_factory=secret_from_env("SPECSTREAM_API_KEY"))
30
+ base_url: str = DEFAULT_BASE_URL
31
+ max_price_usd: float = Field(gt=0)
32
+ """The most one list may cost, in US dollars. If the price is higher, the retriever raises and nothing runs."""
33
+ max_results: int = Field(default=25, ge=1, le=1000)
34
+ wait_seconds: float = 300.0
35
+ poll_interval: float = 3.0
36
+ locale: str = "en-US"
37
+
38
+ def _get_relevant_documents(self, query: str, *, run_manager: CallbackManagerForRetrieverRun) -> list[Document]:
39
+ result = SpecStreamAPI(self.api_key.get_secret_value(), self.base_url).find_list(
40
+ query,
41
+ max_results=self.max_results,
42
+ max_price_usd=self.max_price_usd,
43
+ wait_seconds=self.wait_seconds,
44
+ poll_interval=self.poll_interval,
45
+ locale=self.locale,
46
+ key_prefix="langchain-retriever",
47
+ )
48
+ if result["status"] in ("needs_edit", "over_maximum"):
49
+ raise SpecStreamError(result["message"])
50
+ documents = []
51
+ for row in result["rows"]:
52
+ facts = "\n".join(f"{label}: {value}" for label, value in row.items() if label not in _META and value not in ("", None))
53
+ documents.append(Document(page_content=facts, metadata={key: row.get(key) for key in _META} | {"request": result.get("request")}))
54
+ return documents
@@ -0,0 +1,102 @@
1
+ """LangChain tools that ask SpecStream for a list on the live web and read its rows."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ from typing import Any, Optional
7
+
8
+ from langchain_core.callbacks import CallbackManagerForToolRun
9
+ from langchain_core.tools import BaseTool
10
+ from langchain_core.utils import secret_from_env
11
+ from pydantic import BaseModel, Field, SecretStr
12
+
13
+ from langchain_specstream._api import DEFAULT_BASE_URL, SpecStreamAPI
14
+
15
+
16
+ class FindListInput(BaseModel):
17
+ """What the model fills in. The price ceiling is not here: the developer sets it on the tool."""
18
+
19
+ request: str = Field(
20
+ description=(
21
+ "The list to find, in plain words: what every row must be or meet, and the details to bring back. "
22
+ "Example: 'Roofing companies in Columbus, Ohio with their website and phone'."
23
+ )
24
+ )
25
+ max_results: int = Field(default=25, ge=1, le=1000, description="How many matching rows to find.")
26
+
27
+
28
+ class GetListResultsInput(BaseModel):
29
+ list_id: str = Field(description="The list_id returned by specstream_find_list.")
30
+
31
+
32
+ class _SpecStreamTool(BaseTool):
33
+ api_key: SecretStr = Field(default_factory=secret_from_env("SPECSTREAM_API_KEY"))
34
+ """A SpecStream API key. Read from SPECSTREAM_API_KEY when not passed."""
35
+ base_url: str = DEFAULT_BASE_URL
36
+
37
+ def _api(self) -> SpecStreamAPI:
38
+ return SpecStreamAPI(self.api_key.get_secret_value(), self.base_url)
39
+
40
+
41
+ class SpecStreamFindList(_SpecStreamTool):
42
+ """Ask for a list in plain words and get every matching row, each with the page it was read from.
43
+
44
+ The list starts only if its price is within ``max_price_usd``, which you set here, in code. The model
45
+ chooses the request and how many rows; it can't raise the price ceiling.
46
+
47
+ Example:
48
+ .. code-block:: python
49
+
50
+ from langchain_specstream import SpecStreamFindList
51
+
52
+ tool = SpecStreamFindList(max_price_usd=5)
53
+ tool.invoke({"request": "Dental clinics in Lisbon with online booking", "max_results": 20})
54
+ """
55
+
56
+ name: str = "specstream_find_list"
57
+ description: str = (
58
+ "Find a list of real organizations, people, places or records on the live web from a plain-English "
59
+ "request, and get back every matching row with the page it was read from. Use it when the answer is "
60
+ "many items that meet conditions (companies in a city, clinics with a service, funding filings, open "
61
+ "grants, tenders, repositories), not a single fact. Results cost money: the list starts only if its "
62
+ "price is within the maximum the developer set, and only matching rows are paid for."
63
+ )
64
+ args_schema: type[BaseModel] = FindListInput
65
+
66
+ max_price_usd: float = Field(gt=0)
67
+ """The most one list may cost, in US dollars. If the price is higher, nothing runs."""
68
+ wait_seconds: float = 300.0
69
+ """How long to wait for the list to finish before returning the rows found so far."""
70
+ poll_interval: float = 3.0
71
+ locale: str = "en-US"
72
+
73
+ def _run(self, request: str, max_results: int = 25, run_manager: Optional[CallbackManagerForToolRun] = None) -> str:
74
+ result = self._api().find_list(
75
+ request,
76
+ max_results=max_results,
77
+ max_price_usd=self.max_price_usd,
78
+ wait_seconds=self.wait_seconds,
79
+ poll_interval=self.poll_interval,
80
+ locale=self.locale,
81
+ )
82
+ return json.dumps(result, ensure_ascii=False, default=str)
83
+
84
+
85
+ class SpecStreamGetListResults(_SpecStreamTool):
86
+ """Read every row found so far for a list. Reading a list you already have costs nothing."""
87
+
88
+ name: str = "specstream_get_list_results"
89
+ description: str = (
90
+ "Get every row found so far for a SpecStream list, each with the page it was read from. Use it with "
91
+ "the list_id from specstream_find_list when that list was still running. Costs nothing."
92
+ )
93
+ args_schema: type[BaseModel] = GetListResultsInput
94
+
95
+ def _run(self, list_id: str, run_manager: Optional[CallbackManagerForToolRun] = None) -> str:
96
+ return json.dumps(self._api().results(list_id), ensure_ascii=False, default=str)
97
+
98
+
99
+ def specstream_tools(max_price_usd: float, **kwargs: Any) -> list[BaseTool]:
100
+ """Both tools, sharing one key and base URL: the usual way to give an agent SpecStream."""
101
+ shared = {key: kwargs.pop(key) for key in ("api_key", "base_url") if key in kwargs}
102
+ return [SpecStreamFindList(max_price_usd=max_price_usd, **shared, **kwargs), SpecStreamGetListResults(**shared)]
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.5
2
+ Name: langchain-specstream
3
+ Version: 0.1.0
4
+ Summary: Give a LangChain agent any list from the live web: ask in plain words, get every matching row with the page it came from, within a price you set in code.
5
+ Project-URL: Homepage, https://specstream.ai
6
+ Project-URL: Documentation, https://specstream.ai/docs/langchain
7
+ Project-URL: Repository, https://github.com/Specstreamai/specstream-tools/tree/main/packages/langchain-specstream
8
+ Project-URL: Issues, https://github.com/Specstreamai/specstream-tools/issues
9
+ Project-URL: Pricing, https://specstream.ai/pricing
10
+ Author-email: SpecStream <support@specstream.ai>
11
+ License-Expression: MIT
12
+ License-File: LICENSE
13
+ Keywords: agents,langchain,lead-lists,live-web,research,retriever,specstream,tools,web-data
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Internet :: WWW/HTTP
24
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
+ Classifier: Typing :: Typed
26
+ Requires-Python: >=3.10
27
+ Requires-Dist: langchain-core<2.0.0,>=0.3.0
28
+ Provides-Extra: test
29
+ Requires-Dist: langchain-tests>=0.3; extra == 'test'
30
+ Requires-Dist: pytest>=8; extra == 'test'
31
+ Description-Content-Type: text/markdown
32
+
33
+ # langchain-specstream
34
+
35
+ Give your LangChain agent any list from the live web. It asks in plain words – "dental clinics in Lisbon with online booking", "US startups that filed a $5M+ Form D this week" – and gets back every matching row, each with the page it was read from. The list starts only within a price you set in code, and the model can't raise it.
36
+
37
+ ```bash
38
+ pip install -U langchain-specstream
39
+ export SPECSTREAM_API_KEY=ss_live_... # Agents & API in your SpecStream workspace
40
+ ```
41
+
42
+ A free account comes with $10 of work to use within 30 days and needs no card: [specstream.ai](https://specstream.ai/signup).
43
+
44
+ ## An agent that can find lists
45
+
46
+ ```python
47
+ from langchain.agents import create_agent
48
+ from langchain_specstream import specstream_tools
49
+
50
+ agent = create_agent(
51
+ "anthropic:claude-sonnet-5-5",
52
+ tools=specstream_tools(max_price_usd=5),
53
+ )
54
+ agent.invoke({"messages": [{"role": "user", "content":
55
+ "Find US startups that raised $5M or more in a Form D filed after October 8, 2026. Which industries lead?"}]})
56
+ ```
57
+
58
+ The agent writes the request and picks how many rows. You decide what one list may cost.
59
+
60
+ ## What comes back
61
+
62
+ One flat row per match: the list's own columns, then where the row was read. This is a real row from the request above.
63
+
64
+ ```json
65
+ {
66
+ "list_id": "fnd_gk5y3d0r97bvyz0t08zzh75kr6",
67
+ "position": 26,
68
+ "Organization": "RapidCanvas Inc",
69
+ "Published address": "801 BARTON SPRINGS RD, AUSTIN, TEXAS, 78704",
70
+ "Source industry classification": "Other Technology",
71
+ "Amount sold (USD)": "28999988",
72
+ "Funding filing date": "2026-10-14",
73
+ "source_url": "https://www.sec.gov/Archives/edgar/data/2052031/000205203126000006/primary_doc.xml",
74
+ "checked_at": "2026-10-14T19:56:02.016693Z",
75
+ "list_link": "https://specstream.ai/workspace/collections/fnd_gk5y3d0r97bvyz0t08zzh75kr6"
76
+ }
77
+ ```
78
+
79
+ Columns follow the request. Ask for "breweries in Portland, Oregon that host events, with their website" and the rows carry the brewery and its website instead. A fact a source doesn't publish comes back empty, never guessed.
80
+
81
+ ## The two tools
82
+
83
+ | Tool | The model gives | What happens | Cost |
84
+ | --- | --- | --- | --- |
85
+ | `specstream_find_list` | `request`, `max_results` | Reads the request, prices it, starts it only within `max_price_usd`, waits up to `wait_seconds` (5 minutes by default) and returns every row | Only the rows that match |
86
+ | `specstream_get_list_results` | `list_id` | Every row found so far, for a list that was still running | Free |
87
+
88
+ When the price is above your maximum, nothing runs: the tool returns the price, so the agent can ask for fewer rows or tell the user. When a request is too vague to price ("clinics"), it returns how SpecStream read it, so the agent can add the place or the conditions.
89
+
90
+ Use the classes directly when you want different settings per tool:
91
+
92
+ ```python
93
+ from langchain_specstream import SpecStreamFindList, SpecStreamGetListResults
94
+
95
+ find = SpecStreamFindList(max_price_usd=20, wait_seconds=600)
96
+ results = SpecStreamGetListResults()
97
+ ```
98
+
99
+ ## As a retriever
100
+
101
+ ```python
102
+ from langchain_specstream import SpecStreamRetriever
103
+
104
+ retriever = SpecStreamRetriever(max_price_usd=3, max_results=25)
105
+ docs = retriever.invoke("Breweries in Portland, Oregon that host events, with their website")
106
+
107
+ docs[0].page_content # "Business location: Occidental Brewing Company\nPublished business website: http://occidentalbeers.com ..."
108
+ docs[0].metadata["source_url"] # the page that row was read from
109
+ ```
110
+
111
+ One document per row, its facts as text and its source in the metadata, so a chain can cite every claim. Above the maximum, the retriever raises `SpecStreamError` and nothing runs.
112
+
113
+ ## Money, plainly
114
+
115
+ - `max_price_usd` lives on the tool, in your code. The model never sees it and can't change it.
116
+ - You pay for rows that match. Candidates SpecStream couldn't confirm are left out and aren't billed.
117
+ - A retried step asking for the same list within the hour gets the list it already started, not a second bill.
118
+ - Rates and plans: [specstream.ai/pricing](https://specstream.ai/pricing).
119
+
120
+ ## When to reach for it
121
+
122
+ When the answer is many things that meet conditions: companies in a city, clinics with a service, funding filings, open grants, tenders, repositories, people in a role. For a single fact or a summary of one page, a search tool fits better.
123
+
124
+ ## More
125
+
126
+ - [SpecStream docs](https://specstream.ai/docs) and the [LangChain page](https://specstream.ai/docs/langchain)
127
+ - Agents outside LangChain: the [MCP server](https://specstream.ai/docs/mcp) at `https://api.specstream.ai/mcp`
128
+ - The [Python SDK](https://pypi.org/project/specstream-client/) for everything else in the API
129
+ - Questions: support@specstream.ai
130
+
131
+ MIT licensed. Made by [SpecStream](https://specstream.ai), the live web data engine for teams and agents.
@@ -0,0 +1,9 @@
1
+ langchain_specstream/__init__.py,sha256=2FwPGxFyySeF8bl0xuxLV3hHfHk11q6TiF9uDVk3qFo,472
2
+ langchain_specstream/_api.py,sha256=rDnNCZwRitkUbOzGb5hV1YXzfKjd2upTmoyislFY-2U,8845
3
+ langchain_specstream/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ langchain_specstream/retrievers.py,sha256=89J7n6q8unLFVLl9mu33ybjmiLWeKzdCvvTZYEMiBxs,2444
5
+ langchain_specstream/tools.py,sha256=_aZNcbI1KLRCJFOZuL_cnehvnLQwTCFfNTdbj-cSJXk,4521
6
+ langchain_specstream-0.1.0.dist-info/METADATA,sha256=Eu1JRj3IrOHhRYe3tPSGFGv1giDZuh0Anu0ZrqzH0zU,6367
7
+ langchain_specstream-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
8
+ langchain_specstream-0.1.0.dist-info/licenses/LICENSE,sha256=lvzGtfzsxc8Xe1_0sabdiWTcSDiSg3jqaFKV9x3F4oo,1071
9
+ langchain_specstream-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SpecStream SAS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.