Skip to main content

Data version control for machine learning

Project description

🐂 🐍 Oxen Python Interface

The Oxen python interface makes it easy to integrate Oxen datasets directly into machine learning dataloaders or other data pipelines.

Repositories

There are two types of repositories one can interact with, a Repo and a RemoteRepo.

Local Repo

To fully clone all the data to your local machine, you can use the Repo class.

import oxen

repo = oxen.Repo("path/to/repository")
repo.clone("https://hub.oxen.ai/ox/CatDogBBox")

If there is a specific version of your data you want to access, you can specify the branch when cloning.

repo.clone("https://hub.oxen.ai/ox/CatDogBBox", branch="my-pets")

Once you have a repository locally, you can perform the same operations you might via the command line, through the python api.

For example, you can checkout a branch, add a file, commit, and push the data to the same remote you cloned it from.

import oxen

repo = oxen.Repo("path/to/repository")
repo.clone("https://hub.oxen.ai/ox/CatDogBBox")
repo.checkout()

Remote Repo

If you don't want to download the data locally, you can use the RemoteRepo class to interact with a remote repository on OxenHub.

import oxen 

repo = RemoteRepo("https://hub.oxen.ai/ox/CatDogBBox")

To stage and commit files to a specific version of the data, you can checkout an existing branch or create a new one.

repo.create_branch("dev")
repo.checkout("dev")

You can then stage files to the remote repository by specifying the file path and destination directory.

repo.add("new-cat.png", "images") # Stage to images/new-cat.png on remote
repo.commit("Adding another training image")

Note that no "push" command is required here, since the above code creates a commit directly on the remote branch.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

oxenai-0.36.1-cp313-cp313-win_amd64.whl (31.8 MB view details)

Uploaded CPython 3.13Windows x86-64

oxenai-0.36.1-cp313-cp313-manylinux_2_39_x86_64.whl (40.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

oxenai-0.36.1-cp313-cp313-manylinux_2_35_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.35+ x86-64

oxenai-0.36.1-cp313-cp313-macosx_13_0_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

oxenai-0.36.1-cp313-cp313-macosx_11_0_arm64.whl (31.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

oxenai-0.36.1-cp312-cp312-win_amd64.whl (31.8 MB view details)

Uploaded CPython 3.12Windows x86-64

oxenai-0.36.1-cp312-cp312-manylinux_2_39_x86_64.whl (40.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

oxenai-0.36.1-cp312-cp312-manylinux_2_35_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ x86-64

oxenai-0.36.1-cp312-cp312-macosx_13_0_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

oxenai-0.36.1-cp312-cp312-macosx_11_0_arm64.whl (31.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

oxenai-0.36.1-cp311-cp311-win_amd64.whl (31.8 MB view details)

Uploaded CPython 3.11Windows x86-64

oxenai-0.36.1-cp311-cp311-manylinux_2_39_x86_64.whl (40.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

oxenai-0.36.1-cp311-cp311-manylinux_2_35_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

oxenai-0.36.1-cp311-cp311-macosx_13_0_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

oxenai-0.36.1-cp311-cp311-macosx_11_0_arm64.whl (31.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

oxenai-0.36.1-cp310-cp310-win_amd64.whl (31.8 MB view details)

Uploaded CPython 3.10Windows x86-64

oxenai-0.36.1-cp310-cp310-manylinux_2_39_x86_64.whl (40.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

oxenai-0.36.1-cp310-cp310-manylinux_2_35_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.35+ x86-64

oxenai-0.36.1-cp310-cp310-macosx_13_0_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

oxenai-0.36.1-cp310-cp310-macosx_11_0_arm64.whl (31.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

oxenai-0.36.1-cp39-cp39-win_amd64.whl (31.8 MB view details)

Uploaded CPython 3.9Windows x86-64

oxenai-0.36.1-cp39-cp39-manylinux_2_39_x86_64.whl (40.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.39+ x86-64

oxenai-0.36.1-cp39-cp39-manylinux_2_35_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.35+ x86-64

oxenai-0.36.1-cp39-cp39-macosx_13_0_x86_64.whl (35.4 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

oxenai-0.36.1-cp39-cp39-macosx_11_0_arm64.whl (31.8 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file oxenai-0.36.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: oxenai-0.36.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 31.8 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.4

File hashes

Hashes for oxenai-0.36.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 517ee7f0fb52d8d5e755e2747e863d24ebb6eb9e58c7a7643f8d7e5bc862c1ac
MD5 f2b3028b53f5e4a004c333030a7587e8
BLAKE2b-256 310910983a4ca3f66a412fa48d993aa5cc2ad380565e104d2b4cb2ce1f7b2c67

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 82a48f05e8aec79213e70309365fcc1c809535e3249f8880baa396cf547fdc16
MD5 34e86febdd58bc8b13b5822bed6713ab
BLAKE2b-256 b55c063fb996f15ca248866e7892368def67f39ee7934ebd58930cd70dadc045

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp313-cp313-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp313-cp313-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 31bf65b82cddb38bdb4eee1b1ddeea2fbfddb5f3190f709d0240f30232f45759
MD5 0f7770f6604c1df220431db30124d71b
BLAKE2b-256 e6d748874c74a5233e3a17cadd73e5cb739571add597557ce15c9897cceaf2b4

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2a3d3daf62af84025795862f45446fdcc26a4e6bd49d9f941437055798e577c
MD5 1ada201c5d7e8d9b384087d3072559ed
BLAKE2b-256 ed42786fad433ef30905c15c75c4ea849d6734231d03a03d61aaa94678736f09

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2ea5dc450df6765fab160e24c148c9468da3899d2e1592fe2325880c37cef12
MD5 99c0caf2860121868036a361e67a0768
BLAKE2b-256 ca31b1ae5decf7fe57b63e184d369050deba1c98ea868b11a35feb566c05536b

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: oxenai-0.36.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 31.8 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.4

File hashes

Hashes for oxenai-0.36.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 54897ed2b076fb84d5fd60f88f4097411b736085ab098c71b9c48b70add88a5b
MD5 dcfc50e98c6247c62a065214f7b328ba
BLAKE2b-256 cf751f4ec7786dd4fd63de56a6b1b7ea89bb5e4b1978773bdb34100771146297

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 0a220db8b797d00a17737a8dbce7ed9d55ece46902b7f1832c7d3f65e726103d
MD5 e29b9735d29ba8c02b9c1fca26a6a331
BLAKE2b-256 9446df72b1100ec51dd15ab7f3b8d8e36adfd881ae36a0f4460fd81007ceed30

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp312-cp312-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp312-cp312-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 8f5f76fd10a5fea4db6e2ca1c1dd23cddd7f414d71c57596063c9f294afe058f
MD5 c59acbf8d8becb2ea78718b1dd90e489
BLAKE2b-256 df36c023183cfd2c16c50304d194bc7b30f748f8c9d474da426ec89b66c81547

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 58c1552524c7c4da802f3a14c36f40003ffaab7bddab71198b39058ce0e721f7
MD5 82121eeb4a38f506e157a6de934be2cc
BLAKE2b-256 a93884c3bc0e652751903dcd2918a34bf6e82731b93e55a72f82bf6a786b8425

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 455087663dd8d26cd90c91a9874b0f9ac82428b7043ab02684ad17f7c3c0e86d
MD5 da15f552a95839f4078fc118de2d42f0
BLAKE2b-256 240cc31af738fe6f823b16ef1d94c7e50470e1d5dd3df7dabe295064c898c53c

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: oxenai-0.36.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 31.8 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.4

File hashes

Hashes for oxenai-0.36.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8d42cc7ecfbe6ce73f84ba30aa194c22015e1b0f9cb0356b9d33c3add2897441
MD5 e3d08790d6b39f1cf7ab60ea8a7da57d
BLAKE2b-256 eb2830db89a0027d72ba69ea2a1b5f1d5efabe18b46022f6689646207044a929

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 c74dd24d331abcc86d5714a8abdd1d438cb175817cc496e72c56c05b523bddf6
MD5 5f30d3a366008a2eaec928a43a66c705
BLAKE2b-256 e345d9d2b307ad27ae41e923aebd2ea0a1a9544305e3304fc5a0f43e93df6e58

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 531e2b6b0e628a120f1f4012f41cef93122319660c44d951d56df5456f4d771c
MD5 a227701d2eadc47b6fd2a7de1549b97a
BLAKE2b-256 e8030243737c698e11d26adab7e736e7327f8f808d367e922733cff362ef966a

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2454456a6f5b95c8a0e51e673756c761e6c5db5f07523c145b06ae3099836dda
MD5 9148e4522af7f9de04e8f61bfe237643
BLAKE2b-256 d21f60c71d7c3a25b02e9ac2079324e0e34b8097d39efc0ed7c78f376c4a338c

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccd4cda23729d811dc7e06c3c28881c3c4623297ae83994c806f014a0b9d363c
MD5 f3a5bcb63efa6e094c8f609313c11821
BLAKE2b-256 e15d221482c06aa475d9a345e9beaf4ccf676786641eca930bb4f400ece66e3b

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: oxenai-0.36.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 31.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.4

File hashes

Hashes for oxenai-0.36.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 daf219fb73e321f9fada8ab04b59ced517ae3af758a5933537f113410e844264
MD5 198b5574851c28d69ac941561b3dbcbf
BLAKE2b-256 ef71270b6743dd21e02c7100d65b2201007530218b54d2c0e2db99bae81d966b

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 0fc8b46a1c8dfcfdf68f7773c57f210ef982faaf20eecd82bd1f20f03f1cc1e2
MD5 2cc741e5d06e68740d78bb3032765cff
BLAKE2b-256 f8b698fdde09526f031147710fb4e107d00ccde944b688e0d3ba62d25f85217b

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 946c76d969ceac8d27fc4bc5de00386f57e6fabd16c2779c00a8b434595ae217
MD5 0ba42959cdecd68fe2406f5b6bff1d5f
BLAKE2b-256 54c5c4892b98a3f4710ba2339f609213d1736edaf667df0e9ce896850e8aafb7

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 38b007f5b80000a647fdc5433113716a8a4ac2bcd684d8e89381ee2a00ae2d8d
MD5 8c318884ee675c9019eed808ad7c32f7
BLAKE2b-256 32b88d30c535b5062f74e666618878065c1e646374adb9b4fb99f1b8234633c3

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fecad53ab07e8f66ae187516c6239f6c9a961b161e23f98f34e9623c5579ec1
MD5 f9f4c09af1c694f95ecce29657a84541
BLAKE2b-256 b75639353473119df3bb471045746c8cf64ce2d4c669678c17937a0f3e83c9ba

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: oxenai-0.36.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 31.8 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.4

File hashes

Hashes for oxenai-0.36.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e79761c7b8e3094f78d20cd2684e2194734b66e830b0d642e2b5912cb999f240
MD5 a388ebf441623edccb6c1f0396e1e770
BLAKE2b-256 a9a00df33ac92683628d9ef299d88bad980f5a86fc137e1e549df3654babfcee

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp39-cp39-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp39-cp39-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2f4da99dc020db362553a011f31b77746e5acb8a339703d821c3462a0fb0dc1f
MD5 53a0ddaceefc02754e5c8f0e798b783a
BLAKE2b-256 7d0f3d7e1768ac39d4e243c2f95f9260f65707d61bbb96525ff2d1b8d43c0703

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp39-cp39-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 fc902208bec3914e6b6e100a6c860a800bca919745088c399e59c30e3b20496b
MD5 964683e1ef7a6f2a1995aeae445ab00f
BLAKE2b-256 ba0a301d3e340eb84e9c976411a457f70350d9638cd7c11682b291dcc928e8f8

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 266477ea2d84219121fec4c873bbbfa617149336ba0c0fa0bc626bdcbb37c93f
MD5 d2e25e2065cb5dcb1ece992b092d3753
BLAKE2b-256 0128eb6c431b28b4143ff8e582675d9514ccd335ca65fd7e92ae22ead3a9a4ed

See more details on using hashes here.

File details

Details for the file oxenai-0.36.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oxenai-0.36.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 25fd1c1560cae876fae3d09a541e291b4154299cec4970cda406d919b9fb37de
MD5 167c324538f44137bf1b4b8f04deb83b
BLAKE2b-256 46acf3c7da948302104bc1fb56aca314d64f7e14d14149c6b388adceecc59e67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page