futurehouse-client 0.3.20.dev295__py3-none-any.whl → 0.3.20.dev411__py3-none-any.whl
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.
- futurehouse_client/__init__.py +8 -0
- futurehouse_client/clients/data_storage_methods.py +1867 -0
- futurehouse_client/clients/rest_client.py +247 -33
- futurehouse_client/models/data_storage_methods.py +333 -0
- futurehouse_client/models/rest.py +14 -0
- futurehouse_client/utils/general.py +34 -0
- futurehouse_client/utils/world_model_tools.py +69 -0
- futurehouse_client/version.py +16 -3
- {futurehouse_client-0.3.20.dev295.dist-info → futurehouse_client-0.3.20.dev411.dist-info}/METADATA +6 -1
- futurehouse_client-0.3.20.dev411.dist-info/RECORD +23 -0
- futurehouse_client-0.3.20.dev295.dist-info/RECORD +0 -20
- {futurehouse_client-0.3.20.dev295.dist-info → futurehouse_client-0.3.20.dev411.dist-info}/WHEEL +0 -0
- {futurehouse_client-0.3.20.dev295.dist-info → futurehouse_client-0.3.20.dev411.dist-info}/licenses/LICENSE +0 -0
- {futurehouse_client-0.3.20.dev295.dist-info → futurehouse_client-0.3.20.dev411.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,333 @@
|
|
1
|
+
import contextlib
|
2
|
+
from datetime import datetime
|
3
|
+
from enum import StrEnum, auto
|
4
|
+
from os import PathLike
|
5
|
+
from pathlib import Path
|
6
|
+
from typing import Any
|
7
|
+
from uuid import UUID
|
8
|
+
|
9
|
+
from pydantic import BaseModel, Field, JsonValue
|
10
|
+
|
11
|
+
|
12
|
+
class DataStorageEntry(BaseModel):
|
13
|
+
"""Model representing a data storage entry."""
|
14
|
+
|
15
|
+
id: UUID = Field(description="Unique identifier for the data storage entry")
|
16
|
+
name: str = Field(description="Name of the data storage entry")
|
17
|
+
description: str | None = Field(
|
18
|
+
default=None, description="Description of the data storage entry"
|
19
|
+
)
|
20
|
+
content: str | None = Field(
|
21
|
+
default=None, description="Content of the data storage entry"
|
22
|
+
)
|
23
|
+
embedding: list[float] | None = Field(
|
24
|
+
default=None, description="Embedding vector for the content"
|
25
|
+
)
|
26
|
+
is_collection: bool = Field(
|
27
|
+
default=False, description="Whether this entry is a collection"
|
28
|
+
)
|
29
|
+
tags: list[str] | None = Field(
|
30
|
+
default=None,
|
31
|
+
description="List of tags associated with the data storage entry",
|
32
|
+
)
|
33
|
+
parent_id: UUID | None = Field(
|
34
|
+
default=None,
|
35
|
+
description="ID of the parent entry if this is a sub-entry for hierarchical storage",
|
36
|
+
)
|
37
|
+
dataset_id: UUID | None = Field(
|
38
|
+
default=None,
|
39
|
+
description="ID of the dataset this entry belongs to",
|
40
|
+
)
|
41
|
+
path: str | None = Field(
|
42
|
+
default=None,
|
43
|
+
description="Path in the storage system where this entry is located, if a file.",
|
44
|
+
)
|
45
|
+
bigquery_schema: Any | None = Field(
|
46
|
+
default=None, description="Target BigQuery schema for the data storage entry"
|
47
|
+
)
|
48
|
+
user_id: str = Field(description="ID of the user who created this entry")
|
49
|
+
created_at: datetime = Field(description="Timestamp when the entry was created")
|
50
|
+
modified_at: datetime = Field(
|
51
|
+
description="Timestamp when the entry was last updated"
|
52
|
+
)
|
53
|
+
|
54
|
+
|
55
|
+
class DataStorageType(StrEnum):
|
56
|
+
BIGQUERY = auto()
|
57
|
+
GCS = auto()
|
58
|
+
PG_TABLE = auto()
|
59
|
+
RAW_CONTENT = auto()
|
60
|
+
ELASTIC_SEARCH = auto()
|
61
|
+
|
62
|
+
|
63
|
+
class DataContentType(StrEnum):
|
64
|
+
BQ_DATASET = auto()
|
65
|
+
BQ_TABLE = auto()
|
66
|
+
TEXT = auto()
|
67
|
+
TEXT_W_EMBEDDINGS = auto()
|
68
|
+
DIRECTORY = auto()
|
69
|
+
FILE = auto()
|
70
|
+
INDEX = auto()
|
71
|
+
INDEX_W_EMBEDDINGS = auto()
|
72
|
+
|
73
|
+
|
74
|
+
class DataStorageLocationPayload(BaseModel):
|
75
|
+
storage_type: DataStorageType
|
76
|
+
content_type: DataContentType
|
77
|
+
content_schema: JsonValue | None = None
|
78
|
+
metadata: JsonValue | None = None
|
79
|
+
location: str | None = None
|
80
|
+
|
81
|
+
|
82
|
+
class DataStorageLocationDetails(BaseModel):
|
83
|
+
"""Model representing the location details within a DataStorageLocations object."""
|
84
|
+
|
85
|
+
storage_type: str = Field(description="Type of storage (e.g., 'gcs', 'pg_table')")
|
86
|
+
content_type: str = Field(description="Type of content stored")
|
87
|
+
content_schema: JsonValue | None = Field(default=None, description="Content schema")
|
88
|
+
metadata: JsonValue | None = Field(default=None, description="Location metadata")
|
89
|
+
location: str | None = Field(
|
90
|
+
default=None, description="Location path or identifier"
|
91
|
+
)
|
92
|
+
|
93
|
+
|
94
|
+
class DataStorageLocations(BaseModel):
|
95
|
+
"""Model representing storage locations for a data storage entry."""
|
96
|
+
|
97
|
+
id: UUID = Field(description="Unique identifier for the storage locations")
|
98
|
+
data_storage_id: UUID = Field(description="ID of the associated data storage entry")
|
99
|
+
storage_config: DataStorageLocationDetails = Field(
|
100
|
+
description="Storage configuration details"
|
101
|
+
)
|
102
|
+
created_at: datetime = Field(description="Timestamp when the location was created")
|
103
|
+
|
104
|
+
|
105
|
+
class DataStorageResponse(BaseModel):
|
106
|
+
"""Response model for data storage operations."""
|
107
|
+
|
108
|
+
data_storage: DataStorageEntry = Field(description="The created data storage entry")
|
109
|
+
storage_location: DataStorageLocations = Field(
|
110
|
+
description="Storage location for this data entry"
|
111
|
+
)
|
112
|
+
signed_url: str | None = Field(
|
113
|
+
default=None,
|
114
|
+
description="Signed URL for uploading/downloading the file to/from GCS",
|
115
|
+
)
|
116
|
+
|
117
|
+
|
118
|
+
class DataStorageRequestPayload(BaseModel):
|
119
|
+
"""Payload for creating a data storage entry."""
|
120
|
+
|
121
|
+
name: str = Field(description="Name of the data storage entry")
|
122
|
+
description: str | None = Field(
|
123
|
+
default=None, description="Description of the data storage entry"
|
124
|
+
)
|
125
|
+
content: str | None = Field(
|
126
|
+
default=None, description="Content of the data storage entry"
|
127
|
+
)
|
128
|
+
is_collection: bool = Field(
|
129
|
+
default=False, description="Whether this entry is a collection"
|
130
|
+
)
|
131
|
+
parent_id: UUID | None = Field(
|
132
|
+
default=None, description="ID of the parent entry for hierarchical storage"
|
133
|
+
)
|
134
|
+
dataset_id: UUID | None = Field(
|
135
|
+
default=None,
|
136
|
+
description="ID of existing dataset to add entry to, or None to create new dataset",
|
137
|
+
)
|
138
|
+
path: PathLike | str | None = Field(
|
139
|
+
default=None,
|
140
|
+
description="Path to store in the GCS bucket.",
|
141
|
+
)
|
142
|
+
existing_location: DataStorageLocationPayload | None = Field(
|
143
|
+
default=None, description="Target storage metadata"
|
144
|
+
)
|
145
|
+
|
146
|
+
|
147
|
+
class ManifestEntry(BaseModel):
|
148
|
+
"""Model representing a single entry in a manifest file."""
|
149
|
+
|
150
|
+
description: str | None = Field(
|
151
|
+
default=None, description="Description of the file or directory"
|
152
|
+
)
|
153
|
+
metadata: dict[str, Any] | None = Field(
|
154
|
+
default=None, description="Additional metadata for the entry"
|
155
|
+
)
|
156
|
+
|
157
|
+
|
158
|
+
class DirectoryManifest(BaseModel):
|
159
|
+
"""Model representing the structure of a manifest file."""
|
160
|
+
|
161
|
+
entries: dict[str, "ManifestEntry | DirectoryManifest"] = Field(
|
162
|
+
default_factory=dict,
|
163
|
+
description="Map of file/directory names to their manifest entries",
|
164
|
+
)
|
165
|
+
|
166
|
+
def get_entry_description(self, name: str) -> str | None:
|
167
|
+
"""Get description for a specific entry."""
|
168
|
+
entry = self.entries.get(name)
|
169
|
+
if isinstance(entry, ManifestEntry):
|
170
|
+
return entry.description
|
171
|
+
if isinstance(entry, DirectoryManifest):
|
172
|
+
# For nested directories, could derive description from contents
|
173
|
+
return None
|
174
|
+
return None
|
175
|
+
|
176
|
+
def get_entry_metadata(self, name: str) -> dict[str, Any] | None:
|
177
|
+
"""Get metadata for a specific entry."""
|
178
|
+
entry = self.entries.get(name)
|
179
|
+
if isinstance(entry, ManifestEntry):
|
180
|
+
return entry.metadata
|
181
|
+
return None
|
182
|
+
|
183
|
+
@classmethod
|
184
|
+
def from_dict(cls, data: dict[str, Any]) -> "DirectoryManifest":
|
185
|
+
"""Create DirectoryManifest from a dictionary (loaded from JSON/YAML)."""
|
186
|
+
entries: dict[str, ManifestEntry | DirectoryManifest] = {}
|
187
|
+
for name, value in data.items():
|
188
|
+
if isinstance(value, dict):
|
189
|
+
if "description" in value or "metadata" in value:
|
190
|
+
# This looks like a ManifestEntry
|
191
|
+
entries[name] = ManifestEntry(**value)
|
192
|
+
else:
|
193
|
+
# This looks like a nested directory
|
194
|
+
entries[name] = cls.from_dict(value)
|
195
|
+
else:
|
196
|
+
# Simple string description
|
197
|
+
entries[name] = ManifestEntry(description=str(value))
|
198
|
+
|
199
|
+
return cls(entries=entries)
|
200
|
+
|
201
|
+
def to_dict(self) -> dict[str, Any]:
|
202
|
+
"""Convert back to dictionary format."""
|
203
|
+
result = {}
|
204
|
+
for name, entry in self.entries.items():
|
205
|
+
if isinstance(entry, ManifestEntry):
|
206
|
+
if entry.description is not None or entry.metadata is not None:
|
207
|
+
entry_dict = {}
|
208
|
+
if entry.description is not None:
|
209
|
+
entry_dict["description"] = entry.description
|
210
|
+
if entry.metadata is not None:
|
211
|
+
entry_dict.update(entry.metadata)
|
212
|
+
result[name] = entry_dict
|
213
|
+
elif isinstance(entry, DirectoryManifest):
|
214
|
+
result[name] = entry.to_dict()
|
215
|
+
return result
|
216
|
+
|
217
|
+
|
218
|
+
class FileMetadata(BaseModel):
|
219
|
+
"""Model representing metadata for a file being processed."""
|
220
|
+
|
221
|
+
path: Path = Field(description="Path to the file")
|
222
|
+
name: str = Field(description="Name of the file")
|
223
|
+
size: int | None = Field(default=None, description="Size of the file in bytes")
|
224
|
+
description: str | None = Field(
|
225
|
+
default=None, description="Description from manifest or generated"
|
226
|
+
)
|
227
|
+
is_directory: bool = Field(default=False, description="Whether this is a directory")
|
228
|
+
parent_id: UUID | None = Field(
|
229
|
+
default=None, description="Parent directory ID in the storage system"
|
230
|
+
)
|
231
|
+
dataset_id: UUID | None = Field(
|
232
|
+
default=None, description="Dataset ID this file belongs to"
|
233
|
+
)
|
234
|
+
|
235
|
+
@classmethod
|
236
|
+
def from_path(
|
237
|
+
cls,
|
238
|
+
path: Path,
|
239
|
+
description: str | None = None,
|
240
|
+
parent_id: UUID | None = None,
|
241
|
+
dataset_id: UUID | None = None,
|
242
|
+
) -> "FileMetadata":
|
243
|
+
"""Create FileMetadata from a Path object."""
|
244
|
+
size = None
|
245
|
+
is_directory = path.is_dir()
|
246
|
+
|
247
|
+
if not is_directory:
|
248
|
+
with contextlib.suppress(OSError):
|
249
|
+
size = path.stat().st_size
|
250
|
+
|
251
|
+
return cls(
|
252
|
+
path=path,
|
253
|
+
name=path.name,
|
254
|
+
size=size,
|
255
|
+
description=description,
|
256
|
+
is_directory=is_directory,
|
257
|
+
parent_id=parent_id,
|
258
|
+
dataset_id=dataset_id,
|
259
|
+
)
|
260
|
+
|
261
|
+
|
262
|
+
class UploadProgress(BaseModel):
|
263
|
+
"""Model for tracking upload progress."""
|
264
|
+
|
265
|
+
total_files: int = Field(description="Total number of files to upload")
|
266
|
+
uploaded_files: int = Field(default=0, description="Number of files uploaded")
|
267
|
+
total_bytes: int | None = Field(default=None, description="Total bytes to upload")
|
268
|
+
uploaded_bytes: int = Field(default=0, description="Number of bytes uploaded")
|
269
|
+
current_file: str | None = Field(
|
270
|
+
default=None, description="Currently uploading file"
|
271
|
+
)
|
272
|
+
errors: list[str] = Field(
|
273
|
+
default_factory=list, description="List of error messages"
|
274
|
+
)
|
275
|
+
|
276
|
+
@property
|
277
|
+
def progress_percentage(self) -> float:
|
278
|
+
"""Calculate progress percentage based on files."""
|
279
|
+
if self.total_files == 0:
|
280
|
+
return 0.0
|
281
|
+
return (self.uploaded_files / self.total_files) * 100.0
|
282
|
+
|
283
|
+
@property
|
284
|
+
def bytes_percentage(self) -> float | None:
|
285
|
+
"""Calculate progress percentage based on bytes."""
|
286
|
+
if not self.total_bytes or self.total_bytes == 0:
|
287
|
+
return None
|
288
|
+
return (self.uploaded_bytes / self.total_bytes) * 100.0
|
289
|
+
|
290
|
+
def add_error(self, error: str) -> None:
|
291
|
+
"""Add an error message."""
|
292
|
+
self.errors.append(error)
|
293
|
+
|
294
|
+
def increment_files(self, bytes_uploaded: int = 0) -> None:
|
295
|
+
"""Increment the uploaded files counter."""
|
296
|
+
self.uploaded_files += 1
|
297
|
+
self.uploaded_bytes += bytes_uploaded
|
298
|
+
|
299
|
+
|
300
|
+
class DirectoryUploadConfig(BaseModel):
|
301
|
+
"""Configuration for directory uploads."""
|
302
|
+
|
303
|
+
name: str = Field(description="Name for the directory upload")
|
304
|
+
description: str | None = Field(
|
305
|
+
default=None, description="Description for the directory"
|
306
|
+
)
|
307
|
+
as_collection: bool = Field(
|
308
|
+
default=False, description="Upload as single collection or hierarchically"
|
309
|
+
)
|
310
|
+
manifest_filename: str | None = Field(
|
311
|
+
default=None, description="Name of manifest file to use"
|
312
|
+
)
|
313
|
+
ignore_patterns: list[str] = Field(
|
314
|
+
default_factory=list, description="Patterns to ignore"
|
315
|
+
)
|
316
|
+
ignore_filename: str = Field(
|
317
|
+
default=".gitignore", description="Name of ignore file to read"
|
318
|
+
)
|
319
|
+
base_path: str | None = Field(default=None, description="Base path for storage")
|
320
|
+
parent_id: UUID | None = Field(default=None, description="Parent directory ID")
|
321
|
+
dataset_id: UUID | None = Field(default=None, description="Dataset ID to use")
|
322
|
+
|
323
|
+
def with_parent(
|
324
|
+
self, parent_id: UUID, dataset_id: UUID | None = None
|
325
|
+
) -> "DirectoryUploadConfig":
|
326
|
+
"""Create a new config with parent and dataset IDs set."""
|
327
|
+
return self.model_copy(
|
328
|
+
update={"parent_id": parent_id, "dataset_id": dataset_id or self.dataset_id}
|
329
|
+
)
|
330
|
+
|
331
|
+
|
332
|
+
# Forward reference resolution for DirectoryManifest
|
333
|
+
DirectoryManifest.model_rebuild()
|
@@ -111,6 +111,7 @@ class UserAgentRequestPostPayload(BaseModel):
|
|
111
111
|
status: UserAgentRequestStatus = UserAgentRequestStatus.PENDING
|
112
112
|
expires_in_seconds: int | None = None
|
113
113
|
user_response_task: JsonValue | None = None
|
114
|
+
notify_user: JsonValue = {"email": True, "sms": False}
|
114
115
|
|
115
116
|
|
116
117
|
class UserAgentResponsePayload(BaseModel):
|
@@ -118,3 +119,16 @@ class UserAgentResponsePayload(BaseModel):
|
|
118
119
|
|
119
120
|
response: JsonValue
|
120
121
|
response_world_model_edit_id: UUID | None = None
|
122
|
+
|
123
|
+
|
124
|
+
class DiscoveryResponse(BaseModel):
|
125
|
+
"""Response model for a discovery request. This model is received from the API."""
|
126
|
+
|
127
|
+
discovery_id: UUID | str
|
128
|
+
project_id: UUID | str
|
129
|
+
world_model_id: UUID | str
|
130
|
+
dataset_id: UUID | str
|
131
|
+
description: str
|
132
|
+
associated_trajectories: list[UUID | str]
|
133
|
+
validation_level: int
|
134
|
+
created_at: datetime
|
@@ -2,11 +2,45 @@ import asyncio
|
|
2
2
|
from collections.abc import Awaitable, Iterable
|
3
3
|
from typing import TypeVar
|
4
4
|
|
5
|
+
from httpx import (
|
6
|
+
CloseError,
|
7
|
+
ConnectError,
|
8
|
+
ConnectTimeout,
|
9
|
+
NetworkError,
|
10
|
+
ReadError,
|
11
|
+
ReadTimeout,
|
12
|
+
RemoteProtocolError,
|
13
|
+
)
|
14
|
+
from requests.exceptions import RequestException, Timeout
|
15
|
+
from tenacity import retry_if_exception_type
|
5
16
|
from tqdm.asyncio import tqdm
|
6
17
|
|
7
18
|
T = TypeVar("T")
|
8
19
|
|
9
20
|
|
21
|
+
_BASE_CONNECTION_ERRORS = (
|
22
|
+
# From requests
|
23
|
+
Timeout,
|
24
|
+
ConnectionError,
|
25
|
+
RequestException,
|
26
|
+
# From httpx
|
27
|
+
ConnectError,
|
28
|
+
ConnectTimeout,
|
29
|
+
ReadTimeout,
|
30
|
+
ReadError,
|
31
|
+
NetworkError,
|
32
|
+
RemoteProtocolError,
|
33
|
+
CloseError,
|
34
|
+
)
|
35
|
+
|
36
|
+
retry_if_connection_error = retry_if_exception_type(_BASE_CONNECTION_ERRORS)
|
37
|
+
|
38
|
+
|
39
|
+
def create_retry_if_connection_error(*additional_exceptions):
|
40
|
+
"""Create a retry condition with base connection errors plus additional exceptions."""
|
41
|
+
return retry_if_exception_type(_BASE_CONNECTION_ERRORS + additional_exceptions)
|
42
|
+
|
43
|
+
|
10
44
|
async def gather_with_concurrency(
|
11
45
|
n: int | asyncio.Semaphore, coros: Iterable[Awaitable[T]], progress: bool = False
|
12
46
|
) -> list[T]:
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import os
|
2
|
+
from uuid import UUID
|
3
|
+
|
4
|
+
from aviary.core import Tool
|
5
|
+
|
6
|
+
from futurehouse_client.clients.rest_client import RestClient
|
7
|
+
from futurehouse_client.models.app import Stage
|
8
|
+
from futurehouse_client.models.rest import WorldModel
|
9
|
+
|
10
|
+
|
11
|
+
class WorldModelTools:
|
12
|
+
_client: RestClient | None = None
|
13
|
+
|
14
|
+
@classmethod
|
15
|
+
def _get_client(cls) -> RestClient:
|
16
|
+
"""Lazy initialization of the RestClient to avoid validation errors during import."""
|
17
|
+
if cls._client is None:
|
18
|
+
api_key = os.getenv("FH_PLATFORM_API_KEY")
|
19
|
+
if not api_key:
|
20
|
+
raise ValueError(
|
21
|
+
"FH_PLATFORM_API_KEY environment variable is required for WorldModelTools"
|
22
|
+
)
|
23
|
+
cls._client = RestClient(
|
24
|
+
stage=Stage.from_string(os.getenv("CROW_ENV", "dev")),
|
25
|
+
api_key=api_key,
|
26
|
+
)
|
27
|
+
return cls._client
|
28
|
+
|
29
|
+
@staticmethod
|
30
|
+
def create_world_model(name: str, description: str, content: str) -> UUID:
|
31
|
+
"""Create a new world model.
|
32
|
+
|
33
|
+
Args:
|
34
|
+
name: The name of the world model.
|
35
|
+
description: A description of the world model.
|
36
|
+
content: The content/data of the world model.
|
37
|
+
|
38
|
+
Returns:
|
39
|
+
UUID: The ID of the newly created world model.
|
40
|
+
"""
|
41
|
+
world_model = WorldModel(
|
42
|
+
name=name,
|
43
|
+
description=description,
|
44
|
+
content=content,
|
45
|
+
)
|
46
|
+
return WorldModelTools._get_client().create_world_model(world_model)
|
47
|
+
|
48
|
+
@staticmethod
|
49
|
+
def search_world_models(query: str) -> list[str]:
|
50
|
+
"""Search for world models using a text query.
|
51
|
+
|
52
|
+
Args:
|
53
|
+
query: The search query string to match against world model content.
|
54
|
+
|
55
|
+
Returns:
|
56
|
+
list[str]: A list of world model IDs that match the search query.
|
57
|
+
"""
|
58
|
+
return WorldModelTools._get_client().search_world_models(query, size=1)
|
59
|
+
|
60
|
+
|
61
|
+
create_world_model_tool = Tool.from_function(WorldModelTools.create_world_model)
|
62
|
+
search_world_model_tool = Tool.from_function(WorldModelTools.search_world_models)
|
63
|
+
|
64
|
+
|
65
|
+
def make_world_model_tools() -> list[Tool]:
|
66
|
+
return [
|
67
|
+
search_world_model_tool,
|
68
|
+
create_world_model_tool,
|
69
|
+
]
|
futurehouse_client/version.py
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
# file generated by setuptools-scm
|
2
2
|
# don't change, don't track in version control
|
3
3
|
|
4
|
-
__all__ = [
|
4
|
+
__all__ = [
|
5
|
+
"__version__",
|
6
|
+
"__version_tuple__",
|
7
|
+
"version",
|
8
|
+
"version_tuple",
|
9
|
+
"__commit_id__",
|
10
|
+
"commit_id",
|
11
|
+
]
|
5
12
|
|
6
13
|
TYPE_CHECKING = False
|
7
14
|
if TYPE_CHECKING:
|
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
|
|
9
16
|
from typing import Union
|
10
17
|
|
11
18
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
19
|
+
COMMIT_ID = Union[str, None]
|
12
20
|
else:
|
13
21
|
VERSION_TUPLE = object
|
22
|
+
COMMIT_ID = object
|
14
23
|
|
15
24
|
version: str
|
16
25
|
__version__: str
|
17
26
|
__version_tuple__: VERSION_TUPLE
|
18
27
|
version_tuple: VERSION_TUPLE
|
28
|
+
commit_id: COMMIT_ID
|
29
|
+
__commit_id__: COMMIT_ID
|
19
30
|
|
20
|
-
__version__ = version = '0.3.20.
|
21
|
-
__version_tuple__ = version_tuple = (0, 3, 20, '
|
31
|
+
__version__ = version = '0.3.20.dev411'
|
32
|
+
__version_tuple__ = version_tuple = (0, 3, 20, 'dev411')
|
33
|
+
|
34
|
+
__commit_id__ = commit_id = None
|
{futurehouse_client-0.3.20.dev295.dist-info → futurehouse_client-0.3.20.dev411.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: futurehouse-client
|
3
|
-
Version: 0.3.20.
|
3
|
+
Version: 0.3.20.dev411
|
4
4
|
Summary: A client for interacting with endpoints of the FutureHouse service.
|
5
5
|
Author-email: FutureHouse technical staff <hello@futurehouse.org>
|
6
6
|
License: Apache License
|
@@ -213,18 +213,22 @@ Classifier: Programming Language :: Python
|
|
213
213
|
Requires-Python: <3.14,>=3.11
|
214
214
|
Description-Content-Type: text/markdown
|
215
215
|
License-File: LICENSE
|
216
|
+
Requires-Dist: aiofiles
|
216
217
|
Requires-Dist: cloudpickle
|
217
218
|
Requires-Dist: fhaviary
|
219
|
+
Requires-Dist: google-resumable-media[aiohttp]
|
218
220
|
Requires-Dist: httpx
|
219
221
|
Requires-Dist: ldp>=0.22.0
|
220
222
|
Requires-Dist: litellm
|
221
223
|
Requires-Dist: pydantic
|
222
224
|
Requires-Dist: python-dotenv
|
225
|
+
Requires-Dist: requests
|
223
226
|
Requires-Dist: tenacity
|
224
227
|
Requires-Dist: tqdm>=4.62
|
225
228
|
Provides-Extra: dev
|
226
229
|
Requires-Dist: black; extra == "dev"
|
227
230
|
Requires-Dist: futurehouse-client[monitoring,typing]; extra == "dev"
|
231
|
+
Requires-Dist: ipykernel; extra == "dev"
|
228
232
|
Requires-Dist: jupyter; extra == "dev"
|
229
233
|
Requires-Dist: jupyterlab; extra == "dev"
|
230
234
|
Requires-Dist: mypy; extra == "dev"
|
@@ -244,6 +248,7 @@ Requires-Dist: setuptools_scm; extra == "dev"
|
|
244
248
|
Provides-Extra: monitoring
|
245
249
|
Requires-Dist: newrelic>=8.8.0; extra == "monitoring"
|
246
250
|
Provides-Extra: typing
|
251
|
+
Requires-Dist: types-PyYAML; extra == "typing"
|
247
252
|
Requires-Dist: types-requests; extra == "typing"
|
248
253
|
Requires-Dist: types-tqdm; extra == "typing"
|
249
254
|
Dynamic: license-file
|
@@ -0,0 +1,23 @@
|
|
1
|
+
futurehouse_client/__init__.py,sha256=PvFTkocA-hobsWoDEBEdrUgLIbuVbDs_0nvMdImJmHk,707
|
2
|
+
futurehouse_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
futurehouse_client/version.py,sha256=ATqNPJGbdMp-ifig01HgY_N9rods-3s_pdrLTqHW_ro,723
|
4
|
+
futurehouse_client/clients/__init__.py,sha256=-HXNj-XJ3LRO5XM6MZ709iPs29YpApss0Q2YYg1qMZw,280
|
5
|
+
futurehouse_client/clients/data_storage_methods.py,sha256=Ovmi72vW3qqgVJcVFDkMA4tykppsRBvU8kCbjIMY1Sk,68514
|
6
|
+
futurehouse_client/clients/job_client.py,sha256=D51_qTxya6g5Wfg_ZfJdP031TV_YDJeXkGMiYAJ1qRc,11962
|
7
|
+
futurehouse_client/clients/rest_client.py,sha256=hNDSN8amTXSEkiXRtNYcFM942UdvryUsf1q0D_dAOW4,100332
|
8
|
+
futurehouse_client/models/__init__.py,sha256=kQ4R7VEuRxO0IQEW_sk9CndBL7zzl8rUKI24ddyYLM0,647
|
9
|
+
futurehouse_client/models/app.py,sha256=TGoAeENNPc5mSBkMHjh-Z8VIlnaUNcoWUJLxUhRIkEE,31868
|
10
|
+
futurehouse_client/models/client.py,sha256=n4HD0KStKLm6Ek9nL9ylP-bkK10yzAaD1uIDF83Qp_A,1828
|
11
|
+
futurehouse_client/models/data_storage_methods.py,sha256=ff3l87fT379BKhaHcI3aR8O7p2Vfm0M_qP9cpnhq2Bs,12095
|
12
|
+
futurehouse_client/models/rest.py,sha256=ybelLsyTsKYud7DYUCF0sFF6u81bl8WmS_wWAnbX-0M,3382
|
13
|
+
futurehouse_client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
+
futurehouse_client/utils/auth.py,sha256=tgWELjKfg8eWme_qdcRmc8TjQN9DVZuHHaVXZNHLchk,2960
|
15
|
+
futurehouse_client/utils/general.py,sha256=Gxy8JJ2g6nO-gphf_kHAlkowb0eP_DqD4MSF58IXExE,1592
|
16
|
+
futurehouse_client/utils/module_utils.py,sha256=aFyd-X-pDARXz9GWpn8SSViUVYdSbuy9vSkrzcVIaGI,4955
|
17
|
+
futurehouse_client/utils/monitoring.py,sha256=UjRlufe67kI3VxRHOd5fLtJmlCbVA2Wqwpd4uZhXkQM,8728
|
18
|
+
futurehouse_client/utils/world_model_tools.py,sha256=cybA82xD_UzmKN0rdQfhbB8SH4v6cFw8mRr4gFfQF5U,2208
|
19
|
+
futurehouse_client-0.3.20.dev411.dist-info/licenses/LICENSE,sha256=oQ9ZHjUi-_6GfP3gs14FlPb0OlGwE1QCCKFGnJ4LD2I,11341
|
20
|
+
futurehouse_client-0.3.20.dev411.dist-info/METADATA,sha256=Ay0u2c1E3UVy7gRG6j7Ww-eWqYLVeO3l8KkLONb7k0Q,26988
|
21
|
+
futurehouse_client-0.3.20.dev411.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
22
|
+
futurehouse_client-0.3.20.dev411.dist-info/top_level.txt,sha256=TRuLUCt_qBnggdFHCX4O_BoCu1j2X43lKfIZC-ElwWY,19
|
23
|
+
futurehouse_client-0.3.20.dev411.dist-info/RECORD,,
|
@@ -1,20 +0,0 @@
|
|
1
|
-
futurehouse_client/__init__.py,sha256=BztM_ntbgmIEjzvnBWcvPhvLjM8xGDFCK0Upf3-nIn8,488
|
2
|
-
futurehouse_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
futurehouse_client/version.py,sha256=mSg-Syof0Bu8uwP9zHVIxfPtVBF888AsvhZU0cEGhS0,530
|
4
|
-
futurehouse_client/clients/__init__.py,sha256=-HXNj-XJ3LRO5XM6MZ709iPs29YpApss0Q2YYg1qMZw,280
|
5
|
-
futurehouse_client/clients/job_client.py,sha256=D51_qTxya6g5Wfg_ZfJdP031TV_YDJeXkGMiYAJ1qRc,11962
|
6
|
-
futurehouse_client/clients/rest_client.py,sha256=L8U3Ap-91_A90PkC00n-WwhVkK9oQjgxR59JAykyhjw,91929
|
7
|
-
futurehouse_client/models/__init__.py,sha256=kQ4R7VEuRxO0IQEW_sk9CndBL7zzl8rUKI24ddyYLM0,647
|
8
|
-
futurehouse_client/models/app.py,sha256=TGoAeENNPc5mSBkMHjh-Z8VIlnaUNcoWUJLxUhRIkEE,31868
|
9
|
-
futurehouse_client/models/client.py,sha256=n4HD0KStKLm6Ek9nL9ylP-bkK10yzAaD1uIDF83Qp_A,1828
|
10
|
-
futurehouse_client/models/rest.py,sha256=F0xhzyO59DrTON3XBGSa8Zkf_9ghzQgk9obRdwwORdE,2965
|
11
|
-
futurehouse_client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
-
futurehouse_client/utils/auth.py,sha256=tgWELjKfg8eWme_qdcRmc8TjQN9DVZuHHaVXZNHLchk,2960
|
13
|
-
futurehouse_client/utils/general.py,sha256=A_rtTiYW30ELGEZlWCIArO7q1nEmqi8hUlmBRYkMQ_c,767
|
14
|
-
futurehouse_client/utils/module_utils.py,sha256=aFyd-X-pDARXz9GWpn8SSViUVYdSbuy9vSkrzcVIaGI,4955
|
15
|
-
futurehouse_client/utils/monitoring.py,sha256=UjRlufe67kI3VxRHOd5fLtJmlCbVA2Wqwpd4uZhXkQM,8728
|
16
|
-
futurehouse_client-0.3.20.dev295.dist-info/licenses/LICENSE,sha256=oQ9ZHjUi-_6GfP3gs14FlPb0OlGwE1QCCKFGnJ4LD2I,11341
|
17
|
-
futurehouse_client-0.3.20.dev295.dist-info/METADATA,sha256=uxikW94P2zyA7pVfejOsAbTVP-tFho-X0KYkENj8smo,26805
|
18
|
-
futurehouse_client-0.3.20.dev295.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
19
|
-
futurehouse_client-0.3.20.dev295.dist-info/top_level.txt,sha256=TRuLUCt_qBnggdFHCX4O_BoCu1j2X43lKfIZC-ElwWY,19
|
20
|
-
futurehouse_client-0.3.20.dev295.dist-info/RECORD,,
|
{futurehouse_client-0.3.20.dev295.dist-info → futurehouse_client-0.3.20.dev411.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|