Debian Codegraph @

third_party/python/python_dateutil/python_dateutil-2.9.0.post0.dist-info/METADATA

raw
1 Metadata-Version: 2.1
2 Name: python-dateutil
3 Version: 2.9.0.post0
4 Summary: Extensions to the standard Python datetime module
5 Home-page: https://github.com/dateutil/dateutil
6 Author: Gustavo Niemeyer
7 Author-email: [email protected]
8 Maintainer: Paul Ganssle
9 Maintainer-email: [email protected]
10 License: Dual License
11 Project-URL: Documentation, https://dateutil.readthedocs.io/en/stable/
12 Project-URL: Source, https://github.com/dateutil/dateutil
13 Classifier: Development Status :: 5 - Production/Stable
14 Classifier: Intended Audience :: Developers
15 Classifier: License :: OSI Approved :: BSD License
16 Classifier: License :: OSI Approved :: Apache Software License
17 Classifier: Programming Language :: Python
18 Classifier: Programming Language :: Python :: 2
19 Classifier: Programming Language :: Python :: 2.7
20 Classifier: Programming Language :: Python :: 3
21 Classifier: Programming Language :: Python :: 3.3
22 Classifier: Programming Language :: Python :: 3.4
23 Classifier: Programming Language :: Python :: 3.5
24 Classifier: Programming Language :: Python :: 3.6
25 Classifier: Programming Language :: Python :: 3.7
26 Classifier: Programming Language :: Python :: 3.8
27 Classifier: Programming Language :: Python :: 3.9
28 Classifier: Programming Language :: Python :: 3.10
29 Classifier: Programming Language :: Python :: 3.11
30 Classifier: Programming Language :: Python :: 3.12
31 Classifier: Topic :: Software Development :: Libraries
32 Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,>=2.7
33 Description-Content-Type: text/x-rst
34 License-File: LICENSE
35 Requires-Dist: six >=1.5
36
37 dateutil - powerful extensions to datetime
38 ==========================================
39
40 |pypi| |support| |licence|
41
42 |gitter| |readthedocs|
43
44 |travis| |appveyor| |pipelines| |coverage|
45
46 .. |pypi| image:: https://img.shields.io/pypi/v/python-dateutil.svg?style=flat-square
47 :target: https://pypi.org/project/python-dateutil/
48 :alt: pypi version
49
50 .. |support| image:: https://img.shields.io/pypi/pyversions/python-dateutil.svg?style=flat-square
51 :target: https://pypi.org/project/python-dateutil/
52 :alt: supported Python version
53
54 .. |travis| image:: https://img.shields.io/travis/dateutil/dateutil/master.svg?style=flat-square&label=Travis%20Build
55 :target: https://travis-ci.org/dateutil/dateutil
56 :alt: travis build status
57
58 .. |appveyor| image:: https://img.shields.io/appveyor/ci/dateutil/dateutil/master.svg?style=flat-square&logo=appveyor
59 :target: https://ci.appveyor.com/project/dateutil/dateutil
60 :alt: appveyor build status
61
62 .. |pipelines| image:: https://dev.azure.com/pythondateutilazure/dateutil/_apis/build/status/dateutil.dateutil?branchName=master
63 :target: https://dev.azure.com/pythondateutilazure/dateutil/_build/latest?definitionId=1&branchName=master
64 :alt: azure pipelines build status
65
66 .. |coverage| image:: https://codecov.io/gh/dateutil/dateutil/branch/master/graphs/badge.svg?branch=master
67 :target: https://codecov.io/gh/dateutil/dateutil?branch=master
68 :alt: Code coverage
69
70 .. |gitter| image:: https://badges.gitter.im/dateutil/dateutil.svg
71 :alt: Join the chat at https://gitter.im/dateutil/dateutil
72 :target: https://gitter.im/dateutil/dateutil
73
74 .. |licence| image:: https://img.shields.io/pypi/l/python-dateutil.svg?style=flat-square
75 :target: https://pypi.org/project/python-dateutil/
76 :alt: licence
77
78 .. |readthedocs| image:: https://img.shields.io/readthedocs/dateutil/latest.svg?style=flat-square&label=Read%20the%20Docs
79 :alt: Read the documentation at https://dateutil.readthedocs.io/en/latest/
80 :target: https://dateutil.readthedocs.io/en/latest/
81
82 The `dateutil` module provides powerful extensions to
83 the standard `datetime` module, available in Python.
84
85 Installation
86 ============
87 `dateutil` can be installed from PyPI using `pip` (note that the package name is
88 different from the importable name)::
89
90 pip install python-dateutil
91
92 Download
93 ========
94 dateutil is available on PyPI
95 https://pypi.org/project/python-dateutil/
96
97 The documentation is hosted at:
98 https://dateutil.readthedocs.io/en/stable/
99
100 Code
101 ====
102 The code and issue tracker are hosted on GitHub:
103 https://github.com/dateutil/dateutil/
104
105 Features
106 ========
107
108 * Computing of relative deltas (next month, next year,
109 next Monday, last week of month, etc);
110 * Computing of relative deltas between two given
111 date and/or datetime objects;
112 * Computing of dates based on very flexible recurrence rules,
113 using a superset of the `iCalendar <https://www.ietf.org/rfc/rfc2445.txt>`_
114 specification. Parsing of RFC strings is supported as well.
115 * Generic parsing of dates in almost any string format;
116 * Timezone (tzinfo) implementations for tzfile(5) format
117 files (/etc/localtime, /usr/share/zoneinfo, etc), TZ
118 environment string (in all known formats), iCalendar
119 format files, given ranges (with help from relative deltas),
120 local machine timezone, fixed offset timezone, UTC timezone,
121 and Windows registry-based time zones.
122 * Internal up-to-date world timezone information based on
123 Olson's database.
124 * Computing of Easter Sunday dates for any given year,
125 using Western, Orthodox or Julian algorithms;
126 * A comprehensive test suite.
127
128 Quick example
129 =============
130 Here's a snapshot, just to give an idea about the power of the
131 package. For more examples, look at the documentation.
132
133 Suppose you want to know how much time is left, in
134 years/months/days/etc, before the next easter happening on a
135 year with a Friday 13th in August, and you want to get today's
136 date out of the "date" unix system command. Here is the code:
137
138 .. code-block:: python3
139
140 >>> from dateutil.relativedelta import *
141 >>> from dateutil.easter import *
142 >>> from dateutil.rrule import *
143 >>> from dateutil.parser import *
144 >>> from datetime import *
145 >>> now = parse("Sat Oct 11 17:13:46 UTC 2003")
146 >>> today = now.date()
147 >>> year = rrule(YEARLY,dtstart=now,bymonth=8,bymonthday=13,byweekday=FR)[0].year
148 >>> rdelta = relativedelta(easter(year), today)
149 >>> print("Today is: %s" % today)
150 Today is: 2003-10-11
151 >>> print("Year with next Aug 13th on a Friday is: %s" % year)
152 Year with next Aug 13th on a Friday is: 2004
153 >>> print("How far is the Easter of that year: %s" % rdelta)
154 How far is the Easter of that year: relativedelta(months=+6)
155 >>> print("And the Easter of that year is: %s" % (today+rdelta))
156 And the Easter of that year is: 2004-04-11
157
158 Being exactly 6 months ahead was **really** a coincidence :)
159
160 Contributing
161 ============
162
163 We 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.
164
165
166 Author
167 ======
168 The dateutil module was written by Gustavo Niemeyer <[email protected]>
169 in 2003.
170
171 It is maintained by:
172
173 * Gustavo Niemeyer <[email protected]> 2003-2011
174 * Tomi Pieviläinen <[email protected]> 2012-2014
175 * Yaron de Leeuw <[email protected]> 2014-2016
176 * Paul Ganssle <[email protected]> 2015-
177
178 Starting with version 2.4.1 and running until 2.8.2, all source and binary
179 distributions will be signed by a PGP key that has, at the very least, been
180 signed by the key which made the previous release. A table of release signing
181 keys can be found below:
182
183 =========== ============================
184 Releases Signing key fingerprint
185 =========== ============================
186 2.4.1-2.8.2 `6B49 ACBA DCF6 BD1C A206 67AB CD54 FCE3 D964 BEFB`_
187 =========== ============================
188
189 New releases *may* have signed tags, but binary and source distributions
190 uploaded to PyPI will no longer have GPG signatures attached.
191
192 Contact
193 =======
194 Our mailing list is available at `[email protected] <https://mail.python.org/mailman/listinfo/dateutil>`_. As it is hosted by the PSF, it is subject to the `PSF code of
195 conduct <https://www.python.org/psf/conduct/>`_.
196
197 License
198 =======
199
200 All contributions after December 1, 2017 released under dual license - either `Apache 2.0 License <https://www.apache.org/licenses/LICENSE-2.0>`_ or the `BSD 3-Clause License <https://opensource.org/licenses/BSD-3-Clause>`_. Contributions before December 1, 2017 - except those those explicitly relicensed - are released only under the BSD 3-Clause License.
201
202
203 .. _6B49 ACBA DCF6 BD1C A206 67AB CD54 FCE3 D964 BEFB:
204 https://pgp.mit.edu/pks/lookup?op=vindex&search=0xCD54FCE3D964BEFB