Skip to main content

A salve for timesmiths

Project description

epoch-echo

A minimal command line alternative to tools like this.

Copypasta your machine-flavored datetimes from the db or whatever into the ee and ahhhh 😌 a nice human date right there for you in 0 clicks 🌚. Pass a whole long list of some ridiculous mixture of epoch timestamps and readable datetimes and witness 🙀 the grand switcharoo 🎠

Built with ✨and typer.

About

Born from the grumblings of a crunchy shell-dweller, ee-cli is designed to fit nicely in a terminal-heavy workflow with tools like tmux, hub, fzf, etc. Those tools and their peers inspired ee greatly.

ee stands for "epoch echo" because that's sort of what the tool does.

ee takes any arbitrary combination of epoch timestamps, datetimes, times, dates, etc, and prints them back as the opposite. ee uses pendulum for these conversions.

By default, ee supports input from the same datetime formats as pendulum.parse, plus the conveniences of "now," "tomorrow," "today," and "yeterday."

More input formats can be used by setting the EXTRA_DATETIME_INPUT_FORMATS environment variable to a json array of these tokens in pendulum

Installation

This is a Python project, so you install it from pip.

pip install ee-cli

The executable is ee

ee  # display help and list commands

Usage

Basic: Convert a list of datetimes, output it to the clipboard.

Interactive: Use the repl to curate a list of converted datetimes, view help, send to clipboard, and more!

Images generated with termtosvg.

See USAGE.md for more.

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

ee-cli-1.1.3.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

ee_cli-1.1.3-py3-none-any.whl (12.3 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