divi 0.0.1.dev7__tar.gz → 0.0.1.dev8__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.
- divi-0.0.1.dev8/PKG-INFO +15 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/__init__.py +1 -1
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/hatch.toml +3 -0
- divi-0.0.1.dev8/hatch_build.py +47 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/pyproject.toml +3 -5
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/uv.lock +57 -2
- divi-0.0.1.dev7/PKG-INFO +0 -33
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/.gitignore +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/LICENSE +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/Makefile +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/README.md +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/apps/README.md +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/README.md +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/go.mod +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/go.sum +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/main.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/proto/core.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/proto/core_grpc.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/proto/health_check_request.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/core/proto/health_check_response.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/core/__init__.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/core/finish.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/core/init.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/core/run.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/core.proto +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/core_pb2.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/core_pb2.pyi +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/core_pb2_grpc.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/go/core.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/go/core_grpc.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/go/health_check_request.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/go/health_check_response.pb.go +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_request.proto +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_request_pb2.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_request_pb2.pyi +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_request_pb2_grpc.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_response.proto +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_response_pb2.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_response_pb2.pyi +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/proto/core/v1/health_check_response_pb2_grpc.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/divi/utils.py +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/docs/README.md +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/go.work +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/go.work.sum +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/package_readme.md +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/packages/README.md +0 -0
- {divi-0.0.1.dev7 → divi-0.0.1.dev8}/scripts/README.md +0 -0
divi-0.0.1.dev8/PKG-INFO
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: divi
|
3
|
+
Version: 0.0.1.dev8
|
4
|
+
Summary: The Agent Platform for Observability & Evaluation
|
5
|
+
License-File: LICENSE
|
6
|
+
Requires-Python: >=3.11
|
7
|
+
Requires-Dist: grpcio>=1.69.0
|
8
|
+
Requires-Dist: protobuf>=5.29.3
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
|
11
|
+
# Divine Agent
|
12
|
+
|
13
|
+
Agent Platform for Observability • Evaluation • Playground
|
14
|
+
|
15
|
+
> The project is still in the development stage. 😇
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import re
|
2
|
+
import sysconfig
|
3
|
+
|
4
|
+
from hatchling.builders.hooks.plugin.interface import BuildHookInterface
|
5
|
+
|
6
|
+
|
7
|
+
class CustomBuildHook(BuildHookInterface):
|
8
|
+
def initialize(self, version, build_data):
|
9
|
+
build_data["tag"] = f"py3-none-{self._get_platform_tag()}"
|
10
|
+
build_data["pure_python"] = False
|
11
|
+
|
12
|
+
def _get_platform_tag(self) -> str:
|
13
|
+
"""Returns the platform tag for the current platform."""
|
14
|
+
# Replace dots, spaces and dashes with underscores following
|
15
|
+
# https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#platform-tag
|
16
|
+
platform_tag = re.sub("[-. ]", "_", sysconfig.get_platform())
|
17
|
+
|
18
|
+
# On macOS versions >=11, pip expects the minor version to be 0:
|
19
|
+
# https://github.com/pypa/packaging/issues/435
|
20
|
+
#
|
21
|
+
# You can see the list of tags that pip would support on your machine
|
22
|
+
# using `pip debug --verbose`. On my macOS, get_platform() returns
|
23
|
+
# 14.1, but `pip debug --verbose` reports only these py3 tags with 14:
|
24
|
+
#
|
25
|
+
# * py3-none-macosx_14_0_arm64
|
26
|
+
# * py3-none-macosx_14_0_universal2
|
27
|
+
#
|
28
|
+
# We do this remapping here because otherwise, it's possible for `pip wheel`
|
29
|
+
# to successfully produce a wheel that you then cannot `pip install` on the
|
30
|
+
# same machine.
|
31
|
+
macos_match = re.fullmatch(r"macosx_(\d+_\d+)_(\w+)", platform_tag)
|
32
|
+
if macos_match:
|
33
|
+
major, _ = macos_match.group(1).split("_")
|
34
|
+
if int(major) >= 11:
|
35
|
+
arch = macos_match.group(2)
|
36
|
+
platform_tag = f"macosx_{major}_0_{arch}"
|
37
|
+
|
38
|
+
return self._to_compatibility_tag(platform_tag)
|
39
|
+
|
40
|
+
def _to_compatibility_tag(self, platform_tag: str) -> str:
|
41
|
+
"""Converts a platform tag to a compatibility tag."""
|
42
|
+
# os: linux -> manylinux1
|
43
|
+
parts = platform_tag.split("_")
|
44
|
+
os = parts[0]
|
45
|
+
if os == "linux":
|
46
|
+
parts[0] = "manylinux1"
|
47
|
+
return "_".join(parts)
|
@@ -2,12 +2,9 @@
|
|
2
2
|
name = "divi"
|
3
3
|
dynamic = ["version"]
|
4
4
|
description = "The Agent Platform for Observability & Evaluation"
|
5
|
-
readme = "
|
5
|
+
readme = "package_readme.md"
|
6
6
|
requires-python = ">=3.11"
|
7
|
-
dependencies = [
|
8
|
-
"grpcio>=1.69.0",
|
9
|
-
"protobuf>=5.29.3",
|
10
|
-
]
|
7
|
+
dependencies = ["grpcio>=1.69.0", "protobuf>=5.29.3"]
|
11
8
|
|
12
9
|
[build-system]
|
13
10
|
requires = ["hatchling"]
|
@@ -16,6 +13,7 @@ build-backend = "hatchling.build"
|
|
16
13
|
[dependency-groups]
|
17
14
|
dev = [
|
18
15
|
"grpcio-tools>=1.69.0",
|
16
|
+
"hatchling>=1.27.0",
|
19
17
|
]
|
20
18
|
|
21
19
|
[tool.pyright]
|
@@ -3,7 +3,7 @@ requires-python = ">=3.11"
|
|
3
3
|
|
4
4
|
[[package]]
|
5
5
|
name = "divi"
|
6
|
-
version = "0.0.1.
|
6
|
+
version = "0.0.1.dev8"
|
7
7
|
source = { editable = "." }
|
8
8
|
dependencies = [
|
9
9
|
{ name = "grpcio" },
|
@@ -13,6 +13,7 @@ dependencies = [
|
|
13
13
|
[package.dev-dependencies]
|
14
14
|
dev = [
|
15
15
|
{ name = "grpcio-tools" },
|
16
|
+
{ name = "hatchling" },
|
16
17
|
]
|
17
18
|
|
18
19
|
[package.metadata]
|
@@ -22,7 +23,10 @@ requires-dist = [
|
|
22
23
|
]
|
23
24
|
|
24
25
|
[package.metadata.requires-dev]
|
25
|
-
dev = [
|
26
|
+
dev = [
|
27
|
+
{ name = "grpcio-tools", specifier = ">=1.69.0" },
|
28
|
+
{ name = "hatchling", specifier = ">=1.27.0" },
|
29
|
+
]
|
26
30
|
|
27
31
|
[[package]]
|
28
32
|
name = "grpcio"
|
@@ -99,6 +103,48 @@ wheels = [
|
|
99
103
|
{ url = "https://files.pythonhosted.org/packages/27/e2/b419a02b50240143605f77cd50cb07f724caf0fd35a01540a4f044ae9f21/grpcio_tools-1.69.0-cp313-cp313-win_amd64.whl", hash = "sha256:e9bae733654e0eb8ca83aa1d0d6b6c2f4a3525ce70d5ffc07df68d28f6520137", size = 1113616 },
|
100
104
|
]
|
101
105
|
|
106
|
+
[[package]]
|
107
|
+
name = "hatchling"
|
108
|
+
version = "1.27.0"
|
109
|
+
source = { registry = "https://pypi.org/simple" }
|
110
|
+
dependencies = [
|
111
|
+
{ name = "packaging" },
|
112
|
+
{ name = "pathspec" },
|
113
|
+
{ name = "pluggy" },
|
114
|
+
{ name = "trove-classifiers" },
|
115
|
+
]
|
116
|
+
sdist = { url = "https://files.pythonhosted.org/packages/8f/8a/cc1debe3514da292094f1c3a700e4ca25442489731ef7c0814358816bb03/hatchling-1.27.0.tar.gz", hash = "sha256:971c296d9819abb3811112fc52c7a9751c8d381898f36533bb16f9791e941fd6", size = 54983 }
|
117
|
+
wheels = [
|
118
|
+
{ url = "https://files.pythonhosted.org/packages/08/e7/ae38d7a6dfba0533684e0b2136817d667588ae3ec984c1a4e5df5eb88482/hatchling-1.27.0-py3-none-any.whl", hash = "sha256:d3a2f3567c4f926ea39849cdf924c7e99e6686c9c8e288ae1037c8fa2a5d937b", size = 75794 },
|
119
|
+
]
|
120
|
+
|
121
|
+
[[package]]
|
122
|
+
name = "packaging"
|
123
|
+
version = "24.2"
|
124
|
+
source = { registry = "https://pypi.org/simple" }
|
125
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950 }
|
126
|
+
wheels = [
|
127
|
+
{ url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451 },
|
128
|
+
]
|
129
|
+
|
130
|
+
[[package]]
|
131
|
+
name = "pathspec"
|
132
|
+
version = "0.12.1"
|
133
|
+
source = { registry = "https://pypi.org/simple" }
|
134
|
+
sdist = { url = "https://files.pythonhosted.org/packages/ca/bc/f35b8446f4531a7cb215605d100cd88b7ac6f44ab3fc94870c120ab3adbf/pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712", size = 51043 }
|
135
|
+
wheels = [
|
136
|
+
{ url = "https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08", size = 31191 },
|
137
|
+
]
|
138
|
+
|
139
|
+
[[package]]
|
140
|
+
name = "pluggy"
|
141
|
+
version = "1.5.0"
|
142
|
+
source = { registry = "https://pypi.org/simple" }
|
143
|
+
sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955 }
|
144
|
+
wheels = [
|
145
|
+
{ url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },
|
146
|
+
]
|
147
|
+
|
102
148
|
[[package]]
|
103
149
|
name = "protobuf"
|
104
150
|
version = "5.29.3"
|
@@ -121,3 +167,12 @@ sdist = { url = "https://files.pythonhosted.org/packages/92/ec/089608b791d210aec
|
|
121
167
|
wheels = [
|
122
168
|
{ url = "https://files.pythonhosted.org/packages/69/8a/b9dc7678803429e4a3bc9ba462fa3dd9066824d3c607490235c6a796be5a/setuptools-75.8.0-py3-none-any.whl", hash = "sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3", size = 1228782 },
|
123
169
|
]
|
170
|
+
|
171
|
+
[[package]]
|
172
|
+
name = "trove-classifiers"
|
173
|
+
version = "2025.1.15.22"
|
174
|
+
source = { registry = "https://pypi.org/simple" }
|
175
|
+
sdist = { url = "https://files.pythonhosted.org/packages/f3/cb/8f6a91c74049180e395590901834d68bef5d6a2ce4c9ca9792cfadc1b9b4/trove_classifiers-2025.1.15.22.tar.gz", hash = "sha256:90af74358d3a01b3532bc7b3c88d8c6a094c2fd50a563d13d9576179326d7ed9", size = 16236 }
|
176
|
+
wheels = [
|
177
|
+
{ url = "https://files.pythonhosted.org/packages/2b/c5/6422dbc59954389b20b2aba85b737ab4a552e357e7ea14b52f40312e7c84/trove_classifiers-2025.1.15.22-py3-none-any.whl", hash = "sha256:5f19c789d4f17f501d36c94dbbf969fb3e8c2784d008e6f5164dd2c3d6a2b07c", size = 13610 },
|
178
|
+
]
|
divi-0.0.1.dev7/PKG-INFO
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: divi
|
3
|
-
Version: 0.0.1.dev7
|
4
|
-
Summary: The Agent Platform for Observability & Evaluation
|
5
|
-
License-File: LICENSE
|
6
|
-
Requires-Python: >=3.11
|
7
|
-
Requires-Dist: grpcio>=1.69.0
|
8
|
-
Requires-Dist: protobuf>=5.29.3
|
9
|
-
Description-Content-Type: text/markdown
|
10
|
-
|
11
|
-
# divine-agent
|
12
|
-
|
13
|
-
Agent Platform for Observability • Evaluation • Playground
|
14
|
-
|
15
|
-
## Structure
|
16
|
-
|
17
|
-
> Divine Agent is a monorepo project. The project is structured as follows:
|
18
|
-
|
19
|
-
```plaintext
|
20
|
-
.
|
21
|
-
├── apps
|
22
|
-
├── core
|
23
|
-
├── docs
|
24
|
-
├── packages
|
25
|
-
├── scripts
|
26
|
-
└── sdk
|
27
|
-
```
|
28
|
-
|
29
|
-
## Thanks
|
30
|
-
|
31
|
-
1. [uv](https://github.com/astral-sh/uv): An extremely fast Python package and project manager, written in Rust.
|
32
|
-
2. [hatch](https://github.com/pypa/hatch): Hatch is a modern, extensible Python project manager.
|
33
|
-
3. [github cli](https://cli.github.com/manual): GitHub CLI, or gh, is a command-line interface to GitHub for use in your terminal or your scripts.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|