LogoLogo
  • Overview
  • Setup and Configuration
  • Other Data Versioning Systems
  • Examples
    • Tutorial
      • Creating Bundles with the Python API
      • Push/Pull using S3
      • Simple Pipeline
      • Run the Pipeline
      • Dockerize a Pipeline
      • Run the Pipeline Container (locally)
      • Run the Pipeline Container (AWS)
    • Examples
      • MNIST and TensorFlow
      • Spacy Task
  • Basic Concepts
    • Bundles
      • Naming
      • Bundle Data Types
      • Tags and Parameters
      • Lineage (or Bundle Metadata)
    • Data Contexts
  • Reference
    • CLI Reference
      • dsdt add
      • dsdt apply
      • dsdt cat
      • dsdt context
      • dsdt commit
      • dsdt dockerize
      • dsdt init
      • dsdt lineage
      • dsdt ls
      • dsdt pull
      • dsdt push
      • dsdt remote
      • dsdt rm
      • dsdt rmr
      • dsdt switch
    • Python API
  • Details
  • Building Pipelines
  • Running Pipelines on AWS
  • Admin
    • Contact / Slack
Powered by GitBook
On this page
  • Description
  • Usage
  • Options
  • Examples

Was this helpful?

  1. Reference
  2. CLI Reference

dsdt cat

Data meow

Previousdsdt applyNextdsdt context

Last updated 5 years ago

Was this helpful?

Description

Print the contents of a bundle. Shows the bundle as it would be to a Python process through the API or as input to a Disdat Task.

Usage

usage: dsdt cat [-h] [-t TAG] [-f FILE] [-u UUID] [bundle]

Options

positional arguments:
  bundle                The bundle name in the current context

optional arguments:
  -h, --help            show this help message and exit
  -t TAG, --tag TAG     Having a specific tag: 'dsdt ls -t committed:True -t
                        version:0.7.1'
  -f FILE, --file FILE  Save output dataframe as csv without index to
                        specified file
  -u UUID, --uuid UUID  Bundle UUID to cat

Examples

A list of files from the added bundle of the config directory:

$dsdt cat configs
['/Users/kyocum/.disdat/context/examples/objects/b279ac44-406b-4b82-95bd-7cb74f8fd7ea/ubuntu-14.04/deb.txt'
 '/Users/kyocum/.disdat/context/examples/objects/b279ac44-406b-4b82-95bd-7cb74f8fd7ea/ubuntu-14.04/tesseract.deb.txt']

Cat by UUID

$dsdt ls -v configs
NAME                	PROC_NAME           	OWNER   	DATE              	COMMITTED	UUID                                    	TAGS
configs             	BundleWrapperTask_configs_b2e28a44e2	kyocum  	01-25-20 21:46:24 	False   	b279ac44-406b-4b82-95bd-7cb74f8fd7ea
$dsdt cat -u b279ac44-406b-4b82-95bd-7cb74f8fd7ea
['/Users/kyocum/.disdat/context/examples/objects/b279ac44-406b-4b82-95bd-7cb74f8fd7ea/ubuntu-14.04/deb.txt'
 '/Users/kyocum/.disdat/context/examples/objects/b279ac44-406b-4b82-95bd-7cb74f8fd7ea/ubuntu-14.04/tesseract.deb.txt']
presented