bridgenode-sdk 0.1.1__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.
@@ -0,0 +1,16 @@
1
+ MIT No Attribution
2
+
3
+ Copyright 2026 BridgeNode
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this
6
+ software and associated documentation files (the "Software"), to deal in the Software
7
+ without restriction, including without limitation the rights to use, copy, modify,
8
+ merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
9
+ permit persons to whom the Software is furnished to do so.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
12
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
13
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
14
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
15
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
16
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,79 @@
1
+ Metadata-Version: 2.4
2
+ Name: bridgenode-sdk
3
+ Version: 0.1.1
4
+ Summary: BridgeNode — AI inference without API keys. Pay per request with Solana USDC via x402 (alias for the bridgenode toolkit).
5
+ Author-email: BridgeNode <eli.BNx@proton.me>
6
+ License-Expression: MIT-0
7
+ Project-URL: Homepage, https://bridgenode.cc
8
+ Project-URL: Repository, https://github.com/applefanaimail-blip/bridgenode-llm
9
+ Project-URL: Documentation, https://bridgenode.cc/llms.txt
10
+ Keywords: x402,solana,usdc,ai,llm,cli,agents,payment,bridgenode,openai-compatible,chat,inference,micropayments
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Typing :: Typed
22
+ Requires-Python: >=3.11
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: bridgenode>=0.1.0
26
+ Dynamic: license-file
27
+
28
+ # bridgenode-sdk
29
+
30
+ [![PyPI version](https://img.shields.io/pypi/v/bridgenode-sdk.svg)](https://pypi.org/project/bridgenode-sdk/)
31
+ [![License: MIT-0](https://img.shields.io/badge/License-MIT--0-yellow.svg)](https://opensource.org/license/mit-0/)
32
+
33
+ BridgeNode — AI inference without API keys. Pay per request with **Solana USDC via x402**. No API keys, no registration — the payment handshake is fully automatic, and fees are sponsored (the agent needs no SOL).
34
+
35
+ This is an alias package: it installs the full BridgeNode toolkit (Python SDK + CLI) via the [`bridgenode`](https://pypi.org/project/bridgenode/) meta-package.
36
+
37
+ ## Installation
38
+
39
+ ```bash
40
+ pip install bridgenode-sdk
41
+ ```
42
+
43
+ This installs **`bridgenode-llm`** (the Python SDK) and **`bridgenode-cli`** (the CLI).
44
+
45
+ ## Quick start (Python)
46
+
47
+ ```python
48
+ from bridgenode_llm import LLMClient
49
+
50
+ client = LLMClient() # key from .env (BRIDGENODE_WALLET_KEY)
51
+ resp = client.chat("deepseek-v4-flash", [
52
+ {"role": "user", "content": "Hello!"}])
53
+ print(resp["choices"][0]["message"]["content"])
54
+ ```
55
+
56
+ ## Quick start (CLI)
57
+
58
+ ```bash
59
+ bridgenode chat "Hello!" --model deepseek-v4-flash
60
+ bridgenode models # list models + prices (no payment)
61
+ ```
62
+
63
+ ## Configuration (.env)
64
+
65
+ ```bash
66
+ # Required — your Solana wallet private key (base58)
67
+ BRIDGENODE_WALLET_KEY=***
68
+ # Optional
69
+ # BRIDGENODE_BASE_URL=https://bridgenode.cc/v1
70
+ # BRIDGENODE_MAX_PER_CALL=0.05 # spending policy: max USD per call (fail-closed)
71
+ # BRIDGENODE_DAILY_CAP=1.0 # spending policy: max USD per day
72
+ ```
73
+
74
+ ## Links
75
+
76
+ - Website: https://bridgenode.cc
77
+ - Models & prices: https://bridgenode.cc/v1/models
78
+ - Documentation: https://bridgenode.cc/llms.txt
79
+ - Protocol: x402 V2 (https://docs.x402.org)
@@ -0,0 +1,52 @@
1
+ # bridgenode-sdk
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/bridgenode-sdk.svg)](https://pypi.org/project/bridgenode-sdk/)
4
+ [![License: MIT-0](https://img.shields.io/badge/License-MIT--0-yellow.svg)](https://opensource.org/license/mit-0/)
5
+
6
+ BridgeNode — AI inference without API keys. Pay per request with **Solana USDC via x402**. No API keys, no registration — the payment handshake is fully automatic, and fees are sponsored (the agent needs no SOL).
7
+
8
+ This is an alias package: it installs the full BridgeNode toolkit (Python SDK + CLI) via the [`bridgenode`](https://pypi.org/project/bridgenode/) meta-package.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ pip install bridgenode-sdk
14
+ ```
15
+
16
+ This installs **`bridgenode-llm`** (the Python SDK) and **`bridgenode-cli`** (the CLI).
17
+
18
+ ## Quick start (Python)
19
+
20
+ ```python
21
+ from bridgenode_llm import LLMClient
22
+
23
+ client = LLMClient() # key from .env (BRIDGENODE_WALLET_KEY)
24
+ resp = client.chat("deepseek-v4-flash", [
25
+ {"role": "user", "content": "Hello!"}])
26
+ print(resp["choices"][0]["message"]["content"])
27
+ ```
28
+
29
+ ## Quick start (CLI)
30
+
31
+ ```bash
32
+ bridgenode chat "Hello!" --model deepseek-v4-flash
33
+ bridgenode models # list models + prices (no payment)
34
+ ```
35
+
36
+ ## Configuration (.env)
37
+
38
+ ```bash
39
+ # Required — your Solana wallet private key (base58)
40
+ BRIDGENODE_WALLET_KEY=***
41
+ # Optional
42
+ # BRIDGENODE_BASE_URL=https://bridgenode.cc/v1
43
+ # BRIDGENODE_MAX_PER_CALL=0.05 # spending policy: max USD per call (fail-closed)
44
+ # BRIDGENODE_DAILY_CAP=1.0 # spending policy: max USD per day
45
+ ```
46
+
47
+ ## Links
48
+
49
+ - Website: https://bridgenode.cc
50
+ - Models & prices: https://bridgenode.cc/v1/models
51
+ - Documentation: https://bridgenode.cc/llms.txt
52
+ - Protocol: x402 V2 (https://docs.x402.org)
@@ -0,0 +1,5 @@
1
+ """bridgenode-sdk — alias package for BridgeNode.
2
+
3
+ Installs the full BridgeNode toolkit (Python SDK + CLI) via bridgenode.
4
+ """
5
+ __version__ = "0.1.1"
File without changes
@@ -0,0 +1,79 @@
1
+ Metadata-Version: 2.4
2
+ Name: bridgenode-sdk
3
+ Version: 0.1.1
4
+ Summary: BridgeNode — AI inference without API keys. Pay per request with Solana USDC via x402 (alias for the bridgenode toolkit).
5
+ Author-email: BridgeNode <eli.BNx@proton.me>
6
+ License-Expression: MIT-0
7
+ Project-URL: Homepage, https://bridgenode.cc
8
+ Project-URL: Repository, https://github.com/applefanaimail-blip/bridgenode-llm
9
+ Project-URL: Documentation, https://bridgenode.cc/llms.txt
10
+ Keywords: x402,solana,usdc,ai,llm,cli,agents,payment,bridgenode,openai-compatible,chat,inference,micropayments
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Typing :: Typed
22
+ Requires-Python: >=3.11
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Requires-Dist: bridgenode>=0.1.0
26
+ Dynamic: license-file
27
+
28
+ # bridgenode-sdk
29
+
30
+ [![PyPI version](https://img.shields.io/pypi/v/bridgenode-sdk.svg)](https://pypi.org/project/bridgenode-sdk/)
31
+ [![License: MIT-0](https://img.shields.io/badge/License-MIT--0-yellow.svg)](https://opensource.org/license/mit-0/)
32
+
33
+ BridgeNode — AI inference without API keys. Pay per request with **Solana USDC via x402**. No API keys, no registration — the payment handshake is fully automatic, and fees are sponsored (the agent needs no SOL).
34
+
35
+ This is an alias package: it installs the full BridgeNode toolkit (Python SDK + CLI) via the [`bridgenode`](https://pypi.org/project/bridgenode/) meta-package.
36
+
37
+ ## Installation
38
+
39
+ ```bash
40
+ pip install bridgenode-sdk
41
+ ```
42
+
43
+ This installs **`bridgenode-llm`** (the Python SDK) and **`bridgenode-cli`** (the CLI).
44
+
45
+ ## Quick start (Python)
46
+
47
+ ```python
48
+ from bridgenode_llm import LLMClient
49
+
50
+ client = LLMClient() # key from .env (BRIDGENODE_WALLET_KEY)
51
+ resp = client.chat("deepseek-v4-flash", [
52
+ {"role": "user", "content": "Hello!"}])
53
+ print(resp["choices"][0]["message"]["content"])
54
+ ```
55
+
56
+ ## Quick start (CLI)
57
+
58
+ ```bash
59
+ bridgenode chat "Hello!" --model deepseek-v4-flash
60
+ bridgenode models # list models + prices (no payment)
61
+ ```
62
+
63
+ ## Configuration (.env)
64
+
65
+ ```bash
66
+ # Required — your Solana wallet private key (base58)
67
+ BRIDGENODE_WALLET_KEY=***
68
+ # Optional
69
+ # BRIDGENODE_BASE_URL=https://bridgenode.cc/v1
70
+ # BRIDGENODE_MAX_PER_CALL=0.05 # spending policy: max USD per call (fail-closed)
71
+ # BRIDGENODE_DAILY_CAP=1.0 # spending policy: max USD per day
72
+ ```
73
+
74
+ ## Links
75
+
76
+ - Website: https://bridgenode.cc
77
+ - Models & prices: https://bridgenode.cc/v1/models
78
+ - Documentation: https://bridgenode.cc/llms.txt
79
+ - Protocol: x402 V2 (https://docs.x402.org)
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ bridgenode_sdk/__init__.py
5
+ bridgenode_sdk/py.typed
6
+ bridgenode_sdk.egg-info/PKG-INFO
7
+ bridgenode_sdk.egg-info/SOURCES.txt
8
+ bridgenode_sdk.egg-info/dependency_links.txt
9
+ bridgenode_sdk.egg-info/requires.txt
10
+ bridgenode_sdk.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ bridgenode>=0.1.0
@@ -0,0 +1 @@
1
+ bridgenode_sdk
@@ -0,0 +1,43 @@
1
+ [project]
2
+ name = "bridgenode-sdk"
3
+ version = "0.1.1"
4
+ description = "BridgeNode — AI inference without API keys. Pay per request with Solana USDC via x402 (alias for the bridgenode toolkit)."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = "MIT-0"
8
+ license-files = ["LICENSE"]
9
+ authors = [
10
+ { name = "BridgeNode", email = "eli.BNx@proton.me" },
11
+ ]
12
+ keywords = ["x402", "solana", "usdc", "ai", "llm", "cli", "agents", "payment", "bridgenode", "openai-compatible", "chat", "inference", "micropayments"]
13
+ classifiers = [
14
+ "Development Status :: 4 - Beta",
15
+ "Intended Audience :: Developers",
16
+ "Operating System :: OS Independent",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3 :: Only",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Programming Language :: Python :: 3.14",
23
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
24
+ "Typing :: Typed",
25
+ ]
26
+ dependencies = [
27
+ "bridgenode>=0.1.0",
28
+ ]
29
+
30
+ [project.urls]
31
+ Homepage = "https://bridgenode.cc"
32
+ Repository = "https://github.com/applefanaimail-blip/bridgenode-llm"
33
+ Documentation = "https://bridgenode.cc/llms.txt"
34
+
35
+ [build-system]
36
+ requires = ["setuptools>=75"]
37
+ build-backend = "setuptools.build_meta"
38
+
39
+ [tool.setuptools.packages.find]
40
+ include = ["bridgenode_sdk*"]
41
+
42
+ [tool.setuptools.package-data]
43
+ bridgenode_sdk = ["py.typed"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+