Skip to main content

Smart timestamp utility

Project description

wttime - A fuzzy time parser

DISCLAIMER: At this point, the code is a dirty initial sketch of what I want to build. Assume I have no idea what I'm doing.

Tired of figuring out what this timestamp means? Done with format strings? Cannot be bothered to care about all the seconds, millis, and jiffies?

You don't have to! wttime is a fuzzy parser that can recover and disambiguate virtually any time specification you can throw at it.

Getting Started


pip install wttime


Guessing the most likely meaning:

$ wttime 1231312312
UTC:     2009-01-07 07:11:52 (+0000)
$ wttime 1231231233000000
UTC:     2009-01-06 08:40:33 (+0000)


wttime --help


  • add CI
  • add parsers for standard timestrings
  • add more output options
  • get more data about format frequency in the wild
  • refactor main to pull out logic and test it
  • add type annotations and start checking


Run tests


Publish to PyPI

python sdist
twine upload dist/*


This project is licensed under the MIT License - see the file for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wttime, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size wttime-0.1.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page