oxenai 0.37.0__cp310-cp310-macosx_10_13_x86_64.whl → 0.38.1__cp310-cp310-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.

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
@@ -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-310-darwin.so,sha256=ePrj1O9mLeyEuK9rKxUVGOTeQIEGU8d_si6AUKORr2c,127819788
18
+ oxen/oxen.cpython-310-darwin.so,sha256=gocCdmEb_ubA9hJQbE9m9rGRjcaMGSB4ITL3Qgkl2K4,128254892
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=jWM7_o8jgMav_xTTa-tCl0aSCXpT7nx2a3eZ4pJmUVQ,5541
30
- oxenai-0.37.0.dist-info/METADATA,sha256=sp4IjYU6hL6rBgLgi1HE8-KL8uzwChj-sTOsnU5K-70,2816
31
- oxenai-0.37.0.dist-info/WHEEL,sha256=N5kW03zhqzV-kY-iajdXF_cj9rApflea3iJff8y2Hi4,106
32
- oxenai-0.37.0.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
33
- oxenai-0.37.0.dist-info/RECORD,,
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=E2HeADBJ8wE_H4TY-798IBqHHZTHgCu9_dqK2kS_4w0,106
32
+ oxenai-0.38.1.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
33
+ 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: cp310-cp310-macosx_10_13_x86_64