clisonix-ocean-core 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.
@@ -0,0 +1,299 @@
1
+ # Clisonix Cloud Industrial Backend - .gitignore
2
+ # SECURITY: Never commit sensitive data!
3
+
4
+ # Embedded Git Repositories (causes CI submodule issues)
5
+ clisonix-repo/
6
+ research/generated_cycles_v12/grafana-ml-ecosystem/
7
+
8
+ # Environment Variables (SENSITIVE DATA)
9
+ .env
10
+ .env.*
11
+ *.env
12
+ *.env.*
13
+ .env.local
14
+ .env.production
15
+ .env.staging
16
+ .env.development
17
+ .env.clerk
18
+ .env.clerk.*
19
+ .secrets
20
+ .secrets.*
21
+ secrets/
22
+ *.secret
23
+ *_secret.txt
24
+ *.key
25
+ *.pem
26
+ *.crt
27
+ # Stripe & Payment Secrets
28
+ .stripe-keys
29
+ stripe_webhook.secret
30
+
31
+ # Allow non-secret templates to be versioned
32
+ !.env.template
33
+ !.env.example
34
+ !*.env.example
35
+ !*.env.sample
36
+ !apps/web/.env.example
37
+
38
+ # Database
39
+ *.db
40
+ *.sqlite
41
+ *.sqlite3
42
+
43
+ # Logs
44
+ logs/
45
+ *.log
46
+ log.txt
47
+
48
+ # Node.js dependencies
49
+ node_modules/
50
+ **/node_modules/
51
+ npm-debug.log*
52
+ yarn-debug.log*
53
+ yarn-error.log*
54
+ # package-lock.json # ENABLED for Dependency Review in CI
55
+ # yarn.lock # ENABLED for Dependency Review in CI
56
+
57
+ # Python
58
+ __pycache__/
59
+ *.py[cod]
60
+ *$py.class
61
+ *.so
62
+ .Python
63
+ build/
64
+ develop-eggs/
65
+ dist/
66
+ downloads/
67
+ eggs/
68
+ .eggs/
69
+ lib/
70
+ # But don't ignore Next.js src/lib directories
71
+ !apps/**/src/lib/
72
+ !apps/**/src/lib/**
73
+ lib64/
74
+ parts/
75
+ sdist/
76
+ var/
77
+ wheels/
78
+ share/python-wheels/
79
+ *.egg-info/
80
+ .installed.cfg
81
+ *.egg
82
+ MANIFEST
83
+
84
+ # Virtual Environment
85
+ venv/
86
+ env/
87
+ ENV/
88
+ .venv/
89
+ .env/
90
+
91
+ # Redis
92
+ redis.conf
93
+ dump.rdb
94
+
95
+ # Docker
96
+ docker-compose.override.yml
97
+
98
+ # IDE
99
+ .vscode/
100
+ .vs/
101
+ .idea/
102
+ *.swp
103
+ *.swo
104
+ *~
105
+
106
+ # OS
107
+ .DS_Store
108
+ .DS_Store?
109
+ ._*
110
+ .Spotlight-V100
111
+ .Trashes
112
+ ehthumbs.db
113
+ Thumbs.db
114
+
115
+ # Test data (may contain sensitive info)
116
+
117
+ # Auto-generated content (flows to separate blog repo)
118
+ # Koncepti "batica-zbatica" - content flows OUT to clisonix-blog repo
119
+ published/
120
+ **/published/
121
+ services/content-factory/published/
122
+ *.generated.md
123
+ *.generated.html
124
+ test_data/
125
+ temp/
126
+ tmp/
127
+
128
+ # Business sensitive files
129
+ payment_config.json
130
+ business_secrets.txt
131
+ client_data/
132
+ financial_records/
133
+ services/video-generator/client_secrets.json
134
+ **/client_secrets.json
135
+
136
+ # SSL/TLS certificates
137
+ *.pem
138
+ *.key
139
+ *.crt
140
+ *.cert
141
+
142
+ # Backup files
143
+ *.bak
144
+ *.backup
145
+ backup_*
146
+ node_modules
147
+
148
+ # ═══════════════════════════════════════════════════════════════
149
+ # RUNTIME DATA - NEVER COMMIT THESE! 🚨
150
+ # ═══════════════════════════════════════════════════════════════
151
+
152
+ # Docker runtime data
153
+ data/
154
+ backup/
155
+ backups/
156
+
157
+ # Database runtime
158
+ data/postgres/
159
+ data/minio/
160
+ data/redis/
161
+
162
+ # Monitoring & metrics runtime
163
+ data/grafana/
164
+ data/prometheus/
165
+ data/victoria-metrics/
166
+ data/loki/
167
+ data/tempo/
168
+ tempo_data/
169
+
170
+ # Elasticsearch runtime
171
+ data/elasticsearch/
172
+ data/kibana/
173
+
174
+ # Logs & temp files
175
+ logs/
176
+ instance/
177
+ *.log
178
+
179
+ # Generated files
180
+ *.wasm
181
+ *.bin
182
+ *.chunk
183
+
184
+ # WAL (Write-Ahead Logs)
185
+ **/wal/
186
+ **/chunks_head/
187
+
188
+ # Cache & temp
189
+ .cache/
190
+ *.tmp
191
+ .tmp.nginx.remote.conf
192
+ tmp/
193
+ temp/
194
+
195
+ # Session reports (local testing)
196
+ session_report_*.json
197
+ runtime/mali-cycles/
198
+
199
+ # AGIEM generated proposal/cycle artifacts
200
+ research/generated_proposals/live_*/
201
+ research/generated_proposals/cycle_*_packet.json
202
+ research/generated_proposals/cycle-*.json
203
+
204
+ # Kloud Bridge runtime registry artifacts
205
+ services/kloud_bridge/data/*.json
206
+ services/kloud_bridge/data/*.jsonl
207
+ services/kloud_bridge/openapi/*.json
208
+ !services/kloud_bridge/data/.gitkeep
209
+
210
+ # Clisonix nested repo
211
+ Clisonix-cloud/
212
+
213
+ # Build artifacts to ignore
214
+ frontend/.next/
215
+ .next/
216
+ apps/web/.next/
217
+ apps/web/kitchen-jobs/
218
+ *.pack.gz
219
+ *.pack.gz.old
220
+
221
+ # Claude temporary directories
222
+ tmpclaude-*
223
+
224
+ # Clerk authentication/runtime artifacts
225
+ .clerk/
226
+ clerk/.env
227
+ clerk/.env.*
228
+ **/clerk-jwt-*.json
229
+ **/clerk-session-*.json
230
+
231
+
232
+ # Claude temporary directories
233
+ tmpclaude-*
234
+
235
+
236
+ # Claude temporary directories
237
+ tmpclaude-*
238
+
239
+ .env.monetization
240
+
241
+ # Temp compose/debug artifacts (may contain expanded secrets)
242
+ .tmp_compose*.yaml
243
+
244
+ # Legacy Clerk migration folder
245
+ clerk-nextjs/
246
+
247
+ # Local workspace clones and TS build metadata
248
+ _profile_repos/
249
+ *.tsbuildinfo
250
+
251
+ # Rust and FPGA generated artifacts
252
+ **/target/
253
+ hardware/kloud-soc/firmware/*.elf
254
+ hardware/kloud-soc/firmware/*.hex
255
+ hardware/kloud-soc/kloud_soc.json
256
+ hardware/kloud-soc/kloud_soc.config
257
+ hardware/kloud-soc/kloud_soc.bit
258
+
259
+ # Terraform local artifacts
260
+ **/.terraform/
261
+ *.tfstate
262
+ *.tfstate.*
263
+ crash.log
264
+
265
+ # Local nested clone (kept locally, not tracked)
266
+ kloud-soc-clean/
267
+
268
+ # Hetzner runtime and reporting artifacts
269
+ certs/
270
+ generated_medical_pillars/
271
+ reports/*.pptx
272
+ reports/*.xlsx
273
+ research/generated_proposals/_server_backup_live_*/
274
+ storage/user_data/
275
+ OK
276
+
277
+ # Decoupled external repos - no longer submodules
278
+ external/*
279
+ !external/Ultrawebthinkig-v2/
280
+ !external/Ultrawebthinkig-v2/**
281
+
282
+ # Keep vendored Ultrawebthinking tree clean from generated artifacts
283
+ external/Ultrawebthinkig-v2/.git/
284
+ external/Ultrawebthinkig-v2/node_modules/
285
+ external/Ultrawebthinkig-v2/.next/
286
+ external/Ultrawebthinkig-v2/dist/
287
+ external/Ultrawebthinkig-v2/build/
288
+ external/Ultrawebthinkig-v2/.turbo/
289
+ external/Ultrawebthinkig-v2/.cache/
290
+ external/Ultrawebthinkig-v2/.yarn/cache/
291
+
292
+ # temp blog staging dir
293
+ .clisonix-blog-tmp/
294
+ full-config.yml
295
+ full-config.yml
296
+ full-config.yml
297
+ services.txt
298
+ full-config.yml
299
+ services.txt
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.4
2
+ Name: clisonix-ocean-core
3
+ Version: 0.1.0
4
+ Summary: Core Curiosity Ocean integration package for reasoning and orchestration.
5
+ Project-URL: Homepage, https://developers.clisonix.com
6
+ Project-URL: Documentation, https://developers.clisonix.com/docs
7
+ Project-URL: Repository, https://github.com/clisonix/clisonix-cloud
8
+ Author-email: Clisonix <support@clisonix.cloud>
9
+ License: MIT
10
+ Keywords: ai,api,clisonix,sdk
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Requires-Python: >=3.10
20
+ Requires-Dist: urllib3>=2.0.0
21
+ Description-Content-Type: text/markdown
22
+
23
+ # clisonix-ocean-core
24
+
25
+ Core Curiosity Ocean integration package for reasoning and orchestration.
26
+
27
+ ## Install
28
+
29
+ ```bash
30
+ pip install clisonix-ocean-core
31
+ ```
32
+
33
+ ## Quick Start
34
+
35
+ ```python
36
+ from clisonix_ocean_core import ping
37
+
38
+ result = ping()
39
+ print(result)
40
+ ```
41
+
42
+ ## Default Endpoint
43
+
44
+ - Method: POST
45
+ - Path: /api/ocean
46
+
47
+ ## Docs
48
+
49
+ - https://developers.clisonix.com
50
+ - https://developers.clisonix.com/docs
51
+
52
+
@@ -0,0 +1,30 @@
1
+ # clisonix-ocean-core
2
+
3
+ Core Curiosity Ocean integration package for reasoning and orchestration.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install clisonix-ocean-core
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```python
14
+ from clisonix_ocean_core import ping
15
+
16
+ result = ping()
17
+ print(result)
18
+ ```
19
+
20
+ ## Default Endpoint
21
+
22
+ - Method: POST
23
+ - Path: /api/ocean
24
+
25
+ ## Docs
26
+
27
+ - https://developers.clisonix.com
28
+ - https://developers.clisonix.com/docs
29
+
30
+
@@ -0,0 +1,37 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.25"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "clisonix-ocean-core"
7
+ version = "0.1.0"
8
+ description = "Core Curiosity Ocean integration package for reasoning and orchestration."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { text = "MIT" }
12
+ authors = [
13
+ { name = "Clisonix", email = "support@clisonix.cloud" }
14
+ ]
15
+ keywords = ["clisonix", "sdk", "ai", "api"]
16
+ classifiers = [
17
+ "Development Status :: 4 - Beta",
18
+ "Intended Audience :: Developers",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13"
25
+ ]
26
+ dependencies = [
27
+ "urllib3>=2.0.0"
28
+ ]
29
+
30
+ [project.urls]
31
+ Homepage = "https://developers.clisonix.com"
32
+ Documentation = "https://developers.clisonix.com/docs"
33
+ Repository = "https://github.com/clisonix/clisonix-cloud"
34
+
35
+ [tool.hatch.build.targets.wheel]
36
+ packages = ["src/clisonix_ocean_core"]
37
+
@@ -0,0 +1,34 @@
1
+ """Ocean Core package for Clisonix."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ import urllib.request
7
+ from typing import Optional
8
+
9
+ __all__ = ["ping", "VERSION"]
10
+ VERSION = "0.1.0"
11
+
12
+
13
+ def _request(method: str, path: str, base_url: str, api_key: Optional[str], payload: Optional[dict] = None) -> dict:
14
+ url = base_url.rstrip("/") + path
15
+ data = None
16
+ headers = {"Content-Type": "application/json", "User-Agent": "clisonix-ocean-core/0.1.0"}
17
+ if api_key:
18
+ headers["X-API-Key"] = api_key
19
+ if payload is not None:
20
+ data = json.dumps(payload).encode("utf-8")
21
+ req = urllib.request.Request(url, data=data, headers=headers, method=method)
22
+ with urllib.request.urlopen(req, timeout=30) as response:
23
+ raw = response.read().decode("utf-8")
24
+ return json.loads(raw) if raw else {}
25
+
26
+
27
+ def ping(base_url: str = "https://www.clisonix.com", api_key: Optional[str] = None, payload: Optional[dict] = None) -> dict:
28
+ """Call default endpoint for this package."""
29
+ payload = payload if payload is not None else {"message": "What is intelligence?"}
30
+ return _request("POST", "/api/ocean", base_url, api_key, payload)
31
+
32
+
33
+
34
+