python-pendulum/pendulum
Python datetimes made easy observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 98
- Release rhythm 36
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 285
- age_days: 3719
- days_rel: 215
- days_push: 13
- n_releases_24m: 2
Adoption not part of the score
6673 stars · 445 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Pendulum is a Python library that provides a cleaner, more intuitive API for working with dates, times, and timezones as a drop-in replacement for the standard datetime class. It offers timezone-aware datetimes by default, easy arithmetic, and human-readable duration formatting.
Use cases
- work with datetimes and timezones in python
- convert timestamps between timezones
- format durations in human-readable words
- handle daylight saving time transitions correctly
- replace python datetime with a better api
- add or subtract days and weeks from dates
When to choose
- you need timezone-aware datetimes with correct DST handling
- you want a drop-in replacement for datetime with a friendlier API
- you need human-readable diffs like '2 minutes ago'
When to avoid
- you only need basic datetime features already covered by the standard library
- your code passes datetimes to libraries that check types with type(), like sqlite3 or PyMySQL
Facets
library · maturity active
date-time internationalization developer-tools cross-platform python cross-platform datetime timezone human-readable-durations drop-in-replacement
2 sources
- readme: https://github.com/python-pendulum/pendulum · fetched 2026-08-28 · bb7b10658f76
- homepage: https://pendulum.eustace.io · fetched 2026-08-29 · 73c814e6a6a0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-pendulum/pendulum | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="python-pendulum/pendulum")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem