Skip to main content

DVCx

Project description

PyPI Status Python Version License

Tests Codecov pre-commit Black

What is DVCx?

DVCx is a Python data manipulation library designed to work with unstructured AI datasets. It provides a dataframe-like interface which can automatically reference data stored as files (text, images, video) locally or in the cloud.

Why use DVCx?

  1. Storage as a single source of truth. DVCx can organize unstructured data from storages and datalakes (local files, S3, GCS, Azure ADLS) into overlapping datasets without unnecessary file copies.

  2. Compute. DVCx supports local parallelization and external compute workers for efficient data processing and AI metadata creation.

  3. Large scale. In contrast to in-memory frameworks (like Pandas data frame), DVCx can work with datasets of millions and billions of records by using out-of-memory algorithms.

  4. Persistence and versioning. Your datasets, your computed metadata, and paid API call results remain versioned and reusable.

Installation

You can install DVCx via pip from PyPI:

$ pip install dvcx

Usage

DVCx can be used as a CLI (from system terminal), or as a Python library.

TODO: CLI usage

To use it from Python code, import class dvcx.catalog.Catalog, which provides methods for all the same commands above, like ls(), get(), find(), du() and index().

from dvcx.catalog import Catalog
catalog = Catalog()
catalog.ls(["gcs://dvcx-datalakes/dogs-and-cats/"], update=True)

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the Apache 2.0 license, DVCx is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

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

Source Distribution

dvcx-0.77.0.tar.gz (249.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dvcx-0.77.0-py3-none-any.whl (176.9 kB view details)

Uploaded Python 3

File details

Details for the file dvcx-0.77.0.tar.gz.

File metadata

  • Download URL: dvcx-0.77.0.tar.gz
  • Upload date:
  • Size: 249.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for dvcx-0.77.0.tar.gz
Algorithm Hash digest
SHA256 6a54797ff2501cbc6eaff9f25b216f8c79df06048acef5d26ad3c716803b2a01
MD5 cc42e9ab54b9431c39be14518138d6ba
BLAKE2b-256 2ebf48f3c5442977fc5fc9d665e51e69639d4b3abe9999eb86fdec29859fd400

See more details on using hashes here.

File details

Details for the file dvcx-0.77.0-py3-none-any.whl.

File metadata

  • Download URL: dvcx-0.77.0-py3-none-any.whl
  • Upload date:
  • Size: 176.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for dvcx-0.77.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22d91c5d6fd83e9e5320f385aaad2fe0ff958f53acbd59b2f5553fb6e278fa3f
MD5 19259758ccfbeb1f1fc9052cc12e9bf7
BLAKE2b-256 30c0cb4d2f61721fa3de10d27a61f08e36304aba1a16f90d2fe1f0e900402b58

See more details on using hashes here.

Supported by

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