dvc-data-3.9.0
3.9.0
3.8.0
3.7.0
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
3.18.3
3.18.2
3.18.1
3.18.0
3.17.0
3.16.9
3.16.8
3.16.7
3.16.6
3.16.5
3.16.4
3.16.3
3.16.2
3.16.12
3.16.11
3.16.10
3.16.1
3.16.0
3.15.2
3.15.1
3.15.0
3.14.1
3.14.0
3.13.0
3.12.0
3.11.0
3.10.0
3.1.1
3.1.0
3.0.1
3.0.0
2.9.1
2.9.0
2.8.1
2.8.0
2.7.1
2.7.0
2.6.0
2.5.0
2.4.1
2.4.0
2.3.3
2.3.2
2.3.1
2.3.0
2.25.0
2.24.0
2.23.1
2.23.0
2.22.6
2.22.5
2.22.4
2.22.3
2.22.2
2.22.1
2.22.0
2.21.2
2.21.1
2.21.0
2.20.0
2.2.0
2.19.0
2.18.2
2.18.1
2.18.0
2.17.1
2.17.0
2.16.4
2.16.3
2.16.2
2.16.1
2.16.0
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.0
2.13.1
2.13.0
2.12.2
2.12.1
2.12.0
2.11.0
2.10.1
2.10.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.9.0
1.8.0
1.7.0
1.6.1
1.6.0
1.5.0
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.11.0
1.10.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.9.0
0.8.0
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.56.0
0.55.0
0.54.3
0.54.2
0.54.1
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.5.3
0.5.2
0.5.1
0.5.0
0.49.1
0.48.1
0.48.0
0.47.5
0.47.4
0.47.3
0.47.2
0.47.1
0.47.0
0.46.0
0.45.1
0.45.0
0.44.1
0.44.0
0.43.0
0.42.3
0.42.2
0.42.1
0.42.0
0.41.3
0.41.2
0.41.1
0.41.0
0.40.5
0.40.4
0.40.3
0.40.2
0.40.1
0.40.0
0.4.1
0.4.0
0.39.7
0.39.6
0.39.5
0.39.4
0.39.3
0.39.2
0.39.1
0.39.0
0.38.4
0.38.3
0.38.2
0.38.1
0.38.0
0.37.8
0.37.7
0.37.6
0.37.5
0.37.4
0.37.3
0.37.2
0.37.1
0.37.0
0.36.2
0.36.1
0.36.0
0.35.4
0.35.3
0.35.2
0.35.1
0.35.0
0.34.1
0.34.0
0.33.0
0.32.0
0.31.4
0.31.3
0.31.2
0.31.1
0.31.0
0.30.2
0.30.1
0.30.0
0.3.0
0.29.0
0.28.6
0.28.5
0.28.4
0.28.3
0.28.2
0.28.1
0.28.0
0.27.0
0.26.0
0.25.3
0.25.2
0.25.1
0.25.0
0.24.0
0.23.0
0.22.0
0.21.0
0.20.0
0.2.0
0.19.0
0.18.0
0.17.1
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.1
0.10.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.23
0.1.22
0.1.21
0.1.20
0.1.2
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.31
0.0.30
0.0.3
0.0.29
0.0.28
0.0.27
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.2
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.1
3.9.0
3.8.0
3.7.0
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
3.18.3
3.18.2
3.18.1
3.18.0
3.17.0
3.16.9
3.16.8
3.16.7
3.16.6
3.16.5
3.16.4
3.16.3
3.16.2
3.16.12
3.16.11
3.16.10
3.16.1
3.16.0
3.15.2
3.15.1
3.15.0
3.14.1
3.14.0
3.13.0
3.12.0
3.11.0
3.10.0
3.1.1
3.1.0
3.0.1
3.0.0
2.9.1
2.9.0
2.8.1
2.8.0
2.7.1
2.7.0
2.6.0
2.5.0
2.4.1
2.4.0
2.3.3
2.3.2
2.3.1
2.3.0
2.25.0
2.24.0
2.23.1
2.23.0
2.22.6
2.22.5
2.22.4
2.22.3
2.22.2
2.22.1
2.22.0
2.21.2
2.21.1
2.21.0
2.20.0
2.2.0
2.19.0
2.18.2
2.18.1
2.18.0
2.17.1
2.17.0
2.16.4
2.16.3
2.16.2
2.16.1
2.16.0
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.0
2.13.1
2.13.0
2.12.2
2.12.1
2.12.0
2.11.0
2.10.1
2.10.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.9.0
1.8.0
1.7.0
1.6.1
1.6.0
1.5.0
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.11.0
1.10.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.9.0
0.8.0
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.56.0
0.55.0
0.54.3
0.54.2
0.54.1
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.5.3
0.5.2
0.5.1
0.5.0
0.49.1
0.48.1
0.48.0
0.47.5
0.47.4
0.47.3
0.47.2
0.47.1
0.47.0
0.46.0
0.45.1
0.45.0
0.44.1
0.44.0
0.43.0
0.42.3
0.42.2
0.42.1
0.42.0
0.41.3
0.41.2
0.41.1
0.41.0
0.40.5
0.40.4
0.40.3
0.40.2
0.40.1
0.40.0
0.4.1
0.4.0
0.39.7
0.39.6
0.39.5
0.39.4
0.39.3
0.39.2
0.39.1
0.39.0
0.38.4
0.38.3
0.38.2
0.38.1
0.38.0
0.37.8
0.37.7
0.37.6
0.37.5
0.37.4
0.37.3
0.37.2
0.37.1
0.37.0
0.36.2
0.36.1
0.36.0
0.35.4
0.35.3
0.35.2
0.35.1
0.35.0
0.34.1
0.34.0
0.33.0
0.32.0
0.31.4
0.31.3
0.31.2
0.31.1
0.31.0
0.30.2
0.30.1
0.30.0
0.3.0
0.29.0
0.28.6
0.28.5
0.28.4
0.28.3
0.28.2
0.28.1
0.28.0
0.27.0
0.26.0
0.25.3
0.25.2
0.25.1
0.25.0
0.24.0
0.23.0
0.22.0
0.21.0
0.20.0
0.2.0
0.19.0
0.18.0
0.17.1
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.1
0.10.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.23
0.1.22
0.1.21
0.1.20
0.1.2
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.31
0.0.30
0.0.3
0.0.29
0.0.28
0.0.27
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.2
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.1
توضیحات
DVC's data management subsystem
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dvc-data-3.9.0 |
| نام | dvc-data |
| نسخه کتابخانه | 3.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Iterative <support@dvc.org> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dvc-data/ |
| مجوز | - |
DVC data
========
|PyPI| |Status| |Python Version| |License|
|Tests| |Codecov| |pre-commit| |Black|
.. |PyPI| image:: https://img.shields.io/pypi/v/dvc-data.svg
:target: https://pypi.org/project/dvc-data/
:alt: PyPI
.. |Status| image:: https://img.shields.io/pypi/status/dvc-data.svg
:target: https://pypi.org/project/dvc-data/
:alt: Status
.. |Python Version| image:: https://img.shields.io/pypi/pyversions/dvc-data
:target: https://pypi.org/project/dvc-data
:alt: Python Version
.. |License| image:: https://img.shields.io/pypi/l/dvc-data
:target: https://opensource.org/licenses/Apache-2.0
:alt: License
.. |Tests| image:: https://github.com/iterative/dvc-data/workflows/Tests/badge.svg
:target: https://github.com/iterative/dvc-data/actions?workflow=Tests
:alt: Tests
.. |Codecov| image:: https://codecov.io/gh/iterative/dvc-data/branch/main/graph/badge.svg
:target: https://app.codecov.io/gh/iterative/dvc-data
:alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
:target: https://github.com/pre-commit/pre-commit
:alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Black
Features
--------
* TODO
Requirements
------------
* TODO
Installation
------------
You can install *DVC data* via pip_ from PyPI_:
.. code:: console
$ 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`.
.. code:: python
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`.
.. code:: python
from dvc_data.hashfile import HashFileDB
odb = HashFileDB(fs, "/path/to/odb")
Index
^^^^^
Index
"""""
A trie-like structure that represents data files and directories.
.. code:: python
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.
.. code:: python
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.
.. _Apache 2.0 license: https://opensource.org/licenses/Apache-2.0
.. _PyPI: https://pypi.org/
.. _file an issue: https://github.com/iterative/dvc-data/issues
.. _pip: https://pip.pypa.io/
.. github-only
.. _Contributor Guide: CONTRIBUTING.rst
نیازمندی
| مقدار | نام |
|---|---|
| - | attrs>=21.3.0 |
| - | dictdiffer>=0.8.1 |
| - | diskcache>=5.2.1 |
| - | dvc-objects<6,>=5.2 |
| - | fsspec>=2024.2.0 |
| ython_versio | funcy>=1.14; |
| - | pygtrie>=2.3.2 |
| - | sqltrie<1,>=0.11.0 |
| - | tqdm<5,>=4.63.1 |
| mplementation_nam | orjson<4,>=3; |
| xtr | typer>=0.12; |
| xtr | dvc-data[cli]; |
| xtr | pytest<10,>=7; |
| xtr | pytest-cov>=4.1.0; |
| xtr | pytest-mock; |
| xtr | pytest-benchmark>=4; |
| xtr | dvc-data[all]; |
| xtr | dvc-data[tests]; |
| xtr | mypy==1.19.1; |
| xtr | types-tqdm; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl dvc-data-3.9.0:
pip install dvc-data-3.9.0.whl
نصب پکیج tar.gz dvc-data-3.9.0:
pip install dvc-data-3.9.0.tar.gz