Jacob Kaplan-Moss

Activity tagged “datetime”

Bookmarks

Python Package Index : magicdate 0.1.3

A plugin for optparse to do fuzzy dates. Lets your CLI scripts take arguments like “—start today —end tomorrow”; very cute.

(datetime, optparse, python)

parsedatetime project

From the Chandler project, a Python module to parse “natural” datetime constructs (i.e. “tomorrow”, “next monday”, and even “two weeks from last thursday at noon”). The API is shitty and Java-esque, but the functionality is great.

(datetime, library, naturallanguage, python)