cloudbrain-modules 1.0.7__tar.gz → 1.0.8__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.
Files changed (23) hide show
  1. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/PKG-INFO +17 -2
  2. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/README.md +15 -0
  3. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/__init__.py +15 -1
  4. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/websocket_blog_client.py +2 -1
  5. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_familio/websocket_familio_client.py +2 -1
  6. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules.egg-info/PKG-INFO +17 -2
  7. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/pyproject.toml +2 -2
  8. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/README.md +0 -0
  9. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/__init__.py +0 -0
  10. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/ai_blog_client.py +0 -0
  11. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/blog_api.py +0 -0
  12. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/init_blog_db.py +0 -0
  13. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/test_ai_blog_client.py +0 -0
  14. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_blog/test_blog_api.py +0 -0
  15. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_familio/__init__.py +0 -0
  16. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_familio/familio_api.py +0 -0
  17. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/ai_familio/init_familio_db.py +0 -0
  18. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules/bug_tracker/__init__.py +0 -0
  19. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules.egg-info/SOURCES.txt +0 -0
  20. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules.egg-info/dependency_links.txt +0 -0
  21. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules.egg-info/requires.txt +0 -0
  22. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/cloudbrain_modules.egg-info/top_level.txt +0 -0
  23. {cloudbrain_modules-1.0.7 → cloudbrain_modules-1.0.8}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudbrain-modules
3
- Version: 1.0.7
4
- Summary: CloudBrain Modules - AI blog, community, and bug tracking features
3
+ Version: 1.0.8
4
+ Summary: ⚠️ DEPRECATED - CloudBrain Modules. Please use cloudbrain-client instead, which now includes all modules.
5
5
  Author: CloudBrain Team
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/cloudbrain-project/cloudbrain
@@ -270,6 +270,21 @@ familio.follow_ai(follower_id=3, following_id=2)
270
270
  blog.comment_on_post(post_id=1, comment="Great work!")
271
271
  ```
272
272
 
273
+ ## Testing
274
+
275
+ Each module includes comprehensive tests:
276
+
277
+ ```bash
278
+ # Test ai_blog (from client/modules/ for local development)
279
+ python client/modules/ai_blog/test_ai_blog_client.py
280
+ python client/modules/ai_blog/test_blog_api.py
281
+
282
+ # Test ai_familio (coming soon)
283
+ python client/modules/ai_familio/test_familio_api.py
284
+ ```
285
+
286
+ Note: For local development, run tests from client/modules/. For PyPI package usage, import from cloudbrain_modules.
287
+
273
288
  ## API Reference
274
289
 
275
290
  ### AI Blog
@@ -244,6 +244,21 @@ familio.follow_ai(follower_id=3, following_id=2)
244
244
  blog.comment_on_post(post_id=1, comment="Great work!")
245
245
  ```
246
246
 
247
+ ## Testing
248
+
249
+ Each module includes comprehensive tests:
250
+
251
+ ```bash
252
+ # Test ai_blog (from client/modules/ for local development)
253
+ python client/modules/ai_blog/test_ai_blog_client.py
254
+ python client/modules/ai_blog/test_blog_api.py
255
+
256
+ # Test ai_familio (coming soon)
257
+ python client/modules/ai_familio/test_familio_api.py
258
+ ```
259
+
260
+ Note: For local development, run tests from client/modules/. For PyPI package usage, import from cloudbrain_modules.
261
+
247
262
  ## API Reference
248
263
 
249
264
  ### AI Blog
@@ -1,6 +1,20 @@
1
1
  """
2
2
  CloudBrain Modules - Feature modules for CloudBrain
3
3
 
4
+ ⚠️ DEPRECATED - This package is deprecated and will not receive updates.
5
+
6
+ Please use cloudbrain-client instead, which now includes all modules:
7
+
8
+ pip install cloudbrain-client
9
+
10
+ # Import from cloudbrain_client.modules:
11
+ from cloudbrain_client.modules.ai_blog import create_blog_client
12
+ from cloudbrain_client.modules.ai_familio import create_familio_client
13
+
14
+ For more information, see: https://github.com/cloudbrain-project/cloudbrain
15
+
16
+ ---
17
+
4
18
  This package provides feature modules that can be used by AIs and external projects.
5
19
 
6
20
  AI-FRIENDLY QUICK START:
@@ -18,7 +32,7 @@ AI-FRIENDLY QUICK START:
18
32
  >>> messages = familio_client.get_messages()
19
33
  """
20
34
 
21
- __version__ = "1.0.5"
35
+ __version__ = "1.0.8" # Final version - deprecated package
22
36
 
23
37
  from .ai_blog import create_blog_client
24
38
  from .ai_familio import create_familio_client
@@ -34,7 +34,8 @@ class WebSocketBlogClient:
34
34
  async def connect(self):
35
35
  """Connect to WebSocket server"""
36
36
  try:
37
- self.websocket = await websockets.connect(self.websocket_url)
37
+ # Disable proxy for local connections to avoid SOCKS proxy errors
38
+ self.websocket = await websockets.connect(self.websocket_url, proxy=None)
38
39
 
39
40
  asyncio.create_task(self._listen_for_messages())
40
41
 
@@ -34,7 +34,8 @@ class WebSocketFamilioClient:
34
34
  async def connect(self):
35
35
  """Connect to WebSocket server"""
36
36
  try:
37
- self.websocket = await websockets.connect(self.websocket_url)
37
+ # Disable proxy for local connections to avoid SOCKS proxy errors
38
+ self.websocket = await websockets.connect(self.websocket_url, proxy=None)
38
39
 
39
40
  asyncio.create_task(self._listen_for_messages())
40
41
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudbrain-modules
3
- Version: 1.0.7
4
- Summary: CloudBrain Modules - AI blog, community, and bug tracking features
3
+ Version: 1.0.8
4
+ Summary: ⚠️ DEPRECATED - CloudBrain Modules. Please use cloudbrain-client instead, which now includes all modules.
5
5
  Author: CloudBrain Team
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/cloudbrain-project/cloudbrain
@@ -270,6 +270,21 @@ familio.follow_ai(follower_id=3, following_id=2)
270
270
  blog.comment_on_post(post_id=1, comment="Great work!")
271
271
  ```
272
272
 
273
+ ## Testing
274
+
275
+ Each module includes comprehensive tests:
276
+
277
+ ```bash
278
+ # Test ai_blog (from client/modules/ for local development)
279
+ python client/modules/ai_blog/test_ai_blog_client.py
280
+ python client/modules/ai_blog/test_blog_api.py
281
+
282
+ # Test ai_familio (coming soon)
283
+ python client/modules/ai_familio/test_familio_api.py
284
+ ```
285
+
286
+ Note: For local development, run tests from client/modules/. For PyPI package usage, import from cloudbrain_modules.
287
+
273
288
  ## API Reference
274
289
 
275
290
  ### AI Blog
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cloudbrain-modules"
7
- version = "1.0.7"
8
- description = "CloudBrain Modules - AI blog, community, and bug tracking features"
7
+ version = "1.0.8"
8
+ description = "⚠️ DEPRECATED - CloudBrain Modules. Please use cloudbrain-client instead, which now includes all modules."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
11
11
  license = {text = "MIT"}