opengradient 0.4.9__tar.gz → 0.4.11__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.
- {opengradient-0.4.9/src/opengradient.egg-info → opengradient-0.4.11}/PKG-INFO +3 -2
- {opengradient-0.4.9 → opengradient-0.4.11}/pyproject.toml +1 -1
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/client.py +2 -2
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/defaults.py +1 -1
- {opengradient-0.4.9 → opengradient-0.4.11/src/opengradient.egg-info}/PKG-INFO +3 -2
- {opengradient-0.4.9 → opengradient-0.4.11}/LICENSE +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/README.md +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/setup.cfg +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/__init__.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/abi/PriceHistoryInference.abi +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/abi/WorkflowScheduler.abi +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/abi/inference.abi +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/account.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/alphasense/__init__.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/alphasense/read_workflow_tool.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/alphasense/run_model_tool.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/alphasense/types.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/bin/PriceHistoryInference.bin +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/cli.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/exceptions.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/llm/__init__.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/llm/og_langchain.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/llm/og_openai.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/proto/__init__.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/proto/infer.proto +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/proto/infer_pb2.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/proto/infer_pb2_grpc.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/types.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/utils.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/workflow_models/__init__.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/workflow_models/constants.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/workflow_models/types.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/workflow_models/utils.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/workflow_models/workflow_models.py +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient.egg-info/SOURCES.txt +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient.egg-info/dependency_links.txt +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient.egg-info/entry_points.txt +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient.egg-info/requires.txt +0 -0
- {opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: opengradient
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.11
|
|
4
4
|
Summary: Python SDK for OpenGradient decentralized model management & inference services
|
|
5
5
|
Author-email: OpenGradient <oliver@opengradient.ai>
|
|
6
6
|
License: MIT License
|
|
@@ -45,6 +45,7 @@ Requires-Dist: requests>=2.32.3
|
|
|
45
45
|
Requires-Dist: langchain>=0.3.7
|
|
46
46
|
Requires-Dist: openai>=1.58.1
|
|
47
47
|
Requires-Dist: pydantic>=2.9.2
|
|
48
|
+
Dynamic: license-file
|
|
48
49
|
|
|
49
50
|
# OpenGradient Python SDK
|
|
50
51
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "opengradient"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.11"
|
|
8
8
|
description = "Python SDK for OpenGradient decentralized model management & inference services"
|
|
9
9
|
authors = [{name = "OpenGradient", email = "oliver@opengradient.ai"}]
|
|
10
10
|
license = {file = "LICENSE"}
|
|
@@ -3,7 +3,7 @@ import logging
|
|
|
3
3
|
import os
|
|
4
4
|
import time
|
|
5
5
|
from pathlib import Path
|
|
6
|
-
from typing import Any, Dict, List, Optional, Union
|
|
6
|
+
from typing import Any, Dict, List, Optional, Union, Callable
|
|
7
7
|
|
|
8
8
|
import firebase
|
|
9
9
|
import numpy as np
|
|
@@ -963,7 +963,7 @@ class Client:
|
|
|
963
963
|
return [convert_array_to_model_output(result) for result in results]
|
|
964
964
|
|
|
965
965
|
|
|
966
|
-
def run_with_retry(txn_function, max_retries=DEFAULT_MAX_RETRY, retry_delay=DEFAULT_RETRY_DELAY_SEC):
|
|
966
|
+
def run_with_retry(txn_function: Callable, max_retries=DEFAULT_MAX_RETRY, retry_delay=DEFAULT_RETRY_DELAY_SEC):
|
|
967
967
|
"""
|
|
968
968
|
Execute a blockchain transaction with retry logic.
|
|
969
969
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Default variables
|
|
2
|
-
DEFAULT_RPC_URL = "
|
|
2
|
+
DEFAULT_RPC_URL = "https://eth-devnet.opengradient.ai"
|
|
3
3
|
DEFAULT_OG_FAUCET_URL = "https://faucet.opengradient.ai/?address="
|
|
4
4
|
DEFAULT_HUB_SIGNUP_URL = "https://hub.opengradient.ai/signup"
|
|
5
5
|
DEFAULT_INFERENCE_CONTRACT_ADDRESS = "0x8383C9bD7462F12Eb996DD02F78234C0421A6FaE"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: opengradient
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.11
|
|
4
4
|
Summary: Python SDK for OpenGradient decentralized model management & inference services
|
|
5
5
|
Author-email: OpenGradient <oliver@opengradient.ai>
|
|
6
6
|
License: MIT License
|
|
@@ -45,6 +45,7 @@ Requires-Dist: requests>=2.32.3
|
|
|
45
45
|
Requires-Dist: langchain>=0.3.7
|
|
46
46
|
Requires-Dist: openai>=1.58.1
|
|
47
47
|
Requires-Dist: pydantic>=2.9.2
|
|
48
|
+
Dynamic: license-file
|
|
48
49
|
|
|
49
50
|
# OpenGradient Python SDK
|
|
50
51
|
|
|
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
|
{opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/alphasense/read_workflow_tool.py
RENAMED
|
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
|
{opengradient-0.4.9 → opengradient-0.4.11}/src/opengradient/workflow_models/workflow_models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|