oxenai 0.36.3__cp312-cp312-win_amd64.whl → 0.36.5__cp312-cp312-win_amd64.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
+
@@ -15,7 +15,7 @@ oxen/features.py,sha256=hgkj5UjFbRmJvNecLPaacXAy-F9S4kn090ogxplOBvw,1436
15
15
  oxen/fs.py,sha256=HvFxquxdZdysAJLhsLErEdDBPJEnh0Dplq1GZxTAFgY,1542
16
16
  oxen/init.py,sha256=9V3Le4aGCpnSW3pvnDZtgv6uVrr7Wtf_0USyVhF3l5E,417
17
17
  oxen/notebooks.py,sha256=wIFknbpZM0BhfFojVVsSppziCDH0fTr-P3dNqZCQLss,2992
18
- oxen/oxen.cp312-win_amd64.pyd,sha256=Md-KHiwC1exzScAqCBy19HXPFgHNrch7yvN0S1932Hk,105017856
18
+ oxen/oxen.cp312-win_amd64.pyd,sha256=733P3evGYYgHpZEIE_fC750EUZ2pOzMDwUYwieFw7e4,117981184
19
19
  oxen/oxen_fs.py,sha256=nsgPHSOAqjEY2HlmYsZCC6ttMLoHXTkla0tMQaLN4MA,11446
20
20
  oxen/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  oxen/providers/dataset_path_provider.py,sha256=LmjSDE1ttlStT_FNKPexrfnUcsUCx_P03h_T39FpTzc,700
@@ -27,7 +27,7 @@ oxen/streaming_dataset.py,sha256=hrfQBlUj5EWbTZl_aEaZszfxzrwTUohvyuCvwyQGAHw,822
27
27
  oxen/user.py,sha256=IINEakTzrSBXKDqKsF1wjitysEl6TwyOEs2u2PbVgBw,1205
28
28
  oxen/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  oxen/workspace.py,sha256=DPXq8P9_TldkqWmFOuseGFhniUjIvUUgDaoKTNgGCwg,5735
30
- oxenai-0.36.3.dist-info/METADATA,sha256=Yrn39Zo5Qv7vcShYN0Y0StQgQsElHbvyHaFZKcykBdo,460
31
- oxenai-0.36.3.dist-info/WHEEL,sha256=UoHC5NvzY0geoE2r8Mxbl5fR5fYT9OeSzrhPCIC4-kQ,96
32
- oxenai-0.36.3.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
33
- oxenai-0.36.3.dist-info/RECORD,,
30
+ oxenai-0.36.5.dist-info/METADATA,sha256=PbENTiRAZBR-7UULIfrZNaLM1EOZMniKA6umZR_TaBo,2880
31
+ oxenai-0.36.5.dist-info/WHEEL,sha256=HF3aUMilrtO42xS_fBzOVaPE8OtiNjP_RotLatII7HM,96
32
+ oxenai-0.36.5.dist-info/entry_points.txt,sha256=CvslGiUZsEt-5k6cJ19pRFHGicXb4XrR0CKhrzq1aEU,40
33
+ 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-win_amd64
@@ -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