oxenai 0.36.3__cp312-cp312-manylinux_2_34_aarch64.whl → 0.36.5__cp312-cp312-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
@@ -0,0 +1,92 @@
1
+ Metadata-Version: 2.4
2
+ Name: oxenai
3
+ Version: 0.36.5
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Classifier: Topic :: Software Development :: Version Control
8
+ Requires-Dist: fsspec>=2025.7.0
9
+ Requires-Dist: maturin>=1.9.3
10
+ Requires-Dist: pandas>=2.3.1
11
+ Requires-Dist: polars>=1.32.0
12
+ Requires-Dist: pyarrow>=21.0.0
13
+ Requires-Dist: pytest>=8.4.1
14
+ Requires-Dist: pytest-datadir>=1.8.0
15
+ Requires-Dist: requests>=2.32.4
16
+ Requires-Dist: ruff>=0.12.7
17
+ Requires-Dist: toml>=0.10.2
18
+ Requires-Dist: tqdm>=4.67.1
19
+ Summary: Data version control for machine learning
20
+ Keywords: oxen,version control
21
+ License-Expression: Apache-2.0
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
24
+ Project-URL: Homepage, https://www.oxen.ai/
25
+ Project-URL: Documentation, https://docs.oxen.ai/
26
+ Project-URL: Repository, https://github.com/Oxen-AI/Oxen
27
+
28
+ # 🐂 🐍 Oxen Python Interface
29
+
30
+ The Oxen python interface makes it easy to integrate Oxen datasets directly into machine learning dataloaders or other data pipelines.
31
+
32
+ ## Repositories
33
+
34
+ There are two types of repositories one can interact with, a `Repo` and a `RemoteRepo`.
35
+
36
+
37
+ ## Local Repo
38
+
39
+ To fully clone all the data to your local machine, you can use the `Repo` class.
40
+
41
+ ```python
42
+ import oxen
43
+
44
+ repo = oxen.Repo("path/to/repository")
45
+ repo.clone("https://hub.oxen.ai/ox/CatDogBBox")
46
+ ```
47
+
48
+ If there is a specific version of your data you want to access, you can specify the `branch` when cloning.
49
+
50
+ ```python
51
+ repo.clone("https://hub.oxen.ai/ox/CatDogBBox", branch="my-pets")
52
+ ```
53
+
54
+ Once you have a repository locally, you can perform the same operations you might via the command line, through the python api.
55
+
56
+ For example, you can checkout a branch, add a file, commit, and push the data to the same remote you cloned it from.
57
+
58
+ ```python
59
+ import oxen
60
+
61
+ repo = oxen.Repo("path/to/repository")
62
+ repo.clone("https://hub.oxen.ai/ox/CatDogBBox")
63
+ repo.checkout()
64
+ ```
65
+
66
+ ## Remote Repo
67
+
68
+ If you don't want to download the data locally, you can use the `RemoteRepo` class to interact with a remote repository on OxenHub.
69
+
70
+ ```python
71
+ import oxen
72
+
73
+ repo = RemoteRepo("https://hub.oxen.ai/ox/CatDogBBox")
74
+ ```
75
+
76
+ To stage and commit files to a specific version of the data, you can `checkout` an existing branch or create a new one.
77
+
78
+ ```python
79
+ repo.create_branch("dev")
80
+ repo.checkout("dev")
81
+ ```
82
+
83
+ You can then stage files to the remote repository by specifying the file path and destination directory.
84
+
85
+ ```python
86
+ repo.add("new-cat.png", "images") # Stage to images/new-cat.png on remote
87
+ repo.commit("Adding another training image")
88
+ ```
89
+
90
+ Note that no "push" command is required here, since the above code creates a commit directly on the remote branch.
91
+
92
+
@@ -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-312-aarch64-linux-gnu.so,sha256=913Us3NWsbxJBo2wGDovUzgYvtKiBvYG8FwTBQRanrw,110313497
20
+ oxen/oxen.cpython-312-aarch64-linux-gnu.so,sha256=bjtBhXe6t4iR3OTa4selyR-IdklTggqPbRBpZRo28Fw,122503417
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
@@ -29,7 +29,7 @@ oxen/streaming_dataset.py,sha256=vHCZ6LuLMwKKHtySbPaekTj1xDJ5NeuXzMB_sjXtIeg,797
29
29
  oxen/user.py,sha256=4KeGuoywCneA-ocTyqv-Da1Ho2W1xcdPlHB8h7Rt1HY,1165
30
30
  oxen/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  oxen/workspace.py,sha256=jWM7_o8jgMav_xTTa-tCl0aSCXpT7nx2a3eZ4pJmUVQ,5541
32
- oxenai-0.36.3.dist-info/METADATA,sha256=Yrn39Zo5Qv7vcShYN0Y0StQgQsElHbvyHaFZKcykBdo,460
33
- oxenai-0.36.3.dist-info/WHEEL,sha256=bFvCrDYfhSwy-9jlWDbD0Nc9KY7zTly2GxupejOGI4s,109
34
- oxenai-0.36.3.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
35
- oxenai-0.36.3.dist-info/RECORD,,
32
+ oxenai-0.36.5.dist-info/METADATA,sha256=4lJHRKAYia1KU1-2t2JLJNgNnYp3h29Fto9GS2WW2yc,2816
33
+ oxenai-0.36.5.dist-info/WHEEL,sha256=RY1uEu12ByGi2hG5RIBz8vspj4cYEvk_Z24zbYezdP8,109
34
+ oxenai-0.36.5.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
35
+ oxenai-0.36.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.2)
2
+ Generator: maturin (1.9.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-manylinux_2_34_aarch64
@@ -1,15 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: oxenai
3
- Version: 0.36.3
4
- Classifier: Programming Language :: Rust
5
- Classifier: Programming Language :: Python :: Implementation :: CPython
6
- Classifier: Programming Language :: Python :: Implementation :: PyPy
7
- Requires-Dist: fsspec
8
- Requires-Dist: pandas
9
- Requires-Dist: polars
10
- Requires-Dist: pyarrow
11
- Requires-Dist: requests
12
- Requires-Dist: toml
13
- Requires-Dist: tqdm
14
- Summary: Data version control for machine learning
15
- Requires-Python: >=3.7