|
1 |
| -# The MIT License (MIT) |
2 |
| -# |
3 |
| -# Copyright (c) 2019 Dave Astels for Adafruit Industries |
4 |
| -# |
5 |
| -# Permission is hereby granted, free of charge, to any person obtaining a copy |
6 |
| -# of this software and associated documentation files (the "Software"), to deal |
7 |
| -# in the Software without restriction, including without limitation the rights |
8 |
| -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
9 |
| -# copies of the Software, and to permit persons to whom the Software is |
10 |
| -# furnished to do so, subject to the following conditions: |
11 |
| -# |
12 |
| -# The above copyright notice and this permission notice shall be included in |
13 |
| -# all copies or substantial portions of the Software. |
14 |
| -# |
15 |
| -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
16 |
| -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
17 |
| -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
18 |
| -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
19 |
| -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
20 |
| -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
21 |
| -# THE SOFTWARE. |
| 1 | +# 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and |
| 2 | +# the Individual or Organization ("Licensee") accessing and otherwise using Python |
| 3 | +# 3.7.3 software in source or binary form and its associated documentation. |
| 4 | + |
| 5 | +# 2. Subject to the terms and conditions of this License Agreement, PSF hereby |
| 6 | +# grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, |
| 7 | +# analyze, test, perform and/or display publicly, prepare derivative works, |
| 8 | +# distribute, and otherwise use Python 3.7.3 alone or in any derivative |
| 9 | +# version, provided, however, that PSF's License Agreement and PSF's notice of |
| 10 | +# copyright, i.e., "Copyright © 2001-2019 Python Software Foundation; All Rights |
| 11 | +# Reserved" are retained in Python 3.7.3 alone or in any derivative version |
| 12 | +# prepared by Licensee. |
| 13 | + |
| 14 | +# 3. In the event Licensee prepares a derivative work that is based on or |
| 15 | +# incorporates Python 3.7.3 or any part thereof, and wants to make the |
| 16 | +# derivative work available to others as provided herein, then Licensee hereby |
| 17 | +# agrees to include in any such work a brief summary of the changes made to Python |
| 18 | +# 3.7.3. |
| 19 | + |
| 20 | +# 4. PSF is making Python 3.7.3 available to Licensee on an "AS IS" basis. |
| 21 | +# PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF |
| 22 | +# EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR |
| 23 | +# WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE |
| 24 | +# USE OF PYTHON 3.7.3 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. |
| 25 | + |
| 26 | +# 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.7.3 |
| 27 | +# FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF |
| 28 | +# MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.7.3, OR ANY DERIVATIVE |
| 29 | +# THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 30 | + |
| 31 | +# 6. This License Agreement will automatically terminate upon a material breach of |
| 32 | +# its terms and conditions. |
| 33 | + |
| 34 | +# 7. Nothing in this License Agreement shall be deemed to create any relationship |
| 35 | +# of agency, partnership, or joint venture between PSF and Licensee. This License |
| 36 | +# Agreement does not grant permission to use PSF trademarks or trade name in a |
| 37 | +# trademark sense to endorse or promote products or services of Licensee, or any |
| 38 | +# third party. |
| 39 | + |
| 40 | +# 8. By copying, installing or otherwise using Python 3.7.3, Licensee agrees |
| 41 | +# to be bound by the terms and conditions of this License Agreement. |
22 | 42 | """
|
23 | 43 | `adafruit_itertools_extras`
|
24 | 44 | ================================================================================
|
25 | 45 |
|
26 |
| -Extras for itertools for CircuitPython |
| 46 | +Extras for Python itertools adapted for CircuitPython by Dave Astels |
27 | 47 |
|
28 | 48 | This module contains an extended toolset using the existing itertools as
|
29 | 49 | building blocks.
|
30 | 50 |
|
31 |
| -The extended tools offer the same high performance as the underlying |
| 51 | +The extended tools offer the same performance as the underlying |
32 | 52 | toolset. The superior memory performance is kept by processing elements one at
|
33 | 53 | a time rather than bringing the whole iterable into memory all at once. Code
|
34 | 54 | volume is kept small by linking the tools together in a functional style which
|
35 | 55 | helps eliminate temporary variables. High speed is retained by preferring
|
36 | 56 | "vectorized" building blocks over the use of for-loops and generators which
|
37 | 57 | incur interpreter overhead.
|
38 | 58 |
|
| 59 | +Copyright 2001-2019 Python Software Foundation; All Rights Reserved |
39 | 60 |
|
40 |
| -* Author(s): Dave Astels |
| 61 | +* Author(s): The PSF and Dave Astels |
41 | 62 |
|
42 | 63 | Implementation Notes
|
43 | 64 | --------------------
|
|
0 commit comments