question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Machine readable format of DVC status

See original GitHub issue

Hi guys, can we have machine readable output format option for dvc status, for example:

dvc status --json

{
    "stages": [
        {
            "name":    "path/to/a.txt.dvc",
            "deps_changed": ["path/to/b.txt.dvc"],
            "outs_changed": [],
            "callback": False,
            "checksum_changed": True
        },
        {
            "name":    "path/to/b.txt.dvc",
            "locked": True
        }
    ]
}

I don’t think it will be needed for other commands, at least for now - we can show dvc console output for user actions such as dvc repro.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
hdcasticommented, Jun 9, 2020

Hello! So, I think this is a very useful feature to implement, because it gives the possibility to use it for integrations in IDEs, which is my case. Since I’m developing a plugin that makes use of dvc, it would be very interesting to have the possibility to run the dvc status and create a file with the output as you do when creating dvc pipelines. I also think that you should use YAML (like you do in .dvc files) or JSON so that it can be easily parsed in different languages (for example, I am making my java plugin).

1reaction
prihodacommented, Dec 4, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

status | Data Version Control - DVC
Implies --cloud . --json - prints the command's output in easily parsable JSON format, instead of a human-readable table.
Read more >
MACHINE READABLE TRAVEL DOCUMENTS - ICAO
MACHINE READABLE. TRAVEL DOCUMENTS. TECHNICAL REPORT. VDS-NC. Visible Digital Seal for non-constrained environments. Version – 1.0.
Read more >
Data & Model Management with DVC | Analytics Vidhya
In this post we learn about versioning for ML projects & use DVC to ... named data/data.csv.dvc (a tiny text file in a...
Read more >
Data and Machine Learning Model Versioning with DVC
The files with .dvc extension are text files that will act as the pointer to the actual dataset. As an example, twitter_1.csv.dvc is...
Read more >
September '19 DVC❤️Heartbeat - Iterative.ai
September 26, 2019 • 16 min read; No comments ... Our Machine Learning Workflow: DVC, MLFlow and Training in Docker Containers by Ward...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found