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-0.39.4.tar.gz (100.4 kB view details)

Uploaded Source

Built Distribution

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

databrowser-0.39.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databrowser-0.39.4.tar.gz
  • Upload date:
  • Size: 100.4 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-0.39.4.tar.gz
Algorithm Hash digest
SHA256 7c8c93d88c7c46680e6c91dee688bf4c9bd5040fbb4b4de85b588522f60394c7
MD5 c984c1606a61a30378dea8860fd5aee2
BLAKE2b-256 2a1bbbb7e9440a65cf2db74372354d88dcc3f00d550ede6320e7746d4fcc0b98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: databrowser-0.39.4-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-0.39.4-py3-none-any.whl
Algorithm Hash digest
SHA256 39b926bf0920bf713bf9e23b6bbe2e87261614c5716c08b0cffe6d6335bdf4d6
MD5 f146b77900dbbec8eb2d9c9d57ed585b
BLAKE2b-256 5c641be9e56507f972d9a027f63a8689ab1f7f692a09d7c9059a6507e6673ec4

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