A small, interactive tool to browse s3 like a regular directory structure
Written in python.
- 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
orget
) - Lazy-loading and caching of paths (no scanning entire buckets on start up)
pip install s3_browser
And then run with s3-browser
.
You'll need uv
and ruff
to work with this project.
This project uses make
for ease of use. You can run tests by simply running:
make test
Use make
to run the full build, including tests with pytest
and formatting and
linting with ruff
.
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
Create a source distribution with upload it to pypi using uv:
make dist && make dist/release
This requires UV_PUBLISH_USERNAME
and UV_PUBLISH_PASSWORD
to be set.