comparison env/lib/python3.7/site-packages/python_dateutil-2.8.1.dist-info/METADATA @ 0:26e78fe6e8c4 draft

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