Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .cache/pip/http-v2/4/0/2/3/b/4023be7b5b37a7a4144c804ce69828082d4fb2a124d9d8aabc855da8 +0 -0
- .cache/pip/http-v2/4/2/f/8/a/42f8a0202dbbd3a131c6443d28a5b01775c53d41dec7e7928a8b5a4c +0 -0
- .cache/pip/http-v2/4/3/b/5/1/43b51859987aa489fca1045420773685b73ad992551f22d662919ecf +0 -0
- .cache/pip/http-v2/4/3/b/5/1/43b51859987aa489fca1045420773685b73ad992551f22d662919ecf.body +142 -0
- .cache/pip/http-v2/4/5/9/c/7/459c78bacdedb04c7e03d152081522ecf0ff46e1d14e7503997ea6c8 +0 -0
- .cache/pip/http-v2/4/9/0/f/6/490f6d7cd33219a4671ccf426e5cf1fb77b4a08820a91961cb0ae903.body +0 -0
- .cache/pip/http-v2/4/9/a/6/5/49a65ef51069b1954617f8b76476ce09dc41c9efac53f4d81e1f5cf3 +0 -0
- .cache/pip/http-v2/4/9/a/6/5/49a65ef51069b1954617f8b76476ce09dc41c9efac53f4d81e1f5cf3.body +0 -0
- .cache/pip/http-v2/4/d/f/a/e/4dfae04f17d427ebc4b6c05d97151b6b499fbc86608df73928edd551 +0 -0
- .cache/pip/http-v2/4/f/d/2/5/4fd254dbd56deb4021e55d22c4b489f6c776c69c316eb7345bc91691 +0 -0
- .cache/pip/http-v2/5/2/9/d/8/529d899ead0a44e9413c02620d856780368c083eff8bf2466e326011.body +80 -0
- .cache/pip/http-v2/6/0/1/a/a/601aa27698da49f5bed3bc91bb41d8245b8316b66bd86059ef3b929e +0 -0
- .cache/pip/http-v2/6/4/6/e/5/646e5ac002367fdec50dea7e9d47599302e4790e77000da2571c33e8 +0 -0
- .cache/pip/http-v2/6/4/6/e/5/646e5ac002367fdec50dea7e9d47599302e4790e77000da2571c33e8.body +0 -0
- .cache/pip/http-v2/6/5/0/7/2/65072c35290c429df2e84cb69eba045284d50944561efa156675456a.body +0 -0
- .cache/pip/http-v2/6/6/6/2/c/6662c3d76e9c2f7783002d2625d92517b2c4b994197bd6d5da887f1e +0 -0
- .cache/pip/http-v2/6/6/b/a/b/66bab8cde451822060c031dc988659e1fe4348c71c2fbd112ca75eca.body +0 -0
- .cache/pip/http-v2/6/6/e/c/7/66ec76a7b6ed4081044f5c7821af293b63c17bc2ac523ff93d5ca7d5 +0 -0
- .cache/pip/http-v2/7/1/9/e/0/719e0feaf94b669c315daed4ef76501cc929d482e4315b25fd3b0082.body +303 -0
- .cache/pip/http-v2/7/c/c/b/9/7ccb994e5cb08d1aee93acb83ae5881083c4a349402f61c9f7d304f8.body +0 -0
- .cache/pip/http-v2/8/7/3/3/b/8733b40e52a573d98e55534434c69a8765ca0cd71166704a3188ddb3 +0 -0
- .cache/pip/http-v2/8/7/3/3/b/8733b40e52a573d98e55534434c69a8765ca0cd71166704a3188ddb3.body +0 -0
- .cache/pip/http-v2/8/7/9/e/a/879eab407895dd6690258943fd9ec2bee9d83a6d395dfe3e4bf6ce4f +0 -0
- .cache/pip/http-v2/8/8/b/8/b/88b8bfb8f1d620e081b2b226e7936019ed96f3fadbfbd878f24e6be7 +0 -0
- .cache/pip/http-v2/8/9/3/a/9/893a9178010858cecf72b523725b46ddedbe6c23406a020810080ab3 +0 -0
- .cache/pip/http-v2/8/9/8/0/7/8980772ed68d7fbcfe2ef2b3f1911b9bd45462ad1becf93269532743 +0 -0
- .cache/pip/http-v2/8/a/c/4/d/8ac4d14dc45e27d21da49fb515570b6f875b78707de9b08ce1088d1b.body +0 -0
- .cache/pip/http-v2/9/0/6/0/2/906021ae187f0ccdd5c41af1e90ae2b0172a87c0dd582ee801298a0a +0 -0
- .cache/pip/http-v2/9/0/6/0/2/906021ae187f0ccdd5c41af1e90ae2b0172a87c0dd582ee801298a0a.body +23 -0
- .cache/pip/http-v2/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6 +0 -0
- .cache/pip/http-v2/9/7/2/2/f/9722fb20e3ea9cc35611a7af210f3a3c5763e70a73b0619f2dce743f.body +0 -0
- .cache/pip/http-v2/9/9/f/7/9/99f799878c1ade5a849ceda38a7a829e613f01972290851ecf9cac7c +0 -0
- .cache/pip/http-v2/9/9/f/7/9/99f799878c1ade5a849ceda38a7a829e613f01972290851ecf9cac7c.body +353 -0
- .cache/pip/http-v2/9/d/1/3/8/9d13890696eb3fdc88f6d3e0b81ef7aaf507cc091e77477ac70eb7e0.body +110 -0
- .cache/pip/http-v2/9/d/f/1/e/9df1ee6c2e327fe1c6b83e310229ce0dc078eddefce5100826a82a16 +0 -0
- .cache/pip/http-v2/9/d/f/1/e/9df1ee6c2e327fe1c6b83e310229ce0dc078eddefce5100826a82a16.body +0 -0
- .cache/pip/http-v2/9/e/8/c/8/9e8c8c0496d6d3384d616902379ed05e07b6b1dba9673d70b5fef231 +0 -0
- .cache/pip/http-v2/9/f/e/d/0/9fed0241b6f6a060996284779065d8ed334b4bc0892996ee7a865868 +0 -0
- .cache/pip/http-v2/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a.body +0 -0
- .cache/pip/http-v2/a/6/6/7/4/a6674e44f8dbb270324765d1fb568b86858877aed299a2428f81e802.body +0 -0
- .cache/pip/http-v2/a/8/1/3/d/a813d38208b26d1643cfecf26bd5ddeb869c95933e4bf304b8f6f1bb +0 -0
- .cache/pip/http-v2/a/8/1/3/d/a813d38208b26d1643cfecf26bd5ddeb869c95933e4bf304b8f6f1bb.body +1573 -0
- .cache/pip/http-v2/a/b/7/2/8/ab7286aff652f0ea3cc68322991122267ea675cbb86a9b1ccfe4ace3.body +246 -0
- .cache/pip/http-v2/a/d/d/a/0/adda0d09993a4d832537ed4469a8f2cb66c41080cff81363449a6073 +0 -0
- .cache/pip/http-v2/a/d/d/a/0/adda0d09993a4d832537ed4469a8f2cb66c41080cff81363449a6073.body +218 -0
- .cache/pip/http-v2/a/d/e/c/9/adec97b9b98035179c2f2a0370fc49fcf626678705d2f38c1dcdafa7.body +0 -0
- .cache/pip/http-v2/a/e/1/3/6/ae1360498e2a7e78c3695d71a4132c94b805a9c41d71ad8f62ad998f +0 -0
- .cache/pip/http-v2/a/e/1/3/6/ae1360498e2a7e78c3695d71a4132c94b805a9c41d71ad8f62ad998f.body +0 -0
- .cache/pip/http-v2/a/e/7/a/2/ae7a241673cf118ca18eca030dc29d2715b1980127dd0e2949514433 +0 -0
- .cache/pip/http-v2/b/5/a/0/4/b5a044ce96235fe6a2a115d047b48c293a8674c0737b8c9b7a7a67a0 +0 -0
.cache/pip/http-v2/4/0/2/3/b/4023be7b5b37a7a4144c804ce69828082d4fb2a124d9d8aabc855da8
ADDED
Binary file (1.12 kB). View file
|
|
.cache/pip/http-v2/4/2/f/8/a/42f8a0202dbbd3a131c6443d28a5b01775c53d41dec7e7928a8b5a4c
ADDED
Binary file (1.2 kB). View file
|
|
.cache/pip/http-v2/4/3/b/5/1/43b51859987aa489fca1045420773685b73ad992551f22d662919ecf
ADDED
Binary file (1.17 kB). View file
|
|
.cache/pip/http-v2/4/3/b/5/1/43b51859987aa489fca1045420773685b73ad992551f22d662919ecf.body
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: jupyter-console
|
3 |
+
Version: 6.6.3
|
4 |
+
Summary: Jupyter terminal console
|
5 |
+
Project-URL: Homepage, https://jupyter.org
|
6 |
+
Author-email: Jupyter Development Team <[email protected]>
|
7 |
+
License: BSD 3-Clause License
|
8 |
+
|
9 |
+
- Copyright (c) 2001-2015, IPython Development Team
|
10 |
+
- Copyright (c) 2015-, Jupyter Development Team
|
11 |
+
|
12 |
+
All rights reserved.
|
13 |
+
|
14 |
+
Redistribution and use in source and binary forms, with or without
|
15 |
+
modification, are permitted provided that the following conditions are met:
|
16 |
+
|
17 |
+
1. Redistributions of source code must retain the above copyright notice, this
|
18 |
+
list of conditions and the following disclaimer.
|
19 |
+
|
20 |
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
21 |
+
this list of conditions and the following disclaimer in the documentation
|
22 |
+
and/or other materials provided with the distribution.
|
23 |
+
|
24 |
+
3. Neither the name of the copyright holder nor the names of its
|
25 |
+
contributors may be used to endorse or promote products derived from
|
26 |
+
this software without specific prior written permission.
|
27 |
+
|
28 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
29 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
30 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
31 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
32 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
33 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
34 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
35 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
36 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
37 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
38 |
+
License-File: LICENSE
|
39 |
+
Keywords: Interactive,Interpreter,Shell,Web
|
40 |
+
Classifier: Intended Audience :: Developers
|
41 |
+
Classifier: Intended Audience :: Science/Research
|
42 |
+
Classifier: Intended Audience :: System Administrators
|
43 |
+
Classifier: License :: OSI Approved :: BSD License
|
44 |
+
Classifier: Programming Language :: Python
|
45 |
+
Classifier: Programming Language :: Python :: 3
|
46 |
+
Classifier: Programming Language :: Python :: 3.7
|
47 |
+
Classifier: Programming Language :: Python :: 3.8
|
48 |
+
Classifier: Programming Language :: Python :: 3.9
|
49 |
+
Classifier: Programming Language :: Python :: 3.10
|
50 |
+
Classifier: Programming Language :: Python :: 3.11
|
51 |
+
Requires-Python: >=3.7
|
52 |
+
Requires-Dist: ipykernel>=6.14
|
53 |
+
Requires-Dist: ipython
|
54 |
+
Requires-Dist: jupyter-client>=7.0.0
|
55 |
+
Requires-Dist: jupyter-core!=5.0.*,>=4.12
|
56 |
+
Requires-Dist: prompt-toolkit>=3.0.30
|
57 |
+
Requires-Dist: pygments
|
58 |
+
Requires-Dist: pyzmq>=17
|
59 |
+
Requires-Dist: traitlets>=5.4
|
60 |
+
Provides-Extra: test
|
61 |
+
Requires-Dist: flaky; extra == 'test'
|
62 |
+
Requires-Dist: pexpect; extra == 'test'
|
63 |
+
Requires-Dist: pytest; extra == 'test'
|
64 |
+
Description-Content-Type: text/markdown
|
65 |
+
|
66 |
+
# Jupyter Console
|
67 |
+
[](https://travis-ci.org/jupyter/jupyter_console)
|
68 |
+
[](https://jupyter-console.readthedocs.io/en/latest/?badge=latest)
|
69 |
+
|
70 |
+
A terminal-based console frontend for Jupyter kernels.
|
71 |
+
This code is based on the single-process IPython terminal.
|
72 |
+
|
73 |
+
Install with pip:
|
74 |
+
|
75 |
+
pip install jupyter-console
|
76 |
+
|
77 |
+
Install with conda:
|
78 |
+
|
79 |
+
conda install -c conda-forge jupyter_console
|
80 |
+
|
81 |
+
Start:
|
82 |
+
|
83 |
+
jupyter console
|
84 |
+
|
85 |
+
Help:
|
86 |
+
|
87 |
+
jupyter console -h
|
88 |
+
|
89 |
+
Jupyter Console allows for console-based interaction with non-python
|
90 |
+
Jupyter kernels such as IJulia, IRKernel.
|
91 |
+
|
92 |
+
To start the console with a particular kernel, ask for it by name::
|
93 |
+
|
94 |
+
jupyter console --kernel=julia-0.4
|
95 |
+
|
96 |
+
A list of available kernels can be seen with::
|
97 |
+
|
98 |
+
jupyter kernelspec list
|
99 |
+
|
100 |
+
|
101 |
+
### Release build:
|
102 |
+
|
103 |
+
```bash
|
104 |
+
$ pip install pep517
|
105 |
+
$ python -m pep517.build .
|
106 |
+
```
|
107 |
+
|
108 |
+
|
109 |
+
## Resources
|
110 |
+
- [Project Jupyter website](https://jupyter.org)
|
111 |
+
- [Documentation for Jupyter Console](https://jupyter-console.readthedocs.io/en/latest/) [[PDF](https://media.readthedocs.org/pdf/jupyter-console/latest/jupyter-console.pdf)]
|
112 |
+
- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) [[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)]
|
113 |
+
- [Issues](https://github.com/jupyter/jupyter_console/issues)
|
114 |
+
- [Technical support - Jupyter Google Group](https://groups.google.com/forum/#!forum/jupyter)
|
115 |
+
|
116 |
+
## About the Jupyter Development Team
|
117 |
+
|
118 |
+
The Jupyter Development Team is the set of all contributors to the Jupyter project.
|
119 |
+
This includes all of the Jupyter subprojects.
|
120 |
+
|
121 |
+
The core team that coordinates development on GitHub can be found here:
|
122 |
+
https://github.com/jupyter/.
|
123 |
+
|
124 |
+
## Our Copyright Policy
|
125 |
+
|
126 |
+
Jupyter uses a shared copyright model. Each contributor maintains copyright
|
127 |
+
over their contributions to Jupyter. But, it is important to note that these
|
128 |
+
contributions are typically only changes to the repositories. Thus, the Jupyter
|
129 |
+
source code, in its entirety is not the copyright of any single person or
|
130 |
+
institution. Instead, it is the collective copyright of the entire Jupyter
|
131 |
+
Development Team. If individual contributors want to maintain a record of what
|
132 |
+
changes/contributions they have specific copyright on, they should indicate
|
133 |
+
their copyright in the commit message of the change, when they commit the
|
134 |
+
change to one of the Jupyter repositories.
|
135 |
+
|
136 |
+
With this in mind, the following banner should be used in any source code file
|
137 |
+
to indicate the copyright and license terms:
|
138 |
+
|
139 |
+
```
|
140 |
+
# Copyright (c) Jupyter Development Team.
|
141 |
+
# Distributed under the terms of the Modified BSD License.
|
142 |
+
```
|
.cache/pip/http-v2/4/5/9/c/7/459c78bacdedb04c7e03d152081522ecf0ff46e1d14e7503997ea6c8
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/4/9/0/f/6/490f6d7cd33219a4671ccf426e5cf1fb77b4a08820a91961cb0ae903.body
ADDED
Binary file (4.31 kB). View file
|
|
.cache/pip/http-v2/4/9/a/6/5/49a65ef51069b1954617f8b76476ce09dc41c9efac53f4d81e1f5cf3
ADDED
Binary file (1.81 kB). View file
|
|
.cache/pip/http-v2/4/9/a/6/5/49a65ef51069b1954617f8b76476ce09dc41c9efac53f4d81e1f5cf3.body
ADDED
Binary file (1.19 kB). View file
|
|
.cache/pip/http-v2/4/d/f/a/e/4dfae04f17d427ebc4b6c05d97151b6b499fbc86608df73928edd551
ADDED
Binary file (1.13 kB). View file
|
|
.cache/pip/http-v2/4/f/d/2/5/4fd254dbd56deb4021e55d22c4b489f6c776c69c316eb7345bc91691
ADDED
Binary file (1.11 kB). View file
|
|
.cache/pip/http-v2/5/2/9/d/8/529d899ead0a44e9413c02620d856780368c083eff8bf2466e326011.body
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: iniconfig
|
3 |
+
Version: 2.0.0
|
4 |
+
Summary: brain-dead simple config-ini parsing
|
5 |
+
Project-URL: Homepage, https://github.com/pytest-dev/iniconfig
|
6 |
+
Author-email: Ronny Pfannschmidt <[email protected]>, Holger Krekel <[email protected]>
|
7 |
+
License-Expression: MIT
|
8 |
+
License-File: LICENSE
|
9 |
+
Classifier: Development Status :: 4 - Beta
|
10 |
+
Classifier: Intended Audience :: Developers
|
11 |
+
Classifier: License :: OSI Approved :: MIT License
|
12 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
13 |
+
Classifier: Operating System :: Microsoft :: Windows
|
14 |
+
Classifier: Operating System :: POSIX
|
15 |
+
Classifier: Programming Language :: Python :: 3
|
16 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
17 |
+
Classifier: Programming Language :: Python :: 3.7
|
18 |
+
Classifier: Programming Language :: Python :: 3.8
|
19 |
+
Classifier: Programming Language :: Python :: 3.9
|
20 |
+
Classifier: Programming Language :: Python :: 3.10
|
21 |
+
Classifier: Programming Language :: Python :: 3.11
|
22 |
+
Classifier: Topic :: Software Development :: Libraries
|
23 |
+
Classifier: Topic :: Utilities
|
24 |
+
Requires-Python: >=3.7
|
25 |
+
Description-Content-Type: text/x-rst
|
26 |
+
|
27 |
+
iniconfig: brain-dead simple parsing of ini files
|
28 |
+
=======================================================
|
29 |
+
|
30 |
+
iniconfig is a small and simple INI-file parser module
|
31 |
+
having a unique set of features:
|
32 |
+
|
33 |
+
* maintains order of sections and entries
|
34 |
+
* supports multi-line values with or without line-continuations
|
35 |
+
* supports "#" comments everywhere
|
36 |
+
* raises errors with proper line-numbers
|
37 |
+
* no bells and whistles like automatic substitutions
|
38 |
+
* iniconfig raises an Error if two sections have the same name.
|
39 |
+
|
40 |
+
If you encounter issues or have feature wishes please report them to:
|
41 |
+
|
42 |
+
https://github.com/RonnyPfannschmidt/iniconfig/issues
|
43 |
+
|
44 |
+
Basic Example
|
45 |
+
===================================
|
46 |
+
|
47 |
+
If you have an ini file like this:
|
48 |
+
|
49 |
+
.. code-block:: ini
|
50 |
+
|
51 |
+
# content of example.ini
|
52 |
+
[section1] # comment
|
53 |
+
name1=value1 # comment
|
54 |
+
name1b=value1,value2 # comment
|
55 |
+
|
56 |
+
[section2]
|
57 |
+
name2=
|
58 |
+
line1
|
59 |
+
line2
|
60 |
+
|
61 |
+
then you can do:
|
62 |
+
|
63 |
+
.. code-block:: pycon
|
64 |
+
|
65 |
+
>>> import iniconfig
|
66 |
+
>>> ini = iniconfig.IniConfig("example.ini")
|
67 |
+
>>> ini['section1']['name1'] # raises KeyError if not exists
|
68 |
+
'value1'
|
69 |
+
>>> ini.get('section1', 'name1b', [], lambda x: x.split(","))
|
70 |
+
['value1', 'value2']
|
71 |
+
>>> ini.get('section1', 'notexist', [], lambda x: x.split(","))
|
72 |
+
[]
|
73 |
+
>>> [x.name for x in list(ini)]
|
74 |
+
['section1', 'section2']
|
75 |
+
>>> list(list(ini)[0].items())
|
76 |
+
[('name1', 'value1'), ('name1b', 'value1,value2')]
|
77 |
+
>>> 'section1' in ini
|
78 |
+
True
|
79 |
+
>>> 'inexistendsection' in ini
|
80 |
+
False
|
.cache/pip/http-v2/6/0/1/a/a/601aa27698da49f5bed3bc91bb41d8245b8316b66bd86059ef3b929e
ADDED
Binary file (1.19 kB). View file
|
|
.cache/pip/http-v2/6/4/6/e/5/646e5ac002367fdec50dea7e9d47599302e4790e77000da2571c33e8
ADDED
Binary file (1.11 kB). View file
|
|
.cache/pip/http-v2/6/4/6/e/5/646e5ac002367fdec50dea7e9d47599302e4790e77000da2571c33e8.body
ADDED
Binary file (116 kB). View file
|
|
.cache/pip/http-v2/6/5/0/7/2/65072c35290c429df2e84cb69eba045284d50944561efa156675456a.body
ADDED
Binary file (5.89 kB). View file
|
|
.cache/pip/http-v2/6/6/6/2/c/6662c3d76e9c2f7783002d2625d92517b2c4b994197bd6d5da887f1e
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/6/6/b/a/b/66bab8cde451822060c031dc988659e1fe4348c71c2fbd112ca75eca.body
ADDED
Binary file (7.74 kB). View file
|
|
.cache/pip/http-v2/6/6/e/c/7/66ec76a7b6ed4081044f5c7821af293b63c17bc2ac523ff93d5ca7d5
ADDED
Binary file (1.82 kB). View file
|
|
.cache/pip/http-v2/7/1/9/e/0/719e0feaf94b669c315daed4ef76501cc929d482e4315b25fd3b0082.body
ADDED
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: huggingface-hub
|
3 |
+
Version: 0.25.1
|
4 |
+
Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
|
5 |
+
Home-page: https://github.com/huggingface/huggingface_hub
|
6 |
+
Author: Hugging Face, Inc.
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: Apache
|
9 |
+
Keywords: model-hub machine-learning models natural-language-processing deep-learning pytorch pretrained-models
|
10 |
+
Platform: UNKNOWN
|
11 |
+
Classifier: Intended Audience :: Developers
|
12 |
+
Classifier: Intended Audience :: Education
|
13 |
+
Classifier: Intended Audience :: Science/Research
|
14 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
15 |
+
Classifier: Operating System :: OS Independent
|
16 |
+
Classifier: Programming Language :: Python :: 3
|
17 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
18 |
+
Classifier: Programming Language :: Python :: 3.8
|
19 |
+
Classifier: Programming Language :: Python :: 3.9
|
20 |
+
Classifier: Programming Language :: Python :: 3.10
|
21 |
+
Classifier: Programming Language :: Python :: 3.11
|
22 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
23 |
+
Requires-Python: >=3.8.0
|
24 |
+
Description-Content-Type: text/markdown
|
25 |
+
License-File: LICENSE
|
26 |
+
Requires-Dist: filelock
|
27 |
+
Requires-Dist: fsspec>=2023.5.0
|
28 |
+
Requires-Dist: packaging>=20.9
|
29 |
+
Requires-Dist: pyyaml>=5.1
|
30 |
+
Requires-Dist: requests
|
31 |
+
Requires-Dist: tqdm>=4.42.1
|
32 |
+
Requires-Dist: typing-extensions>=3.7.4.3
|
33 |
+
Provides-Extra: all
|
34 |
+
Requires-Dist: InquirerPy==0.3.4; extra == "all"
|
35 |
+
Requires-Dist: aiohttp; extra == "all"
|
36 |
+
Requires-Dist: minijinja>=1.0; extra == "all"
|
37 |
+
Requires-Dist: jedi; extra == "all"
|
38 |
+
Requires-Dist: Jinja2; extra == "all"
|
39 |
+
Requires-Dist: pytest<8.2.2,>=8.1.1; extra == "all"
|
40 |
+
Requires-Dist: pytest-cov; extra == "all"
|
41 |
+
Requires-Dist: pytest-env; extra == "all"
|
42 |
+
Requires-Dist: pytest-xdist; extra == "all"
|
43 |
+
Requires-Dist: pytest-vcr; extra == "all"
|
44 |
+
Requires-Dist: pytest-asyncio; extra == "all"
|
45 |
+
Requires-Dist: pytest-rerunfailures; extra == "all"
|
46 |
+
Requires-Dist: pytest-mock; extra == "all"
|
47 |
+
Requires-Dist: urllib3<2.0; extra == "all"
|
48 |
+
Requires-Dist: soundfile; extra == "all"
|
49 |
+
Requires-Dist: Pillow; extra == "all"
|
50 |
+
Requires-Dist: gradio; extra == "all"
|
51 |
+
Requires-Dist: numpy; extra == "all"
|
52 |
+
Requires-Dist: fastapi; extra == "all"
|
53 |
+
Requires-Dist: ruff>=0.5.0; extra == "all"
|
54 |
+
Requires-Dist: mypy==1.5.1; extra == "all"
|
55 |
+
Requires-Dist: typing-extensions>=4.8.0; extra == "all"
|
56 |
+
Requires-Dist: types-PyYAML; extra == "all"
|
57 |
+
Requires-Dist: types-requests; extra == "all"
|
58 |
+
Requires-Dist: types-simplejson; extra == "all"
|
59 |
+
Requires-Dist: types-toml; extra == "all"
|
60 |
+
Requires-Dist: types-tqdm; extra == "all"
|
61 |
+
Requires-Dist: types-urllib3; extra == "all"
|
62 |
+
Provides-Extra: cli
|
63 |
+
Requires-Dist: InquirerPy==0.3.4; extra == "cli"
|
64 |
+
Provides-Extra: dev
|
65 |
+
Requires-Dist: InquirerPy==0.3.4; extra == "dev"
|
66 |
+
Requires-Dist: aiohttp; extra == "dev"
|
67 |
+
Requires-Dist: minijinja>=1.0; extra == "dev"
|
68 |
+
Requires-Dist: jedi; extra == "dev"
|
69 |
+
Requires-Dist: Jinja2; extra == "dev"
|
70 |
+
Requires-Dist: pytest<8.2.2,>=8.1.1; extra == "dev"
|
71 |
+
Requires-Dist: pytest-cov; extra == "dev"
|
72 |
+
Requires-Dist: pytest-env; extra == "dev"
|
73 |
+
Requires-Dist: pytest-xdist; extra == "dev"
|
74 |
+
Requires-Dist: pytest-vcr; extra == "dev"
|
75 |
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
76 |
+
Requires-Dist: pytest-rerunfailures; extra == "dev"
|
77 |
+
Requires-Dist: pytest-mock; extra == "dev"
|
78 |
+
Requires-Dist: urllib3<2.0; extra == "dev"
|
79 |
+
Requires-Dist: soundfile; extra == "dev"
|
80 |
+
Requires-Dist: Pillow; extra == "dev"
|
81 |
+
Requires-Dist: gradio; extra == "dev"
|
82 |
+
Requires-Dist: numpy; extra == "dev"
|
83 |
+
Requires-Dist: fastapi; extra == "dev"
|
84 |
+
Requires-Dist: ruff>=0.5.0; extra == "dev"
|
85 |
+
Requires-Dist: mypy==1.5.1; extra == "dev"
|
86 |
+
Requires-Dist: typing-extensions>=4.8.0; extra == "dev"
|
87 |
+
Requires-Dist: types-PyYAML; extra == "dev"
|
88 |
+
Requires-Dist: types-requests; extra == "dev"
|
89 |
+
Requires-Dist: types-simplejson; extra == "dev"
|
90 |
+
Requires-Dist: types-toml; extra == "dev"
|
91 |
+
Requires-Dist: types-tqdm; extra == "dev"
|
92 |
+
Requires-Dist: types-urllib3; extra == "dev"
|
93 |
+
Provides-Extra: fastai
|
94 |
+
Requires-Dist: toml; extra == "fastai"
|
95 |
+
Requires-Dist: fastai>=2.4; extra == "fastai"
|
96 |
+
Requires-Dist: fastcore>=1.3.27; extra == "fastai"
|
97 |
+
Provides-Extra: hf_transfer
|
98 |
+
Requires-Dist: hf-transfer>=0.1.4; extra == "hf-transfer"
|
99 |
+
Provides-Extra: inference
|
100 |
+
Requires-Dist: aiohttp; extra == "inference"
|
101 |
+
Requires-Dist: minijinja>=1.0; extra == "inference"
|
102 |
+
Provides-Extra: quality
|
103 |
+
Requires-Dist: ruff>=0.5.0; extra == "quality"
|
104 |
+
Requires-Dist: mypy==1.5.1; extra == "quality"
|
105 |
+
Provides-Extra: tensorflow
|
106 |
+
Requires-Dist: tensorflow; extra == "tensorflow"
|
107 |
+
Requires-Dist: pydot; extra == "tensorflow"
|
108 |
+
Requires-Dist: graphviz; extra == "tensorflow"
|
109 |
+
Provides-Extra: tensorflow-testing
|
110 |
+
Requires-Dist: tensorflow; extra == "tensorflow-testing"
|
111 |
+
Requires-Dist: keras<3.0; extra == "tensorflow-testing"
|
112 |
+
Provides-Extra: testing
|
113 |
+
Requires-Dist: InquirerPy==0.3.4; extra == "testing"
|
114 |
+
Requires-Dist: aiohttp; extra == "testing"
|
115 |
+
Requires-Dist: minijinja>=1.0; extra == "testing"
|
116 |
+
Requires-Dist: jedi; extra == "testing"
|
117 |
+
Requires-Dist: Jinja2; extra == "testing"
|
118 |
+
Requires-Dist: pytest<8.2.2,>=8.1.1; extra == "testing"
|
119 |
+
Requires-Dist: pytest-cov; extra == "testing"
|
120 |
+
Requires-Dist: pytest-env; extra == "testing"
|
121 |
+
Requires-Dist: pytest-xdist; extra == "testing"
|
122 |
+
Requires-Dist: pytest-vcr; extra == "testing"
|
123 |
+
Requires-Dist: pytest-asyncio; extra == "testing"
|
124 |
+
Requires-Dist: pytest-rerunfailures; extra == "testing"
|
125 |
+
Requires-Dist: pytest-mock; extra == "testing"
|
126 |
+
Requires-Dist: urllib3<2.0; extra == "testing"
|
127 |
+
Requires-Dist: soundfile; extra == "testing"
|
128 |
+
Requires-Dist: Pillow; extra == "testing"
|
129 |
+
Requires-Dist: gradio; extra == "testing"
|
130 |
+
Requires-Dist: numpy; extra == "testing"
|
131 |
+
Requires-Dist: fastapi; extra == "testing"
|
132 |
+
Provides-Extra: torch
|
133 |
+
Requires-Dist: torch; extra == "torch"
|
134 |
+
Requires-Dist: safetensors[torch]; extra == "torch"
|
135 |
+
Provides-Extra: typing
|
136 |
+
Requires-Dist: typing-extensions>=4.8.0; extra == "typing"
|
137 |
+
Requires-Dist: types-PyYAML; extra == "typing"
|
138 |
+
Requires-Dist: types-requests; extra == "typing"
|
139 |
+
Requires-Dist: types-simplejson; extra == "typing"
|
140 |
+
Requires-Dist: types-toml; extra == "typing"
|
141 |
+
Requires-Dist: types-tqdm; extra == "typing"
|
142 |
+
Requires-Dist: types-urllib3; extra == "typing"
|
143 |
+
|
144 |
+
<p align="center">
|
145 |
+
<br/>
|
146 |
+
<img alt="huggingface_hub library logo" src="https://huggingface.co/datasets/huggingface/documentation-images/raw/main/huggingface_hub.svg" width="376" height="59" style="max-width: 100%;">
|
147 |
+
<br/>
|
148 |
+
</p>
|
149 |
+
|
150 |
+
<p align="center">
|
151 |
+
<i>The official Python client for the Huggingface Hub.</i>
|
152 |
+
</p>
|
153 |
+
|
154 |
+
<p align="center">
|
155 |
+
<a href="https://huggingface.co/docs/huggingface_hub/en/index"><img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/huggingface_hub/index.svg?down_color=red&down_message=offline&up_message=online&label=doc"></a>
|
156 |
+
<a href="https://github.com/huggingface/huggingface_hub/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/huggingface_hub.svg"></a>
|
157 |
+
<a href="https://github.com/huggingface/huggingface_hub"><img alt="PyPi version" src="https://img.shields.io/pypi/pyversions/huggingface_hub.svg"></a>
|
158 |
+
<a href="https://pypi.org/project/huggingface-hub"><img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/huggingface_hub"></a>
|
159 |
+
<a href="https://codecov.io/gh/huggingface/huggingface_hub"><img alt="Code coverage" src="https://codecov.io/gh/huggingface/huggingface_hub/branch/main/graph/badge.svg?token=RXP95LE2XL"></a>
|
160 |
+
</p>
|
161 |
+
|
162 |
+
<h4 align="center">
|
163 |
+
<p>
|
164 |
+
<b>English</b> |
|
165 |
+
<a href="https://github.com/huggingface/huggingface_hub/blob/main/README_de.md">Deutsch</a> |
|
166 |
+
<a href="https://github.com/huggingface/huggingface_hub/blob/main/README_hi.md">हिंदी</a> |
|
167 |
+
<a href="https://github.com/huggingface/huggingface_hub/blob/main/README_ko.md">한국어</a> |
|
168 |
+
<a href="https://github.com/huggingface/huggingface_hub/blob/main/README_cn.md">中文(简体)</a>
|
169 |
+
<p>
|
170 |
+
</h4>
|
171 |
+
|
172 |
+
---
|
173 |
+
|
174 |
+
**Documentation**: <a href="https://hf.co/docs/huggingface_hub" target="_blank">https://hf.co/docs/huggingface_hub</a>
|
175 |
+
|
176 |
+
**Source Code**: <a href="https://github.com/huggingface/huggingface_hub" target="_blank">https://github.com/huggingface/huggingface_hub</a>
|
177 |
+
|
178 |
+
---
|
179 |
+
|
180 |
+
## Welcome to the huggingface_hub library
|
181 |
+
|
182 |
+
The `huggingface_hub` library allows you to interact with the [Hugging Face Hub](https://huggingface.co/), a platform democratizing open-source Machine Learning for creators and collaborators. Discover pre-trained models and datasets for your projects or play with the thousands of machine learning apps hosted on the Hub. You can also create and share your own models, datasets and demos with the community. The `huggingface_hub` library provides a simple way to do all these things with Python.
|
183 |
+
|
184 |
+
## Key features
|
185 |
+
|
186 |
+
- [Download files](https://huggingface.co/docs/huggingface_hub/en/guides/download) from the Hub.
|
187 |
+
- [Upload files](https://huggingface.co/docs/huggingface_hub/en/guides/upload) to the Hub.
|
188 |
+
- [Manage your repositories](https://huggingface.co/docs/huggingface_hub/en/guides/repository).
|
189 |
+
- [Run Inference](https://huggingface.co/docs/huggingface_hub/en/guides/inference) on deployed models.
|
190 |
+
- [Search](https://huggingface.co/docs/huggingface_hub/en/guides/search) for models, datasets and Spaces.
|
191 |
+
- [Share Model Cards](https://huggingface.co/docs/huggingface_hub/en/guides/model-cards) to document your models.
|
192 |
+
- [Engage with the community](https://huggingface.co/docs/huggingface_hub/en/guides/community) through PRs and comments.
|
193 |
+
|
194 |
+
## Installation
|
195 |
+
|
196 |
+
Install the `huggingface_hub` package with [pip](https://pypi.org/project/huggingface-hub/):
|
197 |
+
|
198 |
+
```bash
|
199 |
+
pip install huggingface_hub
|
200 |
+
```
|
201 |
+
|
202 |
+
If you prefer, you can also install it with [conda](https://huggingface.co/docs/huggingface_hub/en/installation#install-with-conda).
|
203 |
+
|
204 |
+
In order to keep the package minimal by default, `huggingface_hub` comes with optional dependencies useful for some use cases. For example, if you want have a complete experience for Inference, run:
|
205 |
+
|
206 |
+
```bash
|
207 |
+
pip install huggingface_hub[inference]
|
208 |
+
```
|
209 |
+
|
210 |
+
To learn more installation and optional dependencies, check out the [installation guide](https://huggingface.co/docs/huggingface_hub/en/installation).
|
211 |
+
|
212 |
+
## Quick start
|
213 |
+
|
214 |
+
### Download files
|
215 |
+
|
216 |
+
Download a single file
|
217 |
+
|
218 |
+
```py
|
219 |
+
from huggingface_hub import hf_hub_download
|
220 |
+
|
221 |
+
hf_hub_download(repo_id="tiiuae/falcon-7b-instruct", filename="config.json")
|
222 |
+
```
|
223 |
+
|
224 |
+
Or an entire repository
|
225 |
+
|
226 |
+
```py
|
227 |
+
from huggingface_hub import snapshot_download
|
228 |
+
|
229 |
+
snapshot_download("stabilityai/stable-diffusion-2-1")
|
230 |
+
```
|
231 |
+
|
232 |
+
Files will be downloaded in a local cache folder. More details in [this guide](https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache).
|
233 |
+
|
234 |
+
### Login
|
235 |
+
|
236 |
+
The Hugging Face Hub uses tokens to authenticate applications (see [docs](https://huggingface.co/docs/hub/security-tokens)). To log in your machine, run the following CLI:
|
237 |
+
|
238 |
+
```bash
|
239 |
+
huggingface-cli login
|
240 |
+
# or using an environment variable
|
241 |
+
huggingface-cli login --token $HUGGINGFACE_TOKEN
|
242 |
+
```
|
243 |
+
|
244 |
+
### Create a repository
|
245 |
+
|
246 |
+
```py
|
247 |
+
from huggingface_hub import create_repo
|
248 |
+
|
249 |
+
create_repo(repo_id="super-cool-model")
|
250 |
+
```
|
251 |
+
|
252 |
+
### Upload files
|
253 |
+
|
254 |
+
Upload a single file
|
255 |
+
|
256 |
+
```py
|
257 |
+
from huggingface_hub import upload_file
|
258 |
+
|
259 |
+
upload_file(
|
260 |
+
path_or_fileobj="/home/lysandre/dummy-test/README.md",
|
261 |
+
path_in_repo="README.md",
|
262 |
+
repo_id="lysandre/test-model",
|
263 |
+
)
|
264 |
+
```
|
265 |
+
|
266 |
+
Or an entire folder
|
267 |
+
|
268 |
+
```py
|
269 |
+
from huggingface_hub import upload_folder
|
270 |
+
|
271 |
+
upload_folder(
|
272 |
+
folder_path="/path/to/local/space",
|
273 |
+
repo_id="username/my-cool-space",
|
274 |
+
repo_type="space",
|
275 |
+
)
|
276 |
+
```
|
277 |
+
|
278 |
+
For details in the [upload guide](https://huggingface.co/docs/huggingface_hub/en/guides/upload).
|
279 |
+
|
280 |
+
## Integrating to the Hub.
|
281 |
+
|
282 |
+
We're partnering with cool open source ML libraries to provide free model hosting and versioning. You can find the existing integrations [here](https://huggingface.co/docs/hub/libraries).
|
283 |
+
|
284 |
+
The advantages are:
|
285 |
+
|
286 |
+
- Free model or dataset hosting for libraries and their users.
|
287 |
+
- Built-in file versioning, even with very large files, thanks to a git-based approach.
|
288 |
+
- Serverless inference API for all models publicly available.
|
289 |
+
- In-browser widgets to play with the uploaded models.
|
290 |
+
- Anyone can upload a new model for your library, they just need to add the corresponding tag for the model to be discoverable.
|
291 |
+
- Fast downloads! We use Cloudfront (a CDN) to geo-replicate downloads so they're blazing fast from anywhere on the globe.
|
292 |
+
- Usage stats and more features to come.
|
293 |
+
|
294 |
+
If you would like to integrate your library, feel free to open an issue to begin the discussion. We wrote a [step-by-step guide](https://huggingface.co/docs/hub/adding-a-library) with ❤️ showing how to do this integration.
|
295 |
+
|
296 |
+
## Contributions (feature requests, bugs, etc.) are super welcome 💙💚💛💜🧡❤️
|
297 |
+
|
298 |
+
Everyone is welcome to contribute, and we value everybody's contribution. Code is not the only way to help the community.
|
299 |
+
Answering questions, helping others, reaching out and improving the documentations are immensely valuable to the community.
|
300 |
+
We wrote a [contribution guide](https://github.com/huggingface/huggingface_hub/blob/main/CONTRIBUTING.md) to summarize
|
301 |
+
how to get started to contribute to this repository.
|
302 |
+
|
303 |
+
|
.cache/pip/http-v2/7/c/c/b/9/7ccb994e5cb08d1aee93acb83ae5881083c4a349402f61c9f7d304f8.body
ADDED
Binary file (4.37 kB). View file
|
|
.cache/pip/http-v2/8/7/3/3/b/8733b40e52a573d98e55534434c69a8765ca0cd71166704a3188ddb3
ADDED
Binary file (1.2 kB). View file
|
|
.cache/pip/http-v2/8/7/3/3/b/8733b40e52a573d98e55534434c69a8765ca0cd71166704a3188ddb3.body
ADDED
Binary file (8.98 kB). View file
|
|
.cache/pip/http-v2/8/7/9/e/a/879eab407895dd6690258943fd9ec2bee9d83a6d395dfe3e4bf6ce4f
ADDED
Binary file (1.16 kB). View file
|
|
.cache/pip/http-v2/8/8/b/8/b/88b8bfb8f1d620e081b2b226e7936019ed96f3fadbfbd878f24e6be7
ADDED
Binary file (1.2 kB). View file
|
|
.cache/pip/http-v2/8/9/3/a/9/893a9178010858cecf72b523725b46ddedbe6c23406a020810080ab3
ADDED
Binary file (1.81 kB). View file
|
|
.cache/pip/http-v2/8/9/8/0/7/8980772ed68d7fbcfe2ef2b3f1911b9bd45462ad1becf93269532743
ADDED
Binary file (1.11 kB). View file
|
|
.cache/pip/http-v2/8/a/c/4/d/8ac4d14dc45e27d21da49fb515570b6f875b78707de9b08ce1088d1b.body
ADDED
Binary file (14.1 kB). View file
|
|
.cache/pip/http-v2/9/0/6/0/2/906021ae187f0ccdd5c41af1e90ae2b0172a87c0dd582ee801298a0a
ADDED
Binary file (1.16 kB). View file
|
|
.cache/pip/http-v2/9/0/6/0/2/906021ae187f0ccdd5c41af1e90ae2b0172a87c0dd582ee801298a0a.body
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.0
|
2 |
+
Name: nbzip
|
3 |
+
Version: 0.1.0
|
4 |
+
Summary: Compresses and downloads all files in any of the user's directories.
|
5 |
+
Home-page: https://github.com/data-8/nbzip
|
6 |
+
Author: Data 8 @ UC Berkeley
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: UNKNOWN
|
9 |
+
Platform: UNKNOWN
|
10 |
+
Classifier: Development Status :: 4 - Beta
|
11 |
+
Classifier: License :: OSI Approved :: BSD License
|
12 |
+
Classifier: Operating System :: POSIX
|
13 |
+
Classifier: Operating System :: MacOS
|
14 |
+
Classifier: Operating System :: Unix
|
15 |
+
Classifier: Programming Language :: Python :: 3
|
16 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
17 |
+
Classifier: Framework :: Jupyter
|
18 |
+
Requires-Dist: notebook
|
19 |
+
Requires-Dist: pytest
|
20 |
+
|
21 |
+
UNKNOWN
|
22 |
+
|
23 |
+
|
.cache/pip/http-v2/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6
ADDED
Binary file (1.81 kB). View file
|
|
.cache/pip/http-v2/9/7/2/2/f/9722fb20e3ea9cc35611a7af210f3a3c5763e70a73b0619f2dce743f.body
ADDED
Binary file (7.62 kB). View file
|
|
.cache/pip/http-v2/9/9/f/7/9/99f799878c1ade5a849ceda38a7a829e613f01972290851ecf9cac7c
ADDED
Binary file (1.2 kB). View file
|
|
.cache/pip/http-v2/9/9/f/7/9/99f799878c1ade5a849ceda38a7a829e613f01972290851ecf9cac7c.body
ADDED
@@ -0,0 +1,353 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: setproctitle
|
3 |
+
Version: 1.3.3
|
4 |
+
Summary: A Python module to customize the process title
|
5 |
+
Home-page: https://github.com/dvarrazzo/py-setproctitle
|
6 |
+
Download-URL: http://pypi.python.org/pypi/setproctitle/
|
7 |
+
Author: Daniele Varrazzo
|
8 |
+
Author-email: [email protected]
|
9 |
+
License: BSD-3-Clause
|
10 |
+
Platform: GNU/Linux
|
11 |
+
Platform: BSD
|
12 |
+
Platform: MacOS X
|
13 |
+
Platform: Windows
|
14 |
+
Classifier: Development Status :: 5 - Production/Stable
|
15 |
+
Classifier: Intended Audience :: Developers
|
16 |
+
Classifier: License :: OSI Approved :: BSD License
|
17 |
+
Classifier: Programming Language :: C
|
18 |
+
Classifier: Programming Language :: Python :: 3
|
19 |
+
Classifier: Programming Language :: Python :: 3.7
|
20 |
+
Classifier: Programming Language :: Python :: 3.8
|
21 |
+
Classifier: Programming Language :: Python :: 3.9
|
22 |
+
Classifier: Programming Language :: Python :: 3.10
|
23 |
+
Classifier: Programming Language :: Python :: 3.11
|
24 |
+
Classifier: Programming Language :: Python :: 3.12
|
25 |
+
Classifier: Operating System :: POSIX :: Linux
|
26 |
+
Classifier: Operating System :: POSIX :: BSD
|
27 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
28 |
+
Classifier: Operating System :: Microsoft :: Windows
|
29 |
+
Classifier: Topic :: Software Development
|
30 |
+
Requires-Python: >=3.7
|
31 |
+
Description-Content-Type: text/x-rst
|
32 |
+
Provides-Extra: test
|
33 |
+
Requires-Dist: pytest ; extra == 'test'
|
34 |
+
|
35 |
+
A Python module to customize the process title
|
36 |
+
==============================================
|
37 |
+
|
38 |
+
.. image:: https://github.com/dvarrazzo/py-setproctitle/workflows/Tests/badge.svg
|
39 |
+
:target: https://github.com/dvarrazzo/py-setproctitle/actions?query=workflow%3ATests
|
40 |
+
:alt: Tests
|
41 |
+
|
42 |
+
:author: Daniele Varrazzo
|
43 |
+
|
44 |
+
The ``setproctitle`` module allows a process to change its title (as displayed
|
45 |
+
by system tools such as ``ps``, ``top`` or MacOS Activity Monitor).
|
46 |
+
|
47 |
+
Changing the title is mostly useful in multi-process systems, for example
|
48 |
+
when a master process is forked: changing the children's title allows to
|
49 |
+
identify the task each process is busy with. The technique is used by
|
50 |
+
PostgreSQL_ and the `OpenSSH Server`_ for example.
|
51 |
+
|
52 |
+
The procedure is hardly portable across different systems. PostgreSQL provides
|
53 |
+
a good `multi-platform implementation`__: this package was born as a wrapper
|
54 |
+
around PostgreSQL code.
|
55 |
+
|
56 |
+
- `Homepage <https://github.com/dvarrazzo/py-setproctitle>`__
|
57 |
+
- `Download <http://pypi.python.org/pypi/setproctitle/>`__
|
58 |
+
- `Bug tracker <https://github.com/dvarrazzo/py-setproctitle/issues>`__
|
59 |
+
|
60 |
+
|
61 |
+
.. _PostgreSQL: http://www.postgresql.org
|
62 |
+
.. _OpenSSH Server: http://www.openssh.com/
|
63 |
+
.. __: http://doxygen.postgresql.org/ps__status_8c_source.html
|
64 |
+
|
65 |
+
|
66 |
+
Installation
|
67 |
+
------------
|
68 |
+
|
69 |
+
``setproctitle`` is a C extension: in order to build it you will need a C
|
70 |
+
compiler and the Python development support (the ``python-dev`` or
|
71 |
+
``python3-dev`` package in most Linux distributions). No further external
|
72 |
+
dependencies are required.
|
73 |
+
|
74 |
+
You can use ``pip`` to install the module::
|
75 |
+
|
76 |
+
pip install setproctitle
|
77 |
+
|
78 |
+
You can use ``pip -t`` or ``virtualenv`` for local installations, ``sudo pip``
|
79 |
+
for a system-wide one... the usual stuff. Read pip_ or virtualenv_ docs for
|
80 |
+
all the details.
|
81 |
+
|
82 |
+
.. _pip: https://pip.readthedocs.org/
|
83 |
+
.. _virtualenv: https://virtualenv.readthedocs.org/
|
84 |
+
|
85 |
+
|
86 |
+
Usage
|
87 |
+
-----
|
88 |
+
|
89 |
+
.. note::
|
90 |
+
You should import and use the module (even just calling ``getproctitle()``)
|
91 |
+
pretty early in your program lifetime: code writing env vars `may
|
92 |
+
interfere`__ with the module initialisation.
|
93 |
+
|
94 |
+
.. __: https://github.com/dvarrazzo/py-setproctitle/issues/42
|
95 |
+
|
96 |
+
|
97 |
+
The ``setproctitle`` module exports the following functions:
|
98 |
+
|
99 |
+
``setproctitle(title)``
|
100 |
+
Set *title* as the title for the current process.
|
101 |
+
|
102 |
+
``getproctitle()``
|
103 |
+
Return the current process title.
|
104 |
+
|
105 |
+
The process title is usually visible in files such as ``/proc/PID/cmdline``,
|
106 |
+
``/proc/PID/status``, ``/proc/PID/comm``, depending on the operating system
|
107 |
+
and kernel version. These information are used by user-space tools such as
|
108 |
+
``ps`` and ``top``.
|
109 |
+
|
110 |
+
|
111 |
+
``setthreadtitle(title)``
|
112 |
+
Set *title* as the title for the current thread.
|
113 |
+
|
114 |
+
``getthreadtitle()``
|
115 |
+
Get the current thread title.
|
116 |
+
|
117 |
+
The thread title is exposed by some operating systems as the file
|
118 |
+
``/proc/PID/task/TID/comm``, which is used by certain tools such as ``htop``.
|
119 |
+
|
120 |
+
|
121 |
+
Environment variables
|
122 |
+
~~~~~~~~~~~~~~~~~~~~~
|
123 |
+
|
124 |
+
A few environment variables can be used to customize the module behavior:
|
125 |
+
|
126 |
+
``SPT_NOENV``
|
127 |
+
Avoid clobbering ``/proc/PID/environ``.
|
128 |
+
|
129 |
+
On many platforms, setting the process title will clobber the
|
130 |
+
``environ`` memory area. ``os.environ`` will work as expected from within
|
131 |
+
the Python process, but the content of the file ``/proc/PID/environ`` will
|
132 |
+
be overwritten. If you require this file not to be broken you can set the
|
133 |
+
``SPT_NOENV`` environment variable to any non-empty value: in this case
|
134 |
+
the maximum length for the title will be limited to the length of the
|
135 |
+
command line.
|
136 |
+
|
137 |
+
``SPT_DEBUG``
|
138 |
+
Print debug information on ``stderr``.
|
139 |
+
|
140 |
+
If the module doesn't work as expected you can set this variable to a
|
141 |
+
non-empty value to generate information useful for debugging. Note that
|
142 |
+
the most useful information is printed when the module is imported, not
|
143 |
+
when the functions are called.
|
144 |
+
|
145 |
+
|
146 |
+
Module status
|
147 |
+
-------------
|
148 |
+
|
149 |
+
The module can be currently compiled and effectively used on the following
|
150 |
+
platforms:
|
151 |
+
|
152 |
+
- GNU/Linux
|
153 |
+
- BSD
|
154 |
+
- MacOS X
|
155 |
+
- Windows
|
156 |
+
|
157 |
+
Note that on Windows there is no way to change the process string:
|
158 |
+
what the module does is to create a *Named Object* whose value can be read
|
159 |
+
using a tool such as `Process Explorer`_ (contribution of a more useful tool
|
160 |
+
to be used together with ``setproctitle`` would be well accepted).
|
161 |
+
|
162 |
+
The module can probably work on HP-UX, but I haven't found any to test with.
|
163 |
+
It is unlikely that it can work on Solaris instead.
|
164 |
+
|
165 |
+
.. _Process Explorer: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
|
166 |
+
|
167 |
+
Releases history
|
168 |
+
----------------
|
169 |
+
|
170 |
+
Version 1.3.2
|
171 |
+
-------------
|
172 |
+
|
173 |
+
- Restore import-time initialization of macOS to avoid crash on thread+fork
|
174 |
+
(issue #113).
|
175 |
+
|
176 |
+
|
177 |
+
Version 1.3.1
|
178 |
+
-------------
|
179 |
+
|
180 |
+
- Fixed segfault on macOS 12.5 in forked processes (issue #111).
|
181 |
+
Note that, as a workaround, Activity Monitor will show the title of the
|
182 |
+
parent.
|
183 |
+
|
184 |
+
|
185 |
+
Version 1.3.0
|
186 |
+
-------------
|
187 |
+
|
188 |
+
- Added fallback no-op implementation if building the extension fails.
|
189 |
+
- Added support for displaying title as the process name in MacOS Activity
|
190 |
+
Monitor (issue #10).
|
191 |
+
- Fixed "Symbol not found: _Py_GetArgcArgv" error when using Xcode provided
|
192 |
+
Python (issues #82, #103).
|
193 |
+
- Fixed FreeBSD support, broken in 1.2 (issue #94).
|
194 |
+
- Added package type annotations (issue #101).
|
195 |
+
- Dropped support for Python 3.6.
|
196 |
+
|
197 |
+
|
198 |
+
Version 1.2.3
|
199 |
+
-------------
|
200 |
+
|
201 |
+
- Added Python 3.10 packages (issue #102).
|
202 |
+
- Added Wheel packages for macOS (issue #96).
|
203 |
+
- Package build moved to cibuildwheel, other wheels provided (issue #47).
|
204 |
+
|
205 |
+
|
206 |
+
Version 1.2.2
|
207 |
+
-------------
|
208 |
+
|
209 |
+
- Fixed Windows build (issues #89, #90).
|
210 |
+
- Added wheel packages for Windows (issues #47, #90).
|
211 |
+
- Added wheel packages for aarch64 (issue #95).
|
212 |
+
|
213 |
+
|
214 |
+
Version 1.2.1
|
215 |
+
-------------
|
216 |
+
|
217 |
+
- Fixed segfault after ``os.environ.clear()`` (issue #88).
|
218 |
+
|
219 |
+
|
220 |
+
Version 1.2
|
221 |
+
~~~~~~~~~~~
|
222 |
+
|
223 |
+
- added ``getthreadtitle()`` and ``setthreadtitle()``.
|
224 |
+
- Initialisation of the module moved to the first usage: importing the module
|
225 |
+
doesn't cause side effects.
|
226 |
+
- Manage much longer command lines (issue #52)
|
227 |
+
- Improved build on BSD, dropped ancient versions (issue #67).
|
228 |
+
- Fixed build for Python 3.8 (issues #66, #72)
|
229 |
+
- Added support for Python 3.9
|
230 |
+
- Dropped support for Python < 3.6
|
231 |
+
|
232 |
+
|
233 |
+
Version 1.1.10
|
234 |
+
~~~~~~~~~~~~~~
|
235 |
+
|
236 |
+
- Fixed building with certain ``prctl.h`` implementations (issue #44).
|
237 |
+
- Use ``setuptools`` if available (issue #48).
|
238 |
+
|
239 |
+
|
240 |
+
Version 1.1.9
|
241 |
+
~~~~~~~~~~~~~
|
242 |
+
|
243 |
+
- Fixed build on VC (issues #20, #33).
|
244 |
+
- Added ``MANIFEST.in`` to the source distribution to help with RPM building
|
245 |
+
(issue #30).
|
246 |
+
|
247 |
+
|
248 |
+
Version 1.1.8
|
249 |
+
~~~~~~~~~~~~~
|
250 |
+
|
251 |
+
- Added support for Python "diehard" 2.4 (pull request #3).
|
252 |
+
- Fixed build on Mac OS X 10.9 Maverick (issue #27).
|
253 |
+
|
254 |
+
|
255 |
+
Version 1.1.7
|
256 |
+
~~~~~~~~~~~~~
|
257 |
+
|
258 |
+
- Added PyPy support, courtesy of Ozan Turksever - http://www.logsign.net
|
259 |
+
(pull request #2).
|
260 |
+
|
261 |
+
|
262 |
+
Version 1.1.6
|
263 |
+
~~~~~~~~~~~~~
|
264 |
+
|
265 |
+
- The module can be compiled again on Windows (issue #21).
|
266 |
+
|
267 |
+
|
268 |
+
Version 1.1.5
|
269 |
+
~~~~~~~~~~~~~
|
270 |
+
|
271 |
+
- No module bug, but a packaging issue: files ``README`` and ``HISTORY``
|
272 |
+
added back into the distribution.
|
273 |
+
|
274 |
+
|
275 |
+
Version 1.1.4
|
276 |
+
~~~~~~~~~~~~~
|
277 |
+
|
278 |
+
- The module works correctly in embedded Python.
|
279 |
+
- ``setproctitle()`` accepts a keyword argument.
|
280 |
+
- Debug output support always compiled in: the variable ``SPT_DEBUG`` can be
|
281 |
+
used to emit debug log.
|
282 |
+
|
283 |
+
|
284 |
+
Version 1.1.3
|
285 |
+
~~~~~~~~~~~~~
|
286 |
+
|
287 |
+
- Don't clobber environ if the variable ``SPT_NOENV`` is set (issue #16).
|
288 |
+
|
289 |
+
|
290 |
+
Version 1.1.2
|
291 |
+
~~~~~~~~~~~~~
|
292 |
+
|
293 |
+
- Find the setproctitle include file on OpenBSD (issue #11).
|
294 |
+
- Skip test with unicode if the file system encoding wouldn't make it pass
|
295 |
+
(issue #13).
|
296 |
+
|
297 |
+
|
298 |
+
Version 1.1.1
|
299 |
+
~~~~~~~~~~~~~
|
300 |
+
|
301 |
+
- Fixed segfault when the module is imported under mod_wsgi (issue #9).
|
302 |
+
|
303 |
+
|
304 |
+
Version 1.1
|
305 |
+
~~~~~~~~~~~
|
306 |
+
|
307 |
+
- The module works correctly with Python 3.
|
308 |
+
|
309 |
+
|
310 |
+
Version 1.0.1
|
311 |
+
~~~~~~~~~~~~~
|
312 |
+
|
313 |
+
- ``setproctitle()`` works even when Python messes up with argv, e.g. when run
|
314 |
+
with the -m option (issue #8).
|
315 |
+
|
316 |
+
|
317 |
+
Version 1.0
|
318 |
+
~~~~~~~~~~~
|
319 |
+
|
320 |
+
No major change since the previous version. The module has been heavily used
|
321 |
+
in production environment without any problem reported, so it's time to declare
|
322 |
+
it stable.
|
323 |
+
|
324 |
+
|
325 |
+
Version 0.4
|
326 |
+
~~~~~~~~~~~
|
327 |
+
|
328 |
+
- Module works on BSD (tested on FreeBSD 7.2).
|
329 |
+
|
330 |
+
- Module works on Windows. Many thanks to `Develer`_ for providing a neat `GCC
|
331 |
+
package for Windows with Python integration`__ that made the Windows porting
|
332 |
+
painless.
|
333 |
+
|
334 |
+
.. _Develer: http://www.develer.com/
|
335 |
+
.. __: http://www.develer.com/oss/GccWinBinaries
|
336 |
+
|
337 |
+
|
338 |
+
Version 0.3
|
339 |
+
~~~~~~~~~~~
|
340 |
+
|
341 |
+
- Module works on Mac OS X 10.2. Reported working on OS X 10.6 too.
|
342 |
+
|
343 |
+
|
344 |
+
Version 0.2
|
345 |
+
~~~~~~~~~~~
|
346 |
+
|
347 |
+
- Added ``prctl()`` call on Linux >= 2.6.9 to update ``/proc/self/status``.
|
348 |
+
|
349 |
+
|
350 |
+
Version 0.1
|
351 |
+
~~~~~~~~~~~
|
352 |
+
|
353 |
+
- Initial public release.
|
.cache/pip/http-v2/9/d/1/3/8/9d13890696eb3fdc88f6d3e0b81ef7aaf507cc091e77477ac70eb7e0.body
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: ninja
|
3 |
+
Version: 1.11.1.1
|
4 |
+
Summary: Ninja is a small build system with a focus on speed
|
5 |
+
Home-page: http://ninja-build.org/
|
6 |
+
Download-URL: https://github.com/ninja-build/ninja/releases
|
7 |
+
Author: Jean-Christophe Fillion-Robin
|
8 |
+
Author-email: [email protected]
|
9 |
+
License: Apache 2.0
|
10 |
+
Project-URL: Documentation, https://github.com/scikit-build/ninja-python-distributions#readme
|
11 |
+
Project-URL: Source Code, https://github.com/scikit-build/ninja-python-distributions
|
12 |
+
Project-URL: Mailing list, https://groups.google.com/forum/#!forum/scikit-build
|
13 |
+
Project-URL: Bug Tracker, https://github.com/scikit-build/ninja-python-distributions/issues
|
14 |
+
Keywords: ninja build c++ fortran cross-platform cross-compilation
|
15 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
16 |
+
Classifier: License :: OSI Approved :: BSD License
|
17 |
+
Classifier: Programming Language :: C
|
18 |
+
Classifier: Programming Language :: C++
|
19 |
+
Classifier: Programming Language :: Fortran
|
20 |
+
Classifier: Programming Language :: Python
|
21 |
+
Classifier: Operating System :: OS Independent
|
22 |
+
Classifier: Development Status :: 5 - Production/Stable
|
23 |
+
Classifier: Intended Audience :: Developers
|
24 |
+
Classifier: Topic :: Software Development :: Build Tools
|
25 |
+
Classifier: Typing :: Typed
|
26 |
+
Description-Content-Type: text/x-rst
|
27 |
+
License-File: LICENSE_Apache_20
|
28 |
+
License-File: AUTHORS.rst
|
29 |
+
Provides-Extra: test
|
30 |
+
Requires-Dist: codecov >=2.0.5 ; extra == 'test'
|
31 |
+
Requires-Dist: coverage >=4.2 ; extra == 'test'
|
32 |
+
Requires-Dist: flake8 >=3.0.4 ; extra == 'test'
|
33 |
+
Requires-Dist: pytest >=4.5.0 ; extra == 'test'
|
34 |
+
Requires-Dist: pytest-cov >=2.7.1 ; extra == 'test'
|
35 |
+
Requires-Dist: pytest-runner >=5.1 ; extra == 'test'
|
36 |
+
Requires-Dist: pytest-virtualenv >=1.7.0 ; extra == 'test'
|
37 |
+
Requires-Dist: virtualenv >=15.0.3 ; extra == 'test'
|
38 |
+
|
39 |
+
==========================
|
40 |
+
Ninja Python Distributions
|
41 |
+
==========================
|
42 |
+
|
43 |
+
`Ninja <http://www.ninja-build.org>`_ is a small build system with a focus on speed.
|
44 |
+
|
45 |
+
The latest Ninja python wheels provide `ninja 1.11.1.g95dee.kitware.jobserver-1 <https://ninja-build.org/manual.html>`_ executable
|
46 |
+
and `ninja_syntax.py` for generating `.ninja` files.
|
47 |
+
|
48 |
+
.. image:: https://raw.githubusercontent.com/scikit-build/ninja-python-distributions/master/ninja-python-distributions-logo.png
|
49 |
+
|
50 |
+
Latest Release
|
51 |
+
--------------
|
52 |
+
|
53 |
+
.. table::
|
54 |
+
|
55 |
+
+----------------------------------------------------------------------+---------------------------------------------------------------------------+
|
56 |
+
| Versions | Downloads |
|
57 |
+
+======================================================================+===========================================================================+
|
58 |
+
| .. image:: https://img.shields.io/pypi/v/ninja.svg | .. image:: https://img.shields.io/badge/downloads-2535k%20total-green.svg |
|
59 |
+
| :target: https://pypi.python.org/pypi/ninja | :target: https://pypi.python.org/pypi/ninja |
|
60 |
+
+----------------------------------------------------------------------+---------------------------------------------------------------------------+
|
61 |
+
|
62 |
+
Build Status
|
63 |
+
------------
|
64 |
+
|
65 |
+
.. table::
|
66 |
+
|
67 |
+
+---------------+-------------------------------------------------------------------------------------------------------------+
|
68 |
+
| | GitHub Actions (Windows, macOS, Linux) |
|
69 |
+
+===============+=============================================================================================================+
|
70 |
+
| PyPI | .. image:: https://github.com/scikit-build/ninja-python-distributions/actions/workflows/build.yml/badge.svg |
|
71 |
+
| | :target: https://github.com/scikit-build/ninja-python-distributions/actions/workflows/build.yml |
|
72 |
+
+---------------+-------------------------------------------------------------------------------------------------------------+
|
73 |
+
|
74 |
+
Maintainers
|
75 |
+
-----------
|
76 |
+
|
77 |
+
* `How to update ninja version ? <https://github.com/scikit-build/ninja-python-distributions/blob/master/docs/update_ninja_version.rst>`_
|
78 |
+
|
79 |
+
* `How to make a release ? <https://github.com/scikit-build/ninja-python-distributions/blob/master/docs/make_a_release.rst>`_
|
80 |
+
|
81 |
+
|
82 |
+
Miscellaneous
|
83 |
+
-------------
|
84 |
+
|
85 |
+
* Documentation: https://github.com/scikit-build/ninja-python-distributions#readme
|
86 |
+
* Source code: https://github.com/scikit-build/ninja-python-distributions
|
87 |
+
* Mailing list: https://groups.google.com/forum/#!forum/scikit-build
|
88 |
+
|
89 |
+
License
|
90 |
+
-------
|
91 |
+
|
92 |
+
This project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
|
93 |
+
It is covered by the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
|
94 |
+
|
95 |
+
Ninja is also distributed under the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
|
96 |
+
For more information about Ninja, visit https://ninja-build.org
|
97 |
+
|
98 |
+
Logo was originally created by Libby Rose from Kitware Inc.
|
99 |
+
It is covered by `CC BY 4.0 <https://creativecommons.org/licenses/by/4.0/>`_.
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
|
104 |
+
History
|
105 |
+
-------
|
106 |
+
|
107 |
+
ninja-python-distributions was initially developed in November 2016 by
|
108 |
+
Jean-Christophe Fillion-Robin to facilitate the distribution of project using
|
109 |
+
`scikit-build <http://scikit-build.readthedocs.io/>`_ and depending on CMake
|
110 |
+
and Ninja.
|
.cache/pip/http-v2/9/d/f/1/e/9df1ee6c2e327fe1c6b83e310229ce0dc078eddefce5100826a82a16
ADDED
Binary file (1.81 kB). View file
|
|
.cache/pip/http-v2/9/d/f/1/e/9df1ee6c2e327fe1c6b83e310229ce0dc078eddefce5100826a82a16.body
ADDED
Binary file (119 kB). View file
|
|
.cache/pip/http-v2/9/e/8/c/8/9e8c8c0496d6d3384d616902379ed05e07b6b1dba9673d70b5fef231
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/9/f/e/d/0/9fed0241b6f6a060996284779065d8ed334b4bc0892996ee7a865868
ADDED
Binary file (1.17 kB). View file
|
|
.cache/pip/http-v2/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a.body
ADDED
Binary file (34.2 kB). View file
|
|
.cache/pip/http-v2/a/6/6/7/4/a6674e44f8dbb270324765d1fb568b86858877aed299a2428f81e802.body
ADDED
Binary file (45.1 kB). View file
|
|
.cache/pip/http-v2/a/8/1/3/d/a813d38208b26d1643cfecf26bd5ddeb869c95933e4bf304b8f6f1bb
ADDED
Binary file (1.19 kB). View file
|
|
.cache/pip/http-v2/a/8/1/3/d/a813d38208b26d1643cfecf26bd5ddeb869c95933e4bf304b8f6f1bb.body
ADDED
@@ -0,0 +1,1573 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: pandas
|
3 |
+
Version: 2.2.3
|
4 |
+
Summary: Powerful data structures for data analysis, time series, and statistics
|
5 |
+
Home-page: https://pandas.pydata.org
|
6 |
+
Author-Email: The Pandas Development Team <[email protected]>
|
7 |
+
License: BSD 3-Clause License
|
8 |
+
|
9 |
+
Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
|
10 |
+
All rights reserved.
|
11 |
+
|
12 |
+
Copyright (c) 2011-2023, Open source contributors.
|
13 |
+
|
14 |
+
Redistribution and use in source and binary forms, with or without
|
15 |
+
modification, are permitted provided that the following conditions are met:
|
16 |
+
|
17 |
+
* Redistributions of source code must retain the above copyright notice, this
|
18 |
+
list of conditions and the following disclaimer.
|
19 |
+
|
20 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
21 |
+
this list of conditions and the following disclaimer in the documentation
|
22 |
+
and/or other materials provided with the distribution.
|
23 |
+
|
24 |
+
* Neither the name of the copyright holder nor the names of its
|
25 |
+
contributors may be used to endorse or promote products derived from
|
26 |
+
this software without specific prior written permission.
|
27 |
+
|
28 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
29 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
30 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
31 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
32 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
33 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
34 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
35 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
36 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
37 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
38 |
+
Copyright (c) 2010-2019 Keith Goodman
|
39 |
+
Copyright (c) 2019 Bottleneck Developers
|
40 |
+
All rights reserved.
|
41 |
+
|
42 |
+
Redistribution and use in source and binary forms, with or without
|
43 |
+
modification, are permitted provided that the following conditions are met:
|
44 |
+
|
45 |
+
* Redistributions of source code must retain the above copyright notice,
|
46 |
+
this list of conditions and the following disclaimer.
|
47 |
+
|
48 |
+
* Redistributions in binary form must reproduce the above copyright
|
49 |
+
notice, this list of conditions and the following disclaimer in the
|
50 |
+
documentation and/or other materials provided with the distribution.
|
51 |
+
|
52 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
53 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
54 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
55 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
56 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
57 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
58 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
59 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
60 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
61 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
62 |
+
POSSIBILITY OF SUCH DAMAGE.Copyright 2017- Paul Ganssle <[email protected]>
|
63 |
+
Copyright 2017- dateutil contributors (see AUTHORS file)
|
64 |
+
|
65 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
66 |
+
you may not use this file except in compliance with the License.
|
67 |
+
You may obtain a copy of the License at
|
68 |
+
|
69 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
70 |
+
|
71 |
+
Unless required by applicable law or agreed to in writing, software
|
72 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
73 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
74 |
+
See the License for the specific language governing permissions and
|
75 |
+
limitations under the License.
|
76 |
+
|
77 |
+
The above license applies to all contributions after 2017-12-01, as well as
|
78 |
+
all contributions that have been re-licensed (see AUTHORS file for the list of
|
79 |
+
contributors who have re-licensed their code).
|
80 |
+
--------------------------------------------------------------------------------
|
81 |
+
dateutil - Extensions to the standard Python datetime module.
|
82 |
+
|
83 |
+
Copyright (c) 2003-2011 - Gustavo Niemeyer <[email protected]>
|
84 |
+
Copyright (c) 2012-2014 - Tomi Pieviläinen <[email protected]>
|
85 |
+
Copyright (c) 2014-2016 - Yaron de Leeuw <[email protected]>
|
86 |
+
Copyright (c) 2015- - Paul Ganssle <[email protected]>
|
87 |
+
Copyright (c) 2015- - dateutil contributors (see AUTHORS file)
|
88 |
+
|
89 |
+
All rights reserved.
|
90 |
+
|
91 |
+
Redistribution and use in source and binary forms, with or without
|
92 |
+
modification, are permitted provided that the following conditions are met:
|
93 |
+
|
94 |
+
* Redistributions of source code must retain the above copyright notice,
|
95 |
+
this list of conditions and the following disclaimer.
|
96 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
97 |
+
this list of conditions and the following disclaimer in the documentation
|
98 |
+
and/or other materials provided with the distribution.
|
99 |
+
* Neither the name of the copyright holder nor the names of its
|
100 |
+
contributors may be used to endorse or promote products derived from
|
101 |
+
this software without specific prior written permission.
|
102 |
+
|
103 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
104 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
105 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
106 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
107 |
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
108 |
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
109 |
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
110 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
111 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
112 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
113 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
114 |
+
|
115 |
+
The above BSD License Applies to all code, even that also covered by Apache 2.0.# MIT License
|
116 |
+
|
117 |
+
Copyright (c) 2019 Hadley Wickham; RStudio; and Evan Miller
|
118 |
+
|
119 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
120 |
+
of this software and associated documentation files (the "Software"), to deal
|
121 |
+
in the Software without restriction, including without limitation the rights
|
122 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
123 |
+
copies of the Software, and to permit persons to whom the Software is
|
124 |
+
furnished to do so, subject to the following conditions:
|
125 |
+
|
126 |
+
The above copyright notice and this permission notice shall be included in all
|
127 |
+
copies or substantial portions of the Software.
|
128 |
+
|
129 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
130 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
131 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
132 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
133 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
134 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
135 |
+
SOFTWARE.
|
136 |
+
Based on http://opensource.org/licenses/MIT
|
137 |
+
|
138 |
+
This is a template. Complete and ship as file LICENSE the following 2
|
139 |
+
lines (only)
|
140 |
+
|
141 |
+
YEAR:
|
142 |
+
COPYRIGHT HOLDER:
|
143 |
+
|
144 |
+
and specify as
|
145 |
+
|
146 |
+
License: MIT + file LICENSE
|
147 |
+
|
148 |
+
Copyright (c) <YEAR>, <COPYRIGHT HOLDER>
|
149 |
+
|
150 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
151 |
+
a copy of this software and associated documentation files (the
|
152 |
+
"Software"), to deal in the Software without restriction, including
|
153 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
154 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
155 |
+
permit persons to whom the Software is furnished to do so, subject to
|
156 |
+
the following conditions:
|
157 |
+
|
158 |
+
The above copyright notice and this permission notice shall be
|
159 |
+
included in all copies or substantial portions of the Software.
|
160 |
+
|
161 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
162 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
163 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
164 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
165 |
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
166 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
167 |
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
168 |
+
The MIT License
|
169 |
+
|
170 |
+
Copyright (c) 2008- Attractive Chaos <[email protected]>
|
171 |
+
|
172 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
173 |
+
a copy of this software and associated documentation files (the
|
174 |
+
"Software"), to deal in the Software without restriction, including
|
175 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
176 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
177 |
+
permit persons to whom the Software is furnished to do so, subject to
|
178 |
+
the following conditions:
|
179 |
+
|
180 |
+
The above copyright notice and this permission notice shall be
|
181 |
+
included in all copies or substantial portions of the Software.
|
182 |
+
|
183 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
184 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
185 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
186 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
187 |
+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
188 |
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
189 |
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
190 |
+
SOFTWARE.musl as a whole is licensed under the following standard MIT license:
|
191 |
+
|
192 |
+
----------------------------------------------------------------------
|
193 |
+
Copyright © 2005-2020 Rich Felker, et al.
|
194 |
+
|
195 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
196 |
+
a copy of this software and associated documentation files (the
|
197 |
+
"Software"), to deal in the Software without restriction, including
|
198 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
199 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
200 |
+
permit persons to whom the Software is furnished to do so, subject to
|
201 |
+
the following conditions:
|
202 |
+
|
203 |
+
The above copyright notice and this permission notice shall be
|
204 |
+
included in all copies or substantial portions of the Software.
|
205 |
+
|
206 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
207 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
208 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
209 |
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
210 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
211 |
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
212 |
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
213 |
+
----------------------------------------------------------------------
|
214 |
+
|
215 |
+
Authors/contributors include:
|
216 |
+
|
217 |
+
A. Wilcox
|
218 |
+
Ada Worcester
|
219 |
+
Alex Dowad
|
220 |
+
Alex Suykov
|
221 |
+
Alexander Monakov
|
222 |
+
Andre McCurdy
|
223 |
+
Andrew Kelley
|
224 |
+
Anthony G. Basile
|
225 |
+
Aric Belsito
|
226 |
+
Arvid Picciani
|
227 |
+
Bartosz Brachaczek
|
228 |
+
Benjamin Peterson
|
229 |
+
Bobby Bingham
|
230 |
+
Boris Brezillon
|
231 |
+
Brent Cook
|
232 |
+
Chris Spiegel
|
233 |
+
Clément Vasseur
|
234 |
+
Daniel Micay
|
235 |
+
Daniel Sabogal
|
236 |
+
Daurnimator
|
237 |
+
David Carlier
|
238 |
+
David Edelsohn
|
239 |
+
Denys Vlasenko
|
240 |
+
Dmitry Ivanov
|
241 |
+
Dmitry V. Levin
|
242 |
+
Drew DeVault
|
243 |
+
Emil Renner Berthing
|
244 |
+
Fangrui Song
|
245 |
+
Felix Fietkau
|
246 |
+
Felix Janda
|
247 |
+
Gianluca Anzolin
|
248 |
+
Hauke Mehrtens
|
249 |
+
He X
|
250 |
+
Hiltjo Posthuma
|
251 |
+
Isaac Dunham
|
252 |
+
Jaydeep Patil
|
253 |
+
Jens Gustedt
|
254 |
+
Jeremy Huntwork
|
255 |
+
Jo-Philipp Wich
|
256 |
+
Joakim Sindholt
|
257 |
+
John Spencer
|
258 |
+
Julien Ramseier
|
259 |
+
Justin Cormack
|
260 |
+
Kaarle Ritvanen
|
261 |
+
Khem Raj
|
262 |
+
Kylie McClain
|
263 |
+
Leah Neukirchen
|
264 |
+
Luca Barbato
|
265 |
+
Luka Perkov
|
266 |
+
M Farkas-Dyck (Strake)
|
267 |
+
Mahesh Bodapati
|
268 |
+
Markus Wichmann
|
269 |
+
Masanori Ogino
|
270 |
+
Michael Clark
|
271 |
+
Michael Forney
|
272 |
+
Mikhail Kremnyov
|
273 |
+
Natanael Copa
|
274 |
+
Nicholas J. Kain
|
275 |
+
orc
|
276 |
+
Pascal Cuoq
|
277 |
+
Patrick Oppenlander
|
278 |
+
Petr Hosek
|
279 |
+
Petr Skocik
|
280 |
+
Pierre Carrier
|
281 |
+
Reini Urban
|
282 |
+
Rich Felker
|
283 |
+
Richard Pennington
|
284 |
+
Ryan Fairfax
|
285 |
+
Samuel Holland
|
286 |
+
Segev Finer
|
287 |
+
Shiz
|
288 |
+
sin
|
289 |
+
Solar Designer
|
290 |
+
Stefan Kristiansson
|
291 |
+
Stefan O'Rear
|
292 |
+
Szabolcs Nagy
|
293 |
+
Timo Teräs
|
294 |
+
Trutz Behn
|
295 |
+
Valentin Ochs
|
296 |
+
Will Dietz
|
297 |
+
William Haddon
|
298 |
+
William Pitcock
|
299 |
+
|
300 |
+
Portions of this software are derived from third-party works licensed
|
301 |
+
under terms compatible with the above MIT license:
|
302 |
+
|
303 |
+
The TRE regular expression implementation (src/regex/reg* and
|
304 |
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
305 |
+
under a 2-clause BSD license (license text in the source files). The
|
306 |
+
included version has been heavily modified by Rich Felker in 2012, in
|
307 |
+
the interests of size, simplicity, and namespace cleanliness.
|
308 |
+
|
309 |
+
Much of the math library code (src/math/* and src/complex/*) is
|
310 |
+
Copyright © 1993,2004 Sun Microsystems or
|
311 |
+
Copyright © 2003-2011 David Schultz or
|
312 |
+
Copyright © 2003-2009 Steven G. Kargl or
|
313 |
+
Copyright © 2003-2009 Bruce D. Evans or
|
314 |
+
Copyright © 2008 Stephen L. Moshier or
|
315 |
+
Copyright © 2017-2018 Arm Limited
|
316 |
+
and labelled as such in comments in the individual source files. All
|
317 |
+
have been licensed under extremely permissive terms.
|
318 |
+
|
319 |
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
320 |
+
The Android Open Source Project and is licensed under a two-clause BSD
|
321 |
+
license. It was taken from Bionic libc, used on Android.
|
322 |
+
|
323 |
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
324 |
+
Copyright © 1999-2019, Arm Limited.
|
325 |
+
|
326 |
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
327 |
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
328 |
+
|
329 |
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
330 |
+
originally written by Solar Designer and placed into the public
|
331 |
+
domain. The code also comes with a fallback permissive license for use
|
332 |
+
in jurisdictions that may not recognize the public domain.
|
333 |
+
|
334 |
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
335 |
+
Valentin Ochs and is licensed under an MIT-style license.
|
336 |
+
|
337 |
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
338 |
+
the standard MIT terms.
|
339 |
+
|
340 |
+
The mips and microblaze ports were originally written by Richard
|
341 |
+
Pennington for use in the ellcc project. The original code was adapted
|
342 |
+
by Rich Felker for build system and code conventions during upstream
|
343 |
+
integration. It is licensed under the standard MIT terms.
|
344 |
+
|
345 |
+
The mips64 port was contributed by Imagination Technologies and is
|
346 |
+
licensed under the standard MIT terms.
|
347 |
+
|
348 |
+
The powerpc port was also originally written by Richard Pennington,
|
349 |
+
and later supplemented and integrated by John Spencer. It is licensed
|
350 |
+
under the standard MIT terms.
|
351 |
+
|
352 |
+
All other files which have no copyright comments are original works
|
353 |
+
produced specifically for use as part of this library, written either
|
354 |
+
by Rich Felker, the main author of the library, or by one or more
|
355 |
+
contibutors listed above. Details on authorship of individual files
|
356 |
+
can be found in the git version control history of the project. The
|
357 |
+
omission of copyright and license comments in each file is in the
|
358 |
+
interest of source tree size.
|
359 |
+
|
360 |
+
In addition, permission is hereby granted for all public header files
|
361 |
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
362 |
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
363 |
+
the copyright notice and permission notice otherwise required by the
|
364 |
+
license, and to use these files without any requirement of
|
365 |
+
attribution. These files include substantial contributions from:
|
366 |
+
|
367 |
+
Bobby Bingham
|
368 |
+
John Spencer
|
369 |
+
Nicholas J. Kain
|
370 |
+
Rich Felker
|
371 |
+
Richard Pennington
|
372 |
+
Stefan Kristiansson
|
373 |
+
Szabolcs Nagy
|
374 |
+
|
375 |
+
all of whom have explicitly granted such permission.
|
376 |
+
|
377 |
+
This file previously contained text expressing a belief that most of
|
378 |
+
the files covered by the above exception were sufficiently trivial not
|
379 |
+
to be subject to copyright, resulting in confusion over whether it
|
380 |
+
negated the permissions granted in the license. In the spirit of
|
381 |
+
permissive licensing, and of not having licensing issues being an
|
382 |
+
obstacle to adoption, that text has been removed.Copyright (c) 2005-2023, NumPy Developers.
|
383 |
+
All rights reserved.
|
384 |
+
|
385 |
+
Redistribution and use in source and binary forms, with or without
|
386 |
+
modification, are permitted provided that the following conditions are
|
387 |
+
met:
|
388 |
+
|
389 |
+
* Redistributions of source code must retain the above copyright
|
390 |
+
notice, this list of conditions and the following disclaimer.
|
391 |
+
|
392 |
+
* Redistributions in binary form must reproduce the above
|
393 |
+
copyright notice, this list of conditions and the following
|
394 |
+
disclaimer in the documentation and/or other materials provided
|
395 |
+
with the distribution.
|
396 |
+
|
397 |
+
* Neither the name of the NumPy Developers nor the names of any
|
398 |
+
contributors may be used to endorse or promote products derived
|
399 |
+
from this software without specific prior written permission.
|
400 |
+
|
401 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
402 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
403 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
404 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
405 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
406 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
407 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
408 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
409 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
410 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
411 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
412 |
+
Apache License
|
413 |
+
Version 2.0, January 2004
|
414 |
+
http://www.apache.org/licenses/
|
415 |
+
|
416 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
417 |
+
|
418 |
+
1. Definitions.
|
419 |
+
|
420 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
421 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
422 |
+
|
423 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
424 |
+
the copyright owner that is granting the License.
|
425 |
+
|
426 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
427 |
+
other entities that control, are controlled by, or are under common
|
428 |
+
control with that entity. For the purposes of this definition,
|
429 |
+
"control" means (i) the power, direct or indirect, to cause the
|
430 |
+
direction or management of such entity, whether by contract or
|
431 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
432 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
433 |
+
|
434 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
435 |
+
exercising permissions granted by this License.
|
436 |
+
|
437 |
+
"Source" form shall mean the preferred form for making modifications,
|
438 |
+
including but not limited to software source code, documentation
|
439 |
+
source, and configuration files.
|
440 |
+
|
441 |
+
"Object" form shall mean any form resulting from mechanical
|
442 |
+
transformation or translation of a Source form, including but
|
443 |
+
not limited to compiled object code, generated documentation,
|
444 |
+
and conversions to other media types.
|
445 |
+
|
446 |
+
"Work" shall mean the work of authorship, whether in Source or
|
447 |
+
Object form, made available under the License, as indicated by a
|
448 |
+
copyright notice that is included in or attached to the work
|
449 |
+
(an example is provided in the Appendix below).
|
450 |
+
|
451 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
452 |
+
form, that is based on (or derived from) the Work and for which the
|
453 |
+
editorial revisions, annotations, elaborations, or other modifications
|
454 |
+
represent, as a whole, an original work of authorship. For the purposes
|
455 |
+
of this License, Derivative Works shall not include works that remain
|
456 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
457 |
+
the Work and Derivative Works thereof.
|
458 |
+
|
459 |
+
"Contribution" shall mean any work of authorship, including
|
460 |
+
the original version of the Work and any modifications or additions
|
461 |
+
to that Work or Derivative Works thereof, that is intentionally
|
462 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
463 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
464 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
465 |
+
means any form of electronic, verbal, or written communication sent
|
466 |
+
to the Licensor or its representatives, including but not limited to
|
467 |
+
communication on electronic mailing lists, source code control systems,
|
468 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
469 |
+
Licensor for the purpose of discussing and improving the Work, but
|
470 |
+
excluding communication that is conspicuously marked or otherwise
|
471 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
472 |
+
|
473 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
474 |
+
on behalf of whom a Contribution has been received by Licensor and
|
475 |
+
subsequently incorporated within the Work.
|
476 |
+
|
477 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
478 |
+
this License, each Contributor hereby grants to You a perpetual,
|
479 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
480 |
+
copyright license to reproduce, prepare Derivative Works of,
|
481 |
+
publicly display, publicly perform, sublicense, and distribute the
|
482 |
+
Work and such Derivative Works in Source or Object form.
|
483 |
+
|
484 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
485 |
+
this License, each Contributor hereby grants to You a perpetual,
|
486 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
487 |
+
(except as stated in this section) patent license to make, have made,
|
488 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
489 |
+
where such license applies only to those patent claims licensable
|
490 |
+
by such Contributor that are necessarily infringed by their
|
491 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
492 |
+
with the Work to which such Contribution(s) was submitted. If You
|
493 |
+
institute patent litigation against any entity (including a
|
494 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
495 |
+
or a Contribution incorporated within the Work constitutes direct
|
496 |
+
or contributory patent infringement, then any patent licenses
|
497 |
+
granted to You under this License for that Work shall terminate
|
498 |
+
as of the date such litigation is filed.
|
499 |
+
|
500 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
501 |
+
Work or Derivative Works thereof in any medium, with or without
|
502 |
+
modifications, and in Source or Object form, provided that You
|
503 |
+
meet the following conditions:
|
504 |
+
|
505 |
+
(a) You must give any other recipients of the Work or
|
506 |
+
Derivative Works a copy of this License; and
|
507 |
+
|
508 |
+
(b) You must cause any modified files to carry prominent notices
|
509 |
+
stating that You changed the files; and
|
510 |
+
|
511 |
+
(c) You must retain, in the Source form of any Derivative Works
|
512 |
+
that You distribute, all copyright, patent, trademark, and
|
513 |
+
attribution notices from the Source form of the Work,
|
514 |
+
excluding those notices that do not pertain to any part of
|
515 |
+
the Derivative Works; and
|
516 |
+
|
517 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
518 |
+
distribution, then any Derivative Works that You distribute must
|
519 |
+
include a readable copy of the attribution notices contained
|
520 |
+
within such NOTICE file, excluding those notices that do not
|
521 |
+
pertain to any part of the Derivative Works, in at least one
|
522 |
+
of the following places: within a NOTICE text file distributed
|
523 |
+
as part of the Derivative Works; within the Source form or
|
524 |
+
documentation, if provided along with the Derivative Works; or,
|
525 |
+
within a display generated by the Derivative Works, if and
|
526 |
+
wherever such third-party notices normally appear. The contents
|
527 |
+
of the NOTICE file are for informational purposes only and
|
528 |
+
do not modify the License. You may add Your own attribution
|
529 |
+
notices within Derivative Works that You distribute, alongside
|
530 |
+
or as an addendum to the NOTICE text from the Work, provided
|
531 |
+
that such additional attribution notices cannot be construed
|
532 |
+
as modifying the License.
|
533 |
+
|
534 |
+
You may add Your own copyright statement to Your modifications and
|
535 |
+
may provide additional or different license terms and conditions
|
536 |
+
for use, reproduction, or distribution of Your modifications, or
|
537 |
+
for any such Derivative Works as a whole, provided Your use,
|
538 |
+
reproduction, and distribution of the Work otherwise complies with
|
539 |
+
the conditions stated in this License.
|
540 |
+
|
541 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
542 |
+
any Contribution intentionally submitted for inclusion in the Work
|
543 |
+
by You to the Licensor shall be under the terms and conditions of
|
544 |
+
this License, without any additional terms or conditions.
|
545 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
546 |
+
the terms of any separate license agreement you may have executed
|
547 |
+
with Licensor regarding such Contributions.
|
548 |
+
|
549 |
+
6. Trademarks. This License does not grant permission to use the trade
|
550 |
+
names, trademarks, service marks, or product names of the Licensor,
|
551 |
+
except as required for reasonable and customary use in describing the
|
552 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
553 |
+
|
554 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
555 |
+
agreed to in writing, Licensor provides the Work (and each
|
556 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
557 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
558 |
+
implied, including, without limitation, any warranties or conditions
|
559 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
560 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
561 |
+
appropriateness of using or redistributing the Work and assume any
|
562 |
+
risks associated with Your exercise of permissions under this License.
|
563 |
+
|
564 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
565 |
+
whether in tort (including negligence), contract, or otherwise,
|
566 |
+
unless required by applicable law (such as deliberate and grossly
|
567 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
568 |
+
liable to You for damages, including any direct, indirect, special,
|
569 |
+
incidental, or consequential damages of any character arising as a
|
570 |
+
result of this License or out of the use or inability to use the
|
571 |
+
Work (including but not limited to damages for loss of goodwill,
|
572 |
+
work stoppage, computer failure or malfunction, or any and all
|
573 |
+
other commercial damages or losses), even if such Contributor
|
574 |
+
has been advised of the possibility of such damages.
|
575 |
+
|
576 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
577 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
578 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
579 |
+
or other liability obligations and/or rights consistent with this
|
580 |
+
License. However, in accepting such obligations, You may act only
|
581 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
582 |
+
of any other Contributor, and only if You agree to indemnify,
|
583 |
+
defend, and hold each Contributor harmless for any liability
|
584 |
+
incurred by, or claims asserted against, such Contributor by reason
|
585 |
+
of your accepting any such warranty or additional liability.
|
586 |
+
|
587 |
+
END OF TERMS AND CONDITIONS
|
588 |
+
|
589 |
+
|
590 |
+
Copyright (c) Donald Stufft and individual contributors.
|
591 |
+
All rights reserved.
|
592 |
+
|
593 |
+
Redistribution and use in source and binary forms, with or without
|
594 |
+
modification, are permitted provided that the following conditions are met:
|
595 |
+
|
596 |
+
1. Redistributions of source code must retain the above copyright notice,
|
597 |
+
this list of conditions and the following disclaimer.
|
598 |
+
|
599 |
+
2. Redistributions in binary form must reproduce the above copyright
|
600 |
+
notice, this list of conditions and the following disclaimer in the
|
601 |
+
documentation and/or other materials provided with the distribution.
|
602 |
+
|
603 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
604 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
605 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
606 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
607 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
608 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
609 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
610 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
611 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
612 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.A. HISTORY OF THE SOFTWARE
|
613 |
+
==========================
|
614 |
+
|
615 |
+
Python was created in the early 1990s by Guido van Rossum at Stichting
|
616 |
+
Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
|
617 |
+
as a successor of a language called ABC. Guido remains Python's
|
618 |
+
principal author, although it includes many contributions from others.
|
619 |
+
|
620 |
+
In 1995, Guido continued his work on Python at the Corporation for
|
621 |
+
National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
|
622 |
+
in Reston, Virginia where he released several versions of the
|
623 |
+
software.
|
624 |
+
|
625 |
+
In May 2000, Guido and the Python core development team moved to
|
626 |
+
BeOpen.com to form the BeOpen PythonLabs team. In October of the same
|
627 |
+
year, the PythonLabs team moved to Digital Creations, which became
|
628 |
+
Zope Corporation. In 2001, the Python Software Foundation (PSF, see
|
629 |
+
https://www.python.org/psf/) was formed, a non-profit organization
|
630 |
+
created specifically to own Python-related Intellectual Property.
|
631 |
+
Zope Corporation was a sponsoring member of the PSF.
|
632 |
+
|
633 |
+
All Python releases are Open Source (see https://opensource.org for
|
634 |
+
the Open Source Definition). Historically, most, but not all, Python
|
635 |
+
releases have also been GPL-compatible; the table below summarizes
|
636 |
+
the various releases.
|
637 |
+
|
638 |
+
Release Derived Year Owner GPL-
|
639 |
+
from compatible? (1)
|
640 |
+
|
641 |
+
0.9.0 thru 1.2 1991-1995 CWI yes
|
642 |
+
1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
|
643 |
+
1.6 1.5.2 2000 CNRI no
|
644 |
+
2.0 1.6 2000 BeOpen.com no
|
645 |
+
1.6.1 1.6 2001 CNRI yes (2)
|
646 |
+
2.1 2.0+1.6.1 2001 PSF no
|
647 |
+
2.0.1 2.0+1.6.1 2001 PSF yes
|
648 |
+
2.1.1 2.1+2.0.1 2001 PSF yes
|
649 |
+
2.1.2 2.1.1 2002 PSF yes
|
650 |
+
2.1.3 2.1.2 2002 PSF yes
|
651 |
+
2.2 and above 2.1.1 2001-now PSF yes
|
652 |
+
|
653 |
+
Footnotes:
|
654 |
+
|
655 |
+
(1) GPL-compatible doesn't mean that we're distributing Python under
|
656 |
+
the GPL. All Python licenses, unlike the GPL, let you distribute
|
657 |
+
a modified version without making your changes open source. The
|
658 |
+
GPL-compatible licenses make it possible to combine Python with
|
659 |
+
other software that is released under the GPL; the others don't.
|
660 |
+
|
661 |
+
(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
|
662 |
+
because its license has a choice of law clause. According to
|
663 |
+
CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
|
664 |
+
is "not incompatible" with the GPL.
|
665 |
+
|
666 |
+
Thanks to the many outside volunteers who have worked under Guido's
|
667 |
+
direction to make these releases possible.
|
668 |
+
|
669 |
+
|
670 |
+
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
|
671 |
+
===============================================================
|
672 |
+
|
673 |
+
Python software and documentation are licensed under the
|
674 |
+
Python Software Foundation License Version 2.
|
675 |
+
|
676 |
+
Starting with Python 3.8.6, examples, recipes, and other code in
|
677 |
+
the documentation are dual licensed under the PSF License Version 2
|
678 |
+
and the Zero-Clause BSD license.
|
679 |
+
|
680 |
+
Some software incorporated into Python is under different licenses.
|
681 |
+
The licenses are listed with code falling under that license.
|
682 |
+
|
683 |
+
|
684 |
+
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
685 |
+
--------------------------------------------
|
686 |
+
|
687 |
+
1. This LICENSE AGREEMENT is between the Python Software Foundation
|
688 |
+
("PSF"), and the Individual or Organization ("Licensee") accessing and
|
689 |
+
otherwise using this software ("Python") in source or binary form and
|
690 |
+
its associated documentation.
|
691 |
+
|
692 |
+
2. Subject to the terms and conditions of this License Agreement, PSF hereby
|
693 |
+
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
|
694 |
+
analyze, test, perform and/or display publicly, prepare derivative works,
|
695 |
+
distribute, and otherwise use Python alone or in any derivative version,
|
696 |
+
provided, however, that PSF's License Agreement and PSF's notice of copyright,
|
697 |
+
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
698 |
+
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;
|
699 |
+
All Rights Reserved" are retained in Python alone or in any derivative version
|
700 |
+
prepared by Licensee.
|
701 |
+
|
702 |
+
3. In the event Licensee prepares a derivative work that is based on
|
703 |
+
or incorporates Python or any part thereof, and wants to make
|
704 |
+
the derivative work available to others as provided herein, then
|
705 |
+
Licensee hereby agrees to include in any such work a brief summary of
|
706 |
+
the changes made to Python.
|
707 |
+
|
708 |
+
4. PSF is making Python available to Licensee on an "AS IS"
|
709 |
+
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
710 |
+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
|
711 |
+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
712 |
+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
|
713 |
+
INFRINGE ANY THIRD PARTY RIGHTS.
|
714 |
+
|
715 |
+
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
716 |
+
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
717 |
+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
|
718 |
+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
719 |
+
|
720 |
+
6. This License Agreement will automatically terminate upon a material
|
721 |
+
breach of its terms and conditions.
|
722 |
+
|
723 |
+
7. Nothing in this License Agreement shall be deemed to create any
|
724 |
+
relationship of agency, partnership, or joint venture between PSF and
|
725 |
+
Licensee. This License Agreement does not grant permission to use PSF
|
726 |
+
trademarks or trade name in a trademark sense to endorse or promote
|
727 |
+
products or services of Licensee, or any third party.
|
728 |
+
|
729 |
+
8. By copying, installing or otherwise using Python, Licensee
|
730 |
+
agrees to be bound by the terms and conditions of this License
|
731 |
+
Agreement.
|
732 |
+
|
733 |
+
|
734 |
+
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
|
735 |
+
-------------------------------------------
|
736 |
+
|
737 |
+
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
|
738 |
+
|
739 |
+
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
|
740 |
+
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
|
741 |
+
Individual or Organization ("Licensee") accessing and otherwise using
|
742 |
+
this software in source or binary form and its associated
|
743 |
+
documentation ("the Software").
|
744 |
+
|
745 |
+
2. Subject to the terms and conditions of this BeOpen Python License
|
746 |
+
Agreement, BeOpen hereby grants Licensee a non-exclusive,
|
747 |
+
royalty-free, world-wide license to reproduce, analyze, test, perform
|
748 |
+
and/or display publicly, prepare derivative works, distribute, and
|
749 |
+
otherwise use the Software alone or in any derivative version,
|
750 |
+
provided, however, that the BeOpen Python License is retained in the
|
751 |
+
Software, alone or in any derivative version prepared by Licensee.
|
752 |
+
|
753 |
+
3. BeOpen is making the Software available to Licensee on an "AS IS"
|
754 |
+
basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
755 |
+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
|
756 |
+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
757 |
+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
|
758 |
+
INFRINGE ANY THIRD PARTY RIGHTS.
|
759 |
+
|
760 |
+
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
|
761 |
+
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
|
762 |
+
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
|
763 |
+
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
764 |
+
|
765 |
+
5. This License Agreement will automatically terminate upon a material
|
766 |
+
breach of its terms and conditions.
|
767 |
+
|
768 |
+
6. This License Agreement shall be governed by and interpreted in all
|
769 |
+
respects by the law of the State of California, excluding conflict of
|
770 |
+
law provisions. Nothing in this License Agreement shall be deemed to
|
771 |
+
create any relationship of agency, partnership, or joint venture
|
772 |
+
between BeOpen and Licensee. This License Agreement does not grant
|
773 |
+
permission to use BeOpen trademarks or trade names in a trademark
|
774 |
+
sense to endorse or promote products or services of Licensee, or any
|
775 |
+
third party. As an exception, the "BeOpen Python" logos available at
|
776 |
+
http://www.pythonlabs.com/logos.html may be used according to the
|
777 |
+
permissions granted on that web page.
|
778 |
+
|
779 |
+
7. By copying, installing or otherwise using the software, Licensee
|
780 |
+
agrees to be bound by the terms and conditions of this License
|
781 |
+
Agreement.
|
782 |
+
|
783 |
+
|
784 |
+
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
|
785 |
+
---------------------------------------
|
786 |
+
|
787 |
+
1. This LICENSE AGREEMENT is between the Corporation for National
|
788 |
+
Research Initiatives, having an office at 1895 Preston White Drive,
|
789 |
+
Reston, VA 20191 ("CNRI"), and the Individual or Organization
|
790 |
+
("Licensee") accessing and otherwise using Python 1.6.1 software in
|
791 |
+
source or binary form and its associated documentation.
|
792 |
+
|
793 |
+
2. Subject to the terms and conditions of this License Agreement, CNRI
|
794 |
+
hereby grants Licensee a nonexclusive, royalty-free, world-wide
|
795 |
+
license to reproduce, analyze, test, perform and/or display publicly,
|
796 |
+
prepare derivative works, distribute, and otherwise use Python 1.6.1
|
797 |
+
alone or in any derivative version, provided, however, that CNRI's
|
798 |
+
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
|
799 |
+
1995-2001 Corporation for National Research Initiatives; All Rights
|
800 |
+
Reserved" are retained in Python 1.6.1 alone or in any derivative
|
801 |
+
version prepared by Licensee. Alternately, in lieu of CNRI's License
|
802 |
+
Agreement, Licensee may substitute the following text (omitting the
|
803 |
+
quotes): "Python 1.6.1 is made available subject to the terms and
|
804 |
+
conditions in CNRI's License Agreement. This Agreement together with
|
805 |
+
Python 1.6.1 may be located on the internet using the following
|
806 |
+
unique, persistent identifier (known as a handle): 1895.22/1013. This
|
807 |
+
Agreement may also be obtained from a proxy server on the internet
|
808 |
+
using the following URL: http://hdl.handle.net/1895.22/1013".
|
809 |
+
|
810 |
+
3. In the event Licensee prepares a derivative work that is based on
|
811 |
+
or incorporates Python 1.6.1 or any part thereof, and wants to make
|
812 |
+
the derivative work available to others as provided herein, then
|
813 |
+
Licensee hereby agrees to include in any such work a brief summary of
|
814 |
+
the changes made to Python 1.6.1.
|
815 |
+
|
816 |
+
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
|
817 |
+
basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
818 |
+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
|
819 |
+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
820 |
+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
|
821 |
+
INFRINGE ANY THIRD PARTY RIGHTS.
|
822 |
+
|
823 |
+
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
824 |
+
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
825 |
+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
|
826 |
+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
827 |
+
|
828 |
+
6. This License Agreement will automatically terminate upon a material
|
829 |
+
breach of its terms and conditions.
|
830 |
+
|
831 |
+
7. This License Agreement shall be governed by the federal
|
832 |
+
intellectual property law of the United States, including without
|
833 |
+
limitation the federal copyright law, and, to the extent such
|
834 |
+
U.S. federal law does not apply, by the law of the Commonwealth of
|
835 |
+
Virginia, excluding Virginia's conflict of law provisions.
|
836 |
+
Notwithstanding the foregoing, with regard to derivative works based
|
837 |
+
on Python 1.6.1 that incorporate non-separable material that was
|
838 |
+
previously distributed under the GNU General Public License (GPL), the
|
839 |
+
law of the Commonwealth of Virginia shall govern this License
|
840 |
+
Agreement only as to issues arising under or with respect to
|
841 |
+
Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
|
842 |
+
License Agreement shall be deemed to create any relationship of
|
843 |
+
agency, partnership, or joint venture between CNRI and Licensee. This
|
844 |
+
License Agreement does not grant permission to use CNRI trademarks or
|
845 |
+
trade name in a trademark sense to endorse or promote products or
|
846 |
+
services of Licensee, or any third party.
|
847 |
+
|
848 |
+
8. By clicking on the "ACCEPT" button where indicated, or by copying,
|
849 |
+
installing or otherwise using Python 1.6.1, Licensee agrees to be
|
850 |
+
bound by the terms and conditions of this License Agreement.
|
851 |
+
|
852 |
+
ACCEPT
|
853 |
+
|
854 |
+
|
855 |
+
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
|
856 |
+
--------------------------------------------------
|
857 |
+
|
858 |
+
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
|
859 |
+
The Netherlands. All rights reserved.
|
860 |
+
|
861 |
+
Permission to use, copy, modify, and distribute this software and its
|
862 |
+
documentation for any purpose and without fee is hereby granted,
|
863 |
+
provided that the above copyright notice appear in all copies and that
|
864 |
+
both that copyright notice and this permission notice appear in
|
865 |
+
supporting documentation, and that the name of Stichting Mathematisch
|
866 |
+
Centrum or CWI not be used in advertising or publicity pertaining to
|
867 |
+
distribution of the software without specific, written prior
|
868 |
+
permission.
|
869 |
+
|
870 |
+
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
871 |
+
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
872 |
+
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
|
873 |
+
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
874 |
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
875 |
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
876 |
+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
877 |
+
|
878 |
+
ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
|
879 |
+
----------------------------------------------------------------------
|
880 |
+
|
881 |
+
Permission to use, copy, modify, and/or distribute this software for any
|
882 |
+
purpose with or without fee is hereby granted.
|
883 |
+
|
884 |
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
885 |
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
886 |
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
887 |
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
888 |
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
889 |
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
890 |
+
PERFORMANCE OF THIS SOFTWARE.
|
891 |
+
Copyright (c) 2014, Al Sweigart
|
892 |
+
All rights reserved.
|
893 |
+
|
894 |
+
Redistribution and use in source and binary forms, with or without
|
895 |
+
modification, are permitted provided that the following conditions are met:
|
896 |
+
|
897 |
+
* Redistributions of source code must retain the above copyright notice, this
|
898 |
+
list of conditions and the following disclaimer.
|
899 |
+
|
900 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
901 |
+
this list of conditions and the following disclaimer in the documentation
|
902 |
+
and/or other materials provided with the distribution.
|
903 |
+
|
904 |
+
* Neither the name of the {organization} nor the names of its
|
905 |
+
contributors may be used to endorse or promote products derived from
|
906 |
+
this software without specific prior written permission.
|
907 |
+
|
908 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
909 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
910 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
911 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
912 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
913 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
914 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
915 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
916 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
917 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.Copyright (c) 2017 Anthony Sottile
|
918 |
+
|
919 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
920 |
+
of this software and associated documentation files (the "Software"), to deal
|
921 |
+
in the Software without restriction, including without limitation the rights
|
922 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
923 |
+
copies of the Software, and to permit persons to whom the Software is
|
924 |
+
furnished to do so, subject to the following conditions:
|
925 |
+
|
926 |
+
The above copyright notice and this permission notice shall be included in
|
927 |
+
all copies or substantial portions of the Software.
|
928 |
+
|
929 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
930 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
931 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
932 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
933 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
934 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
935 |
+
THE SOFTWARE.Copyright (c) 2015-2019 Jared Hobbs
|
936 |
+
|
937 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
938 |
+
this software and associated documentation files (the "Software"), to deal in
|
939 |
+
the Software without restriction, including without limitation the rights to
|
940 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
941 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
942 |
+
so, subject to the following conditions:
|
943 |
+
|
944 |
+
The above copyright notice and this permission notice shall be included in all
|
945 |
+
copies or substantial portions of the Software.
|
946 |
+
|
947 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
948 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
949 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
950 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
951 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
952 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
953 |
+
SOFTWARE.Developed by ESN, an Electronic Arts Inc. studio.
|
954 |
+
Copyright (c) 2014, Electronic Arts Inc.
|
955 |
+
All rights reserved.
|
956 |
+
|
957 |
+
Redistribution and use in source and binary forms, with or without
|
958 |
+
modification, are permitted provided that the following conditions are met:
|
959 |
+
* Redistributions of source code must retain the above copyright
|
960 |
+
notice, this list of conditions and the following disclaimer.
|
961 |
+
* Redistributions in binary form must reproduce the above copyright
|
962 |
+
notice, this list of conditions and the following disclaimer in the
|
963 |
+
documentation and/or other materials provided with the distribution.
|
964 |
+
* Neither the name of ESN, Electronic Arts Inc. nor the
|
965 |
+
names of its contributors may be used to endorse or promote products
|
966 |
+
derived from this software without specific prior written permission.
|
967 |
+
|
968 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
969 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
970 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
971 |
+
DISCLAIMED. IN NO EVENT SHALL ELECTRONIC ARTS INC. BE LIABLE
|
972 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
973 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
974 |
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
975 |
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
976 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
977 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
978 |
+
|
979 |
+
----
|
980 |
+
|
981 |
+
Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
|
982 |
+
https://github.com/client9/stringencoders
|
983 |
+
|
984 |
+
Copyright 2005, 2006, 2007
|
985 |
+
Nick Galbreath -- nickg [at] modp [dot] com
|
986 |
+
All rights reserved.
|
987 |
+
|
988 |
+
Redistribution and use in source and binary forms, with or without
|
989 |
+
modification, are permitted provided that the following conditions are
|
990 |
+
met:
|
991 |
+
|
992 |
+
Redistributions of source code must retain the above copyright
|
993 |
+
notice, this list of conditions and the following disclaimer.
|
994 |
+
|
995 |
+
Redistributions in binary form must reproduce the above copyright
|
996 |
+
notice, this list of conditions and the following disclaimer in the
|
997 |
+
documentation and/or other materials provided with the distribution.
|
998 |
+
|
999 |
+
Neither the name of the modp.com nor the names of its
|
1000 |
+
contributors may be used to endorse or promote products derived from
|
1001 |
+
this software without specific prior written permission.
|
1002 |
+
|
1003 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
1004 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
1005 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
1006 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
1007 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
1008 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
1009 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
1010 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
1011 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1012 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
1013 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1014 |
+
|
1015 |
+
This is the standard "new" BSD license:
|
1016 |
+
http://www.opensource.org/licenses/bsd-license.php
|
1017 |
+
|
1018 |
+
https://github.com/client9/stringencoders/blob/cfd5c1507325ae497ea9bacdacba12c0ffd79d30/COPYING
|
1019 |
+
|
1020 |
+
----
|
1021 |
+
|
1022 |
+
Numeric decoder derived from from TCL library
|
1023 |
+
https://opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
|
1024 |
+
* Copyright (c) 1988-1993 The Regents of the University of California.
|
1025 |
+
* Copyright (c) 1994 Sun Microsystems, Inc.
|
1026 |
+
|
1027 |
+
This software is copyrighted by the Regents of the University of
|
1028 |
+
California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
|
1029 |
+
Corporation and other parties. The following terms apply to all files
|
1030 |
+
associated with the software unless explicitly disclaimed in
|
1031 |
+
individual files.
|
1032 |
+
|
1033 |
+
The authors hereby grant permission to use, copy, modify, distribute,
|
1034 |
+
and license this software and its documentation for any purpose, provided
|
1035 |
+
that existing copyright notices are retained in all copies and that this
|
1036 |
+
notice is included verbatim in any distributions. No written agreement,
|
1037 |
+
license, or royalty fee is required for any of the authorized uses.
|
1038 |
+
Modifications to this software may be copyrighted by their authors
|
1039 |
+
and need not follow the licensing terms described here, provided that
|
1040 |
+
the new terms are clearly indicated on the first page of each file where
|
1041 |
+
they apply.
|
1042 |
+
|
1043 |
+
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
|
1044 |
+
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
1045 |
+
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
|
1046 |
+
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
|
1047 |
+
POSSIBILITY OF SUCH DAMAGE.
|
1048 |
+
|
1049 |
+
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
|
1050 |
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
|
1051 |
+
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
|
1052 |
+
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
|
1053 |
+
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
|
1054 |
+
MODIFICATIONS.
|
1055 |
+
|
1056 |
+
GOVERNMENT USE: If you are acquiring this software on behalf of the
|
1057 |
+
U.S. government, the Government shall have only "Restricted Rights"
|
1058 |
+
in the software and related documentation as defined in the Federal
|
1059 |
+
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
|
1060 |
+
are acquiring the software on behalf of the Department of Defense, the
|
1061 |
+
software shall be classified as "Commercial Computer Software" and the
|
1062 |
+
Government shall have only "Restricted Rights" as defined in Clause
|
1063 |
+
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
|
1064 |
+
authors grant the U.S. Government and others acting in its behalf
|
1065 |
+
permission to use and distribute the software in accordance with the
|
1066 |
+
terms specified in this license.Apache License
|
1067 |
+
Version 2.0, January 2004
|
1068 |
+
http://www.apache.org/licenses/
|
1069 |
+
|
1070 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
1071 |
+
|
1072 |
+
1. Definitions.
|
1073 |
+
|
1074 |
+
"License" shall mean the terms and conditions for use, reproduction, and
|
1075 |
+
distribution as defined by Sections 1 through 9 of this document.
|
1076 |
+
|
1077 |
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
1078 |
+
owner that is granting the License.
|
1079 |
+
|
1080 |
+
"Legal Entity" shall mean the union of the acting entity and all other entities
|
1081 |
+
that control, are controlled by, or are under common control with that entity.
|
1082 |
+
For the purposes of this definition, "control" means (i) the power, direct or
|
1083 |
+
indirect, to cause the direction or management of such entity, whether by
|
1084 |
+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
1085 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
1086 |
+
|
1087 |
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
1088 |
+
permissions granted by this License.
|
1089 |
+
|
1090 |
+
"Source" form shall mean the preferred form for making modifications, including
|
1091 |
+
but not limited to software source code, documentation source, and configuration
|
1092 |
+
files.
|
1093 |
+
|
1094 |
+
"Object" form shall mean any form resulting from mechanical transformation or
|
1095 |
+
translation of a Source form, including but not limited to compiled object code,
|
1096 |
+
generated documentation, and conversions to other media types.
|
1097 |
+
|
1098 |
+
"Work" shall mean the work of authorship, whether in Source or Object form, made
|
1099 |
+
available under the License, as indicated by a copyright notice that is included
|
1100 |
+
in or attached to the work (an example is provided in the Appendix below).
|
1101 |
+
|
1102 |
+
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
1103 |
+
is based on (or derived from) the Work and for which the editorial revisions,
|
1104 |
+
annotations, elaborations, or other modifications represent, as a whole, an
|
1105 |
+
original work of authorship. For the purposes of this License, Derivative Works
|
1106 |
+
shall not include works that remain separable from, or merely link (or bind by
|
1107 |
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
1108 |
+
|
1109 |
+
"Contribution" shall mean any work of authorship, including the original version
|
1110 |
+
of the Work and any modifications or additions to that Work or Derivative Works
|
1111 |
+
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
1112 |
+
by the copyright owner or by an individual or Legal Entity authorized to submit
|
1113 |
+
on behalf of the copyright owner. For the purposes of this definition,
|
1114 |
+
"submitted" means any form of electronic, verbal, or written communication sent
|
1115 |
+
to the Licensor or its representatives, including but not limited to
|
1116 |
+
communication on electronic mailing lists, source code control systems, and
|
1117 |
+
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
1118 |
+
the purpose of discussing and improving the Work, but excluding communication
|
1119 |
+
that is conspicuously marked or otherwise designated in writing by the copyright
|
1120 |
+
owner as "Not a Contribution."
|
1121 |
+
|
1122 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
1123 |
+
of whom a Contribution has been received by Licensor and subsequently
|
1124 |
+
incorporated within the Work.
|
1125 |
+
|
1126 |
+
2. Grant of Copyright License.
|
1127 |
+
|
1128 |
+
Subject to the terms and conditions of this License, each Contributor hereby
|
1129 |
+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
1130 |
+
irrevocable copyright license to reproduce, prepare Derivative Works of,
|
1131 |
+
publicly display, publicly perform, sublicense, and distribute the Work and such
|
1132 |
+
Derivative Works in Source or Object form.
|
1133 |
+
|
1134 |
+
3. Grant of Patent License.
|
1135 |
+
|
1136 |
+
Subject to the terms and conditions of this License, each Contributor hereby
|
1137 |
+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
1138 |
+
irrevocable (except as stated in this section) patent license to make, have
|
1139 |
+
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
|
1140 |
+
such license applies only to those patent claims licensable by such Contributor
|
1141 |
+
that are necessarily infringed by their Contribution(s) alone or by combination
|
1142 |
+
of their Contribution(s) with the Work to which such Contribution(s) was
|
1143 |
+
submitted. If You institute patent litigation against any entity (including a
|
1144 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
|
1145 |
+
Contribution incorporated within the Work constitutes direct or contributory
|
1146 |
+
patent infringement, then any patent licenses granted to You under this License
|
1147 |
+
for that Work shall terminate as of the date such litigation is filed.
|
1148 |
+
|
1149 |
+
4. Redistribution.
|
1150 |
+
|
1151 |
+
You may reproduce and distribute copies of the Work or Derivative Works thereof
|
1152 |
+
in any medium, with or without modifications, and in Source or Object form,
|
1153 |
+
provided that You meet the following conditions:
|
1154 |
+
|
1155 |
+
You must give any other recipients of the Work or Derivative Works a copy of
|
1156 |
+
this License; and
|
1157 |
+
You must cause any modified files to carry prominent notices stating that You
|
1158 |
+
changed the files; and
|
1159 |
+
You must retain, in the Source form of any Derivative Works that You distribute,
|
1160 |
+
all copyright, patent, trademark, and attribution notices from the Source form
|
1161 |
+
of the Work, excluding those notices that do not pertain to any part of the
|
1162 |
+
Derivative Works; and
|
1163 |
+
If the Work includes a "NOTICE" text file as part of its distribution, then any
|
1164 |
+
Derivative Works that You distribute must include a readable copy of the
|
1165 |
+
attribution notices contained within such NOTICE file, excluding those notices
|
1166 |
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
1167 |
+
following places: within a NOTICE text file distributed as part of the
|
1168 |
+
Derivative Works; within the Source form or documentation, if provided along
|
1169 |
+
with the Derivative Works; or, within a display generated by the Derivative
|
1170 |
+
Works, if and wherever such third-party notices normally appear. The contents of
|
1171 |
+
the NOTICE file are for informational purposes only and do not modify the
|
1172 |
+
License. You may add Your own attribution notices within Derivative Works that
|
1173 |
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
1174 |
+
provided that such additional attribution notices cannot be construed as
|
1175 |
+
modifying the License.
|
1176 |
+
You may add Your own copyright statement to Your modifications and may provide
|
1177 |
+
additional or different license terms and conditions for use, reproduction, or
|
1178 |
+
distribution of Your modifications, or for any such Derivative Works as a whole,
|
1179 |
+
provided Your use, reproduction, and distribution of the Work otherwise complies
|
1180 |
+
with the conditions stated in this License.
|
1181 |
+
|
1182 |
+
5. Submission of Contributions.
|
1183 |
+
|
1184 |
+
Unless You explicitly state otherwise, any Contribution intentionally submitted
|
1185 |
+
for inclusion in the Work by You to the Licensor shall be under the terms and
|
1186 |
+
conditions of this License, without any additional terms or conditions.
|
1187 |
+
Notwithstanding the above, nothing herein shall supersede or modify the terms of
|
1188 |
+
any separate license agreement you may have executed with Licensor regarding
|
1189 |
+
such Contributions.
|
1190 |
+
|
1191 |
+
6. Trademarks.
|
1192 |
+
|
1193 |
+
This License does not grant permission to use the trade names, trademarks,
|
1194 |
+
service marks, or product names of the Licensor, except as required for
|
1195 |
+
reasonable and customary use in describing the origin of the Work and
|
1196 |
+
reproducing the content of the NOTICE file.
|
1197 |
+
|
1198 |
+
7. Disclaimer of Warranty.
|
1199 |
+
|
1200 |
+
Unless required by applicable law or agreed to in writing, Licensor provides the
|
1201 |
+
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
|
1202 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
|
1203 |
+
including, without limitation, any warranties or conditions of TITLE,
|
1204 |
+
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
|
1205 |
+
solely responsible for determining the appropriateness of using or
|
1206 |
+
redistributing the Work and assume any risks associated with Your exercise of
|
1207 |
+
permissions under this License.
|
1208 |
+
|
1209 |
+
8. Limitation of Liability.
|
1210 |
+
|
1211 |
+
In no event and under no legal theory, whether in tort (including negligence),
|
1212 |
+
contract, or otherwise, unless required by applicable law (such as deliberate
|
1213 |
+
and grossly negligent acts) or agreed to in writing, shall any Contributor be
|
1214 |
+
liable to You for damages, including any direct, indirect, special, incidental,
|
1215 |
+
or consequential damages of any character arising as a result of this License or
|
1216 |
+
out of the use or inability to use the Work (including but not limited to
|
1217 |
+
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
|
1218 |
+
any and all other commercial damages or losses), even if such Contributor has
|
1219 |
+
been advised of the possibility of such damages.
|
1220 |
+
|
1221 |
+
9. Accepting Warranty or Additional Liability.
|
1222 |
+
|
1223 |
+
While redistributing the Work or Derivative Works thereof, You may choose to
|
1224 |
+
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
|
1225 |
+
other liability obligations and/or rights consistent with this License. However,
|
1226 |
+
in accepting such obligations, You may act only on Your own behalf and on Your
|
1227 |
+
sole responsibility, not on behalf of any other Contributor, and only if You
|
1228 |
+
agree to indemnify, defend, and hold each Contributor harmless for any liability
|
1229 |
+
incurred by, or claims asserted against, such Contributor by reason of your
|
1230 |
+
accepting any such warranty or additional liability.
|
1231 |
+
|
1232 |
+
END OF TERMS AND CONDITIONS
|
1233 |
+
|
1234 |
+
APPENDIX: How to apply the Apache License to your work
|
1235 |
+
|
1236 |
+
To apply the Apache License to your work, attach the following boilerplate
|
1237 |
+
notice, with the fields enclosed by brackets "[]" replaced with your own
|
1238 |
+
identifying information. (Don't include the brackets!) The text should be
|
1239 |
+
enclosed in the appropriate comment syntax for the file format. We also
|
1240 |
+
recommend that a file or class name and description of purpose be included on
|
1241 |
+
the same "printed page" as the copyright notice for easier identification within
|
1242 |
+
third-party archives.
|
1243 |
+
|
1244 |
+
Copyright [yyyy] [name of copyright owner]
|
1245 |
+
|
1246 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
1247 |
+
you may not use this file except in compliance with the License.
|
1248 |
+
You may obtain a copy of the License at
|
1249 |
+
|
1250 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
1251 |
+
|
1252 |
+
Unless required by applicable law or agreed to in writing, software
|
1253 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
1254 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1255 |
+
See the License for the specific language governing permissions and
|
1256 |
+
limitations under the License.
|
1257 |
+
Classifier: Development Status :: 5 - Production/Stable
|
1258 |
+
Classifier: Environment :: Console
|
1259 |
+
Classifier: Intended Audience :: Science/Research
|
1260 |
+
Classifier: License :: OSI Approved :: BSD License
|
1261 |
+
Classifier: Operating System :: OS Independent
|
1262 |
+
Classifier: Programming Language :: Cython
|
1263 |
+
Classifier: Programming Language :: Python
|
1264 |
+
Classifier: Programming Language :: Python :: 3
|
1265 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
1266 |
+
Classifier: Programming Language :: Python :: 3.9
|
1267 |
+
Classifier: Programming Language :: Python :: 3.10
|
1268 |
+
Classifier: Programming Language :: Python :: 3.11
|
1269 |
+
Classifier: Programming Language :: Python :: 3.12
|
1270 |
+
Classifier: Topic :: Scientific/Engineering
|
1271 |
+
Project-URL: Homepage, https://pandas.pydata.org
|
1272 |
+
Project-URL: Documentation, https://pandas.pydata.org/docs/
|
1273 |
+
Project-URL: Repository, https://github.com/pandas-dev/pandas
|
1274 |
+
Requires-Python: >=3.9
|
1275 |
+
Requires-Dist: numpy>=1.22.4; python_version < "3.11"
|
1276 |
+
Requires-Dist: numpy>=1.23.2; python_version == "3.11"
|
1277 |
+
Requires-Dist: numpy>=1.26.0; python_version >= "3.12"
|
1278 |
+
Requires-Dist: python-dateutil>=2.8.2
|
1279 |
+
Requires-Dist: pytz>=2020.1
|
1280 |
+
Requires-Dist: tzdata>=2022.7
|
1281 |
+
Requires-Dist: hypothesis>=6.46.1; extra == "test"
|
1282 |
+
Requires-Dist: pytest>=7.3.2; extra == "test"
|
1283 |
+
Requires-Dist: pytest-xdist>=2.2.0; extra == "test"
|
1284 |
+
Requires-Dist: pyarrow>=10.0.1; extra == "pyarrow"
|
1285 |
+
Requires-Dist: bottleneck>=1.3.6; extra == "performance"
|
1286 |
+
Requires-Dist: numba>=0.56.4; extra == "performance"
|
1287 |
+
Requires-Dist: numexpr>=2.8.4; extra == "performance"
|
1288 |
+
Requires-Dist: scipy>=1.10.0; extra == "computation"
|
1289 |
+
Requires-Dist: xarray>=2022.12.0; extra == "computation"
|
1290 |
+
Requires-Dist: fsspec>=2022.11.0; extra == "fss"
|
1291 |
+
Requires-Dist: s3fs>=2022.11.0; extra == "aws"
|
1292 |
+
Requires-Dist: gcsfs>=2022.11.0; extra == "gcp"
|
1293 |
+
Requires-Dist: pandas-gbq>=0.19.0; extra == "gcp"
|
1294 |
+
Requires-Dist: odfpy>=1.4.1; extra == "excel"
|
1295 |
+
Requires-Dist: openpyxl>=3.1.0; extra == "excel"
|
1296 |
+
Requires-Dist: python-calamine>=0.1.7; extra == "excel"
|
1297 |
+
Requires-Dist: pyxlsb>=1.0.10; extra == "excel"
|
1298 |
+
Requires-Dist: xlrd>=2.0.1; extra == "excel"
|
1299 |
+
Requires-Dist: xlsxwriter>=3.0.5; extra == "excel"
|
1300 |
+
Requires-Dist: pyarrow>=10.0.1; extra == "parquet"
|
1301 |
+
Requires-Dist: pyarrow>=10.0.1; extra == "feather"
|
1302 |
+
Requires-Dist: tables>=3.8.0; extra == "hdf5"
|
1303 |
+
Requires-Dist: pyreadstat>=1.2.0; extra == "spss"
|
1304 |
+
Requires-Dist: SQLAlchemy>=2.0.0; extra == "postgresql"
|
1305 |
+
Requires-Dist: psycopg2>=2.9.6; extra == "postgresql"
|
1306 |
+
Requires-Dist: adbc-driver-postgresql>=0.8.0; extra == "postgresql"
|
1307 |
+
Requires-Dist: SQLAlchemy>=2.0.0; extra == "mysql"
|
1308 |
+
Requires-Dist: pymysql>=1.0.2; extra == "mysql"
|
1309 |
+
Requires-Dist: SQLAlchemy>=2.0.0; extra == "sql-other"
|
1310 |
+
Requires-Dist: adbc-driver-postgresql>=0.8.0; extra == "sql-other"
|
1311 |
+
Requires-Dist: adbc-driver-sqlite>=0.8.0; extra == "sql-other"
|
1312 |
+
Requires-Dist: beautifulsoup4>=4.11.2; extra == "html"
|
1313 |
+
Requires-Dist: html5lib>=1.1; extra == "html"
|
1314 |
+
Requires-Dist: lxml>=4.9.2; extra == "html"
|
1315 |
+
Requires-Dist: lxml>=4.9.2; extra == "xml"
|
1316 |
+
Requires-Dist: matplotlib>=3.6.3; extra == "plot"
|
1317 |
+
Requires-Dist: jinja2>=3.1.2; extra == "output-formatting"
|
1318 |
+
Requires-Dist: tabulate>=0.9.0; extra == "output-formatting"
|
1319 |
+
Requires-Dist: PyQt5>=5.15.9; extra == "clipboard"
|
1320 |
+
Requires-Dist: qtpy>=2.3.0; extra == "clipboard"
|
1321 |
+
Requires-Dist: zstandard>=0.19.0; extra == "compression"
|
1322 |
+
Requires-Dist: dataframe-api-compat>=0.1.7; extra == "consortium-standard"
|
1323 |
+
Requires-Dist: adbc-driver-postgresql>=0.8.0; extra == "all"
|
1324 |
+
Requires-Dist: adbc-driver-sqlite>=0.8.0; extra == "all"
|
1325 |
+
Requires-Dist: beautifulsoup4>=4.11.2; extra == "all"
|
1326 |
+
Requires-Dist: bottleneck>=1.3.6; extra == "all"
|
1327 |
+
Requires-Dist: dataframe-api-compat>=0.1.7; extra == "all"
|
1328 |
+
Requires-Dist: fastparquet>=2022.12.0; extra == "all"
|
1329 |
+
Requires-Dist: fsspec>=2022.11.0; extra == "all"
|
1330 |
+
Requires-Dist: gcsfs>=2022.11.0; extra == "all"
|
1331 |
+
Requires-Dist: html5lib>=1.1; extra == "all"
|
1332 |
+
Requires-Dist: hypothesis>=6.46.1; extra == "all"
|
1333 |
+
Requires-Dist: jinja2>=3.1.2; extra == "all"
|
1334 |
+
Requires-Dist: lxml>=4.9.2; extra == "all"
|
1335 |
+
Requires-Dist: matplotlib>=3.6.3; extra == "all"
|
1336 |
+
Requires-Dist: numba>=0.56.4; extra == "all"
|
1337 |
+
Requires-Dist: numexpr>=2.8.4; extra == "all"
|
1338 |
+
Requires-Dist: odfpy>=1.4.1; extra == "all"
|
1339 |
+
Requires-Dist: openpyxl>=3.1.0; extra == "all"
|
1340 |
+
Requires-Dist: pandas-gbq>=0.19.0; extra == "all"
|
1341 |
+
Requires-Dist: psycopg2>=2.9.6; extra == "all"
|
1342 |
+
Requires-Dist: pyarrow>=10.0.1; extra == "all"
|
1343 |
+
Requires-Dist: pymysql>=1.0.2; extra == "all"
|
1344 |
+
Requires-Dist: PyQt5>=5.15.9; extra == "all"
|
1345 |
+
Requires-Dist: pyreadstat>=1.2.0; extra == "all"
|
1346 |
+
Requires-Dist: pytest>=7.3.2; extra == "all"
|
1347 |
+
Requires-Dist: pytest-xdist>=2.2.0; extra == "all"
|
1348 |
+
Requires-Dist: python-calamine>=0.1.7; extra == "all"
|
1349 |
+
Requires-Dist: pyxlsb>=1.0.10; extra == "all"
|
1350 |
+
Requires-Dist: qtpy>=2.3.0; extra == "all"
|
1351 |
+
Requires-Dist: scipy>=1.10.0; extra == "all"
|
1352 |
+
Requires-Dist: s3fs>=2022.11.0; extra == "all"
|
1353 |
+
Requires-Dist: SQLAlchemy>=2.0.0; extra == "all"
|
1354 |
+
Requires-Dist: tables>=3.8.0; extra == "all"
|
1355 |
+
Requires-Dist: tabulate>=0.9.0; extra == "all"
|
1356 |
+
Requires-Dist: xarray>=2022.12.0; extra == "all"
|
1357 |
+
Requires-Dist: xlrd>=2.0.1; extra == "all"
|
1358 |
+
Requires-Dist: xlsxwriter>=3.0.5; extra == "all"
|
1359 |
+
Requires-Dist: zstandard>=0.19.0; extra == "all"
|
1360 |
+
Provides-Extra: test
|
1361 |
+
Provides-Extra: pyarrow
|
1362 |
+
Provides-Extra: performance
|
1363 |
+
Provides-Extra: computation
|
1364 |
+
Provides-Extra: fss
|
1365 |
+
Provides-Extra: aws
|
1366 |
+
Provides-Extra: gcp
|
1367 |
+
Provides-Extra: excel
|
1368 |
+
Provides-Extra: parquet
|
1369 |
+
Provides-Extra: feather
|
1370 |
+
Provides-Extra: hdf5
|
1371 |
+
Provides-Extra: spss
|
1372 |
+
Provides-Extra: postgresql
|
1373 |
+
Provides-Extra: mysql
|
1374 |
+
Provides-Extra: sql-other
|
1375 |
+
Provides-Extra: html
|
1376 |
+
Provides-Extra: xml
|
1377 |
+
Provides-Extra: plot
|
1378 |
+
Provides-Extra: output-formatting
|
1379 |
+
Provides-Extra: clipboard
|
1380 |
+
Provides-Extra: compression
|
1381 |
+
Provides-Extra: consortium-standard
|
1382 |
+
Provides-Extra: all
|
1383 |
+
Description-Content-Type: text/markdown
|
1384 |
+
|
1385 |
+
<div align="center">
|
1386 |
+
<img src="https://pandas.pydata.org/static/img/pandas.svg"><br>
|
1387 |
+
</div>
|
1388 |
+
|
1389 |
+
-----------------
|
1390 |
+
|
1391 |
+
# pandas: powerful Python data analysis toolkit
|
1392 |
+
|
1393 |
+
| | |
|
1394 |
+
| --- | --- |
|
1395 |
+
| Testing | [](https://github.com/pandas-dev/pandas/actions/workflows/unit-tests.yml) [](https://codecov.io/gh/pandas-dev/pandas) |
|
1396 |
+
| Package | [](https://pypi.org/project/pandas/) [](https://pypi.org/project/pandas/) [](https://anaconda.org/conda-forge/pandas) [](https://anaconda.org/conda-forge/pandas) |
|
1397 |
+
| Meta | [](https://numfocus.org) [](https://doi.org/10.5281/zenodo.3509134) [](https://github.com/pandas-dev/pandas/blob/main/LICENSE) [](https://pandas.pydata.org/docs/dev/development/community.html?highlight=slack#community-slack) |
|
1398 |
+
|
1399 |
+
|
1400 |
+
## What is it?
|
1401 |
+
|
1402 |
+
**pandas** is a Python package that provides fast, flexible, and expressive data
|
1403 |
+
structures designed to make working with "relational" or "labeled" data both
|
1404 |
+
easy and intuitive. It aims to be the fundamental high-level building block for
|
1405 |
+
doing practical, **real world** data analysis in Python. Additionally, it has
|
1406 |
+
the broader goal of becoming **the most powerful and flexible open source data
|
1407 |
+
analysis / manipulation tool available in any language**. It is already well on
|
1408 |
+
its way towards this goal.
|
1409 |
+
|
1410 |
+
## Table of Contents
|
1411 |
+
|
1412 |
+
- [Main Features](#main-features)
|
1413 |
+
- [Where to get it](#where-to-get-it)
|
1414 |
+
- [Dependencies](#dependencies)
|
1415 |
+
- [Installation from sources](#installation-from-sources)
|
1416 |
+
- [License](#license)
|
1417 |
+
- [Documentation](#documentation)
|
1418 |
+
- [Background](#background)
|
1419 |
+
- [Getting Help](#getting-help)
|
1420 |
+
- [Discussion and Development](#discussion-and-development)
|
1421 |
+
- [Contributing to pandas](#contributing-to-pandas)
|
1422 |
+
|
1423 |
+
## Main Features
|
1424 |
+
Here are just a few of the things that pandas does well:
|
1425 |
+
|
1426 |
+
- Easy handling of [**missing data**][missing-data] (represented as
|
1427 |
+
`NaN`, `NA`, or `NaT`) in floating point as well as non-floating point data
|
1428 |
+
- Size mutability: columns can be [**inserted and
|
1429 |
+
deleted**][insertion-deletion] from DataFrame and higher dimensional
|
1430 |
+
objects
|
1431 |
+
- Automatic and explicit [**data alignment**][alignment]: objects can
|
1432 |
+
be explicitly aligned to a set of labels, or the user can simply
|
1433 |
+
ignore the labels and let `Series`, `DataFrame`, etc. automatically
|
1434 |
+
align the data for you in computations
|
1435 |
+
- Powerful, flexible [**group by**][groupby] functionality to perform
|
1436 |
+
split-apply-combine operations on data sets, for both aggregating
|
1437 |
+
and transforming data
|
1438 |
+
- Make it [**easy to convert**][conversion] ragged,
|
1439 |
+
differently-indexed data in other Python and NumPy data structures
|
1440 |
+
into DataFrame objects
|
1441 |
+
- Intelligent label-based [**slicing**][slicing], [**fancy
|
1442 |
+
indexing**][fancy-indexing], and [**subsetting**][subsetting] of
|
1443 |
+
large data sets
|
1444 |
+
- Intuitive [**merging**][merging] and [**joining**][joining] data
|
1445 |
+
sets
|
1446 |
+
- Flexible [**reshaping**][reshape] and [**pivoting**][pivot-table] of
|
1447 |
+
data sets
|
1448 |
+
- [**Hierarchical**][mi] labeling of axes (possible to have multiple
|
1449 |
+
labels per tick)
|
1450 |
+
- Robust IO tools for loading data from [**flat files**][flat-files]
|
1451 |
+
(CSV and delimited), [**Excel files**][excel], [**databases**][db],
|
1452 |
+
and saving/loading data from the ultrafast [**HDF5 format**][hdfstore]
|
1453 |
+
- [**Time series**][timeseries]-specific functionality: date range
|
1454 |
+
generation and frequency conversion, moving window statistics,
|
1455 |
+
date shifting and lagging
|
1456 |
+
|
1457 |
+
|
1458 |
+
[missing-data]: https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html
|
1459 |
+
[insertion-deletion]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html#column-selection-addition-deletion
|
1460 |
+
[alignment]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html?highlight=alignment#intro-to-data-structures
|
1461 |
+
[groupby]: https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#group-by-split-apply-combine
|
1462 |
+
[conversion]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html#dataframe
|
1463 |
+
[slicing]: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#slicing-ranges
|
1464 |
+
[fancy-indexing]: https://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html#advanced
|
1465 |
+
[subsetting]: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#boolean-indexing
|
1466 |
+
[merging]: https://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html#database-style-dataframe-or-named-series-joining-merging
|
1467 |
+
[joining]: https://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html#joining-on-index
|
1468 |
+
[reshape]: https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html
|
1469 |
+
[pivot-table]: https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html
|
1470 |
+
[mi]: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#hierarchical-indexing-multiindex
|
1471 |
+
[flat-files]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#csv-text-files
|
1472 |
+
[excel]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#excel-files
|
1473 |
+
[db]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#sql-queries
|
1474 |
+
[hdfstore]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#hdf5-pytables
|
1475 |
+
[timeseries]: https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#time-series-date-functionality
|
1476 |
+
|
1477 |
+
## Where to get it
|
1478 |
+
The source code is currently hosted on GitHub at:
|
1479 |
+
https://github.com/pandas-dev/pandas
|
1480 |
+
|
1481 |
+
Binary installers for the latest released version are available at the [Python
|
1482 |
+
Package Index (PyPI)](https://pypi.org/project/pandas) and on [Conda](https://docs.conda.io/en/latest/).
|
1483 |
+
|
1484 |
+
```sh
|
1485 |
+
# conda
|
1486 |
+
conda install -c conda-forge pandas
|
1487 |
+
```
|
1488 |
+
|
1489 |
+
```sh
|
1490 |
+
# or PyPI
|
1491 |
+
pip install pandas
|
1492 |
+
```
|
1493 |
+
|
1494 |
+
The list of changes to pandas between each release can be found
|
1495 |
+
[here](https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html). For full
|
1496 |
+
details, see the commit logs at https://github.com/pandas-dev/pandas.
|
1497 |
+
|
1498 |
+
## Dependencies
|
1499 |
+
- [NumPy - Adds support for large, multi-dimensional arrays, matrices and high-level mathematical functions to operate on these arrays](https://www.numpy.org)
|
1500 |
+
- [python-dateutil - Provides powerful extensions to the standard datetime module](https://dateutil.readthedocs.io/en/stable/index.html)
|
1501 |
+
- [pytz - Brings the Olson tz database into Python which allows accurate and cross platform timezone calculations](https://github.com/stub42/pytz)
|
1502 |
+
|
1503 |
+
See the [full installation instructions](https://pandas.pydata.org/pandas-docs/stable/install.html#dependencies) for minimum supported versions of required, recommended and optional dependencies.
|
1504 |
+
|
1505 |
+
## Installation from sources
|
1506 |
+
To install pandas from source you need [Cython](https://cython.org/) in addition to the normal
|
1507 |
+
dependencies above. Cython can be installed from PyPI:
|
1508 |
+
|
1509 |
+
```sh
|
1510 |
+
pip install cython
|
1511 |
+
```
|
1512 |
+
|
1513 |
+
In the `pandas` directory (same one where you found this file after
|
1514 |
+
cloning the git repo), execute:
|
1515 |
+
|
1516 |
+
```sh
|
1517 |
+
pip install .
|
1518 |
+
```
|
1519 |
+
|
1520 |
+
or for installing in [development mode](https://pip.pypa.io/en/latest/cli/pip_install/#install-editable):
|
1521 |
+
|
1522 |
+
|
1523 |
+
```sh
|
1524 |
+
python -m pip install -ve . --no-build-isolation --config-settings=editable-verbose=true
|
1525 |
+
```
|
1526 |
+
|
1527 |
+
See the full instructions for [installing from source](https://pandas.pydata.org/docs/dev/development/contributing_environment.html).
|
1528 |
+
|
1529 |
+
## License
|
1530 |
+
[BSD 3](LICENSE)
|
1531 |
+
|
1532 |
+
## Documentation
|
1533 |
+
The official documentation is hosted on [PyData.org](https://pandas.pydata.org/pandas-docs/stable/).
|
1534 |
+
|
1535 |
+
## Background
|
1536 |
+
Work on ``pandas`` started at [AQR](https://www.aqr.com/) (a quantitative hedge fund) in 2008 and
|
1537 |
+
has been under active development since then.
|
1538 |
+
|
1539 |
+
## Getting Help
|
1540 |
+
|
1541 |
+
For usage questions, the best place to go to is [StackOverflow](https://stackoverflow.com/questions/tagged/pandas).
|
1542 |
+
Further, general questions and discussions can also take place on the [pydata mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata).
|
1543 |
+
|
1544 |
+
## Discussion and Development
|
1545 |
+
Most development discussions take place on GitHub in this repo, via the [GitHub issue tracker](https://github.com/pandas-dev/pandas/issues).
|
1546 |
+
|
1547 |
+
Further, the [pandas-dev mailing list](https://mail.python.org/mailman/listinfo/pandas-dev) can also be used for specialized discussions or design issues, and a [Slack channel](https://pandas.pydata.org/docs/dev/development/community.html?highlight=slack#community-slack) is available for quick development related questions.
|
1548 |
+
|
1549 |
+
There are also frequent [community meetings](https://pandas.pydata.org/docs/dev/development/community.html#community-meeting) for project maintainers open to the community as well as monthly [new contributor meetings](https://pandas.pydata.org/docs/dev/development/community.html#new-contributor-meeting) to help support new contributors.
|
1550 |
+
|
1551 |
+
Additional information on the communication channels can be found on the [contributor community](https://pandas.pydata.org/docs/development/community.html) page.
|
1552 |
+
|
1553 |
+
## Contributing to pandas
|
1554 |
+
|
1555 |
+
[](https://www.codetriage.com/pandas-dev/pandas)
|
1556 |
+
|
1557 |
+
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
|
1558 |
+
|
1559 |
+
A detailed overview on how to contribute can be found in the **[contributing guide](https://pandas.pydata.org/docs/dev/development/contributing.html)**.
|
1560 |
+
|
1561 |
+
If you are simply looking to start working with the pandas codebase, navigate to the [GitHub "issues" tab](https://github.com/pandas-dev/pandas/issues) and start looking through interesting issues. There are a number of issues listed under [Docs](https://github.com/pandas-dev/pandas/issues?labels=Docs&sort=updated&state=open) and [good first issue](https://github.com/pandas-dev/pandas/issues?labels=good+first+issue&sort=updated&state=open) where you could start out.
|
1562 |
+
|
1563 |
+
You can also triage issues which may include reproducing bug reports, or asking for vital information such as version numbers or reproduction instructions. If you would like to start triaging issues, one easy way to get started is to [subscribe to pandas on CodeTriage](https://www.codetriage.com/pandas-dev/pandas).
|
1564 |
+
|
1565 |
+
Or maybe through using pandas you have an idea of your own or are looking for something in the documentation and thinking ‘this can be improved’...you can do something about it!
|
1566 |
+
|
1567 |
+
Feel free to ask questions on the [mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata) or on [Slack](https://pandas.pydata.org/docs/dev/development/community.html?highlight=slack#community-slack).
|
1568 |
+
|
1569 |
+
As contributors and maintainers to this project, you are expected to abide by pandas' code of conduct. More information can be found at: [Contributor Code of Conduct](https://github.com/pandas-dev/.github/blob/master/CODE_OF_CONDUCT.md)
|
1570 |
+
|
1571 |
+
<hr>
|
1572 |
+
|
1573 |
+
[Go to Top](#table-of-contents)
|
.cache/pip/http-v2/a/b/7/2/8/ab7286aff652f0ea3cc68322991122267ea675cbb86a9b1ccfe4ace3.body
ADDED
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: aiohttp
|
3 |
+
Version: 3.10.6
|
4 |
+
Summary: Async http client/server framework (asyncio)
|
5 |
+
Home-page: https://github.com/aio-libs/aiohttp
|
6 |
+
Maintainer: aiohttp team <[email protected]>
|
7 |
+
Maintainer-email: [email protected]
|
8 |
+
License: Apache 2
|
9 |
+
Project-URL: Chat: Matrix, https://matrix.to/#/#aio-libs:matrix.org
|
10 |
+
Project-URL: Chat: Matrix Space, https://matrix.to/#/#aio-libs-space:matrix.org
|
11 |
+
Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI
|
12 |
+
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiohttp
|
13 |
+
Project-URL: Docs: Changelog, https://docs.aiohttp.org/en/stable/changes.html
|
14 |
+
Project-URL: Docs: RTD, https://docs.aiohttp.org
|
15 |
+
Project-URL: GitHub: issues, https://github.com/aio-libs/aiohttp/issues
|
16 |
+
Project-URL: GitHub: repo, https://github.com/aio-libs/aiohttp
|
17 |
+
Classifier: Development Status :: 5 - Production/Stable
|
18 |
+
Classifier: Framework :: AsyncIO
|
19 |
+
Classifier: Intended Audience :: Developers
|
20 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
21 |
+
Classifier: Operating System :: POSIX
|
22 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
23 |
+
Classifier: Operating System :: Microsoft :: Windows
|
24 |
+
Classifier: Programming Language :: Python
|
25 |
+
Classifier: Programming Language :: Python :: 3
|
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: Programming Language :: Python :: 3.13
|
32 |
+
Classifier: Topic :: Internet :: WWW/HTTP
|
33 |
+
Requires-Python: >=3.8
|
34 |
+
Description-Content-Type: text/x-rst
|
35 |
+
License-File: LICENSE.txt
|
36 |
+
Requires-Dist: aiohappyeyeballs >=2.3.0
|
37 |
+
Requires-Dist: aiosignal >=1.1.2
|
38 |
+
Requires-Dist: attrs >=17.3.0
|
39 |
+
Requires-Dist: frozenlist >=1.1.1
|
40 |
+
Requires-Dist: multidict <7.0,>=4.5
|
41 |
+
Requires-Dist: yarl <2.0,>=1.12.0
|
42 |
+
Requires-Dist: async-timeout <5.0,>=4.0 ; python_version < "3.11"
|
43 |
+
Provides-Extra: speedups
|
44 |
+
Requires-Dist: brotlicffi ; (platform_python_implementation != "CPython") and extra == 'speedups'
|
45 |
+
Requires-Dist: Brotli ; (platform_python_implementation == "CPython") and extra == 'speedups'
|
46 |
+
Requires-Dist: aiodns >=3.2.0 ; (sys_platform == "linux" or sys_platform == "darwin") and extra == 'speedups'
|
47 |
+
|
48 |
+
==================================
|
49 |
+
Async http client/server framework
|
50 |
+
==================================
|
51 |
+
|
52 |
+
.. image:: https://raw.githubusercontent.com/aio-libs/aiohttp/master/docs/aiohttp-plain.svg
|
53 |
+
:height: 64px
|
54 |
+
:width: 64px
|
55 |
+
:alt: aiohttp logo
|
56 |
+
|
57 |
+
|
|
58 |
+
|
59 |
+
.. image:: https://github.com/aio-libs/aiohttp/workflows/CI/badge.svg
|
60 |
+
:target: https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI
|
61 |
+
:alt: GitHub Actions status for master branch
|
62 |
+
|
63 |
+
.. image:: https://codecov.io/gh/aio-libs/aiohttp/branch/master/graph/badge.svg
|
64 |
+
:target: https://codecov.io/gh/aio-libs/aiohttp
|
65 |
+
:alt: codecov.io status for master branch
|
66 |
+
|
67 |
+
.. image:: https://badge.fury.io/py/aiohttp.svg
|
68 |
+
:target: https://pypi.org/project/aiohttp
|
69 |
+
:alt: Latest PyPI package version
|
70 |
+
|
71 |
+
.. image:: https://readthedocs.org/projects/aiohttp/badge/?version=latest
|
72 |
+
:target: https://docs.aiohttp.org/
|
73 |
+
:alt: Latest Read The Docs
|
74 |
+
|
75 |
+
.. image:: https://img.shields.io/matrix/aio-libs:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
|
76 |
+
:target: https://matrix.to/#/%23aio-libs:matrix.org
|
77 |
+
:alt: Matrix Room — #aio-libs:matrix.org
|
78 |
+
|
79 |
+
.. image:: https://img.shields.io/matrix/aio-libs-space:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs-space%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
|
80 |
+
:target: https://matrix.to/#/%23aio-libs-space:matrix.org
|
81 |
+
:alt: Matrix Space — #aio-libs-space:matrix.org
|
82 |
+
|
83 |
+
|
84 |
+
Key Features
|
85 |
+
============
|
86 |
+
|
87 |
+
- Supports both client and server side of HTTP protocol.
|
88 |
+
- Supports both client and server Web-Sockets out-of-the-box and avoids
|
89 |
+
Callback Hell.
|
90 |
+
- Provides Web-server with middleware and pluggable routing.
|
91 |
+
|
92 |
+
|
93 |
+
Getting started
|
94 |
+
===============
|
95 |
+
|
96 |
+
Client
|
97 |
+
------
|
98 |
+
|
99 |
+
To get something from the web:
|
100 |
+
|
101 |
+
.. code-block:: python
|
102 |
+
|
103 |
+
import aiohttp
|
104 |
+
import asyncio
|
105 |
+
|
106 |
+
async def main():
|
107 |
+
|
108 |
+
async with aiohttp.ClientSession() as session:
|
109 |
+
async with session.get('http://python.org') as response:
|
110 |
+
|
111 |
+
print("Status:", response.status)
|
112 |
+
print("Content-type:", response.headers['content-type'])
|
113 |
+
|
114 |
+
html = await response.text()
|
115 |
+
print("Body:", html[:15], "...")
|
116 |
+
|
117 |
+
asyncio.run(main())
|
118 |
+
|
119 |
+
This prints:
|
120 |
+
|
121 |
+
.. code-block::
|
122 |
+
|
123 |
+
Status: 200
|
124 |
+
Content-type: text/html; charset=utf-8
|
125 |
+
Body: <!doctype html> ...
|
126 |
+
|
127 |
+
Coming from `requests <https://requests.readthedocs.io/>`_ ? Read `why we need so many lines <https://aiohttp.readthedocs.io/en/latest/http_request_lifecycle.html>`_.
|
128 |
+
|
129 |
+
Server
|
130 |
+
------
|
131 |
+
|
132 |
+
An example using a simple server:
|
133 |
+
|
134 |
+
.. code-block:: python
|
135 |
+
|
136 |
+
# examples/server_simple.py
|
137 |
+
from aiohttp import web
|
138 |
+
|
139 |
+
async def handle(request):
|
140 |
+
name = request.match_info.get('name', "Anonymous")
|
141 |
+
text = "Hello, " + name
|
142 |
+
return web.Response(text=text)
|
143 |
+
|
144 |
+
async def wshandle(request):
|
145 |
+
ws = web.WebSocketResponse()
|
146 |
+
await ws.prepare(request)
|
147 |
+
|
148 |
+
async for msg in ws:
|
149 |
+
if msg.type == web.WSMsgType.text:
|
150 |
+
await ws.send_str("Hello, {}".format(msg.data))
|
151 |
+
elif msg.type == web.WSMsgType.binary:
|
152 |
+
await ws.send_bytes(msg.data)
|
153 |
+
elif msg.type == web.WSMsgType.close:
|
154 |
+
break
|
155 |
+
|
156 |
+
return ws
|
157 |
+
|
158 |
+
|
159 |
+
app = web.Application()
|
160 |
+
app.add_routes([web.get('/', handle),
|
161 |
+
web.get('/echo', wshandle),
|
162 |
+
web.get('/{name}', handle)])
|
163 |
+
|
164 |
+
if __name__ == '__main__':
|
165 |
+
web.run_app(app)
|
166 |
+
|
167 |
+
|
168 |
+
Documentation
|
169 |
+
=============
|
170 |
+
|
171 |
+
https://aiohttp.readthedocs.io/
|
172 |
+
|
173 |
+
|
174 |
+
Demos
|
175 |
+
=====
|
176 |
+
|
177 |
+
https://github.com/aio-libs/aiohttp-demos
|
178 |
+
|
179 |
+
|
180 |
+
External links
|
181 |
+
==============
|
182 |
+
|
183 |
+
* `Third party libraries
|
184 |
+
<http://aiohttp.readthedocs.io/en/latest/third_party.html>`_
|
185 |
+
* `Built with aiohttp
|
186 |
+
<http://aiohttp.readthedocs.io/en/latest/built_with.html>`_
|
187 |
+
* `Powered by aiohttp
|
188 |
+
<http://aiohttp.readthedocs.io/en/latest/powered_by.html>`_
|
189 |
+
|
190 |
+
Feel free to make a Pull Request for adding your link to these pages!
|
191 |
+
|
192 |
+
|
193 |
+
Communication channels
|
194 |
+
======================
|
195 |
+
|
196 |
+
*aio-libs Discussions*: https://github.com/aio-libs/aiohttp/discussions
|
197 |
+
|
198 |
+
*Matrix*: `#aio-libs:matrix.org <https://matrix.to/#/#aio-libs:matrix.org>`_
|
199 |
+
|
200 |
+
We support `Stack Overflow
|
201 |
+
<https://stackoverflow.com/questions/tagged/aiohttp>`_.
|
202 |
+
Please add *aiohttp* tag to your question there.
|
203 |
+
|
204 |
+
Requirements
|
205 |
+
============
|
206 |
+
|
207 |
+
- attrs_
|
208 |
+
- multidict_
|
209 |
+
- yarl_
|
210 |
+
- frozenlist_
|
211 |
+
|
212 |
+
Optionally you may install the aiodns_ library (highly recommended for sake of speed).
|
213 |
+
|
214 |
+
.. _aiodns: https://pypi.python.org/pypi/aiodns
|
215 |
+
.. _attrs: https://github.com/python-attrs/attrs
|
216 |
+
.. _multidict: https://pypi.python.org/pypi/multidict
|
217 |
+
.. _frozenlist: https://pypi.org/project/frozenlist/
|
218 |
+
.. _yarl: https://pypi.python.org/pypi/yarl
|
219 |
+
.. _async-timeout: https://pypi.python.org/pypi/async_timeout
|
220 |
+
|
221 |
+
License
|
222 |
+
=======
|
223 |
+
|
224 |
+
``aiohttp`` is offered under the Apache 2 license.
|
225 |
+
|
226 |
+
|
227 |
+
Keepsafe
|
228 |
+
========
|
229 |
+
|
230 |
+
The aiohttp community would like to thank Keepsafe
|
231 |
+
(https://www.getkeepsafe.com) for its support in the early days of
|
232 |
+
the project.
|
233 |
+
|
234 |
+
|
235 |
+
Source code
|
236 |
+
===========
|
237 |
+
|
238 |
+
The latest developer version is available in a GitHub repository:
|
239 |
+
https://github.com/aio-libs/aiohttp
|
240 |
+
|
241 |
+
Benchmarks
|
242 |
+
==========
|
243 |
+
|
244 |
+
If you are interested in efficiency, the AsyncIO community maintains a
|
245 |
+
list of benchmarks on the official wiki:
|
246 |
+
https://github.com/python/asyncio/wiki/Benchmarks
|
.cache/pip/http-v2/a/d/d/a/0/adda0d09993a4d832537ed4469a8f2cb66c41080cff81363449a6073
ADDED
Binary file (1.17 kB). View file
|
|
.cache/pip/http-v2/a/d/d/a/0/adda0d09993a4d832537ed4469a8f2cb66c41080cff81363449a6073.body
ADDED
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: sentry-sdk
|
3 |
+
Version: 2.14.0
|
4 |
+
Summary: Python client for Sentry (https://sentry.io)
|
5 |
+
Home-page: https://github.com/getsentry/sentry-python
|
6 |
+
Author: Sentry Team and Contributors
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: MIT
|
9 |
+
Project-URL: Documentation, https://docs.sentry.io/platforms/python/
|
10 |
+
Project-URL: Changelog, https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md
|
11 |
+
Classifier: Development Status :: 5 - Production/Stable
|
12 |
+
Classifier: Environment :: Web Environment
|
13 |
+
Classifier: Intended Audience :: Developers
|
14 |
+
Classifier: License :: OSI Approved :: BSD License
|
15 |
+
Classifier: Operating System :: OS Independent
|
16 |
+
Classifier: Programming Language :: Python
|
17 |
+
Classifier: Programming Language :: Python :: 3
|
18 |
+
Classifier: Programming Language :: Python :: 3.6
|
19 |
+
Classifier: Programming Language :: Python :: 3.7
|
20 |
+
Classifier: Programming Language :: Python :: 3.8
|
21 |
+
Classifier: Programming Language :: Python :: 3.9
|
22 |
+
Classifier: Programming Language :: Python :: 3.10
|
23 |
+
Classifier: Programming Language :: Python :: 3.11
|
24 |
+
Classifier: Programming Language :: Python :: 3.12
|
25 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
26 |
+
Requires-Python: >=3.6
|
27 |
+
Description-Content-Type: text/markdown
|
28 |
+
License-File: LICENSE
|
29 |
+
Requires-Dist: urllib3>=1.26.11
|
30 |
+
Requires-Dist: certifi
|
31 |
+
Provides-Extra: aiohttp
|
32 |
+
Requires-Dist: aiohttp>=3.5; extra == "aiohttp"
|
33 |
+
Provides-Extra: anthropic
|
34 |
+
Requires-Dist: anthropic>=0.16; extra == "anthropic"
|
35 |
+
Provides-Extra: arq
|
36 |
+
Requires-Dist: arq>=0.23; extra == "arq"
|
37 |
+
Provides-Extra: asyncpg
|
38 |
+
Requires-Dist: asyncpg>=0.23; extra == "asyncpg"
|
39 |
+
Provides-Extra: beam
|
40 |
+
Requires-Dist: apache-beam>=2.12; extra == "beam"
|
41 |
+
Provides-Extra: bottle
|
42 |
+
Requires-Dist: bottle>=0.12.13; extra == "bottle"
|
43 |
+
Provides-Extra: celery
|
44 |
+
Requires-Dist: celery>=3; extra == "celery"
|
45 |
+
Provides-Extra: celery-redbeat
|
46 |
+
Requires-Dist: celery-redbeat>=2; extra == "celery-redbeat"
|
47 |
+
Provides-Extra: chalice
|
48 |
+
Requires-Dist: chalice>=1.16.0; extra == "chalice"
|
49 |
+
Provides-Extra: clickhouse-driver
|
50 |
+
Requires-Dist: clickhouse-driver>=0.2.0; extra == "clickhouse-driver"
|
51 |
+
Provides-Extra: django
|
52 |
+
Requires-Dist: django>=1.8; extra == "django"
|
53 |
+
Provides-Extra: falcon
|
54 |
+
Requires-Dist: falcon>=1.4; extra == "falcon"
|
55 |
+
Provides-Extra: fastapi
|
56 |
+
Requires-Dist: fastapi>=0.79.0; extra == "fastapi"
|
57 |
+
Provides-Extra: flask
|
58 |
+
Requires-Dist: flask>=0.11; extra == "flask"
|
59 |
+
Requires-Dist: blinker>=1.1; extra == "flask"
|
60 |
+
Requires-Dist: markupsafe; extra == "flask"
|
61 |
+
Provides-Extra: grpcio
|
62 |
+
Requires-Dist: grpcio>=1.21.1; extra == "grpcio"
|
63 |
+
Requires-Dist: protobuf>=3.8.0; extra == "grpcio"
|
64 |
+
Provides-Extra: httpx
|
65 |
+
Requires-Dist: httpx>=0.16.0; extra == "httpx"
|
66 |
+
Provides-Extra: huey
|
67 |
+
Requires-Dist: huey>=2; extra == "huey"
|
68 |
+
Provides-Extra: huggingface_hub
|
69 |
+
Requires-Dist: huggingface-hub>=0.22; extra == "huggingface-hub"
|
70 |
+
Provides-Extra: langchain
|
71 |
+
Requires-Dist: langchain>=0.0.210; extra == "langchain"
|
72 |
+
Provides-Extra: litestar
|
73 |
+
Requires-Dist: litestar>=2.0.0; extra == "litestar"
|
74 |
+
Provides-Extra: loguru
|
75 |
+
Requires-Dist: loguru>=0.5; extra == "loguru"
|
76 |
+
Provides-Extra: openai
|
77 |
+
Requires-Dist: openai>=1.0.0; extra == "openai"
|
78 |
+
Requires-Dist: tiktoken>=0.3.0; extra == "openai"
|
79 |
+
Provides-Extra: opentelemetry
|
80 |
+
Requires-Dist: opentelemetry-distro>=0.35b0; extra == "opentelemetry"
|
81 |
+
Provides-Extra: opentelemetry-experimental
|
82 |
+
Requires-Dist: opentelemetry-distro; extra == "opentelemetry-experimental"
|
83 |
+
Provides-Extra: pure_eval
|
84 |
+
Requires-Dist: pure-eval; extra == "pure-eval"
|
85 |
+
Requires-Dist: executing; extra == "pure-eval"
|
86 |
+
Requires-Dist: asttokens; extra == "pure-eval"
|
87 |
+
Provides-Extra: pymongo
|
88 |
+
Requires-Dist: pymongo>=3.1; extra == "pymongo"
|
89 |
+
Provides-Extra: pyspark
|
90 |
+
Requires-Dist: pyspark>=2.4.4; extra == "pyspark"
|
91 |
+
Provides-Extra: quart
|
92 |
+
Requires-Dist: quart>=0.16.1; extra == "quart"
|
93 |
+
Requires-Dist: blinker>=1.1; extra == "quart"
|
94 |
+
Provides-Extra: rq
|
95 |
+
Requires-Dist: rq>=0.6; extra == "rq"
|
96 |
+
Provides-Extra: sanic
|
97 |
+
Requires-Dist: sanic>=0.8; extra == "sanic"
|
98 |
+
Provides-Extra: sqlalchemy
|
99 |
+
Requires-Dist: sqlalchemy>=1.2; extra == "sqlalchemy"
|
100 |
+
Provides-Extra: starlette
|
101 |
+
Requires-Dist: starlette>=0.19.1; extra == "starlette"
|
102 |
+
Provides-Extra: starlite
|
103 |
+
Requires-Dist: starlite>=1.48; extra == "starlite"
|
104 |
+
Provides-Extra: tornado
|
105 |
+
Requires-Dist: tornado>=6; extra == "tornado"
|
106 |
+
|
107 |
+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
|
108 |
+
<img src="https://sentry-brand.storage.googleapis.com/github-banners/github-sdk-python.png" alt="Sentry for Python">
|
109 |
+
</a>
|
110 |
+
|
111 |
+
_Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us, [<kbd>**check out our open positions**</kbd>](https://sentry.io/careers/)_.
|
112 |
+
|
113 |
+
# Official Sentry SDK for Python
|
114 |
+
|
115 |
+
[](https://github.com/getsentry/sentry-python/actions/workflows/ci.yml)
|
116 |
+
[](https://pypi.python.org/pypi/sentry-sdk)
|
117 |
+
[](https://discord.gg/cWnMQeA)
|
118 |
+
|
119 |
+
This is the official Python SDK for [Sentry](http://sentry.io/)
|
120 |
+
|
121 |
+
## Getting Started
|
122 |
+
|
123 |
+
### Install
|
124 |
+
|
125 |
+
```bash
|
126 |
+
pip install --upgrade sentry-sdk
|
127 |
+
```
|
128 |
+
|
129 |
+
### Configuration
|
130 |
+
|
131 |
+
```python
|
132 |
+
import sentry_sdk
|
133 |
+
|
134 |
+
sentry_sdk.init(
|
135 |
+
"https://[email protected]/1",
|
136 |
+
|
137 |
+
# Set traces_sample_rate to 1.0 to capture 100%
|
138 |
+
# of transactions for performance monitoring.
|
139 |
+
traces_sample_rate=1.0,
|
140 |
+
)
|
141 |
+
```
|
142 |
+
|
143 |
+
### Usage
|
144 |
+
|
145 |
+
```python
|
146 |
+
from sentry_sdk import capture_message
|
147 |
+
capture_message("Hello World") # Will create an event in Sentry.
|
148 |
+
|
149 |
+
raise ValueError() # Will also create an event in Sentry.
|
150 |
+
```
|
151 |
+
|
152 |
+
- To learn more about how to use the SDK [refer to our docs](https://docs.sentry.io/platforms/python/).
|
153 |
+
- Are you coming from `raven-python`? [Use this migration guide](https://docs.sentry.io/platforms/python/migration/).
|
154 |
+
- To learn about internals use the [API Reference](https://getsentry.github.io/sentry-python/).
|
155 |
+
|
156 |
+
## Integrations
|
157 |
+
|
158 |
+
(If you want to create a new integration, have a look at the [Adding a new integration checklist](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md#adding-a-new-integration).)
|
159 |
+
|
160 |
+
See [the documentation](https://docs.sentry.io/platforms/python/integrations/) for an up-to-date list of libraries and frameworks we support. Here are some examples:
|
161 |
+
|
162 |
+
- [Django](https://docs.sentry.io/platforms/python/integrations/django/)
|
163 |
+
- [Flask](https://docs.sentry.io/platforms/python/integrations/flask/)
|
164 |
+
- [FastAPI](https://docs.sentry.io/platforms/python/integrations/fastapi/)
|
165 |
+
- [AIOHTTP](https://docs.sentry.io/platforms/python/integrations/aiohttp/)
|
166 |
+
- [SQLAlchemy](https://docs.sentry.io/platforms/python/integrations/sqlalchemy/)
|
167 |
+
- [asyncpg](https://docs.sentry.io/platforms/python/integrations/asyncpg/)
|
168 |
+
- [Redis](https://docs.sentry.io/platforms/python/integrations/redis/)
|
169 |
+
- [Celery](https://docs.sentry.io/platforms/python/integrations/celery/)
|
170 |
+
- [Apache Airflow](https://docs.sentry.io/platforms/python/integrations/airflow/)
|
171 |
+
- [Apache Spark](https://docs.sentry.io/platforms/python/integrations/pyspark/)
|
172 |
+
- [asyncio](https://docs.sentry.io/platforms/python/integrations/asyncio/)
|
173 |
+
- [Graphene](https://docs.sentry.io/platforms/python/integrations/graphene/)
|
174 |
+
- [Logging](https://docs.sentry.io/platforms/python/integrations/logging/)
|
175 |
+
- [Loguru](https://docs.sentry.io/platforms/python/integrations/loguru/)
|
176 |
+
- [HTTPX](https://docs.sentry.io/platforms/python/integrations/httpx/)
|
177 |
+
- [AWS Lambda](https://docs.sentry.io/platforms/python/integrations/aws-lambda/)
|
178 |
+
- [Google Cloud Functions](https://docs.sentry.io/platforms/python/integrations/gcp-functions/)
|
179 |
+
|
180 |
+
|
181 |
+
## Migrating
|
182 |
+
|
183 |
+
### Migrating From `1.x` to `2.x`
|
184 |
+
|
185 |
+
If you're on SDK version 1.x, we highly recommend updating to the 2.x major. To make the process easier we've prepared a [migration guide](https://docs.sentry.io/platforms/python/migration/1.x-to-2.x) with the most common changes as well as a [detailed changelog](MIGRATION_GUIDE.md).
|
186 |
+
|
187 |
+
### Migrating From `raven-python`
|
188 |
+
|
189 |
+
The old `raven-python` client has entered maintenance mode and was moved [here](https://github.com/getsentry/raven-python).
|
190 |
+
|
191 |
+
If you're using `raven-python`, we recommend you to migrate to this new SDK. You can find the benefits of migrating and how to do it in our [migration guide](https://docs.sentry.io/platforms/python/migration/raven-to-sentry-sdk/).
|
192 |
+
|
193 |
+
## Contributing to the SDK
|
194 |
+
|
195 |
+
Please refer to [CONTRIBUTING.md](CONTRIBUTING.md).
|
196 |
+
|
197 |
+
## Getting Help/Support
|
198 |
+
|
199 |
+
If you need help setting up or configuring the Python SDK (or anything else in the Sentry universe) please head over to the [Sentry Community on Discord](https://discord.com/invite/Ww9hbqr). There is a ton of great people in our Discord community ready to help you!
|
200 |
+
|
201 |
+
## Resources
|
202 |
+
|
203 |
+
- [](https://docs.sentry.io/quickstart/)
|
204 |
+
- [](https://forum.sentry.io/c/sdks)
|
205 |
+
- [](https://discord.gg/Ww9hbqr)
|
206 |
+
- [](http://stackoverflow.com/questions/tagged/sentry)
|
207 |
+
- [](https://twitter.com/intent/follow?screen_name=getsentry)
|
208 |
+
|
209 |
+
## License
|
210 |
+
|
211 |
+
Licensed under the MIT license, see [`LICENSE`](LICENSE)
|
212 |
+
|
213 |
+
|
214 |
+
### Thanks to all the people who contributed!
|
215 |
+
|
216 |
+
<a href="https://github.com/getsentry/sentry-python/graphs/contributors">
|
217 |
+
<img src="https://contributors-img.web.app/image?repo=getsentry/sentry-python" />
|
218 |
+
</a>
|
.cache/pip/http-v2/a/d/e/c/9/adec97b9b98035179c2f2a0370fc49fcf626678705d2f38c1dcdafa7.body
ADDED
Binary file (436 kB). View file
|
|
.cache/pip/http-v2/a/e/1/3/6/ae1360498e2a7e78c3695d71a4132c94b805a9c41d71ad8f62ad998f
ADDED
Binary file (1.16 kB). View file
|
|
.cache/pip/http-v2/a/e/1/3/6/ae1360498e2a7e78c3695d71a4132c94b805a9c41d71ad8f62ad998f.body
ADDED
Binary file (5.72 kB). View file
|
|
.cache/pip/http-v2/a/e/7/a/2/ae7a241673cf118ca18eca030dc29d2715b1980127dd0e2949514433
ADDED
Binary file (1.19 kB). View file
|
|
.cache/pip/http-v2/b/5/a/0/4/b5a044ce96235fe6a2a115d047b48c293a8674c0737b8c9b7a7a67a0
ADDED
Binary file (1.15 kB). View file
|
|