$npx skillfedfor your agent

pendulum

Python datetimes made easy

Worth itPyPI Released Jan 202675.1M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pendulum-3.2.0-py3-none-any.whl
v3.2.0 · released 2026-01-30 · Python >=3.9 · 2 runtime deps: python-dateutil, tzdata

Yes. Pendulum is actively maintained, has no known vulnerabilities, installs with minimal friction, and is widely used (top 1000 PyPI packages). Install it if you work regularly with timezones, DST transitions, or need more readable date arithmetic than the standard library offers. Be aware of type-checking limitations with some database libraries—the documentation provides workarounds for common cases.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or newer.
  • Some database libraries (sqlite3, PyMySQL, mysqlclient, Django ORM) perform type checks that may reject Pendulum DateTime instances; workarounds are documented in the package description.
  • Low friction: pure Python wheel with only two lightweight runtime dependencies (python-dateutil and tzdata).

License · maintenance · safety

MIT License (permissive) — MIT License permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements.

last release 2026-01-30 (196 days) · last repo commit 2026-07-06 · 6,671 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 75,071,771 downloads/mo, #449 on PyPI

Verify before relying

pip install pendulum

import pendulum

now = pendulum.now('Europe/Paris')
utc_time = now.in_timezone('UTC')
tomorrow = pendulum.now().add(days=1)
past = pendulum.now().subtract(minutes=2)
print(past.diff_for_humans())
  • Performance characteristics compared to standard datetime or other third-party datetime libraries in typical workloads
  • Locale support coverage and completeness across the supported languages
  • Compatibility edge cases beyond the documented sqlite3, PyMySQL, and Django limitations
Same gist for agents: .md · .json

What it is and what it does

Pendulum extends Python's standard datetime module with a more intuitive API for working with dates, times, and timezones. It inherits from the native datetime class, making it a drop-in replacement in most cases, while adding features like seamless timezone switching, automatic DST transition handling, human-readable time differences (e.g., '2 minutes ago'), and chainable date arithmetic methods.

The library removes the concept of naive datetimes—every Pendulum instance is timezone-aware and defaults to UTC. It also improves the standard timedelta class with more intuitive properties and methods. While Pendulum aims for compatibility with the standard library, some database adapters and ORMs that use type checking may require workarounds, which the documentation addresses with concrete examples.

Use it for

  • Building APIs or services that need to handle user requests across multiple timezones with automatic conversion and DST awareness
  • Logging and audit trails where you need human-readable relative timestamps like '3 hours ago' without manual formatting
  • Scheduling and cron-like tasks that must correctly handle daylight saving time transitions and timezone edge cases
  • Data processing pipelines that perform date arithmetic (adding days, weeks, or months) and need intuitive, chainable syntax
  • Web applications storing and displaying user-local times while maintaining UTC consistency in the database

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Pendulum is actively maintained, has no known vulnerabilities, installs with minimal friction, and is widely used (top 1000 PyPI packages). Install it if you work regularly with timezones, DST transitions, or need more readable date arithmetic than the standard library offers. Be aware of type-checking limitations with some database libraries—the documentation provides workarounds for common cases.

Install

pendulum on PyPI

Before you install

Low friction: pure Python wheel with only two lightweight runtime dependencies (python-dateutil and tzdata). Actively maintained with recent releases and a healthy repository.

Requires Python 3.9 or newer. Some database libraries (sqlite3, PyMySQL, mysqlclient, Django ORM) perform type checks that may reject Pendulum DateTime instances; workarounds are documented in the package description.

License in practice

MIT License permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements.

Quickstart

pip install pendulum

import pendulum

now = pendulum.now('Europe/Paris')
utc_time = now.in_timezone('UTC')
tomorrow = pendulum.now().add(days=1)
past = pendulum.now().subtract(minutes=2)
print(past.diff_for_humans())

Verify before relying

  • Performance characteristics compared to standard datetime or other third-party datetime libraries in typical workloads
  • Locale support coverage and completeness across the supported languages
  • Compatibility edge cases beyond the documented sqlite3, PyMySQL, and Django limitations

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
python-dateutiltzdata
MaintenanceActively maintained 196 days since the last release
Last repo commit
First released
Downloads75,071,771 / month, #449 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: pendulum-3.2.0-py3-none-any.whl

Tags

Capabilities
timezone-aware datetime librarypython datetime with timezone supportDST-aware date manipulationhuman-readable time differencesdatetime arithmetic and formattingpendulum datetime replacementtimezone conversion python
Topics
datetimetimezone-handlingstdlib-extension
PyPI keywords
datetimedatetime

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “DST-aware date manipulation”

  • pendulumPendulum provides an enhanced datetime API for Python that handles…
  • momentA Python library for parsing, manipulating, and formatting dates and…
  • wheneverWhenever provides type-safe, DST-aware datetime handling for Python…

Give your agent the search over MCP, or paste the wish link into any chat.

Similar packages

pytz With conditions
PyPI · Python Modules · released Jul 2026

pytz brings the Olson timezone database into Python, enabling accurate timezone calculations and conversions across platforms with support for daylight saving time transitions.

MITpure Python
551.7Mdownloads / mo
whenever Worth it
PyPI · Software Development · released Aug 2026

Whenever provides type-safe, DST-aware datetime handling for Python with explicit types that distinguish naive from aware datetimes, available as a Rust-backed or pure-Python implementation.

Install it if you work with timezones or need to prevent datetime mixing bugs; skip it only if you never cross timezone boundaries or can tolerate standard library…

MITpure Python · 3.10+
6.9Mdownloads / mo
arrow Worth it
PyPI · Python Modules · released Oct 2025

Arrow provides a simpler, more intuitive API for creating, manipulating, formatting, and converting dates, times, and timestamps in Python, with built-in timezone awareness and ISO 8601 support.

Install it if you work with dates and times frequently and want cleaner, less verbose code.

Apache-2.0pure Python · 3.8+
80.7Mdownloads / mo
delorean With conditions
PyPI · Python Modules · released Aug 2026

Delorean simplifies Python datetime manipulation by wrapping the standard library and dateutil with a cleaner API for shifting timezones, manipulating dates, and generating datetime objects.

MITpure Python · 3.10+
114.8Kdownloads / mo
maya With conditions
PyPI · Python Modules · released Jan 2019

Maya provides a human-friendly API for parsing, formatting, and manipulating datetimes with automatic timezone handling, supporting natural language input like 'tomorrow' and output in ISO 8601, RFC 2822, and RFC 3339 formats.

MITpure Pythondormant
175.1Kdownloads / mo
moment Skip
PyPI · Utilities · released Nov 2020

A Python library for parsing, manipulating, and formatting dates and times with a fluent API inspired by Moment.js, using dateparser, pytz, and times under the hood.

MITpure Pythonabandoned
310.1Kdownloads / mo

See also DateTimeRange · DateTime · backports.zoneinfo · suntimes