Features
TODO
Requirements
TODO
Installation
You can install DVC data via pip from PyPI:
$ pip install dvc-data
Usage
HashFile
HashFile
Based on dvc-object’s Object, this is an object that has a particular hash that can be used to verify its contents. Similar to git’s ShaFile.
from dvc_data.hashfile import HashFile
obj = HashFile("/path/to/file", fs, HashInfo("md5", "36eba1e1e343279857ea7f69a597324e")
HashFileDB
Based on dvc-object’s ObjectDB, but stores HashFile objects and so is able to verify their contents by their hash_info. Similar to git’s ObjectStore.
from dvc_data.hashfile import HashFileDB
odb = HashFileDB(fs, "/path/to/odb")
Index
Index
A trie-like structure that represents data files and directories.
from dvc_data.index import DataIndex, DataIndexEntry
index = DataIndex()
index[("foo",)] = DataIndexEntry(hash_info=hash_info, meta=meta)
Storage
A mapping that describes where to find data contents for index entries. Can be either ObjectStorage for HashFileDB-based storage or FileStorage for backup-like plain file storage.
index.storage_map[("foo",)] = ObjectStorage(...)
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the Apache 2.0 license, DVC data is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for dvc-data 3.18.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dvc_data-3.18.3.tar.gz | 84.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dvc_data-3.18.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 163.9 kB
Release files / dvc_data-3.18.3.tar.gz
| Download URL | dvc_data-3.18.3.tar.gz |
|---|---|
| Size | 84.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61c8085a7c5b5e3ecaa86d63c3f22dc7c951a5dc55bd0a1bb5afa15377a25b1a
|
|
BLAKE2b-256 checksum How to use checksums |
c32fe00e933d10512ca7ec4f3f2f450d915e6bed4c01cf666d50a1a8f9b033ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logRelease files / dvc_data-3.18.3-py3-none-any.whl
| Download URL | dvc_data-3.18.3-py3-none-any.whl |
|---|---|
| Size | 79.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab459a033c07ad94ec23ad4e83c14c68b73e7291367629813e751f882b10b4f3
|
|
BLAKE2b-256 checksum How to use checksums |
65e0695d043a0a2a4e830456e841c4a14be99d31305198fc4feccaeaace0b979
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency log