oxenai 0.37.0__cp313-cp313-manylinux_2_34_aarch64.whl → 0.38.1__cp313-cp313-manylinux_2_34_aarch64.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.

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.37.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.7.0
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
@@ -17,7 +17,7 @@ oxen/features.py,sha256=5zLscxbX_4OcpjqZz2mkj5obX-6AMyMNCXASJzo_qx4,1378
17
17
  oxen/fs.py,sha256=yfDX7jcIUUXAzfoj67znKoPNGUS8C0tWAOczEnSQAKI,1485
18
18
  oxen/init.py,sha256=OLNE_EaIpJuX5Z7oTot_k7gPQJpCqyVqRtNg1WqCQ3w,398
19
19
  oxen/notebooks.py,sha256=zRxAmFHkWWGtspcD3EZ0-QCihiRh-WSwYyKJc2bFWqk,2895
20
- oxen/oxen.cpython-313-aarch64-linux-gnu.so,sha256=DM__AtDekNym_fjGu4On8lqECHmAJqK50PoeCIJTVcs,122437937
20
+ oxen/oxen.cpython-313-aarch64-linux-gnu.so,sha256=XKLvhR2clhrYMEgIWnYTWGaXd4GguOMsdWZEmCdwwQg,122962233
21
21
  oxen/oxen_fs.py,sha256=bk3BQy9KPOFIg87T-0pFmXpvR67K9TmU6BVdoD2ULhk,11095
22
22
  oxen/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  oxen/providers/dataset_path_provider.py,sha256=3hrzA2mGROIgY4et2HB5sSmZyyGdkHsy-uLwzTs9KIw,674
@@ -28,8 +28,8 @@ oxen/repo.py,sha256=hZv_2zlBD5yYetrYhh0RxqmpJmjjd97Sa4T7MSIfTY4,7031
28
28
  oxen/streaming_dataset.py,sha256=vHCZ6LuLMwKKHtySbPaekTj1xDJ5NeuXzMB_sjXtIeg,7978
29
29
  oxen/user.py,sha256=4KeGuoywCneA-ocTyqv-Da1Ho2W1xcdPlHB8h7Rt1HY,1165
30
30
  oxen/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- oxen/workspace.py,sha256=jWM7_o8jgMav_xTTa-tCl0aSCXpT7nx2a3eZ4pJmUVQ,5541
32
- oxenai-0.37.0.dist-info/METADATA,sha256=sp4IjYU6hL6rBgLgi1HE8-KL8uzwChj-sTOsnU5K-70,2816
33
- oxenai-0.37.0.dist-info/WHEEL,sha256=o2MrDFVEvYwENR6wWq63RiosfSMB4RbBV1YPKdM66s4,109
34
- oxenai-0.37.0.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
35
- oxenai-0.37.0.dist-info/RECORD,,
31
+ oxen/workspace.py,sha256=lOaGZARIB2f6Yg7cvSeeAP-4vxypFZ-MR7OX434Phn8,6036
32
+ oxenai-0.38.1.dist-info/METADATA,sha256=wSw_ZP0EoBjL4Gst433H6QggItzBcNiu1n-Q35ZdW4w,2816
33
+ oxenai-0.38.1.dist-info/WHEEL,sha256=xQ35TXlFkwfyQ-f7YKRDX74F0OhflGLPTKPYFmn4zJM,109
34
+ oxenai-0.38.1.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
35
+ oxenai-0.38.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.4)
2
+ Generator: maturin (1.9.6)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-manylinux_2_34_aarch64