Skip to main content

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

Project description

databrowser

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

Supports csv, parquet, 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)

S3 Support

with the help of S3Path and S3fs the browser now supports s3.

use databrowser s3:// to start browsing buckets

or databrowser s3://bucket/path/subdir/ to browse a specific directory.

it uses the default aws credentials in the environment

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.0.0.tar.gz (101.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.0.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databrowser-1.0.0.tar.gz
  • Upload date:
  • Size: 101.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.0.0.tar.gz
Algorithm Hash digest
SHA256 6cc1127ec732ead1c9dd8837991fcbaab361efe3084275464c5b94d808657f0e
MD5 98950bb1e7a4b6f224ada6059ad15c58
BLAKE2b-256 8c85b408af6759931abbcb7bd864cb7d1aba0ef652a6ccdf0dd84b23769ae083

See more details on using hashes here.

File details

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

File metadata

  • Download URL: databrowser-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2aafc9ed86669d5a805318018687248abbd0270b52c134ae9ec3fbfabcf7164e
MD5 6fa7f8ddd52ab5895268108fb967226c
BLAKE2b-256 4ac83f1fc4245f6670b3e19bcf62e1c1ef6143058e9006e08e449346211068c6

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