Skip to main content

An interactive tool to browse s3 like a regular directory structure

Project description

S3 Browser

Latest tag Build status MIT License

A small, interactive tool to browse s3 like a regular directory structure

Written in python.

Features

  • Autocompletion and command history, powered by prompt toolkit
  • Familiar interface for unix users (cd, ls, file, pwd, etc.)
  • Bookmarking (bookmark add, bookmark ls...)
  • Inspect key metadata (file) or contents (cat)
  • Download or upload individual keys to/from local files (put or get)
  • Lazy-loading and caching of paths (no scanning entire buckets on start up)

Installation

pip install s3_browser

And then run with s3-browser.

Example usage

Usage example

Development

Running tests

This project uses make for ease of use. You can install the project in development mode, and install the test requirements, using the install target:

make install

It's recommended to create and activate a virtual environment first. There are a number of ways to do that; I like virtualenvwrapper.

Use make to run the full build.

Testing against minio

You can test against minio by running make bootstrap to start a minio container and create a test bucket. You can then connect to it with:

export AWS_ACCESS_KEY_ID=minio
export AWS_SECRET_ACCESS_KEY=minio123
uv run s3-browser --endpoint http://localhost:19000

Releasing

Create a source distribution with setup.py and upload it to pypi with twine:

make dist && make dist/release

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

s3_browser-0.5.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

s3_browser-0.5.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file s3_browser-0.5.0.tar.gz.

File metadata

  • Download URL: s3_browser-0.5.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for s3_browser-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e37e7df698f983187df965d732838b71d8a104e5a9f0295d206ad917edc0043f
MD5 bc1aa1591b00cbddb52365bcffcaab7b
BLAKE2b-256 05d58dfe2dec2b897ca9fc3a382d3884ede4f8b13e620507c1c46087c9d4a682

See more details on using hashes here.

File details

Details for the file s3_browser-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: s3_browser-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for s3_browser-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb4a9496544191632e2456846f6e1649d52622978f1d350a25e582d2aee13c66
MD5 23f40a9d42792a04ca4f8750a120d4ff
BLAKE2b-256 27b2b46b944f7fea9b14979bfcae4a8a009a749d25d127987b866a65adc76e0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page