|
|
|
|
|
by sametmax
2587 days ago
|
|
"pip install pendulum" is not complex. Using pendulum is not complicated. You can skim the doc in 5 minutes, your intern can do it too. This is one of those tools that removes complexity when you use them. Also, pendulum and the stdlib datetime module are compatible, making migration painless: >>> pendulum.now() - datetime.now(pendulum.now().tz)
<Period [2019-05-26T16:57:35.872732+02:00 -> 2019-05-26T16:57:35.872141+02:00]>
In the end, pendulum doesn't requires you to install a transpiler, 100 plugins and create a configuration file like the post you link to. But it does save you from bugs, and you don't need to be an expert in time to use it.I see only wins. |
|
Discoverability is a very big issue in general, and with these libraries in particular. I for example have been working with Python for almost a decade and follow the community quite closely, but can't recall hearing of pendulum before. Last time I investigated this, the cool libraries to use were arrow and delorean. How are people expected to keep up to date with every cool new thing?