Skip to main content

Quick tool to browse and view data files (json,csv,parquet,more) on local disk and s3

Project description

databrowser

PyPI version Python versions

A terminal file browser for quickly viewing data files, from local disk or S3.

Supports csv, tsv, parquet, feather, orc, json, xlsx, xls, xml and html — read into pandas DataFrames and shown in a scrollable table (with a dtype view). Built on Textual.

Originally based on the example code_browser from Textual.

install

Run without installing (uvx)

With uv, run it in a throwaway environment — no install needed:

uvx databrowser [path]
uvx databrowser s3://bucket/dir/
uvx databrowser hf://datasets/org/name

For Google Cloud Storage or Azure, pull in the matching extra:

uvx --from 'databrowser[gcs]' databrowser gs://bucket/dir/
uvx --from 'databrowser[azure]' databrowser az://container/dir/

Install from PyPI

The package is published on pypi https://pypi.org/project/databrowser/

run pip install databrowser (pip install databrowser --upgrade to get latest version). Then just execute databrowser. The gcs / azure / all extras add those cloud backends.

Build

This project uses uv (Python >= 3.13).

Execute uv sync to create the virtual env and install the package and its dependencies.

Run uv run databrowser to execute in the virtual env (or uv run python src/databrowser/data_browser.py).

Usage

databrowser [optional path] (defaults to the current directory)

Remote filesystems

Any fsspec URL works, not just local paths:

  • databrowser s3://bucket/path/ — S3 (uses the default AWS credentials in the environment)
  • databrowser hf://datasets/org/name — Hugging Face datasets (set HF_TOKEN for private ones)
  • databrowser gs://bucket/path/ — Google Cloud Storage (needs gcsfs installed)

The protocol is resolved automatically, so the same browsing works for every backend.

Select a data file to view

  • press F to hide the filebrowser

  • press D to show the dtypes

  • press S to save a screenshot in svg

  • press Q to quit

By default the preview shows the first 100 rows. Set DATABROWSER_ROWS to change it, e.g. DATABROWSER_ROWS=500 databrowser data/ (or pass --rows 500).

Run databrowser --help for all options.

examples

Screenshot data

Screenshot dtype

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

databrowser-1.1.1.tar.gz (130.2 kB view details)

Uploaded Source

Built Distribution

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

databrowser-1.1.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file databrowser-1.1.1.tar.gz.

File metadata

  • Download URL: databrowser-1.1.1.tar.gz
  • Upload date:
  • Size: 130.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for databrowser-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e12362ae71c2c601339dca13f9cf2969a879b1e6811e533bf2156d69416e5cac
MD5 17c203964e7d1b1ba1f0775fe4864444
BLAKE2b-256 ca4ab8925c088e45c115c1d21382c4f70700cb68d712df7232a84b449a59787e

See more details on using hashes here.

File details

Details for the file databrowser-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: databrowser-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for databrowser-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26ddcca1b134c1d28ec8f534a712552694c9fc86d9e22089b4ebfa0b3837e688
MD5 440271b02d19c5bf416b3fbab0cc5236
BLAKE2b-256 8621634080b212547ef244ec8b223c387953c98e7773303d24f472e9818fd67e

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