dateutil

dateutil: Extend Python’s Date and Time Features

dateutil adds flexible parsing, recurrence rules, relative date calculations, and time-zone support to Python’s standard datetime tools. It suits Python applications that need richer date handling without building those capabilities from scratch.

View on GitHub Compare
Stars
2.6k
Forks
606
Stars, last 30 days
+6
Last commit
17 days ago
Contributors
100+

Our take

Maintaineda few commits in the last 90 days

Health score

55/100

How it is scored
Activity
32
Community
71
Issues
53
Pull requests
62

+6 stars in the last 30 days

  • More contributors than 78% of the projects we track

A mature, actively maintained Python date-and-time library with a broad contributor base, but teams should verify release recency and licensing details before adopting it.

Good fit if

  • Your Python application needs flexible date parsing, calendar recurrence, relative-date calculations, or time-zone handling.
  • You want an established library with recent repository activity, CI, tests, and contributions from many people.
  • You are comfortable checking the applicable license terms for your intended use.

Look elsewhere if

  • You need a project with a recent published release as a firm adoption requirement.
  • Your application does not use Python or only needs the standard datetime functionality.
  • You need license terms that are unambiguous from the repository metadata without further review.
All health signals
Last commit2026-09-26 (17 days ago)
Commits, last 90 days7
Releases, last 12 months0 (latest 2.9.0.post0, 2024-03-01)
Contributors100+ (top contributor: 69% of commits)
Issues closed, last 90 days2
Pull requests merged, last 90 days6 (typically merged in 0 days)
Project age11 years

Checked on 2026-10-14 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

2,646

Forks

641

Change since Nov 21, 2026: -1 stars·0 forks

Overview

dateutil is a Python library for date and time tasks that go beyond the standard datetime module. It helps applications interpret varied date strings, calculate relative dates, generate recurring events, and work with time zones.

It is useful when a project needs these capabilities as a dependency rather than implementing and maintaining its own date-handling logic. The project is active, with recent commits and contributions from a broad contributor base, though it has not published a release in over a year.

Key Features

  • Parse dates from a wide range of string formats.
  • Calculate relative differences and offsets, such as the next month or last Monday of a month.
  • Generate recurring dates using rules based on the iCalendar specification, including parsing recurrence-rule strings.
  • Work with time zones from system zone files, environment strings, Windows registry data, and other sources described in the project documentation.
  • Calculate Easter dates using Western, Orthodox, or Julian algorithms.
  • Integrate with Python’s standard datetime types.

Use Cases

  • Python application developers can accept user-entered dates in varied formats without writing a custom parser.
  • Calendar and scheduling tools can generate recurring events and interpret iCalendar-style recurrence rules.
  • Data-processing pipelines can normalize timestamps and handle dates across time zones.
  • Business logic that calculates calendar-relative deadlines can use month, weekday, or year-based offsets instead of fixed-duration arithmetic.

What you need

Detected in the repository

  • Python (from pyproject.toml)
  • A test suite and automated checks on GitHub Actions

Getting Started

Install the PyPI package with:

pip install python-dateutil

See the README and documentation for usage details.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Considerations

The repository has recent commit activity and is marked maintained, but no release has been published in over a year. The project has many contributors and its work is not concentrated in one person, though the measured recent issue-closure count is low and the repository has a substantial open-issue backlog. The GitHub license field is reported as NOASSERTION; the README describes different terms for contributions before and after December 1, 2017, so review the project’s license files and contribution history for your use case.

Found this useful?

Share it with someone who would like dateutil.