An interactive tool to browse s3 like a regular directory structure
Project description
S3 Browser
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
orget
) - 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
Development
You'll need uv
and ruff
to work with this project.
Running tests
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
.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file s3_browser-0.5.1.tar.gz
.
File metadata
- Download URL: s3_browser-0.5.1.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7c1eb61126311c4ac1c3b37fb2c4f33fdb7d7afff662712e30cbd7a249d1564b
|
|
MD5 |
f949b8bdfe5e9b102ecb5f532b7a2d3d
|
|
BLAKE2b-256 |
28c38743e65ef8fa7874834437d8b3cf19d5948e348f5299de7bd816d27de7e2
|
File details
Details for the file s3_browser-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: s3_browser-0.5.1-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c29609f27255ccc3f901ca603fc339a44de0a8d80d0a0367b58ce7cfb5e6fca0
|
|
MD5 |
b26a093514f229402978ab565b9b8f46
|
|
BLAKE2b-256 |
adf9de05bc1df20056ffcd28f8a8bcf7d9baa54554306bdf4110e5cb7fe864d6
|