ainative-python 3.1.0__tar.gz → 3.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.
Files changed (43) hide show
  1. {ainative_python-3.1.0 → ainative_python-3.1.1}/PKG-INFO +9 -8
  2. {ainative_python-3.1.0 → ainative_python-3.1.1}/README.md +4 -4
  3. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/PKG-INFO +9 -8
  4. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/SOURCES.txt +2 -1
  5. {ainative_python-3.1.0 → ainative_python-3.1.1}/setup.py +5 -4
  6. ainative_python-3.1.1/tests/test_setup_metadata.py +70 -0
  7. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/__init__.py +0 -0
  8. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/agent_coordination.py +0 -0
  9. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/agent_identity_system.py +0 -0
  10. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/agent_learning.py +0 -0
  11. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/agent_orchestration.py +0 -0
  12. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/agent_state.py +0 -0
  13. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/agent_swarm/__init__.py +0 -0
  14. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/auth.py +0 -0
  15. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/cli.py +0 -0
  16. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/cli_utils/__init__.py +0 -0
  17. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/cli_utils/diff.py +0 -0
  18. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/cli_utils/formatters.py +0 -0
  19. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/client.py +0 -0
  20. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/__init__.py +0 -0
  21. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/agents.py +0 -0
  22. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/coordination.py +0 -0
  23. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/inspect.py +0 -0
  24. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/learning.py +0 -0
  25. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/local.py +0 -0
  26. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/state.py +0 -0
  27. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/swarm.py +0 -0
  28. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/sync.py +0 -0
  29. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/commands/tasks.py +0 -0
  30. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/exceptions.py +0 -0
  31. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/zerodb/__init__.py +0 -0
  32. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/zerodb/analytics.py +0 -0
  33. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/zerodb/memory.py +0 -0
  34. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/zerodb/projects.py +0 -0
  35. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/zerodb/tables.py +0 -0
  36. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative/zerodb/vectors.py +0 -0
  37. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/dependency_links.txt +0 -0
  38. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/entry_points.txt +0 -0
  39. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/not-zip-safe +0 -0
  40. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/requires.txt +0 -0
  41. {ainative_python-3.1.0 → ainative_python-3.1.1}/ainative_python.egg-info/top_level.txt +0 -0
  42. {ainative_python-3.1.0 → ainative_python-3.1.1}/setup.cfg +0 -0
  43. {ainative_python-3.1.0 → ainative_python-3.1.1}/tests/test_new_cli_commands.py +0 -0
@@ -1,14 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ainative-python
3
- Version: 3.1.0
3
+ Version: 3.1.1
4
4
  Summary: Official Python SDK for AINative Studio APIs with ZeroDB Local support
5
- Home-page: https://github.com/ainative/ainative-python
5
+ Home-page: https://ainative.studio
6
6
  Author: AINative Team
7
7
  Author-email: support@ainative.studio
8
+ Project-URL: Homepage, https://ainative.studio
8
9
  Project-URL: Documentation, https://docs.ainative.studio/sdk/python
9
10
  Project-URL: API Reference, https://api.ainative.studio/docs-enhanced
10
- Project-URL: Bug Reports, https://github.com/ainative/studio/issues
11
- Project-URL: Source, https://github.com/ainative/ainative-python
11
+ Project-URL: Bug Reports, https://github.com/AINative-Studio/core/issues
12
+ Project-URL: Source, https://github.com/AINative-Studio/core/tree/main/developer-tools/sdks/python
12
13
  Keywords: ainative,database,vector,embedding,ai,ml,machine learning,artificial intelligence,api,sdk,zerodb,agent swarm,postgresql,vector search,nosql,table operations,mongodb-style,crud
13
14
  Classifier: Development Status :: 3 - Alpha
14
15
  Classifier: Intended Audience :: Developers
@@ -90,7 +91,7 @@ pip install ainative-python
90
91
 
91
92
  For development version:
92
93
  ```bash
93
- pip install git+https://github.com/ainative/ainative-python.git
94
+ pip install git+https://github.com/AINative-Studio/core.git#subdirectory=developer-tools/sdks/python
94
95
  ```
95
96
 
96
97
  ## Quick Start
@@ -501,8 +502,8 @@ Full examples are available in the [examples/](examples/) directory:
501
502
 
502
503
  ```bash
503
504
  # Clone repository
504
- git clone https://github.com/ainative/ainative-python.git
505
- cd ainative-python
505
+ git clone https://github.com/AINative-Studio/core.git
506
+ cd core/developer-tools/sdks/python
506
507
 
507
508
  # Install in development mode
508
509
  pip install -e ".[dev]"
@@ -535,7 +536,7 @@ pytest tests/test_zerodb.py
535
536
 
536
537
  - **Documentation**: [https://docs.ainative.studio/sdk/python](https://docs.ainative.studio/sdk/python)
537
538
  - **API Reference**: [https://api.ainative.studio/docs-enhanced](https://api.ainative.studio/docs-enhanced)
538
- - **Issues**: [GitHub Issues](https://github.com/ainative/ainative-python/issues)
539
+ - **Issues**: [GitHub Issues](https://github.com/AINative-Studio/core/issues)
539
540
  - **Discord**: [Join our community](https://discord.gg/ainative)
540
541
 
541
542
  ## License
@@ -19,7 +19,7 @@ pip install ainative-python
19
19
 
20
20
  For development version:
21
21
  ```bash
22
- pip install git+https://github.com/ainative/ainative-python.git
22
+ pip install git+https://github.com/AINative-Studio/core.git#subdirectory=developer-tools/sdks/python
23
23
  ```
24
24
 
25
25
  ## Quick Start
@@ -430,8 +430,8 @@ Full examples are available in the [examples/](examples/) directory:
430
430
 
431
431
  ```bash
432
432
  # Clone repository
433
- git clone https://github.com/ainative/ainative-python.git
434
- cd ainative-python
433
+ git clone https://github.com/AINative-Studio/core.git
434
+ cd core/developer-tools/sdks/python
435
435
 
436
436
  # Install in development mode
437
437
  pip install -e ".[dev]"
@@ -464,7 +464,7 @@ pytest tests/test_zerodb.py
464
464
 
465
465
  - **Documentation**: [https://docs.ainative.studio/sdk/python](https://docs.ainative.studio/sdk/python)
466
466
  - **API Reference**: [https://api.ainative.studio/docs-enhanced](https://api.ainative.studio/docs-enhanced)
467
- - **Issues**: [GitHub Issues](https://github.com/ainative/ainative-python/issues)
467
+ - **Issues**: [GitHub Issues](https://github.com/AINative-Studio/core/issues)
468
468
  - **Discord**: [Join our community](https://discord.gg/ainative)
469
469
 
470
470
  ## License
@@ -1,14 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ainative-python
3
- Version: 3.1.0
3
+ Version: 3.1.1
4
4
  Summary: Official Python SDK for AINative Studio APIs with ZeroDB Local support
5
- Home-page: https://github.com/ainative/ainative-python
5
+ Home-page: https://ainative.studio
6
6
  Author: AINative Team
7
7
  Author-email: support@ainative.studio
8
+ Project-URL: Homepage, https://ainative.studio
8
9
  Project-URL: Documentation, https://docs.ainative.studio/sdk/python
9
10
  Project-URL: API Reference, https://api.ainative.studio/docs-enhanced
10
- Project-URL: Bug Reports, https://github.com/ainative/studio/issues
11
- Project-URL: Source, https://github.com/ainative/ainative-python
11
+ Project-URL: Bug Reports, https://github.com/AINative-Studio/core/issues
12
+ Project-URL: Source, https://github.com/AINative-Studio/core/tree/main/developer-tools/sdks/python
12
13
  Keywords: ainative,database,vector,embedding,ai,ml,machine learning,artificial intelligence,api,sdk,zerodb,agent swarm,postgresql,vector search,nosql,table operations,mongodb-style,crud
13
14
  Classifier: Development Status :: 3 - Alpha
14
15
  Classifier: Intended Audience :: Developers
@@ -90,7 +91,7 @@ pip install ainative-python
90
91
 
91
92
  For development version:
92
93
  ```bash
93
- pip install git+https://github.com/ainative/ainative-python.git
94
+ pip install git+https://github.com/AINative-Studio/core.git#subdirectory=developer-tools/sdks/python
94
95
  ```
95
96
 
96
97
  ## Quick Start
@@ -501,8 +502,8 @@ Full examples are available in the [examples/](examples/) directory:
501
502
 
502
503
  ```bash
503
504
  # Clone repository
504
- git clone https://github.com/ainative/ainative-python.git
505
- cd ainative-python
505
+ git clone https://github.com/AINative-Studio/core.git
506
+ cd core/developer-tools/sdks/python
506
507
 
507
508
  # Install in development mode
508
509
  pip install -e ".[dev]"
@@ -535,7 +536,7 @@ pytest tests/test_zerodb.py
535
536
 
536
537
  - **Documentation**: [https://docs.ainative.studio/sdk/python](https://docs.ainative.studio/sdk/python)
537
538
  - **API Reference**: [https://api.ainative.studio/docs-enhanced](https://api.ainative.studio/docs-enhanced)
538
- - **Issues**: [GitHub Issues](https://github.com/ainative/ainative-python/issues)
539
+ - **Issues**: [GitHub Issues](https://github.com/AINative-Studio/core/issues)
539
540
  - **Discord**: [Join our community](https://discord.gg/ainative)
540
541
 
541
542
  ## License
@@ -37,4 +37,5 @@ ainative_python.egg-info/entry_points.txt
37
37
  ainative_python.egg-info/not-zip-safe
38
38
  ainative_python.egg-info/requires.txt
39
39
  ainative_python.egg-info/top_level.txt
40
- tests/test_new_cli_commands.py
40
+ tests/test_new_cli_commands.py
41
+ tests/test_setup_metadata.py
@@ -38,18 +38,19 @@ def read_requirements():
38
38
 
39
39
  setup(
40
40
  name="ainative-python",
41
- version="3.1.0",
41
+ version="3.1.1",
42
42
  author="AINative Team",
43
43
  author_email="support@ainative.studio",
44
44
  description="Official Python SDK for AINative Studio APIs with ZeroDB Local support",
45
45
  long_description=read_readme(),
46
46
  long_description_content_type="text/markdown",
47
- url="https://github.com/ainative/ainative-python",
47
+ url="https://ainative.studio",
48
48
  project_urls={
49
+ "Homepage": "https://ainative.studio",
49
50
  "Documentation": "https://docs.ainative.studio/sdk/python",
50
51
  "API Reference": "https://api.ainative.studio/docs-enhanced",
51
- "Bug Reports": "https://github.com/ainative/studio/issues",
52
- "Source": "https://github.com/ainative/ainative-python",
52
+ "Bug Reports": "https://github.com/AINative-Studio/core/issues",
53
+ "Source": "https://github.com/AINative-Studio/core/tree/main/developer-tools/sdks/python",
53
54
  },
54
55
  packages=find_packages(exclude=['tests', 'tests.*', 'examples', 'examples.*']),
55
56
  classifiers=[
@@ -0,0 +1,70 @@
1
+ """
2
+ Regression tests for PyPI packaging metadata in setup.py.
3
+
4
+ Ensures `url` and `project_urls` point at the real GitHub org
5
+ (AINative-Studio) instead of the nonexistent `ainative` org/repo.
6
+ Refs #7177.
7
+ """
8
+
9
+ import ast
10
+ import os
11
+
12
+ SETUP_PY_PATH = os.path.join(
13
+ os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "setup.py"
14
+ )
15
+
16
+
17
+ def _load_setup_kwargs():
18
+ """Parse setup.py and return the keyword arguments passed to setup()
19
+ without executing the file (setuptools' setup() would try to build)."""
20
+ with open(SETUP_PY_PATH, "r", encoding="utf-8") as f:
21
+ tree = ast.parse(f.read(), filename=SETUP_PY_PATH)
22
+
23
+ for node in ast.walk(tree):
24
+ if (
25
+ isinstance(node, ast.Call)
26
+ and isinstance(node.func, ast.Name)
27
+ and node.func.id == "setup"
28
+ ):
29
+ kwargs = {}
30
+ for kw in node.keywords:
31
+ try:
32
+ kwargs[kw.arg] = ast.literal_eval(kw.value)
33
+ except ValueError:
34
+ # Non-literal value (e.g. a function call like
35
+ # read_readme()) - not needed for these assertions.
36
+ kwargs[kw.arg] = None
37
+ return kwargs
38
+ raise AssertionError("No setup() call found in setup.py")
39
+
40
+
41
+ class TestSetupPyGitHubMetadata:
42
+ """Verify setup.py metadata references the real AINative-Studio org."""
43
+
44
+ def test_url_points_to_real_org(self):
45
+ kwargs = _load_setup_kwargs()
46
+ assert kwargs["url"] == "https://github.com/AINative-Studio/core"
47
+
48
+ def test_source_project_url_points_to_real_org(self):
49
+ kwargs = _load_setup_kwargs()
50
+ assert (
51
+ kwargs["project_urls"]["Source"]
52
+ == "https://github.com/AINative-Studio/core"
53
+ )
54
+
55
+ def test_bug_reports_project_url_points_to_real_org(self):
56
+ kwargs = _load_setup_kwargs()
57
+ assert (
58
+ kwargs["project_urls"]["Bug Reports"]
59
+ == "https://github.com/AINative-Studio/core/issues"
60
+ )
61
+
62
+ def test_homepage_project_url_present(self):
63
+ kwargs = _load_setup_kwargs()
64
+ assert kwargs["project_urls"]["Homepage"] == "https://ainative.studio"
65
+
66
+ def test_no_nonexistent_ainative_org_reference_remains(self):
67
+ with open(SETUP_PY_PATH, "r", encoding="utf-8") as f:
68
+ content = f.read()
69
+ assert "github.com/ainative/" not in content
70
+ assert "github.com/ainative/studio" not in content