dominusnode-langchain 1.2.2__tar.gz → 1.2.3__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.
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/PKG-INFO +6 -6
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/README.md +5 -5
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/dominusnode_langchain/tools.py +6 -10
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/pyproject.toml +1 -1
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/.gitignore +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/CHANGELOG.md +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/LICENSE +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/conftest.py +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/dominusnode_langchain/__init__.py +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/dominusnode_langchain/toolkit.py +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/tests/__init__.py +0 -0
- {dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/tests/test_tools.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dominusnode-langchain
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: LangChain tools for Dominus Node rotating proxy service
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -95,7 +95,7 @@ tools = toolkit.get_tools()
|
|
|
95
95
|
|
|
96
96
|
# Get tools by name
|
|
97
97
|
fetch_tool = next(t for t in tools if t.name == "dominusnode_proxied_fetch")
|
|
98
|
-
balance_tool = next(t for t in tools if t.name == "
|
|
98
|
+
balance_tool = next(t for t in tools if t.name == "dominusnode_check_balance")
|
|
99
99
|
|
|
100
100
|
# Check balance
|
|
101
101
|
print(balance_tool.run({}))
|
|
@@ -134,19 +134,19 @@ Makes HTTP requests through the Dominus Node rotating proxy network.
|
|
|
134
134
|
- `file://`, `ftp://`, and other non-HTTP schemes are rejected
|
|
135
135
|
- URLs with embedded credentials are rejected
|
|
136
136
|
|
|
137
|
-
### `
|
|
137
|
+
### `dominusnode_check_balance`
|
|
138
138
|
|
|
139
139
|
Check your Dominus Node wallet balance. No input required.
|
|
140
140
|
|
|
141
141
|
Returns the balance in both USD and cents.
|
|
142
142
|
|
|
143
|
-
### `
|
|
143
|
+
### `dominusnode_check_usage`
|
|
144
144
|
|
|
145
145
|
Check your Dominus Node proxy usage statistics. No input required.
|
|
146
146
|
|
|
147
147
|
Returns total bandwidth used (GB), total cost, and request count.
|
|
148
148
|
|
|
149
|
-
### `
|
|
149
|
+
### `dominusnode_get_proxy_config`
|
|
150
150
|
|
|
151
151
|
Get the Dominus Node proxy configuration. No input required.
|
|
152
152
|
|
|
@@ -164,7 +164,7 @@ async def main():
|
|
|
164
164
|
toolkit = DominusNodeToolkit(api_key="dn_live_your_key")
|
|
165
165
|
tools = toolkit.get_tools()
|
|
166
166
|
|
|
167
|
-
balance_tool = next(t for t in tools if t.name == "
|
|
167
|
+
balance_tool = next(t for t in tools if t.name == "dominusnode_check_balance")
|
|
168
168
|
fetch_tool = next(t for t in tools if t.name == "dominusnode_proxied_fetch")
|
|
169
169
|
|
|
170
170
|
# Async balance check
|
|
@@ -80,7 +80,7 @@ tools = toolkit.get_tools()
|
|
|
80
80
|
|
|
81
81
|
# Get tools by name
|
|
82
82
|
fetch_tool = next(t for t in tools if t.name == "dominusnode_proxied_fetch")
|
|
83
|
-
balance_tool = next(t for t in tools if t.name == "
|
|
83
|
+
balance_tool = next(t for t in tools if t.name == "dominusnode_check_balance")
|
|
84
84
|
|
|
85
85
|
# Check balance
|
|
86
86
|
print(balance_tool.run({}))
|
|
@@ -119,19 +119,19 @@ Makes HTTP requests through the Dominus Node rotating proxy network.
|
|
|
119
119
|
- `file://`, `ftp://`, and other non-HTTP schemes are rejected
|
|
120
120
|
- URLs with embedded credentials are rejected
|
|
121
121
|
|
|
122
|
-
### `
|
|
122
|
+
### `dominusnode_check_balance`
|
|
123
123
|
|
|
124
124
|
Check your Dominus Node wallet balance. No input required.
|
|
125
125
|
|
|
126
126
|
Returns the balance in both USD and cents.
|
|
127
127
|
|
|
128
|
-
### `
|
|
128
|
+
### `dominusnode_check_usage`
|
|
129
129
|
|
|
130
130
|
Check your Dominus Node proxy usage statistics. No input required.
|
|
131
131
|
|
|
132
132
|
Returns total bandwidth used (GB), total cost, and request count.
|
|
133
133
|
|
|
134
|
-
### `
|
|
134
|
+
### `dominusnode_get_proxy_config`
|
|
135
135
|
|
|
136
136
|
Get the Dominus Node proxy configuration. No input required.
|
|
137
137
|
|
|
@@ -149,7 +149,7 @@ async def main():
|
|
|
149
149
|
toolkit = DominusNodeToolkit(api_key="dn_live_your_key")
|
|
150
150
|
tools = toolkit.get_tools()
|
|
151
151
|
|
|
152
|
-
balance_tool = next(t for t in tools if t.name == "
|
|
152
|
+
balance_tool = next(t for t in tools if t.name == "dominusnode_check_balance")
|
|
153
153
|
fetch_tool = next(t for t in tools if t.name == "dominusnode_proxied_fetch")
|
|
154
154
|
|
|
155
155
|
# Async balance check
|
|
@@ -439,7 +439,7 @@ class DominusNodeBalanceTool(BaseTool):
|
|
|
439
439
|
spend before making proxied requests.
|
|
440
440
|
"""
|
|
441
441
|
|
|
442
|
-
name: str = "
|
|
442
|
+
name: str = "dominusnode_check_balance"
|
|
443
443
|
description: str = (
|
|
444
444
|
"Check your Dominus Node wallet balance. Returns the current balance "
|
|
445
445
|
"in dollars and cents. No input required."
|
|
@@ -494,7 +494,7 @@ class DominusNodeUsageTool(BaseTool):
|
|
|
494
494
|
cost, and request count.
|
|
495
495
|
"""
|
|
496
496
|
|
|
497
|
-
name: str = "
|
|
497
|
+
name: str = "dominusnode_check_usage"
|
|
498
498
|
description: str = (
|
|
499
499
|
"Check your Dominus Node proxy usage statistics. Returns total bandwidth "
|
|
500
500
|
"used (in GB), total cost, and request count. No input required."
|
|
@@ -608,8 +608,6 @@ class TopupStripeInput(BaseModel):
|
|
|
608
608
|
"""Input schema for the Dominus Node Stripe top-up tool."""
|
|
609
609
|
|
|
610
610
|
amount_cents: int = Field(
|
|
611
|
-
ge=500,
|
|
612
|
-
le=100000,
|
|
613
611
|
description="Amount in cents to top up via Stripe (min 500 = $5, max 100000 = $1,000).",
|
|
614
612
|
)
|
|
615
613
|
|
|
@@ -664,8 +662,6 @@ class TopupCryptoInput(BaseModel):
|
|
|
664
662
|
"""Input schema for the Dominus Node crypto top-up tool."""
|
|
665
663
|
|
|
666
664
|
amount_usd: float = Field(
|
|
667
|
-
ge=5,
|
|
668
|
-
le=1000,
|
|
669
665
|
description="Amount in USD to top up with cryptocurrency (min 5, max 1000).",
|
|
670
666
|
)
|
|
671
667
|
currency: str = Field(
|
|
@@ -750,7 +746,7 @@ class DominusNodeProxyConfigTool(BaseTool):
|
|
|
750
746
|
and available geo-targeting features.
|
|
751
747
|
"""
|
|
752
748
|
|
|
753
|
-
name: str = "
|
|
749
|
+
name: str = "dominusnode_get_proxy_config"
|
|
754
750
|
description: str = (
|
|
755
751
|
"Get the Dominus Node proxy configuration including supported countries, "
|
|
756
752
|
"proxy endpoints, and geo-targeting capabilities. No input required."
|
|
@@ -2003,7 +1999,7 @@ def _validate_team_id(team_id: Any) -> Optional[str]:
|
|
|
2003
1999
|
class DominusNodeProxyStatusTool(BaseTool):
|
|
2004
2000
|
"""Get live proxy network status."""
|
|
2005
2001
|
|
|
2006
|
-
name: str = "
|
|
2002
|
+
name: str = "dominusnode_get_proxy_status"
|
|
2007
2003
|
description: str = (
|
|
2008
2004
|
"Get live proxy network status including latency, active session count, "
|
|
2009
2005
|
"and uptime. No input required."
|
|
@@ -2227,7 +2223,7 @@ class DominusNodeCheckPaymentTool(BaseTool):
|
|
|
2227
2223
|
class DominusNodeDailyUsageTool(BaseTool):
|
|
2228
2224
|
"""Get daily bandwidth breakdown."""
|
|
2229
2225
|
|
|
2230
|
-
name: str = "
|
|
2226
|
+
name: str = "dominusnode_get_daily_usage"
|
|
2231
2227
|
description: str = "Get daily bandwidth breakdown. Input: optional days (1-90, default 7)."
|
|
2232
2228
|
args_schema: Type[BaseModel] = GetDailyUsageInput
|
|
2233
2229
|
api_key: Optional[str] = None
|
|
@@ -2285,7 +2281,7 @@ class DominusNodeDailyUsageTool(BaseTool):
|
|
|
2285
2281
|
class DominusNodeTopHostsTool(BaseTool):
|
|
2286
2282
|
"""Get top target hosts by bandwidth."""
|
|
2287
2283
|
|
|
2288
|
-
name: str = "
|
|
2284
|
+
name: str = "dominusnode_get_top_hosts"
|
|
2289
2285
|
description: str = "Get top target hosts by bandwidth usage. Input: optional limit (1-50), days (1-365)."
|
|
2290
2286
|
args_schema: Type[BaseModel] = GetTopHostsInput
|
|
2291
2287
|
api_key: Optional[str] = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/dominusnode_langchain/__init__.py
RENAMED
|
File without changes
|
{dominusnode_langchain-1.2.2 → dominusnode_langchain-1.2.3}/dominusnode_langchain/toolkit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|