nirium 0.6.1__tar.gz → 0.6.2__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.
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nirium
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Official Python SDK for Nirium autonomous agents on Stellar (x402 + MPP)
5
5
  Author: Nirium Team
6
6
  Author-email: Nirium Protocol <xvaiosx7@gmail.com>
7
- License-Expression: MIT
7
+ License-Expression: Apache-2.0
8
8
  Project-URL: Homepage, https://nirium.xyz
9
- Project-URL: Repository, https://github.com/nirium/nirium
9
+ Project-URL: Repository, https://github.com/Eras256/nirium-core-private
10
10
  Project-URL: Documentation, https://nirium.xyz/docs
11
11
  Project-URL: Bug Tracker, https://github.com/nirium/nirium/issues
12
12
  Keywords: nirium,stellar,soroban,defi,sdk,agent,autonomous,treasury,x402,mpp,agentic-payments,usdc,cetes,etherfuse,rwa
13
- Requires-Python: >=3.9
13
+ Requires-Python: >=3.10
14
14
  Description-Content-Type: text/markdown
15
15
  Requires-Dist: aiohttp>=3.9.0
16
16
  Requires-Dist: websockets>=13.0
@@ -37,7 +37,7 @@ import asyncio
37
37
  from nirium import Agent
38
38
 
39
39
  agent = Agent(
40
- api_url="https://api.nirium.xyz",
40
+ api_url="https://nirium-agent.fly.dev",
41
41
  api_key="sk_inst_your_key_here",
42
42
  )
43
43
 
@@ -60,7 +60,7 @@ asyncio.run(main())
60
60
  ## Real-Time Signals (WebSocket)
61
61
 
62
62
  ```python
63
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...", token="eyJhbG...")
63
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...", token="eyJhbG...")
64
64
 
65
65
  @agent.on("signal")
66
66
  async def on_signal(data):
@@ -73,10 +73,10 @@ asyncio.run(agent.subscribe())
73
73
 
74
74
  ```python
75
75
  # API Key for REST endpoints
76
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...")
76
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...")
77
77
 
78
78
  # With JWT token for WebSocket
79
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...", token="eyJhbG...")
79
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...", token="eyJhbG...")
80
80
  ```
81
81
 
82
82
  ## Payment Protocols
@@ -88,7 +88,7 @@ agent.init_x402(
88
88
  network="stellar:testnet"
89
89
  )
90
90
 
91
- response = await agent.x402_fetch("https://api.nirium.xyz/api/v1/premium/signals")
91
+ response = await agent.x402_fetch("https://nirium-agent.fly.dev/api/v1/premium/signals")
92
92
  ```
93
93
 
94
94
  ### MPP — Session-Based Budget Delegation
@@ -98,7 +98,7 @@ agent.init_mpp(
98
98
  network="stellar:testnet",
99
99
  )
100
100
 
101
- response = await agent.mpp_fetch("https://api.nirium.xyz/api/v1/mpp/signals")
101
+ response = await agent.mpp_fetch("https://nirium-agent.fly.dev/api/v1/mpp/signals")
102
102
  ```
103
103
 
104
104
  ### Endpoint Access Model
@@ -145,4 +145,4 @@ response = await agent.mpp_fetch("https://api.nirium.xyz/api/v1/mpp/signals")
145
145
 
146
146
  ## License
147
147
 
148
- MIT — Nirium Protocol
148
+ Apache 2.0 — Nirium Protocol
@@ -17,7 +17,7 @@ import asyncio
17
17
  from nirium import Agent
18
18
 
19
19
  agent = Agent(
20
- api_url="https://api.nirium.xyz",
20
+ api_url="https://nirium-agent.fly.dev",
21
21
  api_key="sk_inst_your_key_here",
22
22
  )
23
23
 
@@ -40,7 +40,7 @@ asyncio.run(main())
40
40
  ## Real-Time Signals (WebSocket)
41
41
 
42
42
  ```python
43
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...", token="eyJhbG...")
43
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...", token="eyJhbG...")
44
44
 
45
45
  @agent.on("signal")
46
46
  async def on_signal(data):
@@ -53,10 +53,10 @@ asyncio.run(agent.subscribe())
53
53
 
54
54
  ```python
55
55
  # API Key for REST endpoints
56
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...")
56
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...")
57
57
 
58
58
  # With JWT token for WebSocket
59
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...", token="eyJhbG...")
59
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...", token="eyJhbG...")
60
60
  ```
61
61
 
62
62
  ## Payment Protocols
@@ -68,7 +68,7 @@ agent.init_x402(
68
68
  network="stellar:testnet"
69
69
  )
70
70
 
71
- response = await agent.x402_fetch("https://api.nirium.xyz/api/v1/premium/signals")
71
+ response = await agent.x402_fetch("https://nirium-agent.fly.dev/api/v1/premium/signals")
72
72
  ```
73
73
 
74
74
  ### MPP — Session-Based Budget Delegation
@@ -78,7 +78,7 @@ agent.init_mpp(
78
78
  network="stellar:testnet",
79
79
  )
80
80
 
81
- response = await agent.mpp_fetch("https://api.nirium.xyz/api/v1/mpp/signals")
81
+ response = await agent.mpp_fetch("https://nirium-agent.fly.dev/api/v1/mpp/signals")
82
82
  ```
83
83
 
84
84
  ### Endpoint Access Model
@@ -125,4 +125,4 @@ response = await agent.mpp_fetch("https://api.nirium.xyz/api/v1/mpp/signals")
125
125
 
126
126
  ## License
127
127
 
128
- MIT — Nirium Protocol
128
+ Apache 2.0 — Nirium Protocol
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nirium"
7
- version = "0.6.1"
7
+ version = "0.6.2"
8
8
  description = "Official Python SDK for Nirium autonomous agents on Stellar (x402 + MPP)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
11
- license = "MIT"
11
+ license = "Apache-2.0"
12
12
  authors = [{name = "Nirium Protocol", email = "xvaiosx7@gmail.com"}]
13
13
  keywords = ["nirium", "stellar", "soroban", "defi", "sdk", "agent", "autonomous", "treasury", "x402", "mpp", "agentic-payments", "usdc", "cetes", "etherfuse", "rwa"]
14
14
  dependencies = [
@@ -19,6 +19,6 @@ dependencies = [
19
19
 
20
20
  [project.urls]
21
21
  Homepage = "https://nirium.xyz"
22
- Repository = "https://github.com/nirium/nirium"
22
+ Repository = "https://github.com/Eras256/nirium-core-private"
23
23
  Documentation = "https://nirium.xyz/docs"
24
24
  "Bug Tracker" = "https://github.com/nirium/nirium/issues"
@@ -2,16 +2,16 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="nirium",
5
- version="0.4.0",
5
+ version="0.6.2",
6
6
  package_dir={"": "src"},
7
7
  packages=find_packages(where="src"),
8
8
  install_requires=[
9
- "websockets>=11.0.3",
10
- "aiohttp>=3.8.4",
9
+ "websockets>=13.0",
10
+ "aiohttp>=3.9.0",
11
11
  "stellar-sdk>=11.0.0",
12
12
  ],
13
13
  author="Nirium Team",
14
14
  description="Official Python SDK for Nirium autonomous agents on Stellar (x402 + MPP)",
15
15
  keywords=["nirium", "stellar", "defi", "x402", "mpp", "agentic-payments", "soroban"],
16
- python_requires=">=3.9",
16
+ python_requires=">=3.10",
17
17
  )
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nirium
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Official Python SDK for Nirium autonomous agents on Stellar (x402 + MPP)
5
5
  Author: Nirium Team
6
6
  Author-email: Nirium Protocol <xvaiosx7@gmail.com>
7
- License-Expression: MIT
7
+ License-Expression: Apache-2.0
8
8
  Project-URL: Homepage, https://nirium.xyz
9
- Project-URL: Repository, https://github.com/nirium/nirium
9
+ Project-URL: Repository, https://github.com/Eras256/nirium-core-private
10
10
  Project-URL: Documentation, https://nirium.xyz/docs
11
11
  Project-URL: Bug Tracker, https://github.com/nirium/nirium/issues
12
12
  Keywords: nirium,stellar,soroban,defi,sdk,agent,autonomous,treasury,x402,mpp,agentic-payments,usdc,cetes,etherfuse,rwa
13
- Requires-Python: >=3.9
13
+ Requires-Python: >=3.10
14
14
  Description-Content-Type: text/markdown
15
15
  Requires-Dist: aiohttp>=3.9.0
16
16
  Requires-Dist: websockets>=13.0
@@ -37,7 +37,7 @@ import asyncio
37
37
  from nirium import Agent
38
38
 
39
39
  agent = Agent(
40
- api_url="https://api.nirium.xyz",
40
+ api_url="https://nirium-agent.fly.dev",
41
41
  api_key="sk_inst_your_key_here",
42
42
  )
43
43
 
@@ -60,7 +60,7 @@ asyncio.run(main())
60
60
  ## Real-Time Signals (WebSocket)
61
61
 
62
62
  ```python
63
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...", token="eyJhbG...")
63
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...", token="eyJhbG...")
64
64
 
65
65
  @agent.on("signal")
66
66
  async def on_signal(data):
@@ -73,10 +73,10 @@ asyncio.run(agent.subscribe())
73
73
 
74
74
  ```python
75
75
  # API Key for REST endpoints
76
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...")
76
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...")
77
77
 
78
78
  # With JWT token for WebSocket
79
- agent = Agent(api_url="https://api.nirium.xyz", api_key="sk_inst_...", token="eyJhbG...")
79
+ agent = Agent(api_url="https://nirium-agent.fly.dev", api_key="sk_inst_...", token="eyJhbG...")
80
80
  ```
81
81
 
82
82
  ## Payment Protocols
@@ -88,7 +88,7 @@ agent.init_x402(
88
88
  network="stellar:testnet"
89
89
  )
90
90
 
91
- response = await agent.x402_fetch("https://api.nirium.xyz/api/v1/premium/signals")
91
+ response = await agent.x402_fetch("https://nirium-agent.fly.dev/api/v1/premium/signals")
92
92
  ```
93
93
 
94
94
  ### MPP — Session-Based Budget Delegation
@@ -98,7 +98,7 @@ agent.init_mpp(
98
98
  network="stellar:testnet",
99
99
  )
100
100
 
101
- response = await agent.mpp_fetch("https://api.nirium.xyz/api/v1/mpp/signals")
101
+ response = await agent.mpp_fetch("https://nirium-agent.fly.dev/api/v1/mpp/signals")
102
102
  ```
103
103
 
104
104
  ### Endpoint Access Model
@@ -145,4 +145,4 @@ response = await agent.mpp_fetch("https://api.nirium.xyz/api/v1/mpp/signals")
145
145
 
146
146
  ## License
147
147
 
148
- MIT — Nirium Protocol
148
+ Apache 2.0 — Nirium Protocol
File without changes
File without changes
File without changes