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

Uploaded Source

Built Distribution

ee_cli-1.1.3-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file ee-cli-1.1.3.tar.gz.

File metadata

  • Download URL: ee-cli-1.1.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.12 Linux/5.11.0-1022-aws

File hashes

Hashes for ee-cli-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c5bca8facf280f5c3ee269e7717febcfa49e80fbd22317fdec92584c689299d7
MD5 26779177dc2787108f0de6b2d4f1a208
BLAKE2b-256 0a1c2fc159bcf66269572424dfd82688f916d233f12a7826c994dacc14aa8b78

See more details on using hashes here.

File details

Details for the file ee_cli-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: ee_cli-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.12 Linux/5.11.0-1022-aws

File hashes

Hashes for ee_cli-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eca45f3c7c4a0bd24a9485752b11a5d83fbca0df4a0629395a5de55230c43e96
MD5 1ac8c1915d0c3007ecf74f2a4361a79f
BLAKE2b-256 4a55c8c32446155c8e1d5a3346ea94cfa4b63c6b6f31a070ab708483e7be60cf

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