Skip to main content

Streaming based unix cat like functionality for file on S3. Supports gzip, bzip and xz compressed files as well

Project description

S3 Stream Cat powers you to instantly check the content of S3 file. Especially it supports streaming and printing data from compressed files.

Compression Format Supported

  • Gzip

  • XZ

  • BZIP

You might find it most useful when you don’t actually want to download the file however want to check the sample data, or to grep for few records matching certain search. Typical usage often looks like this:

s3streamcat s3://bucketname/dir/file_path
s3streamcat s3://bucketname/dir/file_path | more
s3streamcat s3://bucketname/dir/file_path | grep something
To try different encoding in case utf-8 is unable to decode your stream::

s3streamcat -e latin-1 s3://bucketname/dir/file_path.gz

To tune number of bytes to be fetched at a time::

s3streamcat -b 1024 s3://bucketname/dir/file_path.gz

Configurations

If you have aws client installed on your system s3streamcat will work out of the box If not you will have to have file at location HOME/.aws/credentials with aws cred:

[default]
aws_access_key_id=<put your aws access key>
aws_secret_access_key=<put your aws secret key>

Dependancies

  • Its written for Python3 which is the present and future of the language

  • libssl-dev libffi-dev

  • python3-dev

Ubuntu users can install dependancy packages with:

  • sudo apt-get install -y libssl-dev libffi-dev

  • sudo apt-get install python3-dev

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

s3streamcat-0.1.5.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file s3streamcat-0.1.5.tar.gz.

File metadata

  • Download URL: s3streamcat-0.1.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for s3streamcat-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3635eacde2edb3793c8903987104cce124f57cc784f7f384fd5b38fc0814e580
MD5 d8452724a8a6a6faf182259253436a83
BLAKE2b-256 f53bd4e37673d8b5e30c3b388cb2979d1b8767f6f4f3d20f5182f7e776289305

See more details on using hashes here.

Supported by

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