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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file s3head-0.2.0.tar.gz.

File metadata

  • Download URL: s3head-0.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1031-azure

File hashes

Hashes for s3head-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0d9304fdbd49b3701e15a060bd7c9ca0abf96d5a2da0551524f5f7e0f320bc65
MD5 c4573225f422dc341b20f726e77a8660
BLAKE2b-256 6220a54e06d76bac54690cd6acbb02ec7104d6153f42ab376d785a294f2baf82

See more details on using hashes here.

File details

Details for the file s3head-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: s3head-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1031-azure

File hashes

Hashes for s3head-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e7a741f7cd7dd499b9fec0601253bb6d4cab474f53971836cfee352b406f268
MD5 5499eaa7fd9d0ac0cae2c64f37c23e0d
BLAKE2b-256 855f3d84eeb8cadb8ce9915f5ff0050f88ab270deb7c01e3e8b99a0e0e43c248

See more details on using hashes here.

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