visidata README

The project's README from github.com/saulpw/visidata. As one markdown file: README.md.

VisiData v3.4

Tests Gitpod ready-to-code

discord Mastodon

A terminal interface for exploring and arranging tabular data.

Frequency table

VisiData supports tsv, csv, sqlite, json, xlsx (Excel), hdf5, and many other formats.

Platform requirements

Install

To install the latest release from PyPi:

pip3 install visidata

To try VisiData without installing, use pipx or uv:

pipx run visidata          # or: uvx visidata

To install permanently (adds vd to your PATH):

pipx install visidata      # or: uv tool install visidata

Additional Python packages are needed for some formats:

pipx install visidata --preinstall openpyxl --preinstall lxml
# or: uv tool install visidata --with openpyxl --with lxml

To add format packages to an existing pipx install:

pipx inject visidata openpyxl lxml

To install the cutting edge develop branch (no warranty expressed or implied):

pip3 install git+https://github.com/saulpw/visidata.git@develop

If VisiData reports package X not installed even after you installed it, vd is almost certainly running from a different environment than the one you installed the package into. Check which vd, then install the package into that environment — e.g. pipx inject visidata X for a pipx install, or the Homebrew Python for brew install visidata.

See visidata.org/install for detailed instructions for all available platforms and package managers.

Usage

$ vd <input>
$ <command> | vd

Press Ctrl+Q to quit at any time.

Hundreds of other commands and options are also available; see the documentation.

Documentation

Help and Support

If you have a question, issue, or suggestion regarding VisiData, please create an issue on Github or chat with us at #visidata on irc.libera.chat.

If you use VisiData regularly, please support me on Patreon!

License

Code in the stable branch of this repository, including the main vd application, loaders, and plugins, is available for use and redistribution under GPLv3.

Credits

VisiData is conceived and developed by Saul Pwanson <[email protected]>.

Anja Kefala <[email protected]> maintains the documentation and packages for all platforms.

Many thanks to numerous other contributors, and to those wonderful users who provide feedback, for helping to make VisiData the awesome tool that it is.

visidata (saulpw/visidata)

Searching Database…

这是什么?VisiData 是一个终端电子表格多面手工具,用于探索、清理和整理表格数据,支持 CSV、TSV、SQLite、JSON、Excel(xlsx)和 HDF5 等格式。
它是图形界面的电子表格应用,还是别的什么?它是一个基于终端的(TUI)应用,不是图形化电子表格——你在控制台中完全靠键盘快捷键来操作它。
怎么安装和启动它?用“pip3 install visidata”从 PyPI 安装,或者通过“pipx run visidata” / “uvx visidata”免安装试用。然后运行“vd”,或者把数据通过管道传给它,例如“cat data.csv | vd”。
除了 Python,我还需要安装什么吗?需要 Python 3.8+,而且某些格式(如 Excel)或部分加载器需要额外的包(例如 openpyxl、lxml),可以通过 pipx inject 或 uv tool install 添加。
安装上有什么需要注意的坑吗?如果安装了某个包之后 VisiData 仍提示未安装,通常是因为它运行在与你安装目标不同的另一个 Python 环境里——你需要检查“which vd”,并把包装进同一个环境。
它在 Windows 上也能用吗,还是只支持 Linux/Mac?它可以运行在 Linux、macOS 和 Windows 上,不过 Windows 支持是通过 WSL 实现的。
进入 VisiData 之后怎么退出?随时按 Ctrl+Q 即可退出。
我能用插件扩展 VisiData 吗?可以,项目提供了插件作者指南和 API 参考,供你编写自己的插件和加载器。
跑起来之后去哪里学习各种命令?在 VisiData 里按 Ctrl+H 可以快速查阅命令和选项,也可以查看完整的在线文档以及 Jeremy Singer-Vine 撰写的“Intro to VisiData”教程。
Creator
saulpw
Size
54.6 MB
Stars
9.3K
Age
9y
Commits · 90 Days