I have released the first version of a new Python library called dateinfer. dateinfer makes a "best guess" date format given a list of example date strings. For example:
>>>importdateinfer>>>dateinfer.infer(['Mon Jan 13 09:52:52 MST 2014','Tue Jan 21 15:30:00 EST 2014'])'%a %b %d %H:%M:%S %Z %Y'>>>
The library is available through pypi and is hosted on github.
No comments:
Post a Comment