{"id":13500174,"url":"https://github.com/dateutil/dateutil","last_synced_at":"2025-05-13T11:10:17.413Z","repository":{"id":23510471,"uuid":"26876372","full_name":"dateutil/dateutil","owner":"dateutil","description":"Useful extensions to the standard Python datetime features","archived":false,"fork":false,"pushed_at":"2025-04-05T23:57:13.000Z","size":5974,"stargazers_count":2455,"open_issues_count":403,"forks_count":509,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-05-13T11:10:05.144Z","etag":null,"topics":["datetime","library","parsing","python","time","timezones"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dateutil.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-11-19T18:56:16.000Z","updated_at":"2025-05-13T00:44:25.000Z","dependencies_parsed_at":"2023-02-10T16:45:26.961Z","dependency_job_id":"e39ccfc6-c72d-4ba4-ac32-a128be5e7ce6","html_url":"https://github.com/dateutil/dateutil","commit_stats":{"total_commits":1130,"total_committers":138,"mean_commits":8.18840579710145,"dds":0.5964601769911504,"last_synced_commit":"9eaa5de584f9f374c6e4943069925cc53522ad61"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dateutil%2Fdateutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dateutil%2Fdateutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dateutil%2Fdateutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dateutil%2Fdateutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dateutil","download_url":"https://codeload.github.com/dateutil/dateutil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929367,"owners_count":21985802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datetime","library","parsing","python","time","timezones"],"created_at":"2024-07-31T22:00:52.378Z","updated_at":"2025-05-13T11:10:17.377Z","avatar_url":"https://github.com/dateutil.png","language":"Python","readme":"dateutil - powerful extensions to datetime\n==========================================\n\n|pypi| |support| |licence|\n\n|gitter| |readthedocs|\n\n|appveyor| |gha| |coverage|\n\n.. |pypi| image:: https://img.shields.io/pypi/v/python-dateutil.svg?style=flat-square\n    :target: https://pypi.org/project/python-dateutil/\n    :alt: pypi version\n\n.. |support| image:: https://img.shields.io/pypi/pyversions/python-dateutil.svg?style=flat-square\n    :target: https://pypi.org/project/python-dateutil/\n    :alt: supported Python version\n\n.. |appveyor| image:: https://img.shields.io/appveyor/ci/dateutil/dateutil/master.svg?style=flat-square\u0026logo=appveyor\n    :target: https://ci.appveyor.com/project/dateutil/dateutil\n    :alt: appveyor build status\n\n.. |gha| image:: https://github.com/dateutil/dateutil/actions/workflows/validate.yml/badge.svg\n    :target: https://github.com/dateutil/dateutil/actions\n    :alt: github actions build status\n\n.. |coverage| image:: https://codecov.io/gh/dateutil/dateutil/branch/master/graphs/badge.svg?branch=master\n    :target: https://codecov.io/gh/dateutil/dateutil?branch=master\n    :alt: Code coverage\n\n.. |gitter| image:: https://badges.gitter.im/dateutil/dateutil.svg\n   :alt: Join the chat at https://gitter.im/dateutil/dateutil\n   :target: https://gitter.im/dateutil/dateutil\n\n.. |licence| image:: https://img.shields.io/pypi/l/python-dateutil.svg?style=flat-square\n    :target: https://pypi.org/project/python-dateutil/\n    :alt: licence\n\n.. |readthedocs| image:: https://img.shields.io/readthedocs/dateutil/latest.svg?style=flat-square\u0026label=Read%20the%20Docs\n   :alt: Read the documentation at https://dateutil.readthedocs.io/en/latest/\n   :target: https://dateutil.readthedocs.io/en/latest/\n\nThe `dateutil` module provides powerful extensions to\nthe standard `datetime` module, available in Python.\n\nInstallation\n============\n`dateutil` can be installed from PyPI using `pip` (note that the package name is\ndifferent from the importable name)::\n\n    pip install python-dateutil\n\nDownload\n========\ndateutil is available on PyPI\nhttps://pypi.org/project/python-dateutil/\n\nThe documentation is hosted at:\nhttps://dateutil.readthedocs.io/en/stable/\n\nCode\n====\nThe code and issue tracker are hosted on GitHub:\nhttps://github.com/dateutil/dateutil/\n\nFeatures\n========\n\n* Computing of relative deltas (next month, next year,\n  next Monday, last week of month, etc);\n* Computing of relative deltas between two given\n  date and/or datetime objects;\n* Computing of dates based on very flexible recurrence rules,\n  using a superset of the `iCalendar \u003chttps://www.ietf.org/rfc/rfc2445.txt\u003e`_\n  specification. Parsing of RFC strings is supported as well.\n* Generic parsing of dates in almost any string format;\n* Timezone (tzinfo) implementations for tzfile(5) format\n  files (/etc/localtime, /usr/share/zoneinfo, etc), TZ\n  environment string (in all known formats), iCalendar\n  format files, given ranges (with help from relative deltas),\n  local machine timezone, fixed offset timezone, UTC timezone,\n  and Windows registry-based time zones.\n* Internal up-to-date world timezone information based on\n  Olson's database.\n* Computing of Easter Sunday dates for any given year,\n  using Western, Orthodox or Julian algorithms;\n* A comprehensive test suite.\n\nQuick example\n=============\nHere's a snapshot, just to give an idea about the power of the\npackage. For more examples, look at the documentation.\n\nSuppose you want to know how much time is left, in\nyears/months/days/etc, before the next easter happening on a\nyear with a Friday 13th in August, and you want to get today's\ndate out of the \"date\" unix system command. Here is the code:\n\n.. doctest:: readmeexample\n\n    \u003e\u003e\u003e from dateutil.relativedelta import *\n    \u003e\u003e\u003e from dateutil.easter import *\n    \u003e\u003e\u003e from dateutil.rrule import *\n    \u003e\u003e\u003e from dateutil.parser import *\n    \u003e\u003e\u003e from datetime import *\n    \u003e\u003e\u003e now = parse(\"Sat Oct 11 17:13:46 UTC 2003\")\n    \u003e\u003e\u003e today = now.date()\n    \u003e\u003e\u003e year = rrule(YEARLY,dtstart=now,bymonth=8,bymonthday=13,byweekday=FR)[0].year\n    \u003e\u003e\u003e rdelta = relativedelta(easter(year), today)\n    \u003e\u003e\u003e print(\"Today is: %s\" % today)\n    Today is: 2003-10-11\n    \u003e\u003e\u003e print(\"Year with next Aug 13th on a Friday is: %s\" % year)\n    Year with next Aug 13th on a Friday is: 2004\n    \u003e\u003e\u003e print(\"How far is the Easter of that year: %s\" % rdelta)\n    How far is the Easter of that year: relativedelta(months=+6)\n    \u003e\u003e\u003e print(\"And the Easter of that year is: %s\" % (today+rdelta))\n    And the Easter of that year is: 2004-04-11\n\nBeing exactly 6 months ahead was **really** a coincidence :)\n\nContributing\n============\n\nWe welcome many types of contributions - bug reports, pull requests (code, infrastructure or documentation fixes). For more information about how to contribute to the project, see the ``CONTRIBUTING.md`` file in the repository.\n\n\nAuthor\n======\nThe dateutil module was written by Gustavo Niemeyer \u003cgustavo@niemeyer.net\u003e\nin 2003.\n\nIt is maintained by:\n\n* Gustavo Niemeyer \u003cgustavo@niemeyer.net\u003e 2003-2011\n* Tomi Pieviläinen \u003ctomi.pievilainen@iki.fi\u003e 2012-2014\n* Yaron de Leeuw \u003cme@jarondl.net\u003e 2014-2016\n* Paul Ganssle \u003cpaul@ganssle.io\u003e 2015-\n\nStarting with version 2.4.1 and running until 2.8.2, all source and binary\ndistributions will be signed by a PGP key that has, at the very least, been\nsigned by the key which made the previous release. A table of release signing\nkeys can be found below:\n\n===========  ============================\nReleases     Signing key fingerprint\n===========  ============================\n2.4.1-2.8.2  `6B49 ACBA DCF6 BD1C A206 67AB CD54 FCE3 D964 BEFB`_\n===========  ============================\n\nNew releases *may* have signed tags, but binary and source distributions\nuploaded to PyPI will no longer have GPG signatures attached.\n\nContact\n=======\nOur mailing list is available at `dateutil@python.org \u003chttps://mail.python.org/mailman/listinfo/dateutil\u003e`_. As it is hosted by the PSF, it is subject to the `PSF code of\nconduct \u003chttps://www.python.org/psf/conduct/\u003e`_.\n\nLicense\n=======\n\nAll contributions after December 1, 2017 released under dual license - either `Apache 2.0 License \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e`_ or the `BSD 3-Clause License \u003chttps://opensource.org/licenses/BSD-3-Clause\u003e`_. Contributions before December 1, 2017 - except those those explicitly relicensed - are released only under the BSD 3-Clause License.\n\n\n.. _6B49 ACBA DCF6 BD1C A206 67AB CD54 FCE3 D964 BEFB:\n   https://pgp.mit.edu/pks/lookup?op=vindex\u0026search=0xCD54FCE3D964BEFB\n","funding_links":[],"categories":["Date and Time","资源列表","Python","📦 Packages","Data Format \u0026 I/O","日期和时间","Uncategorized","🐍 Python","Date \u0026 Time Utilities","Date and Time [🔝](#readme)","📚 فهرست","Awesome Python"],"sub_categories":["日期和时间","Python","For Python","Uncategorized","Useful Python Tools for Data Analysis","کار با زمان و تقویم","Date and Time"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdateutil%2Fdateutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdateutil%2Fdateutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdateutil%2Fdateutil/lists"}