oxenai 0.37.0__cp313-cp313-macosx_10_13_x86_64.whl → 0.38.1__cp313-cp313-macosx_10_13_x86_64.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.
Potentially problematic release.
This version of oxenai might be problematic. Click here for more details.
- oxen/oxen.cpython-313-darwin.so +0 -0
- oxen/workspace.py +16 -0
- {oxenai-0.37.0.dist-info → oxenai-0.38.1.dist-info}/METADATA +2 -2
- {oxenai-0.37.0.dist-info → oxenai-0.38.1.dist-info}/RECORD +6 -6
- {oxenai-0.37.0.dist-info → oxenai-0.38.1.dist-info}/WHEEL +1 -1
- {oxenai-0.37.0.dist-info → oxenai-0.38.1.dist-info}/entry_points.txt +0 -0
oxen/oxen.cpython-313-darwin.so
CHANGED
|
Binary file
|
oxen/workspace.py
CHANGED
|
@@ -158,6 +158,22 @@ class Workspace:
|
|
|
158
158
|
# Add a single file
|
|
159
159
|
self._workspace.add(src, dst)
|
|
160
160
|
|
|
161
|
+
|
|
162
|
+
def add_bytes(self, src: str, buf: bytes, dst: str = ""):
|
|
163
|
+
"""
|
|
164
|
+
Adds from a memory buffer to the workspace
|
|
165
|
+
|
|
166
|
+
Args:
|
|
167
|
+
src: `str`
|
|
168
|
+
The relative path to be used as the entry's name in the workspace
|
|
169
|
+
buf: `bytes`
|
|
170
|
+
The memory buffer to be read from for this entry
|
|
171
|
+
dst: `str`
|
|
172
|
+
The path in the remote repo where the file will be added
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
self._workspace.add_bytes(src, buf, dst)
|
|
176
|
+
|
|
161
177
|
def rm(self, path: str):
|
|
162
178
|
"""
|
|
163
179
|
Remove a file from the workspace
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oxenai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.38.1
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
7
7
|
Classifier: Topic :: Software Development :: Version Control
|
|
8
|
-
Requires-Dist: fsspec>=2025.
|
|
8
|
+
Requires-Dist: fsspec>=2025.3.0
|
|
9
9
|
Requires-Dist: maturin>=1.9.3
|
|
10
10
|
Requires-Dist: pandas>=2.3.1
|
|
11
11
|
Requires-Dist: polars>=1.32.0
|
|
@@ -15,7 +15,7 @@ oxen/features.py,sha256=5zLscxbX_4OcpjqZz2mkj5obX-6AMyMNCXASJzo_qx4,1378
|
|
|
15
15
|
oxen/fs.py,sha256=yfDX7jcIUUXAzfoj67znKoPNGUS8C0tWAOczEnSQAKI,1485
|
|
16
16
|
oxen/init.py,sha256=OLNE_EaIpJuX5Z7oTot_k7gPQJpCqyVqRtNg1WqCQ3w,398
|
|
17
17
|
oxen/notebooks.py,sha256=zRxAmFHkWWGtspcD3EZ0-QCihiRh-WSwYyKJc2bFWqk,2895
|
|
18
|
-
oxen/oxen.cpython-313-darwin.so,sha256=
|
|
18
|
+
oxen/oxen.cpython-313-darwin.so,sha256=ECS2wMc-CDGKta1GrVAEYTNixAAbJ5E_Xky77A9ZXOo,128236604
|
|
19
19
|
oxen/oxen_fs.py,sha256=bk3BQy9KPOFIg87T-0pFmXpvR67K9TmU6BVdoD2ULhk,11095
|
|
20
20
|
oxen/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
oxen/providers/dataset_path_provider.py,sha256=3hrzA2mGROIgY4et2HB5sSmZyyGdkHsy-uLwzTs9KIw,674
|
|
@@ -26,8 +26,8 @@ oxen/repo.py,sha256=hZv_2zlBD5yYetrYhh0RxqmpJmjjd97Sa4T7MSIfTY4,7031
|
|
|
26
26
|
oxen/streaming_dataset.py,sha256=vHCZ6LuLMwKKHtySbPaekTj1xDJ5NeuXzMB_sjXtIeg,7978
|
|
27
27
|
oxen/user.py,sha256=4KeGuoywCneA-ocTyqv-Da1Ho2W1xcdPlHB8h7Rt1HY,1165
|
|
28
28
|
oxen/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
-
oxen/workspace.py,sha256=
|
|
30
|
-
oxenai-0.
|
|
31
|
-
oxenai-0.
|
|
32
|
-
oxenai-0.
|
|
33
|
-
oxenai-0.
|
|
29
|
+
oxen/workspace.py,sha256=lOaGZARIB2f6Yg7cvSeeAP-4vxypFZ-MR7OX434Phn8,6036
|
|
30
|
+
oxenai-0.38.1.dist-info/METADATA,sha256=wSw_ZP0EoBjL4Gst433H6QggItzBcNiu1n-Q35ZdW4w,2816
|
|
31
|
+
oxenai-0.38.1.dist-info/WHEEL,sha256=9rC7Jo_vhaXRmyyeEBMEkrLYsSmdJNXrlDbnwqxXCxA,106
|
|
32
|
+
oxenai-0.38.1.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
|
|
33
|
+
oxenai-0.38.1.dist-info/RECORD,,
|
|
File without changes
|