Closed davidbgk closed 1 year ago
Hi @davidbgk, thanks for the good idea (that you had long, long time ago). It is now implemented in python-ulid
2.0.1
Oh thanks for the notification! For future reference, it happened in https://github.com/mdomke/python-ulid/commit/ffe282ae029092ab89419010818ffa1c37171592
Like so:
I guess implementing a
__main__
which returnsULID.from_datetime(datetime.now())
by default.It would ease the generation when calling from a Makefile for instance. My current alternative is the less elegant: