Giter Club home page Giter Club logo

stdin-tagger's Introduction

stdin-tagger

stdin-tagger version stdin-tagger python compatibility say thanks!

stdin-tagger just decorate stdin with current timestamp and optional tag.

If you like this tool, just say thanks.

Current stable version

1.1.0

Python version

stdin-tagger works with Python 2.7 and 3.3+.

Some examples

Some examples:

# decorate with default timestamp
% echo something | stdin-tagger
2019-05-01 09:42:11.141874 something

# decorate with other timestamp format
% echo something | stdin-tagger --timestamp-format '%Y%m%d%H%M%S'
20190501094333 something 

# decorate with other timestamp format and UTC timezone
% echo something | stdin-tagger --timestamp-format '%Y%m%d%H%M%S' --timezone utc
20190501074610 something

# add additional tag right after timestamp
% echo something | stdin-tagger  --additional-tag '[some tag]'
2019-05-01 09:49:58.775573 [some tag] something

Installation

  1. Using PIP

stdin-tagger should work on any platform where Python is available, it means Linux, Windows, MacOS X etc.

Simplest way is to use Python's built-in package system:

pip install stdin-tagger
  1. Using pipsi

    pipsi install stdin-tagger

Voila!

Authors

Marcin Sztolcman [email protected]

Contact

If you like or dislike this software, please do not hesitate to tell me about this me via email ([email protected]).

If you find bug or have an idea to enhance this tool, please use GitHub's issues.

ChangeLog

v1.0.0

  • first public version

stdin-tagger's People

Contributors

dependabot[bot] avatar msztolcman avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.