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

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

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/.

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.0.tar.gz (106.3 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.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databrowser-1.1.0.tar.gz
  • Upload date:
  • Size: 106.3 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.0.tar.gz
Algorithm Hash digest
SHA256 6612dc48a5a874316d9d08a9eea6d00505573e5010172b19c20c2de1aee6a644
MD5 f5ca483be990d23cd2c4df9f3308c2fd
BLAKE2b-256 673ec279f65bfeac05f1fa25393268edecba363210458a3555a5c88c3a93d970

See more details on using hashes here.

File details

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

File metadata

  • Download URL: databrowser-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f4786e2f0478504293e7ecc9114f8915cf19148cf812090157115906db0fa0f
MD5 8d8cc58307a9d4bc324879dee707920a
BLAKE2b-256 375986e822448d1727297dd15ee49ef6c9aea47987b034fff86f154e6de91d14

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