nvidia-nat-s3 1.2.0rc5__py3-none-any.whl → 1.2.0rc6__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.
- {aiq → nat}/plugins/s3/object_store.py +6 -6
- {aiq → nat}/plugins/s3/s3_object_store.py +5 -5
- {nvidia_nat_s3-1.2.0rc5.dist-info → nvidia_nat_s3-1.2.0rc6.dist-info}/METADATA +3 -3
- nvidia_nat_s3-1.2.0rc6.dist-info/RECORD +9 -0
- nvidia_nat_s3-1.2.0rc6.dist-info/entry_points.txt +2 -0
- nvidia_nat_s3-1.2.0rc6.dist-info/top_level.txt +1 -0
- nvidia_nat_s3-1.2.0rc5.dist-info/RECORD +0 -9
- nvidia_nat_s3-1.2.0rc5.dist-info/entry_points.txt +0 -2
- nvidia_nat_s3-1.2.0rc5.dist-info/top_level.txt +0 -1
- {aiq → nat}/plugins/s3/__init__.py +0 -0
- {aiq → nat}/plugins/s3/register.py +0 -0
- {nvidia_nat_s3-1.2.0rc5.dist-info → nvidia_nat_s3-1.2.0rc6.dist-info}/WHEEL +0 -0
@@ -18,9 +18,9 @@ from typing import ClassVar
|
|
18
18
|
|
19
19
|
from pydantic import Field
|
20
20
|
|
21
|
-
from
|
22
|
-
from
|
23
|
-
from
|
21
|
+
from nat.builder.builder import Builder
|
22
|
+
from nat.cli.register_workflow import register_object_store
|
23
|
+
from nat.data_models.object_store import ObjectStoreBaseConfig
|
24
24
|
|
25
25
|
|
26
26
|
class S3ObjectStoreClientConfig(ObjectStoreBaseConfig, name="s3"):
|
@@ -28,8 +28,8 @@ class S3ObjectStoreClientConfig(ObjectStoreBaseConfig, name="s3"):
|
|
28
28
|
Object store that stores objects in an S3 bucket.
|
29
29
|
"""
|
30
30
|
|
31
|
-
ACCESS_KEY_ENV: ClassVar[str] = "
|
32
|
-
SECRET_KEY_ENV: ClassVar[str] = "
|
31
|
+
ACCESS_KEY_ENV: ClassVar[str] = "NAT_S3_OBJECT_STORE_ACCESS_KEY"
|
32
|
+
SECRET_KEY_ENV: ClassVar[str] = "NAT_S3_OBJECT_STORE_SECRET_KEY"
|
33
33
|
|
34
34
|
bucket_name: str = Field(..., description="The name of the bucket to use for the object store")
|
35
35
|
endpoint_url: str | None = Field(default=None, description="The URL of the S3 server to connect to")
|
@@ -43,7 +43,7 @@ class S3ObjectStoreClientConfig(ObjectStoreBaseConfig, name="s3"):
|
|
43
43
|
@register_object_store(config_type=S3ObjectStoreClientConfig)
|
44
44
|
async def s3_object_store_client(config: S3ObjectStoreClientConfig, builder: Builder):
|
45
45
|
|
46
|
-
from
|
46
|
+
from nat.plugins.s3.s3_object_store import S3ObjectStore
|
47
47
|
|
48
48
|
async with S3ObjectStore(config) as store:
|
49
49
|
yield store
|
@@ -19,11 +19,11 @@ import aioboto3
|
|
19
19
|
from botocore.client import BaseClient
|
20
20
|
from botocore.exceptions import ClientError
|
21
21
|
|
22
|
-
from
|
23
|
-
from
|
24
|
-
from
|
25
|
-
from
|
26
|
-
from
|
22
|
+
from nat.data_models.object_store import KeyAlreadyExistsError
|
23
|
+
from nat.data_models.object_store import NoSuchKeyError
|
24
|
+
from nat.object_store.interfaces import ObjectStore
|
25
|
+
from nat.object_store.models import ObjectStoreItem
|
26
|
+
from nat.plugins.s3.object_store import S3ObjectStoreClientConfig
|
27
27
|
|
28
28
|
logger = logging.getLogger(__name__)
|
29
29
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nvidia-nat-s3
|
3
|
-
Version: 1.2.
|
4
|
-
Summary: Subpackage for S3-compatible
|
3
|
+
Version: 1.2.0rc6
|
4
|
+
Summary: Subpackage for S3-compatible integration in NeMo Agent toolkit
|
5
5
|
Keywords: ai,agents,memory,data store
|
6
6
|
Classifier: Programming Language :: Python
|
7
7
|
Requires-Python: >=3.12
|
8
8
|
Description-Content-Type: text/markdown
|
9
|
-
Requires-Dist: nvidia-nat
|
9
|
+
Requires-Dist: nvidia-nat==v1.2.0-rc6
|
10
10
|
Requires-Dist: aioboto3>=11.0.0
|
@@ -0,0 +1,9 @@
|
|
1
|
+
nat/plugins/s3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
nat/plugins/s3/object_store.py,sha256=yg-YBd4DgQC7MPIznuMfCNoW8XBeb5fpSS3Aj6bKr_Q,2134
|
3
|
+
nat/plugins/s3/register.py,sha256=7gqnwyDrYttIlEaa7lo9AASYt-2GrZJE0YT2jpKjepo,845
|
4
|
+
nat/plugins/s3/s3_object_store.py,sha256=jFWFS_Ocl5Mil_WPB-zfmfi6SflyTBGvRf5ib-uU5dw,6250
|
5
|
+
nvidia_nat_s3-1.2.0rc6.dist-info/METADATA,sha256=WT6a1uPtkYlo_SHazQiTIzDGHKsec5Xko-yJZqXPAjo,347
|
6
|
+
nvidia_nat_s3-1.2.0rc6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
nvidia_nat_s3-1.2.0rc6.dist-info/entry_points.txt,sha256=HSc9lsaEu-3DyVezRMR-VZrfhWnDtA9llVaWE2CYZNw,63
|
8
|
+
nvidia_nat_s3-1.2.0rc6.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
9
|
+
nvidia_nat_s3-1.2.0rc6.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
nat
|
@@ -1,9 +0,0 @@
|
|
1
|
-
aiq/plugins/s3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
aiq/plugins/s3/object_store.py,sha256=vVJPxjy2yE55AcUjm_DNyOq7oQGHLiPQ2nohKZRnzog,2134
|
3
|
-
aiq/plugins/s3/register.py,sha256=7gqnwyDrYttIlEaa7lo9AASYt-2GrZJE0YT2jpKjepo,845
|
4
|
-
aiq/plugins/s3/s3_object_store.py,sha256=l6afjfqRysKKYJKbbxIZ9srSAxUc6XNlT-HEmFI4gUU,6250
|
5
|
-
nvidia_nat_s3-1.2.0rc5.dist-info/METADATA,sha256=AxtiVJHO0BAazni5JoU_RY2aq3h9wwJ-L4ZuFSVqDbw,341
|
6
|
-
nvidia_nat_s3-1.2.0rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
nvidia_nat_s3-1.2.0rc5.dist-info/entry_points.txt,sha256=7vxhbJ1M2Zz1qFy0ecACW4jidzDMesNC96Ou5p0G7no,63
|
8
|
-
nvidia_nat_s3-1.2.0rc5.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
|
9
|
-
nvidia_nat_s3-1.2.0rc5.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
aiq
|
File without changes
|
File without changes
|
File without changes
|