I used Amazon kinesis data stream to manage clickstream data. I found Kinesis stream service easy and effective, but the AWS CLI interface (aws kinesis) for kinesis was very raw in nature.

Whenever I needed to debug few records in kinesis, I had to write 2-3 commands(i.e. creating shard iterator, and calling get records api). Also, the AWS CLI’s json output is not really Terminal friendly and the table output format is just horrible. Hence, I decided to build an alternate user friendly command line interface for AWS Kinesis.

After 8-10 hours of effort, I was able to get good user friendly experience from the python script that I wrote which was using boto3 under the hood.

I decided to use terminaltables to show command’s output. Also used some emojis 😃. I have tested this CLI on Mac ZSH Terminal.

I have also added report command for Kinesis Stream, so that I don’t have to leave terminal to just check how much records are put in last 6 hours.

I hope people will find this as useful as I did. Hence, I have published this CLI on PyPi. The source is open sourced on github with MIT License.

To install this CLI,

pip install kines

To configure you just need to set credentials on your machine with aws cli using following command.

aws configure

For suggestions/bugs/thoughts/complaints, please use Github issues.