Skip to main content

head command for AWS S3 objects

Project description

PyPI version Python Versions

s3head

s3head is the head command for AWS S3.

Install

pip install s3head

If you use pipx, it's nice to install by it.

pipx iinstall s3head

Usage

Before using, create .s3cfg file by s3cmd --configure. See s3cmd

Usage: s3head [OPTIONS] URI

Options:
  -n, --num-lines INTEGER   lines
  -c, --count-byte INTEGER  bytes
  --config TEXT             Path to the `.s3cfg`
  --help                    Show this message and exit.

For example,

s3head -n 100 s3://your_bucket/your_file.txt

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

s3head-0.2.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

s3head-0.2.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

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