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/3/3/9/7/4/33974f84394d9a943f68359da08431dab4af9f86c33962982ea21b5f.body +0 -0
- .cache/pip/http-v2/3/3/a/d/7/33ad7fe31489f80e15fea42300adbfc4d75c0efc76d75cfab7d2e5b0 +0 -0
- .cache/pip/http-v2/3/e/5/3/9/3e539fe82b1fed185245471443d02ce645e9bdc1609842fbef8a265b +0 -0
- .cache/pip/http-v2/3/e/5/3/9/3e539fe82b1fed185245471443d02ce645e9bdc1609842fbef8a265b.body +0 -0
- .cache/pip/http-v2/3/f/0/b/5/3f0b530a5c9fab3e5025382bf4f606f0e51cb4c0cd8174857429d8fe +0 -0
- .cache/pip/http-v2/4/2/f/8/a/42f8a0202dbbd3a131c6443d28a5b01775c53d41dec7e7928a8b5a4c +0 -0
- .cache/pip/http-v2/4/2/f/8/a/42f8a0202dbbd3a131c6443d28a5b01775c53d41dec7e7928a8b5a4c.body +140 -0
- .cache/pip/http-v2/4/5/9/c/7/459c78bacdedb04c7e03d152081522ecf0ff46e1d14e7503997ea6c8.body +0 -0
- .cache/pip/http-v2/4/a/7/8/1/4a7814588b6ac1f8145ad3d5ec0e03ad23d92f14a1ce01843a6998d7 +0 -0
- .cache/pip/http-v2/5/2/9/d/8/529d899ead0a44e9413c02620d856780368c083eff8bf2466e326011 +0 -0
- .cache/pip/http-v2/5/4/c/b/6/54cb669eb9a885793334a25ee9e0fbe07bec87103a57cea1aaa59e27.body +17 -0
- .cache/pip/http-v2/5/8/d/9/8/58d9818b2a061ba2b595a1744fd86d4eb017703b38f7209903256e4e.body +297 -0
- .cache/pip/http-v2/5/9/5/1/1/595119384424f750543e201763b875c3f3e0ff028ba41e4b528b7dca +0 -0
- .cache/pip/http-v2/5/a/2/6/c/5a26cc45879e115d5aabd5f6ef627d6747bf3160bca5548379570c58 +0 -0
- .cache/pip/http-v2/7/1/9/e/0/719e0feaf94b669c315daed4ef76501cc929d482e4315b25fd3b0082 +0 -0
- .cache/pip/http-v2/7/1/b/9/d/71b9df22187d5c54f1147d4ac0849d1438ec19aedc20363a3478b854 +0 -0
- .cache/pip/http-v2/7/c/4/b/8/7c4b8a19f4f69494c22868b76649cd91120de17447e4ff71fb7a7f10 +0 -0
- .cache/pip/http-v2/7/c/4/b/8/7c4b8a19f4f69494c22868b76649cd91120de17447e4ff71fb7a7f10.body +0 -0
- .cache/pip/http-v2/7/e/1/d/d/7e1dd8fd372b5a4d9dab3a30df124fb3e1f8789a9ab79f867640876a +0 -0
- .cache/pip/http-v2/7/e/1/d/d/7e1dd8fd372b5a4d9dab3a30df124fb3e1f8789a9ab79f867640876a.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/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6.body +0 -0
- .cache/pip/http-v2/9/0/7/3/0/907304ab7018846e9404873a6f78d90e1b9bd503bfd85425c068e4ad +0 -0
- .cache/pip/http-v2/9/0/7/3/0/907304ab7018846e9404873a6f78d90e1b9bd503bfd85425c068e4ad.body +1077 -0
- .cache/pip/http-v2/9/1/0/a/3/910a34a200b7d0937d776a3a18a9596fb2163b443301e08a7ae6239a +0 -0
- .cache/pip/http-v2/9/1/0/a/3/910a34a200b7d0937d776a3a18a9596fb2163b443301e08a7ae6239a.body +0 -0
- .cache/pip/http-v2/9/6/e/8/3/96e83221dd149da9a3d38feebc955beb2034effd910108971c5b167b +0 -0
- .cache/pip/http-v2/9/7/2/2/f/9722fb20e3ea9cc35611a7af210f3a3c5763e70a73b0619f2dce743f +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 +0 -0
- .cache/pip/http-v2/9/d/1/3/8/9d13890696eb3fdc88f6d3e0b81ef7aaf507cc091e77477ac70eb7e0.body +110 -0
- .cache/pip/http-v2/9/d/b/4/b/9db4b6605ca6d6ec2ca5f1968d04b28e2b33e27564d483e330c086bf +0 -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/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/b/5/a/0/4/b5a044ce96235fe6a2a115d047b48c293a8674c0737b8c9b7a7a67a0 +0 -0
- .cache/pip/http-v2/b/6/8/7/d/b687d90e2a44328db9c9ecd9af0a9c577a4e68f9d239bbb73aebc319 +0 -0
- .cache/pip/http-v2/b/7/8/6/4/b786456b7856c51d412c096dac0620e76449158dabf18083fe309269 +0 -0
- .cache/pip/http-v2/b/8/b/f/4/b8bf4a44dbb1c5e59b2500975b68a4301d11f85878b612151a649c3d.body +0 -0
- .cache/pip/http-v2/b/f/c/a/5/bfca522eaf7404612287f82a4ec69fbc52a846f5a5757f91528163da +0 -0
- .cache/pip/http-v2/b/f/c/a/5/bfca522eaf7404612287f82a4ec69fbc52a846f5a5757f91528163da.body +68 -0
- .cache/pip/http-v2/b/f/d/6/3/bfd6322b8f4c82d6b7ed54608512187e126478b3b0851b74973f4adc +0 -0
- .cache/pip/http-v2/b/f/d/6/3/bfd6322b8f4c82d6b7ed54608512187e126478b3b0851b74973f4adc.body +0 -0
- .cache/pip/http-v2/d/1/c/3/c/d1c3c9477ebabaa9755b3ca4edc4e0ff75d33f569297f86de24a75d4 +0 -0
- .cache/pip/http-v2/d/1/c/3/c/d1c3c9477ebabaa9755b3ca4edc4e0ff75d33f569297f86de24a75d4.body +369 -0
.cache/pip/http-v2/3/3/9/7/4/33974f84394d9a943f68359da08431dab4af9f86c33962982ea21b5f.body
ADDED
Binary file (6.59 kB). View file
|
|
.cache/pip/http-v2/3/3/a/d/7/33ad7fe31489f80e15fea42300adbfc4d75c0efc76d75cfab7d2e5b0
ADDED
Binary file (1.81 kB). View file
|
|
.cache/pip/http-v2/3/e/5/3/9/3e539fe82b1fed185245471443d02ce645e9bdc1609842fbef8a265b
ADDED
Binary file (1.16 kB). View file
|
|
.cache/pip/http-v2/3/e/5/3/9/3e539fe82b1fed185245471443d02ce645e9bdc1609842fbef8a265b.body
ADDED
Binary file (783 kB). View file
|
|
.cache/pip/http-v2/3/f/0/b/5/3f0b530a5c9fab3e5025382bf4f606f0e51cb4c0cd8174857429d8fe
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/2/f/8/a/42f8a0202dbbd3a131c6443d28a5b01775c53d41dec7e7928a8b5a4c.body
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: multidict
|
3 |
+
Version: 6.1.0
|
4 |
+
Summary: multidict implementation
|
5 |
+
Home-page: https://github.com/aio-libs/multidict
|
6 |
+
Author: Andrew Svetlov
|
7 |
+
Author-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, https://github.com/aio-libs/multidict/actions
|
12 |
+
Project-URL: Code of Conduct, https://github.com/aio-libs/.github/blob/master/CODE_OF_CONDUCT.md
|
13 |
+
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict
|
14 |
+
Project-URL: Docs: Changelog, https://multidict.aio-libs.org/en/latest/changes/
|
15 |
+
Project-URL: Docs: RTD, https://multidict.aio-libs.org
|
16 |
+
Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues
|
17 |
+
Project-URL: GitHub: repo, https://github.com/aio-libs/multidict
|
18 |
+
Classifier: Development Status :: 5 - Production/Stable
|
19 |
+
Classifier: Intended Audience :: Developers
|
20 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
21 |
+
Classifier: Programming Language :: Python
|
22 |
+
Classifier: Programming Language :: Python :: 3
|
23 |
+
Classifier: Programming Language :: Python :: 3.8
|
24 |
+
Classifier: Programming Language :: Python :: 3.9
|
25 |
+
Classifier: Programming Language :: Python :: 3.10
|
26 |
+
Classifier: Programming Language :: Python :: 3.11
|
27 |
+
Classifier: Programming Language :: Python :: 3.12
|
28 |
+
Classifier: Programming Language :: Python :: 3.13
|
29 |
+
Requires-Python: >=3.8
|
30 |
+
Description-Content-Type: text/x-rst
|
31 |
+
License-File: LICENSE
|
32 |
+
Requires-Dist: typing-extensions >=4.1.0 ; python_version < "3.11"
|
33 |
+
|
34 |
+
=========
|
35 |
+
multidict
|
36 |
+
=========
|
37 |
+
|
38 |
+
.. image:: https://github.com/aio-libs/multidict/actions/workflows/ci-cd.yml/badge.svg
|
39 |
+
:target: https://github.com/aio-libs/multidict/actions
|
40 |
+
:alt: GitHub status for master branch
|
41 |
+
|
42 |
+
.. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
|
43 |
+
:target: https://codecov.io/gh/aio-libs/multidict
|
44 |
+
:alt: Coverage metrics
|
45 |
+
|
46 |
+
.. image:: https://img.shields.io/pypi/v/multidict.svg
|
47 |
+
:target: https://pypi.org/project/multidict
|
48 |
+
:alt: PyPI
|
49 |
+
|
50 |
+
.. image:: https://readthedocs.org/projects/multidict/badge/?version=latest
|
51 |
+
:target: https://multidict.aio-libs.org
|
52 |
+
:alt: Read The Docs build status badge
|
53 |
+
|
54 |
+
.. image:: https://img.shields.io/pypi/pyversions/multidict.svg
|
55 |
+
:target: https://pypi.org/project/multidict
|
56 |
+
:alt: Python versions
|
57 |
+
|
58 |
+
.. 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
|
59 |
+
:target: https://matrix.to/#/%23aio-libs:matrix.org
|
60 |
+
:alt: Matrix Room β #aio-libs:matrix.org
|
61 |
+
|
62 |
+
.. 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
|
63 |
+
:target: https://matrix.to/#/%23aio-libs-space:matrix.org
|
64 |
+
:alt: Matrix Space β #aio-libs-space:matrix.org
|
65 |
+
|
66 |
+
Multidict is dict-like collection of *key-value pairs* where key
|
67 |
+
might occur more than once in the container.
|
68 |
+
|
69 |
+
Introduction
|
70 |
+
------------
|
71 |
+
|
72 |
+
*HTTP Headers* and *URL query string* require specific data structure:
|
73 |
+
*multidict*. It behaves mostly like a regular ``dict`` but it may have
|
74 |
+
several *values* for the same *key* and *preserves insertion ordering*.
|
75 |
+
|
76 |
+
The *key* is ``str`` (or ``istr`` for case-insensitive dictionaries).
|
77 |
+
|
78 |
+
``multidict`` has four multidict classes:
|
79 |
+
``MultiDict``, ``MultiDictProxy``, ``CIMultiDict``
|
80 |
+
and ``CIMultiDictProxy``.
|
81 |
+
|
82 |
+
Immutable proxies (``MultiDictProxy`` and
|
83 |
+
``CIMultiDictProxy``) provide a dynamic view for the
|
84 |
+
proxied multidict, the view reflects underlying collection changes. They
|
85 |
+
implement the ``collections.abc.Mapping`` interface.
|
86 |
+
|
87 |
+
Regular mutable (``MultiDict`` and ``CIMultiDict``) classes
|
88 |
+
implement ``collections.abc.MutableMapping`` and allows them to change
|
89 |
+
their own content.
|
90 |
+
|
91 |
+
|
92 |
+
*Case insensitive* (``CIMultiDict`` and
|
93 |
+
``CIMultiDictProxy``) assume the *keys* are case
|
94 |
+
insensitive, e.g.::
|
95 |
+
|
96 |
+
>>> dct = CIMultiDict(key='val')
|
97 |
+
>>> 'Key' in dct
|
98 |
+
True
|
99 |
+
>>> dct['Key']
|
100 |
+
'val'
|
101 |
+
|
102 |
+
*Keys* should be ``str`` or ``istr`` instances.
|
103 |
+
|
104 |
+
The library has optional C Extensions for speed.
|
105 |
+
|
106 |
+
|
107 |
+
License
|
108 |
+
-------
|
109 |
+
|
110 |
+
Apache 2
|
111 |
+
|
112 |
+
Library Installation
|
113 |
+
--------------------
|
114 |
+
|
115 |
+
.. code-block:: bash
|
116 |
+
|
117 |
+
$ pip install multidict
|
118 |
+
|
119 |
+
The library is Python 3 only!
|
120 |
+
|
121 |
+
PyPI contains binary wheels for Linux, Windows and MacOS. If you want to install
|
122 |
+
``multidict`` on another operating system (or *Alpine Linux* inside a Docker) the
|
123 |
+
tarball will be used to compile the library from source. It requires a C compiler and
|
124 |
+
Python headers to be installed.
|
125 |
+
|
126 |
+
To skip the compilation, please use the `MULTIDICT_NO_EXTENSIONS` environment variable,
|
127 |
+
e.g.:
|
128 |
+
|
129 |
+
.. code-block:: bash
|
130 |
+
|
131 |
+
$ MULTIDICT_NO_EXTENSIONS=1 pip install multidict
|
132 |
+
|
133 |
+
Please note, the pure Python (uncompiled) version is about 20-50 times slower depending on
|
134 |
+
the usage scenario!!!
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
Changelog
|
139 |
+
---------
|
140 |
+
See `RTD page <http://multidict.aio-libs.org/en/latest/changes>`_.
|
.cache/pip/http-v2/4/5/9/c/7/459c78bacdedb04c7e03d152081522ecf0ff46e1d14e7503997ea6c8.body
ADDED
Binary file (508 kB). View file
|
|
.cache/pip/http-v2/4/a/7/8/1/4a7814588b6ac1f8145ad3d5ec0e03ad23d92f14a1ce01843a6998d7
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/5/2/9/d/8/529d899ead0a44e9413c02620d856780368c083eff8bf2466e326011
ADDED
Binary file (1.17 kB). View file
|
|
.cache/pip/http-v2/5/4/c/b/6/54cb669eb9a885793334a25ee9e0fbe07bec87103a57cea1aaa59e27.body
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: protobuf
|
3 |
+
Author: [email protected]
|
4 |
+
Author-email: [email protected]
|
5 |
+
Home-page: https://developers.google.com/protocol-buffers/
|
6 |
+
License: 3-Clause BSD License
|
7 |
+
Classifier: Programming Language :: Python
|
8 |
+
Classifier: Programming Language :: Python :: 3
|
9 |
+
Classifier: Programming Language :: Python :: 3.8
|
10 |
+
Classifier: Programming Language :: Python :: 3.9
|
11 |
+
Classifier: Programming Language :: Python :: 3.10
|
12 |
+
Classifier: Programming Language :: Python :: 3.11
|
13 |
+
Classifier: Programming Language :: Python :: 3.12
|
14 |
+
Requires-Python: >=3.8
|
15 |
+
Version: 5.28.2
|
16 |
+
|
17 |
+
UNKNOWN
|
.cache/pip/http-v2/5/8/d/9/8/58d9818b2a061ba2b595a1744fd86d4eb017703b38f7209903256e4e.body
ADDED
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: GitPython
|
3 |
+
Version: 3.1.43
|
4 |
+
Summary: GitPython is a Python library used to interact with Git repositories
|
5 |
+
Home-page: https://github.com/gitpython-developers/GitPython
|
6 |
+
Author: Sebastian Thiel, Michael Trier
|
7 |
+
Author-email: [email protected], [email protected]
|
8 |
+
License: BSD-3-Clause
|
9 |
+
Classifier: Development Status :: 5 - Production/Stable
|
10 |
+
Classifier: Environment :: Console
|
11 |
+
Classifier: Intended Audience :: Developers
|
12 |
+
Classifier: License :: OSI Approved :: BSD License
|
13 |
+
Classifier: Operating System :: OS Independent
|
14 |
+
Classifier: Operating System :: POSIX
|
15 |
+
Classifier: Operating System :: Microsoft :: Windows
|
16 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
17 |
+
Classifier: Typing :: Typed
|
18 |
+
Classifier: Programming Language :: Python
|
19 |
+
Classifier: Programming Language :: Python :: 3
|
20 |
+
Classifier: Programming Language :: Python :: 3.7
|
21 |
+
Classifier: Programming Language :: Python :: 3.8
|
22 |
+
Classifier: Programming Language :: Python :: 3.9
|
23 |
+
Classifier: Programming Language :: Python :: 3.10
|
24 |
+
Classifier: Programming Language :: Python :: 3.11
|
25 |
+
Classifier: Programming Language :: Python :: 3.12
|
26 |
+
Requires-Python: >=3.7
|
27 |
+
Description-Content-Type: text/markdown
|
28 |
+
License-File: LICENSE
|
29 |
+
License-File: AUTHORS
|
30 |
+
Requires-Dist: gitdb <5,>=4.0.1
|
31 |
+
Requires-Dist: typing-extensions >=3.7.4.3 ; python_version < "3.8"
|
32 |
+
Provides-Extra: doc
|
33 |
+
Requires-Dist: sphinx ==4.3.2 ; extra == 'doc'
|
34 |
+
Requires-Dist: sphinx-rtd-theme ; extra == 'doc'
|
35 |
+
Requires-Dist: sphinxcontrib-applehelp <=1.0.4,>=1.0.2 ; extra == 'doc'
|
36 |
+
Requires-Dist: sphinxcontrib-devhelp ==1.0.2 ; extra == 'doc'
|
37 |
+
Requires-Dist: sphinxcontrib-htmlhelp <=2.0.1,>=2.0.0 ; extra == 'doc'
|
38 |
+
Requires-Dist: sphinxcontrib-qthelp ==1.0.3 ; extra == 'doc'
|
39 |
+
Requires-Dist: sphinxcontrib-serializinghtml ==1.1.5 ; extra == 'doc'
|
40 |
+
Requires-Dist: sphinx-autodoc-typehints ; extra == 'doc'
|
41 |
+
Provides-Extra: test
|
42 |
+
Requires-Dist: coverage[toml] ; extra == 'test'
|
43 |
+
Requires-Dist: ddt !=1.4.3,>=1.1.1 ; extra == 'test'
|
44 |
+
Requires-Dist: mypy ; extra == 'test'
|
45 |
+
Requires-Dist: pre-commit ; extra == 'test'
|
46 |
+
Requires-Dist: pytest >=7.3.1 ; extra == 'test'
|
47 |
+
Requires-Dist: pytest-cov ; extra == 'test'
|
48 |
+
Requires-Dist: pytest-instafail ; extra == 'test'
|
49 |
+
Requires-Dist: pytest-mock ; extra == 'test'
|
50 |
+
Requires-Dist: pytest-sugar ; extra == 'test'
|
51 |
+
Requires-Dist: typing-extensions ; (python_version < "3.11") and extra == 'test'
|
52 |
+
Requires-Dist: mock ; (python_version < "3.8") and extra == 'test'
|
53 |
+
|
54 |
+

|
55 |
+
[](https://readthedocs.org/projects/gitpython/?badge=stable)
|
56 |
+
[](https://repology.org/metapackage/python:gitpython/versions)
|
57 |
+
|
58 |
+
## [Gitoxide](https://github.com/Byron/gitoxide): A peek into the futureβ¦
|
59 |
+
|
60 |
+
I started working on GitPython in 2009, back in the days when Python was 'my thing' and I had great plans with it.
|
61 |
+
Of course, back in the days, I didn't really know what I was doing and this shows in many places. Somewhat similar to
|
62 |
+
Python this happens to be 'good enough', but at the same time is deeply flawed and broken beyond repair.
|
63 |
+
|
64 |
+
By now, GitPython is widely used and I am sure there is a good reason for that, it's something to be proud of and happy about.
|
65 |
+
The community is maintaining the software and is keeping it relevant for which I am absolutely grateful. For the time to come I am happy to continue maintaining GitPython, remaining hopeful that one day it won't be needed anymore.
|
66 |
+
|
67 |
+
More than 15 years after my first meeting with 'git' I am still in excited about it, and am happy to finally have the tools and
|
68 |
+
probably the skills to scratch that itch of mine: implement `git` in a way that makes tool creation a piece of cake for most.
|
69 |
+
|
70 |
+
If you like the idea and want to learn more, please head over to [gitoxide](https://github.com/Byron/gitoxide), an
|
71 |
+
implementation of 'git' in [Rust](https://www.rust-lang.org).
|
72 |
+
|
73 |
+
*(Please note that `gitoxide` is not currently available for use in Python, and that Rust is required.)*
|
74 |
+
|
75 |
+
## GitPython
|
76 |
+
|
77 |
+
GitPython is a python library used to interact with git repositories, high-level like git-porcelain,
|
78 |
+
or low-level like git-plumbing.
|
79 |
+
|
80 |
+
It provides abstractions of git objects for easy access of repository data often backed by calling the `git`
|
81 |
+
command-line program.
|
82 |
+
|
83 |
+
### DEVELOPMENT STATUS
|
84 |
+
|
85 |
+
This project is in **maintenance mode**, which means that
|
86 |
+
|
87 |
+
- β¦there will be no feature development, unless these are contributed
|
88 |
+
- β¦there will be no bug fixes, unless they are relevant to the safety of users, or contributed
|
89 |
+
- β¦issues will be responded to with waiting times of up to a month
|
90 |
+
|
91 |
+
The project is open to contributions of all kinds, as well as new maintainers.
|
92 |
+
|
93 |
+
### REQUIREMENTS
|
94 |
+
|
95 |
+
GitPython needs the `git` executable to be installed on the system and available in your
|
96 |
+
`PATH` for most operations. If it is not in your `PATH`, you can help GitPython find it
|
97 |
+
by setting the `GIT_PYTHON_GIT_EXECUTABLE=<path/to/git>` environment variable.
|
98 |
+
|
99 |
+
- Git (1.7.x or newer)
|
100 |
+
- Python >= 3.7
|
101 |
+
|
102 |
+
The list of dependencies are listed in `./requirements.txt` and `./test-requirements.txt`.
|
103 |
+
The installer takes care of installing them for you.
|
104 |
+
|
105 |
+
### INSTALL
|
106 |
+
|
107 |
+
GitPython and its required package dependencies can be installed in any of the following ways, all of which should typically be done in a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
|
108 |
+
|
109 |
+
#### From PyPI
|
110 |
+
|
111 |
+
To obtain and install a copy [from PyPI](https://pypi.org/project/GitPython/), run:
|
112 |
+
|
113 |
+
```sh
|
114 |
+
pip install GitPython
|
115 |
+
```
|
116 |
+
|
117 |
+
(A distribution package can also be downloaded for manual installation at [the PyPI page](https://pypi.org/project/GitPython/).)
|
118 |
+
|
119 |
+
#### From downloaded source code
|
120 |
+
|
121 |
+
If you have downloaded the source code, run this from inside the unpacked `GitPython` directory:
|
122 |
+
|
123 |
+
```sh
|
124 |
+
pip install .
|
125 |
+
```
|
126 |
+
|
127 |
+
#### By cloning the source code repository
|
128 |
+
|
129 |
+
To clone the [the GitHub repository](https://github.com/gitpython-developers/GitPython) from source to work on the code, you can do it like so:
|
130 |
+
|
131 |
+
```sh
|
132 |
+
git clone https://github.com/gitpython-developers/GitPython
|
133 |
+
cd GitPython
|
134 |
+
./init-tests-after-clone.sh
|
135 |
+
```
|
136 |
+
|
137 |
+
On Windows, `./init-tests-after-clone.sh` can be run in a Git Bash shell.
|
138 |
+
|
139 |
+
If you are cloning [your own fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks), then replace the above `git clone` command with one that gives the URL of your fork. Or use this [`gh`](https://cli.github.com/) command (assuming you have `gh` and your fork is called `GitPython`):
|
140 |
+
|
141 |
+
```sh
|
142 |
+
gh repo clone GitPython
|
143 |
+
```
|
144 |
+
|
145 |
+
Having cloned the repo, create and activate your [virtual environment](https://docs.python.org/3/tutorial/venv.html).
|
146 |
+
|
147 |
+
Then make an [editable install](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs):
|
148 |
+
|
149 |
+
```sh
|
150 |
+
pip install -e ".[test]"
|
151 |
+
```
|
152 |
+
|
153 |
+
In the less common case that you do not want to install test dependencies, `pip install -e .` can be used instead.
|
154 |
+
|
155 |
+
#### With editable *dependencies* (not preferred, and rarely needed)
|
156 |
+
|
157 |
+
In rare cases, you may want to work on GitPython and one or both of its [gitdb](https://github.com/gitpython-developers/gitdb) and [smmap](https://github.com/gitpython-developers/smmap) dependencies at the same time, with changes in your local working copy of gitdb or smmap immediatley reflected in the behavior of your local working copy of GitPython. This can be done by making editable installations of those dependencies in the same virtual environment where you install GitPython.
|
158 |
+
|
159 |
+
If you want to do that *and* you want the versions in GitPython's git submodules to be used, then pass `-e git/ext/gitdb` and/or `-e git/ext/gitdb/gitdb/ext/smmap` to `pip install`. This can be done in any order, and in separate `pip install` commands or the same one, so long as `-e` appears before *each* path. For example, you can install GitPython, gitdb, and smmap editably in the currently active virtual environment this way:
|
160 |
+
|
161 |
+
```sh
|
162 |
+
pip install -e ".[test]" -e git/ext/gitdb -e git/ext/gitdb/gitdb/ext/smmap
|
163 |
+
```
|
164 |
+
|
165 |
+
The submodules must have been cloned for that to work, but that will already be the case if you have run `./init-tests-after-clone.sh`. You can use `pip list` to check which packages are installed editably and which are installed normally.
|
166 |
+
|
167 |
+
To reiterate, this approach should only rarely be used. For most development it is preferable to allow the gitdb and smmap dependencices to be retrieved automatically from PyPI in their latest stable packaged versions.
|
168 |
+
|
169 |
+
### Limitations
|
170 |
+
|
171 |
+
#### Leakage of System Resources
|
172 |
+
|
173 |
+
GitPython is not suited for long-running processes (like daemons) as it tends to
|
174 |
+
leak system resources. It was written in a time where destructors (as implemented
|
175 |
+
in the `__del__` method) still ran deterministically.
|
176 |
+
|
177 |
+
In case you still want to use it in such a context, you will want to search the
|
178 |
+
codebase for `__del__` implementations and call these yourself when you see fit.
|
179 |
+
|
180 |
+
Another way assure proper cleanup of resources is to factor out GitPython into a
|
181 |
+
separate process which can be dropped periodically.
|
182 |
+
|
183 |
+
#### Windows support
|
184 |
+
|
185 |
+
See [Issue #525](https://github.com/gitpython-developers/GitPython/issues/525).
|
186 |
+
|
187 |
+
### RUNNING TESTS
|
188 |
+
|
189 |
+
_Important_: Right after cloning this repository, please be sure to have executed
|
190 |
+
the `./init-tests-after-clone.sh` script in the repository root. Otherwise
|
191 |
+
you will encounter test failures.
|
192 |
+
|
193 |
+
#### Install test dependencies
|
194 |
+
|
195 |
+
Ensure testing libraries are installed. This is taken care of already if you installed with:
|
196 |
+
|
197 |
+
```sh
|
198 |
+
pip install -e ".[test]"
|
199 |
+
```
|
200 |
+
|
201 |
+
If you had installed with a command like `pip install -e .` instead, you can still run
|
202 |
+
the above command to add the testing dependencies.
|
203 |
+
|
204 |
+
#### Test commands
|
205 |
+
|
206 |
+
To test, run:
|
207 |
+
|
208 |
+
```sh
|
209 |
+
pytest
|
210 |
+
```
|
211 |
+
|
212 |
+
To lint, and apply some linting fixes as well as automatic code formatting, run:
|
213 |
+
|
214 |
+
```sh
|
215 |
+
pre-commit run --all-files
|
216 |
+
```
|
217 |
+
|
218 |
+
This includes the linting and autoformatting done by Ruff, as well as some other checks.
|
219 |
+
|
220 |
+
To typecheck, run:
|
221 |
+
|
222 |
+
```sh
|
223 |
+
mypy
|
224 |
+
```
|
225 |
+
|
226 |
+
#### CI (and tox)
|
227 |
+
|
228 |
+
Style and formatting checks, and running tests on all the different supported Python versions, will be performed:
|
229 |
+
|
230 |
+
- Upon submitting a pull request.
|
231 |
+
- On each push, *if* you have a fork with GitHub Actions enabled.
|
232 |
+
- Locally, if you run [`tox`](https://tox.wiki/) (this skips any Python versions you don't have installed).
|
233 |
+
|
234 |
+
#### Configuration files
|
235 |
+
|
236 |
+
Specific tools are all configured in the `./pyproject.toml` file:
|
237 |
+
|
238 |
+
- `pytest` (test runner)
|
239 |
+
- `coverage.py` (code coverage)
|
240 |
+
- `ruff` (linter and formatter)
|
241 |
+
- `mypy` (type checker)
|
242 |
+
|
243 |
+
Orchestration tools:
|
244 |
+
|
245 |
+
- Configuration for `pre-commit` is in the `./.pre-commit-config.yaml` file.
|
246 |
+
- Configuration for `tox` is in `./tox.ini`.
|
247 |
+
- Configuration for GitHub Actions (CI) is in files inside `./.github/workflows/`.
|
248 |
+
|
249 |
+
### Contributions
|
250 |
+
|
251 |
+
Please have a look at the [contributions file][contributing].
|
252 |
+
|
253 |
+
### INFRASTRUCTURE
|
254 |
+
|
255 |
+
- [User Documentation](http://gitpython.readthedocs.org)
|
256 |
+
- [Questions and Answers](http://stackexchange.com/filters/167317/gitpython)
|
257 |
+
- Please post on Stack Overflow and use the `gitpython` tag
|
258 |
+
- [Issue Tracker](https://github.com/gitpython-developers/GitPython/issues)
|
259 |
+
- Post reproducible bugs and feature requests as a new issue.
|
260 |
+
Please be sure to provide the following information if posting bugs:
|
261 |
+
- GitPython version (e.g. `import git; git.__version__`)
|
262 |
+
- Python version (e.g. `python --version`)
|
263 |
+
- The encountered stack-trace, if applicable
|
264 |
+
- Enough information to allow reproducing the issue
|
265 |
+
|
266 |
+
### How to make a new release
|
267 |
+
|
268 |
+
1. Update/verify the **version** in the `VERSION` file.
|
269 |
+
2. Update/verify that the `doc/source/changes.rst` changelog file was updated. It should include a link to the forthcoming release page: `https://github.com/gitpython-developers/GitPython/releases/tag/<version>`
|
270 |
+
3. Commit everything.
|
271 |
+
4. Run `git tag -s <version>` to tag the version in Git.
|
272 |
+
5. _Optionally_ create and activate a [virtual environment](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment). (Then the next step can install `build` and `twine`.)
|
273 |
+
6. Run `make release`.
|
274 |
+
7. Go to [GitHub Releases](https://github.com/gitpython-developers/GitPython/releases) and publish a new one with the recently pushed tag. Generate the changelog.
|
275 |
+
|
276 |
+
### Projects using GitPython
|
277 |
+
|
278 |
+
- [PyDriller](https://github.com/ishepard/pydriller)
|
279 |
+
- [Kivy Designer](https://github.com/kivy/kivy-designer)
|
280 |
+
- [Prowl](https://github.com/nettitude/Prowl)
|
281 |
+
- [Python Taint](https://github.com/python-security/pyt)
|
282 |
+
- [Buster](https://github.com/axitkhurana/buster)
|
283 |
+
- [git-ftp](https://github.com/ezyang/git-ftp)
|
284 |
+
- [Git-Pandas](https://github.com/wdm0006/git-pandas)
|
285 |
+
- [PyGitUp](https://github.com/msiemens/PyGitUp)
|
286 |
+
- [PyJFuzz](https://github.com/mseclab/PyJFuzz)
|
287 |
+
- [Loki](https://github.com/Neo23x0/Loki)
|
288 |
+
- [Omniwallet](https://github.com/OmniLayer/omniwallet)
|
289 |
+
- [GitViper](https://github.com/BeayemX/GitViper)
|
290 |
+
- [Git Gud](https://github.com/bthayer2365/git-gud)
|
291 |
+
|
292 |
+
### LICENSE
|
293 |
+
|
294 |
+
[3-Clause BSD License](https://opensource.org/license/bsd-3-clause/), also known as the New BSD License. See the [LICENSE file][license].
|
295 |
+
|
296 |
+
[contributing]: https://github.com/gitpython-developers/GitPython/blob/main/CONTRIBUTING.md
|
297 |
+
[license]: https://github.com/gitpython-developers/GitPython/blob/main/LICENSE
|
.cache/pip/http-v2/5/9/5/1/1/595119384424f750543e201763b875c3f3e0ff028ba41e4b528b7dca
ADDED
Binary file (1.18 kB). View file
|
|
.cache/pip/http-v2/5/a/2/6/c/5a26cc45879e115d5aabd5f6ef627d6747bf3160bca5548379570c58
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/7/1/9/e/0/719e0feaf94b669c315daed4ef76501cc929d482e4315b25fd3b0082
ADDED
Binary file (1.2 kB). View file
|
|
.cache/pip/http-v2/7/1/b/9/d/71b9df22187d5c54f1147d4ac0849d1438ec19aedc20363a3478b854
ADDED
Binary file (1.18 kB). View file
|
|
.cache/pip/http-v2/7/c/4/b/8/7c4b8a19f4f69494c22868b76649cd91120de17447e4ff71fb7a7f10
ADDED
Binary file (1.84 kB). View file
|
|
.cache/pip/http-v2/7/c/4/b/8/7c4b8a19f4f69494c22868b76649cd91120de17447e4ff71fb7a7f10.body
ADDED
Binary file (1.39 kB). View file
|
|
.cache/pip/http-v2/7/e/1/d/d/7e1dd8fd372b5a4d9dab3a30df124fb3e1f8789a9ab79f867640876a
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/7/e/1/d/d/7e1dd8fd372b5a4d9dab3a30df124fb3e1f8789a9ab79f867640876a.body
ADDED
Binary file (65.4 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/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6.body
ADDED
Binary file (33.4 kB). View file
|
|
.cache/pip/http-v2/9/0/7/3/0/907304ab7018846e9404873a6f78d90e1b9bd503bfd85425c068e4ad
ADDED
Binary file (1.2 kB). View file
|
|
.cache/pip/http-v2/9/0/7/3/0/907304ab7018846e9404873a6f78d90e1b9bd503bfd85425c068e4ad.body
ADDED
@@ -0,0 +1,1077 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: scipy
|
3 |
+
Version: 1.14.1
|
4 |
+
Summary: Fundamental algorithms for scientific computing in Python
|
5 |
+
Home-page: https://scipy.org/
|
6 |
+
Maintainer-Email: SciPy Developers <[email protected]>
|
7 |
+
License: Copyright (c) 2001-2002 Enthought, Inc. 2003-2024, SciPy Developers.
|
8 |
+
All rights reserved.
|
9 |
+
|
10 |
+
Redistribution and use in source and binary forms, with or without
|
11 |
+
modification, are permitted provided that the following conditions
|
12 |
+
are met:
|
13 |
+
|
14 |
+
1. Redistributions of source code must retain the above copyright
|
15 |
+
notice, this list of conditions and the following disclaimer.
|
16 |
+
|
17 |
+
2. Redistributions in binary form must reproduce the above
|
18 |
+
copyright notice, this list of conditions and the following
|
19 |
+
disclaimer in the documentation and/or other materials provided
|
20 |
+
with the distribution.
|
21 |
+
|
22 |
+
3. Neither the name of the copyright holder nor the names of its
|
23 |
+
contributors may be used to endorse or promote products derived
|
24 |
+
from this software without specific prior written permission.
|
25 |
+
|
26 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
27 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
28 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
29 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
30 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
31 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
32 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
33 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
34 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
35 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
36 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
37 |
+
|
38 |
+
----
|
39 |
+
|
40 |
+
This binary distribution of SciPy also bundles the following software:
|
41 |
+
|
42 |
+
|
43 |
+
Name: OpenBLAS
|
44 |
+
Files: scipy.libs/libopenblas*.so
|
45 |
+
Description: bundled as a dynamically linked library
|
46 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
47 |
+
License: BSD-3-Clause-Attribution
|
48 |
+
Copyright (c) 2011-2014, The OpenBLAS Project
|
49 |
+
All rights reserved.
|
50 |
+
|
51 |
+
Redistribution and use in source and binary forms, with or without
|
52 |
+
modification, are permitted provided that the following conditions are
|
53 |
+
met:
|
54 |
+
|
55 |
+
1. Redistributions of source code must retain the above copyright
|
56 |
+
notice, this list of conditions and the following disclaimer.
|
57 |
+
|
58 |
+
2. Redistributions in binary form must reproduce the above copyright
|
59 |
+
notice, this list of conditions and the following disclaimer in
|
60 |
+
the documentation and/or other materials provided with the
|
61 |
+
distribution.
|
62 |
+
3. Neither the name of the OpenBLAS project nor the names of
|
63 |
+
its contributors may be used to endorse or promote products
|
64 |
+
derived from this software without specific prior written
|
65 |
+
permission.
|
66 |
+
|
67 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
68 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
69 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
70 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
71 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
72 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
73 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
74 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
75 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
76 |
+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
77 |
+
|
78 |
+
|
79 |
+
Name: LAPACK
|
80 |
+
Files: scipy.libs/libopenblas*.so
|
81 |
+
Description: bundled in OpenBLAS
|
82 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
83 |
+
License: BSD-3-Clause-Attribution
|
84 |
+
Copyright (c) 1992-2013 The University of Tennessee and The University
|
85 |
+
of Tennessee Research Foundation. All rights
|
86 |
+
reserved.
|
87 |
+
Copyright (c) 2000-2013 The University of California Berkeley. All
|
88 |
+
rights reserved.
|
89 |
+
Copyright (c) 2006-2013 The University of Colorado Denver. All rights
|
90 |
+
reserved.
|
91 |
+
|
92 |
+
$COPYRIGHT$
|
93 |
+
|
94 |
+
Additional copyrights may follow
|
95 |
+
|
96 |
+
$HEADER$
|
97 |
+
|
98 |
+
Redistribution and use in source and binary forms, with or without
|
99 |
+
modification, are permitted provided that the following conditions are
|
100 |
+
met:
|
101 |
+
|
102 |
+
- Redistributions of source code must retain the above copyright
|
103 |
+
notice, this list of conditions and the following disclaimer.
|
104 |
+
|
105 |
+
- Redistributions in binary form must reproduce the above copyright
|
106 |
+
notice, this list of conditions and the following disclaimer listed
|
107 |
+
in this license in the documentation and/or other materials
|
108 |
+
provided with the distribution.
|
109 |
+
|
110 |
+
- Neither the name of the copyright holders nor the names of its
|
111 |
+
contributors may be used to endorse or promote products derived from
|
112 |
+
this software without specific prior written permission.
|
113 |
+
|
114 |
+
The copyright holders provide no reassurances that the source code
|
115 |
+
provided does not infringe any patent, copyright, or any other
|
116 |
+
intellectual property rights of third parties. The copyright holders
|
117 |
+
disclaim any liability to any recipient for claims brought against
|
118 |
+
recipient by any third party for infringement of that parties
|
119 |
+
intellectual property rights.
|
120 |
+
|
121 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
122 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
123 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
124 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
125 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
126 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
127 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
128 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
129 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
130 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
131 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
132 |
+
|
133 |
+
|
134 |
+
Name: GCC runtime library
|
135 |
+
Files: scipy.libs/libgfortran*.so
|
136 |
+
Description: dynamically linked to files compiled with gcc
|
137 |
+
Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran
|
138 |
+
License: GPL-3.0-with-GCC-exception
|
139 |
+
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
140 |
+
|
141 |
+
Libgfortran is free software; you can redistribute it and/or modify
|
142 |
+
it under the terms of the GNU General Public License as published by
|
143 |
+
the Free Software Foundation; either version 3, or (at your option)
|
144 |
+
any later version.
|
145 |
+
|
146 |
+
Libgfortran is distributed in the hope that it will be useful,
|
147 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
148 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
149 |
+
GNU General Public License for more details.
|
150 |
+
|
151 |
+
Under Section 7 of GPL version 3, you are granted additional
|
152 |
+
permissions described in the GCC Runtime Library Exception, version
|
153 |
+
3.1, as published by the Free Software Foundation.
|
154 |
+
|
155 |
+
You should have received a copy of the GNU General Public License and
|
156 |
+
a copy of the GCC Runtime Library Exception along with this program;
|
157 |
+
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
158 |
+
<http://www.gnu.org/licenses/>.
|
159 |
+
|
160 |
+
----
|
161 |
+
|
162 |
+
Full text of license texts referred to above follows (that they are
|
163 |
+
listed below does not necessarily imply the conditions apply to the
|
164 |
+
present binary release):
|
165 |
+
|
166 |
+
----
|
167 |
+
|
168 |
+
GCC RUNTIME LIBRARY EXCEPTION
|
169 |
+
|
170 |
+
Version 3.1, 31 March 2009
|
171 |
+
|
172 |
+
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
|
173 |
+
|
174 |
+
Everyone is permitted to copy and distribute verbatim copies of this
|
175 |
+
license document, but changing it is not allowed.
|
176 |
+
|
177 |
+
This GCC Runtime Library Exception ("Exception") is an additional
|
178 |
+
permission under section 7 of the GNU General Public License, version
|
179 |
+
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
|
180 |
+
bears a notice placed by the copyright holder of the file stating that
|
181 |
+
the file is governed by GPLv3 along with this Exception.
|
182 |
+
|
183 |
+
When you use GCC to compile a program, GCC may combine portions of
|
184 |
+
certain GCC header files and runtime libraries with the compiled
|
185 |
+
program. The purpose of this Exception is to allow compilation of
|
186 |
+
non-GPL (including proprietary) programs to use, in this way, the
|
187 |
+
header files and runtime libraries covered by this Exception.
|
188 |
+
|
189 |
+
0. Definitions.
|
190 |
+
|
191 |
+
A file is an "Independent Module" if it either requires the Runtime
|
192 |
+
Library for execution after a Compilation Process, or makes use of an
|
193 |
+
interface provided by the Runtime Library, but is not otherwise based
|
194 |
+
on the Runtime Library.
|
195 |
+
|
196 |
+
"GCC" means a version of the GNU Compiler Collection, with or without
|
197 |
+
modifications, governed by version 3 (or a specified later version) of
|
198 |
+
the GNU General Public License (GPL) with the option of using any
|
199 |
+
subsequent versions published by the FSF.
|
200 |
+
|
201 |
+
"GPL-compatible Software" is software whose conditions of propagation,
|
202 |
+
modification and use would permit combination with GCC in accord with
|
203 |
+
the license of GCC.
|
204 |
+
|
205 |
+
"Target Code" refers to output from any compiler for a real or virtual
|
206 |
+
target processor architecture, in executable form or suitable for
|
207 |
+
input to an assembler, loader, linker and/or execution
|
208 |
+
phase. Notwithstanding that, Target Code does not include data in any
|
209 |
+
format that is used as a compiler intermediate representation, or used
|
210 |
+
for producing a compiler intermediate representation.
|
211 |
+
|
212 |
+
The "Compilation Process" transforms code entirely represented in
|
213 |
+
non-intermediate languages designed for human-written code, and/or in
|
214 |
+
Java Virtual Machine byte code, into Target Code. Thus, for example,
|
215 |
+
use of source code generators and preprocessors need not be considered
|
216 |
+
part of the Compilation Process, since the Compilation Process can be
|
217 |
+
understood as starting with the output of the generators or
|
218 |
+
preprocessors.
|
219 |
+
|
220 |
+
A Compilation Process is "Eligible" if it is done using GCC, alone or
|
221 |
+
with other GPL-compatible software, or if it is done without using any
|
222 |
+
work based on GCC. For example, using non-GPL-compatible Software to
|
223 |
+
optimize any GCC intermediate representations would not qualify as an
|
224 |
+
Eligible Compilation Process.
|
225 |
+
|
226 |
+
1. Grant of Additional Permission.
|
227 |
+
|
228 |
+
You have permission to propagate a work of Target Code formed by
|
229 |
+
combining the Runtime Library with Independent Modules, even if such
|
230 |
+
propagation would otherwise violate the terms of GPLv3, provided that
|
231 |
+
all Target Code was generated by Eligible Compilation Processes. You
|
232 |
+
may then convey such a combination under terms of your choice,
|
233 |
+
consistent with the licensing of the Independent Modules.
|
234 |
+
|
235 |
+
2. No Weakening of GCC Copyleft.
|
236 |
+
|
237 |
+
The availability of this Exception does not imply any general
|
238 |
+
presumption that third-party software is unaffected by the copyleft
|
239 |
+
requirements of the license of GCC.
|
240 |
+
|
241 |
+
----
|
242 |
+
|
243 |
+
GNU GENERAL PUBLIC LICENSE
|
244 |
+
Version 3, 29 June 2007
|
245 |
+
|
246 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
247 |
+
Everyone is permitted to copy and distribute verbatim copies
|
248 |
+
of this license document, but changing it is not allowed.
|
249 |
+
|
250 |
+
Preamble
|
251 |
+
|
252 |
+
The GNU General Public License is a free, copyleft license for
|
253 |
+
software and other kinds of works.
|
254 |
+
|
255 |
+
The licenses for most software and other practical works are designed
|
256 |
+
to take away your freedom to share and change the works. By contrast,
|
257 |
+
the GNU General Public License is intended to guarantee your freedom to
|
258 |
+
share and change all versions of a program--to make sure it remains free
|
259 |
+
software for all its users. We, the Free Software Foundation, use the
|
260 |
+
GNU General Public License for most of our software; it applies also to
|
261 |
+
any other work released this way by its authors. You can apply it to
|
262 |
+
your programs, too.
|
263 |
+
|
264 |
+
When we speak of free software, we are referring to freedom, not
|
265 |
+
price. Our General Public Licenses are designed to make sure that you
|
266 |
+
have the freedom to distribute copies of free software (and charge for
|
267 |
+
them if you wish), that you receive source code or can get it if you
|
268 |
+
want it, that you can change the software or use pieces of it in new
|
269 |
+
free programs, and that you know you can do these things.
|
270 |
+
|
271 |
+
To protect your rights, we need to prevent others from denying you
|
272 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
273 |
+
certain responsibilities if you distribute copies of the software, or if
|
274 |
+
you modify it: responsibilities to respect the freedom of others.
|
275 |
+
|
276 |
+
For example, if you distribute copies of such a program, whether
|
277 |
+
gratis or for a fee, you must pass on to the recipients the same
|
278 |
+
freedoms that you received. You must make sure that they, too, receive
|
279 |
+
or can get the source code. And you must show them these terms so they
|
280 |
+
know their rights.
|
281 |
+
|
282 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
283 |
+
(1) assert copyright on the software, and (2) offer you this License
|
284 |
+
giving you legal permission to copy, distribute and/or modify it.
|
285 |
+
|
286 |
+
For the developers' and authors' protection, the GPL clearly explains
|
287 |
+
that there is no warranty for this free software. For both users' and
|
288 |
+
authors' sake, the GPL requires that modified versions be marked as
|
289 |
+
changed, so that their problems will not be attributed erroneously to
|
290 |
+
authors of previous versions.
|
291 |
+
|
292 |
+
Some devices are designed to deny users access to install or run
|
293 |
+
modified versions of the software inside them, although the manufacturer
|
294 |
+
can do so. This is fundamentally incompatible with the aim of
|
295 |
+
protecting users' freedom to change the software. The systematic
|
296 |
+
pattern of such abuse occurs in the area of products for individuals to
|
297 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
298 |
+
have designed this version of the GPL to prohibit the practice for those
|
299 |
+
products. If such problems arise substantially in other domains, we
|
300 |
+
stand ready to extend this provision to those domains in future versions
|
301 |
+
of the GPL, as needed to protect the freedom of users.
|
302 |
+
|
303 |
+
Finally, every program is threatened constantly by software patents.
|
304 |
+
States should not allow patents to restrict development and use of
|
305 |
+
software on general-purpose computers, but in those that do, we wish to
|
306 |
+
avoid the special danger that patents applied to a free program could
|
307 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
308 |
+
patents cannot be used to render the program non-free.
|
309 |
+
|
310 |
+
The precise terms and conditions for copying, distribution and
|
311 |
+
modification follow.
|
312 |
+
|
313 |
+
TERMS AND CONDITIONS
|
314 |
+
|
315 |
+
0. Definitions.
|
316 |
+
|
317 |
+
"This License" refers to version 3 of the GNU General Public License.
|
318 |
+
|
319 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
320 |
+
works, such as semiconductor masks.
|
321 |
+
|
322 |
+
"The Program" refers to any copyrightable work licensed under this
|
323 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
324 |
+
"recipients" may be individuals or organizations.
|
325 |
+
|
326 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
327 |
+
in a fashion requiring copyright permission, other than the making of an
|
328 |
+
exact copy. The resulting work is called a "modified version" of the
|
329 |
+
earlier work or a work "based on" the earlier work.
|
330 |
+
|
331 |
+
A "covered work" means either the unmodified Program or a work based
|
332 |
+
on the Program.
|
333 |
+
|
334 |
+
To "propagate" a work means to do anything with it that, without
|
335 |
+
permission, would make you directly or secondarily liable for
|
336 |
+
infringement under applicable copyright law, except executing it on a
|
337 |
+
computer or modifying a private copy. Propagation includes copying,
|
338 |
+
distribution (with or without modification), making available to the
|
339 |
+
public, and in some countries other activities as well.
|
340 |
+
|
341 |
+
To "convey" a work means any kind of propagation that enables other
|
342 |
+
parties to make or receive copies. Mere interaction with a user through
|
343 |
+
a computer network, with no transfer of a copy, is not conveying.
|
344 |
+
|
345 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
346 |
+
to the extent that it includes a convenient and prominently visible
|
347 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
348 |
+
tells the user that there is no warranty for the work (except to the
|
349 |
+
extent that warranties are provided), that licensees may convey the
|
350 |
+
work under this License, and how to view a copy of this License. If
|
351 |
+
the interface presents a list of user commands or options, such as a
|
352 |
+
menu, a prominent item in the list meets this criterion.
|
353 |
+
|
354 |
+
1. Source Code.
|
355 |
+
|
356 |
+
The "source code" for a work means the preferred form of the work
|
357 |
+
for making modifications to it. "Object code" means any non-source
|
358 |
+
form of a work.
|
359 |
+
|
360 |
+
A "Standard Interface" means an interface that either is an official
|
361 |
+
standard defined by a recognized standards body, or, in the case of
|
362 |
+
interfaces specified for a particular programming language, one that
|
363 |
+
is widely used among developers working in that language.
|
364 |
+
|
365 |
+
The "System Libraries" of an executable work include anything, other
|
366 |
+
than the work as a whole, that (a) is included in the normal form of
|
367 |
+
packaging a Major Component, but which is not part of that Major
|
368 |
+
Component, and (b) serves only to enable use of the work with that
|
369 |
+
Major Component, or to implement a Standard Interface for which an
|
370 |
+
implementation is available to the public in source code form. A
|
371 |
+
"Major Component", in this context, means a major essential component
|
372 |
+
(kernel, window system, and so on) of the specific operating system
|
373 |
+
(if any) on which the executable work runs, or a compiler used to
|
374 |
+
produce the work, or an object code interpreter used to run it.
|
375 |
+
|
376 |
+
The "Corresponding Source" for a work in object code form means all
|
377 |
+
the source code needed to generate, install, and (for an executable
|
378 |
+
work) run the object code and to modify the work, including scripts to
|
379 |
+
control those activities. However, it does not include the work's
|
380 |
+
System Libraries, or general-purpose tools or generally available free
|
381 |
+
programs which are used unmodified in performing those activities but
|
382 |
+
which are not part of the work. For example, Corresponding Source
|
383 |
+
includes interface definition files associated with source files for
|
384 |
+
the work, and the source code for shared libraries and dynamically
|
385 |
+
linked subprograms that the work is specifically designed to require,
|
386 |
+
such as by intimate data communication or control flow between those
|
387 |
+
subprograms and other parts of the work.
|
388 |
+
|
389 |
+
The Corresponding Source need not include anything that users
|
390 |
+
can regenerate automatically from other parts of the Corresponding
|
391 |
+
Source.
|
392 |
+
|
393 |
+
The Corresponding Source for a work in source code form is that
|
394 |
+
same work.
|
395 |
+
|
396 |
+
2. Basic Permissions.
|
397 |
+
|
398 |
+
All rights granted under this License are granted for the term of
|
399 |
+
copyright on the Program, and are irrevocable provided the stated
|
400 |
+
conditions are met. This License explicitly affirms your unlimited
|
401 |
+
permission to run the unmodified Program. The output from running a
|
402 |
+
covered work is covered by this License only if the output, given its
|
403 |
+
content, constitutes a covered work. This License acknowledges your
|
404 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
405 |
+
|
406 |
+
You may make, run and propagate covered works that you do not
|
407 |
+
convey, without conditions so long as your license otherwise remains
|
408 |
+
in force. You may convey covered works to others for the sole purpose
|
409 |
+
of having them make modifications exclusively for you, or provide you
|
410 |
+
with facilities for running those works, provided that you comply with
|
411 |
+
the terms of this License in conveying all material for which you do
|
412 |
+
not control copyright. Those thus making or running the covered works
|
413 |
+
for you must do so exclusively on your behalf, under your direction
|
414 |
+
and control, on terms that prohibit them from making any copies of
|
415 |
+
your copyrighted material outside their relationship with you.
|
416 |
+
|
417 |
+
Conveying under any other circumstances is permitted solely under
|
418 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
419 |
+
makes it unnecessary.
|
420 |
+
|
421 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
422 |
+
|
423 |
+
No covered work shall be deemed part of an effective technological
|
424 |
+
measure under any applicable law fulfilling obligations under article
|
425 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
426 |
+
similar laws prohibiting or restricting circumvention of such
|
427 |
+
measures.
|
428 |
+
|
429 |
+
When you convey a covered work, you waive any legal power to forbid
|
430 |
+
circumvention of technological measures to the extent such circumvention
|
431 |
+
is effected by exercising rights under this License with respect to
|
432 |
+
the covered work, and you disclaim any intention to limit operation or
|
433 |
+
modification of the work as a means of enforcing, against the work's
|
434 |
+
users, your or third parties' legal rights to forbid circumvention of
|
435 |
+
technological measures.
|
436 |
+
|
437 |
+
4. Conveying Verbatim Copies.
|
438 |
+
|
439 |
+
You may convey verbatim copies of the Program's source code as you
|
440 |
+
receive it, in any medium, provided that you conspicuously and
|
441 |
+
appropriately publish on each copy an appropriate copyright notice;
|
442 |
+
keep intact all notices stating that this License and any
|
443 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
444 |
+
keep intact all notices of the absence of any warranty; and give all
|
445 |
+
recipients a copy of this License along with the Program.
|
446 |
+
|
447 |
+
You may charge any price or no price for each copy that you convey,
|
448 |
+
and you may offer support or warranty protection for a fee.
|
449 |
+
|
450 |
+
5. Conveying Modified Source Versions.
|
451 |
+
|
452 |
+
You may convey a work based on the Program, or the modifications to
|
453 |
+
produce it from the Program, in the form of source code under the
|
454 |
+
terms of section 4, provided that you also meet all of these conditions:
|
455 |
+
|
456 |
+
a) The work must carry prominent notices stating that you modified
|
457 |
+
it, and giving a relevant date.
|
458 |
+
|
459 |
+
b) The work must carry prominent notices stating that it is
|
460 |
+
released under this License and any conditions added under section
|
461 |
+
7. This requirement modifies the requirement in section 4 to
|
462 |
+
"keep intact all notices".
|
463 |
+
|
464 |
+
c) You must license the entire work, as a whole, under this
|
465 |
+
License to anyone who comes into possession of a copy. This
|
466 |
+
License will therefore apply, along with any applicable section 7
|
467 |
+
additional terms, to the whole of the work, and all its parts,
|
468 |
+
regardless of how they are packaged. This License gives no
|
469 |
+
permission to license the work in any other way, but it does not
|
470 |
+
invalidate such permission if you have separately received it.
|
471 |
+
|
472 |
+
d) If the work has interactive user interfaces, each must display
|
473 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
474 |
+
interfaces that do not display Appropriate Legal Notices, your
|
475 |
+
work need not make them do so.
|
476 |
+
|
477 |
+
A compilation of a covered work with other separate and independent
|
478 |
+
works, which are not by their nature extensions of the covered work,
|
479 |
+
and which are not combined with it such as to form a larger program,
|
480 |
+
in or on a volume of a storage or distribution medium, is called an
|
481 |
+
"aggregate" if the compilation and its resulting copyright are not
|
482 |
+
used to limit the access or legal rights of the compilation's users
|
483 |
+
beyond what the individual works permit. Inclusion of a covered work
|
484 |
+
in an aggregate does not cause this License to apply to the other
|
485 |
+
parts of the aggregate.
|
486 |
+
|
487 |
+
6. Conveying Non-Source Forms.
|
488 |
+
|
489 |
+
You may convey a covered work in object code form under the terms
|
490 |
+
of sections 4 and 5, provided that you also convey the
|
491 |
+
machine-readable Corresponding Source under the terms of this License,
|
492 |
+
in one of these ways:
|
493 |
+
|
494 |
+
a) Convey the object code in, or embodied in, a physical product
|
495 |
+
(including a physical distribution medium), accompanied by the
|
496 |
+
Corresponding Source fixed on a durable physical medium
|
497 |
+
customarily used for software interchange.
|
498 |
+
|
499 |
+
b) Convey the object code in, or embodied in, a physical product
|
500 |
+
(including a physical distribution medium), accompanied by a
|
501 |
+
written offer, valid for at least three years and valid for as
|
502 |
+
long as you offer spare parts or customer support for that product
|
503 |
+
model, to give anyone who possesses the object code either (1) a
|
504 |
+
copy of the Corresponding Source for all the software in the
|
505 |
+
product that is covered by this License, on a durable physical
|
506 |
+
medium customarily used for software interchange, for a price no
|
507 |
+
more than your reasonable cost of physically performing this
|
508 |
+
conveying of source, or (2) access to copy the
|
509 |
+
Corresponding Source from a network server at no charge.
|
510 |
+
|
511 |
+
c) Convey individual copies of the object code with a copy of the
|
512 |
+
written offer to provide the Corresponding Source. This
|
513 |
+
alternative is allowed only occasionally and noncommercially, and
|
514 |
+
only if you received the object code with such an offer, in accord
|
515 |
+
with subsection 6b.
|
516 |
+
|
517 |
+
d) Convey the object code by offering access from a designated
|
518 |
+
place (gratis or for a charge), and offer equivalent access to the
|
519 |
+
Corresponding Source in the same way through the same place at no
|
520 |
+
further charge. You need not require recipients to copy the
|
521 |
+
Corresponding Source along with the object code. If the place to
|
522 |
+
copy the object code is a network server, the Corresponding Source
|
523 |
+
may be on a different server (operated by you or a third party)
|
524 |
+
that supports equivalent copying facilities, provided you maintain
|
525 |
+
clear directions next to the object code saying where to find the
|
526 |
+
Corresponding Source. Regardless of what server hosts the
|
527 |
+
Corresponding Source, you remain obligated to ensure that it is
|
528 |
+
available for as long as needed to satisfy these requirements.
|
529 |
+
|
530 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
531 |
+
you inform other peers where the object code and Corresponding
|
532 |
+
Source of the work are being offered to the general public at no
|
533 |
+
charge under subsection 6d.
|
534 |
+
|
535 |
+
A separable portion of the object code, whose source code is excluded
|
536 |
+
from the Corresponding Source as a System Library, need not be
|
537 |
+
included in conveying the object code work.
|
538 |
+
|
539 |
+
A "User Product" is either (1) a "consumer product", which means any
|
540 |
+
tangible personal property which is normally used for personal, family,
|
541 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
542 |
+
into a dwelling. In determining whether a product is a consumer product,
|
543 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
544 |
+
product received by a particular user, "normally used" refers to a
|
545 |
+
typical or common use of that class of product, regardless of the status
|
546 |
+
of the particular user or of the way in which the particular user
|
547 |
+
actually uses, or expects or is expected to use, the product. A product
|
548 |
+
is a consumer product regardless of whether the product has substantial
|
549 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
550 |
+
the only significant mode of use of the product.
|
551 |
+
|
552 |
+
"Installation Information" for a User Product means any methods,
|
553 |
+
procedures, authorization keys, or other information required to install
|
554 |
+
and execute modified versions of a covered work in that User Product from
|
555 |
+
a modified version of its Corresponding Source. The information must
|
556 |
+
suffice to ensure that the continued functioning of the modified object
|
557 |
+
code is in no case prevented or interfered with solely because
|
558 |
+
modification has been made.
|
559 |
+
|
560 |
+
If you convey an object code work under this section in, or with, or
|
561 |
+
specifically for use in, a User Product, and the conveying occurs as
|
562 |
+
part of a transaction in which the right of possession and use of the
|
563 |
+
User Product is transferred to the recipient in perpetuity or for a
|
564 |
+
fixed term (regardless of how the transaction is characterized), the
|
565 |
+
Corresponding Source conveyed under this section must be accompanied
|
566 |
+
by the Installation Information. But this requirement does not apply
|
567 |
+
if neither you nor any third party retains the ability to install
|
568 |
+
modified object code on the User Product (for example, the work has
|
569 |
+
been installed in ROM).
|
570 |
+
|
571 |
+
The requirement to provide Installation Information does not include a
|
572 |
+
requirement to continue to provide support service, warranty, or updates
|
573 |
+
for a work that has been modified or installed by the recipient, or for
|
574 |
+
the User Product in which it has been modified or installed. Access to a
|
575 |
+
network may be denied when the modification itself materially and
|
576 |
+
adversely affects the operation of the network or violates the rules and
|
577 |
+
protocols for communication across the network.
|
578 |
+
|
579 |
+
Corresponding Source conveyed, and Installation Information provided,
|
580 |
+
in accord with this section must be in a format that is publicly
|
581 |
+
documented (and with an implementation available to the public in
|
582 |
+
source code form), and must require no special password or key for
|
583 |
+
unpacking, reading or copying.
|
584 |
+
|
585 |
+
7. Additional Terms.
|
586 |
+
|
587 |
+
"Additional permissions" are terms that supplement the terms of this
|
588 |
+
License by making exceptions from one or more of its conditions.
|
589 |
+
Additional permissions that are applicable to the entire Program shall
|
590 |
+
be treated as though they were included in this License, to the extent
|
591 |
+
that they are valid under applicable law. If additional permissions
|
592 |
+
apply only to part of the Program, that part may be used separately
|
593 |
+
under those permissions, but the entire Program remains governed by
|
594 |
+
this License without regard to the additional permissions.
|
595 |
+
|
596 |
+
When you convey a copy of a covered work, you may at your option
|
597 |
+
remove any additional permissions from that copy, or from any part of
|
598 |
+
it. (Additional permissions may be written to require their own
|
599 |
+
removal in certain cases when you modify the work.) You may place
|
600 |
+
additional permissions on material, added by you to a covered work,
|
601 |
+
for which you have or can give appropriate copyright permission.
|
602 |
+
|
603 |
+
Notwithstanding any other provision of this License, for material you
|
604 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
605 |
+
that material) supplement the terms of this License with terms:
|
606 |
+
|
607 |
+
a) Disclaiming warranty or limiting liability differently from the
|
608 |
+
terms of sections 15 and 16 of this License; or
|
609 |
+
|
610 |
+
b) Requiring preservation of specified reasonable legal notices or
|
611 |
+
author attributions in that material or in the Appropriate Legal
|
612 |
+
Notices displayed by works containing it; or
|
613 |
+
|
614 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
615 |
+
requiring that modified versions of such material be marked in
|
616 |
+
reasonable ways as different from the original version; or
|
617 |
+
|
618 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
619 |
+
authors of the material; or
|
620 |
+
|
621 |
+
e) Declining to grant rights under trademark law for use of some
|
622 |
+
trade names, trademarks, or service marks; or
|
623 |
+
|
624 |
+
f) Requiring indemnification of licensors and authors of that
|
625 |
+
material by anyone who conveys the material (or modified versions of
|
626 |
+
it) with contractual assumptions of liability to the recipient, for
|
627 |
+
any liability that these contractual assumptions directly impose on
|
628 |
+
those licensors and authors.
|
629 |
+
|
630 |
+
All other non-permissive additional terms are considered "further
|
631 |
+
restrictions" within the meaning of section 10. If the Program as you
|
632 |
+
received it, or any part of it, contains a notice stating that it is
|
633 |
+
governed by this License along with a term that is a further
|
634 |
+
restriction, you may remove that term. If a license document contains
|
635 |
+
a further restriction but permits relicensing or conveying under this
|
636 |
+
License, you may add to a covered work material governed by the terms
|
637 |
+
of that license document, provided that the further restriction does
|
638 |
+
not survive such relicensing or conveying.
|
639 |
+
|
640 |
+
If you add terms to a covered work in accord with this section, you
|
641 |
+
must place, in the relevant source files, a statement of the
|
642 |
+
additional terms that apply to those files, or a notice indicating
|
643 |
+
where to find the applicable terms.
|
644 |
+
|
645 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
646 |
+
form of a separately written license, or stated as exceptions;
|
647 |
+
the above requirements apply either way.
|
648 |
+
|
649 |
+
8. Termination.
|
650 |
+
|
651 |
+
You may not propagate or modify a covered work except as expressly
|
652 |
+
provided under this License. Any attempt otherwise to propagate or
|
653 |
+
modify it is void, and will automatically terminate your rights under
|
654 |
+
this License (including any patent licenses granted under the third
|
655 |
+
paragraph of section 11).
|
656 |
+
|
657 |
+
However, if you cease all violation of this License, then your
|
658 |
+
license from a particular copyright holder is reinstated (a)
|
659 |
+
provisionally, unless and until the copyright holder explicitly and
|
660 |
+
finally terminates your license, and (b) permanently, if the copyright
|
661 |
+
holder fails to notify you of the violation by some reasonable means
|
662 |
+
prior to 60 days after the cessation.
|
663 |
+
|
664 |
+
Moreover, your license from a particular copyright holder is
|
665 |
+
reinstated permanently if the copyright holder notifies you of the
|
666 |
+
violation by some reasonable means, this is the first time you have
|
667 |
+
received notice of violation of this License (for any work) from that
|
668 |
+
copyright holder, and you cure the violation prior to 30 days after
|
669 |
+
your receipt of the notice.
|
670 |
+
|
671 |
+
Termination of your rights under this section does not terminate the
|
672 |
+
licenses of parties who have received copies or rights from you under
|
673 |
+
this License. If your rights have been terminated and not permanently
|
674 |
+
reinstated, you do not qualify to receive new licenses for the same
|
675 |
+
material under section 10.
|
676 |
+
|
677 |
+
9. Acceptance Not Required for Having Copies.
|
678 |
+
|
679 |
+
You are not required to accept this License in order to receive or
|
680 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
681 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
682 |
+
to receive a copy likewise does not require acceptance. However,
|
683 |
+
nothing other than this License grants you permission to propagate or
|
684 |
+
modify any covered work. These actions infringe copyright if you do
|
685 |
+
not accept this License. Therefore, by modifying or propagating a
|
686 |
+
covered work, you indicate your acceptance of this License to do so.
|
687 |
+
|
688 |
+
10. Automatic Licensing of Downstream Recipients.
|
689 |
+
|
690 |
+
Each time you convey a covered work, the recipient automatically
|
691 |
+
receives a license from the original licensors, to run, modify and
|
692 |
+
propagate that work, subject to this License. You are not responsible
|
693 |
+
for enforcing compliance by third parties with this License.
|
694 |
+
|
695 |
+
An "entity transaction" is a transaction transferring control of an
|
696 |
+
organization, or substantially all assets of one, or subdividing an
|
697 |
+
organization, or merging organizations. If propagation of a covered
|
698 |
+
work results from an entity transaction, each party to that
|
699 |
+
transaction who receives a copy of the work also receives whatever
|
700 |
+
licenses to the work the party's predecessor in interest had or could
|
701 |
+
give under the previous paragraph, plus a right to possession of the
|
702 |
+
Corresponding Source of the work from the predecessor in interest, if
|
703 |
+
the predecessor has it or can get it with reasonable efforts.
|
704 |
+
|
705 |
+
You may not impose any further restrictions on the exercise of the
|
706 |
+
rights granted or affirmed under this License. For example, you may
|
707 |
+
not impose a license fee, royalty, or other charge for exercise of
|
708 |
+
rights granted under this License, and you may not initiate litigation
|
709 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
710 |
+
any patent claim is infringed by making, using, selling, offering for
|
711 |
+
sale, or importing the Program or any portion of it.
|
712 |
+
|
713 |
+
11. Patents.
|
714 |
+
|
715 |
+
A "contributor" is a copyright holder who authorizes use under this
|
716 |
+
License of the Program or a work on which the Program is based. The
|
717 |
+
work thus licensed is called the contributor's "contributor version".
|
718 |
+
|
719 |
+
A contributor's "essential patent claims" are all patent claims
|
720 |
+
owned or controlled by the contributor, whether already acquired or
|
721 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
722 |
+
by this License, of making, using, or selling its contributor version,
|
723 |
+
but do not include claims that would be infringed only as a
|
724 |
+
consequence of further modification of the contributor version. For
|
725 |
+
purposes of this definition, "control" includes the right to grant
|
726 |
+
patent sublicenses in a manner consistent with the requirements of
|
727 |
+
this License.
|
728 |
+
|
729 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
730 |
+
patent license under the contributor's essential patent claims, to
|
731 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
732 |
+
propagate the contents of its contributor version.
|
733 |
+
|
734 |
+
In the following three paragraphs, a "patent license" is any express
|
735 |
+
agreement or commitment, however denominated, not to enforce a patent
|
736 |
+
(such as an express permission to practice a patent or covenant not to
|
737 |
+
sue for patent infringement). To "grant" such a patent license to a
|
738 |
+
party means to make such an agreement or commitment not to enforce a
|
739 |
+
patent against the party.
|
740 |
+
|
741 |
+
If you convey a covered work, knowingly relying on a patent license,
|
742 |
+
and the Corresponding Source of the work is not available for anyone
|
743 |
+
to copy, free of charge and under the terms of this License, through a
|
744 |
+
publicly available network server or other readily accessible means,
|
745 |
+
then you must either (1) cause the Corresponding Source to be so
|
746 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
747 |
+
patent license for this particular work, or (3) arrange, in a manner
|
748 |
+
consistent with the requirements of this License, to extend the patent
|
749 |
+
license to downstream recipients. "Knowingly relying" means you have
|
750 |
+
actual knowledge that, but for the patent license, your conveying the
|
751 |
+
covered work in a country, or your recipient's use of the covered work
|
752 |
+
in a country, would infringe one or more identifiable patents in that
|
753 |
+
country that you have reason to believe are valid.
|
754 |
+
|
755 |
+
If, pursuant to or in connection with a single transaction or
|
756 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
757 |
+
covered work, and grant a patent license to some of the parties
|
758 |
+
receiving the covered work authorizing them to use, propagate, modify
|
759 |
+
or convey a specific copy of the covered work, then the patent license
|
760 |
+
you grant is automatically extended to all recipients of the covered
|
761 |
+
work and works based on it.
|
762 |
+
|
763 |
+
A patent license is "discriminatory" if it does not include within
|
764 |
+
the scope of its coverage, prohibits the exercise of, or is
|
765 |
+
conditioned on the non-exercise of one or more of the rights that are
|
766 |
+
specifically granted under this License. You may not convey a covered
|
767 |
+
work if you are a party to an arrangement with a third party that is
|
768 |
+
in the business of distributing software, under which you make payment
|
769 |
+
to the third party based on the extent of your activity of conveying
|
770 |
+
the work, and under which the third party grants, to any of the
|
771 |
+
parties who would receive the covered work from you, a discriminatory
|
772 |
+
patent license (a) in connection with copies of the covered work
|
773 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
774 |
+
for and in connection with specific products or compilations that
|
775 |
+
contain the covered work, unless you entered into that arrangement,
|
776 |
+
or that patent license was granted, prior to 28 March 2007.
|
777 |
+
|
778 |
+
Nothing in this License shall be construed as excluding or limiting
|
779 |
+
any implied license or other defenses to infringement that may
|
780 |
+
otherwise be available to you under applicable patent law.
|
781 |
+
|
782 |
+
12. No Surrender of Others' Freedom.
|
783 |
+
|
784 |
+
If conditions are imposed on you (whether by court order, agreement or
|
785 |
+
otherwise) that contradict the conditions of this License, they do not
|
786 |
+
excuse you from the conditions of this License. If you cannot convey a
|
787 |
+
covered work so as to satisfy simultaneously your obligations under this
|
788 |
+
License and any other pertinent obligations, then as a consequence you may
|
789 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
790 |
+
to collect a royalty for further conveying from those to whom you convey
|
791 |
+
the Program, the only way you could satisfy both those terms and this
|
792 |
+
License would be to refrain entirely from conveying the Program.
|
793 |
+
|
794 |
+
13. Use with the GNU Affero General Public License.
|
795 |
+
|
796 |
+
Notwithstanding any other provision of this License, you have
|
797 |
+
permission to link or combine any covered work with a work licensed
|
798 |
+
under version 3 of the GNU Affero General Public License into a single
|
799 |
+
combined work, and to convey the resulting work. The terms of this
|
800 |
+
License will continue to apply to the part which is the covered work,
|
801 |
+
but the special requirements of the GNU Affero General Public License,
|
802 |
+
section 13, concerning interaction through a network will apply to the
|
803 |
+
combination as such.
|
804 |
+
|
805 |
+
14. Revised Versions of this License.
|
806 |
+
|
807 |
+
The Free Software Foundation may publish revised and/or new versions of
|
808 |
+
the GNU General Public License from time to time. Such new versions will
|
809 |
+
be similar in spirit to the present version, but may differ in detail to
|
810 |
+
address new problems or concerns.
|
811 |
+
|
812 |
+
Each version is given a distinguishing version number. If the
|
813 |
+
Program specifies that a certain numbered version of the GNU General
|
814 |
+
Public License "or any later version" applies to it, you have the
|
815 |
+
option of following the terms and conditions either of that numbered
|
816 |
+
version or of any later version published by the Free Software
|
817 |
+
Foundation. If the Program does not specify a version number of the
|
818 |
+
GNU General Public License, you may choose any version ever published
|
819 |
+
by the Free Software Foundation.
|
820 |
+
|
821 |
+
If the Program specifies that a proxy can decide which future
|
822 |
+
versions of the GNU General Public License can be used, that proxy's
|
823 |
+
public statement of acceptance of a version permanently authorizes you
|
824 |
+
to choose that version for the Program.
|
825 |
+
|
826 |
+
Later license versions may give you additional or different
|
827 |
+
permissions. However, no additional obligations are imposed on any
|
828 |
+
author or copyright holder as a result of your choosing to follow a
|
829 |
+
later version.
|
830 |
+
|
831 |
+
15. Disclaimer of Warranty.
|
832 |
+
|
833 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
834 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
835 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
836 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
837 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
838 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
839 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
840 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
841 |
+
|
842 |
+
16. Limitation of Liability.
|
843 |
+
|
844 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
845 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
846 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
847 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
848 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
849 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
850 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
851 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
852 |
+
SUCH DAMAGES.
|
853 |
+
|
854 |
+
17. Interpretation of Sections 15 and 16.
|
855 |
+
|
856 |
+
If the disclaimer of warranty and limitation of liability provided
|
857 |
+
above cannot be given local legal effect according to their terms,
|
858 |
+
reviewing courts shall apply local law that most closely approximates
|
859 |
+
an absolute waiver of all civil liability in connection with the
|
860 |
+
Program, unless a warranty or assumption of liability accompanies a
|
861 |
+
copy of the Program in return for a fee.
|
862 |
+
|
863 |
+
END OF TERMS AND CONDITIONS
|
864 |
+
|
865 |
+
How to Apply These Terms to Your New Programs
|
866 |
+
|
867 |
+
If you develop a new program, and you want it to be of the greatest
|
868 |
+
possible use to the public, the best way to achieve this is to make it
|
869 |
+
free software which everyone can redistribute and change under these terms.
|
870 |
+
|
871 |
+
To do so, attach the following notices to the program. It is safest
|
872 |
+
to attach them to the start of each source file to most effectively
|
873 |
+
state the exclusion of warranty; and each file should have at least
|
874 |
+
the "copyright" line and a pointer to where the full notice is found.
|
875 |
+
|
876 |
+
<one line to give the program's name and a brief idea of what it does.>
|
877 |
+
Copyright (C) <year> <name of author>
|
878 |
+
|
879 |
+
This program is free software: you can redistribute it and/or modify
|
880 |
+
it under the terms of the GNU General Public License as published by
|
881 |
+
the Free Software Foundation, either version 3 of the License, or
|
882 |
+
(at your option) any later version.
|
883 |
+
|
884 |
+
This program is distributed in the hope that it will be useful,
|
885 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
886 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
887 |
+
GNU General Public License for more details.
|
888 |
+
|
889 |
+
You should have received a copy of the GNU General Public License
|
890 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
891 |
+
|
892 |
+
Also add information on how to contact you by electronic and paper mail.
|
893 |
+
|
894 |
+
If the program does terminal interaction, make it output a short
|
895 |
+
notice like this when it starts in an interactive mode:
|
896 |
+
|
897 |
+
<program> Copyright (C) <year> <name of author>
|
898 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
899 |
+
This is free software, and you are welcome to redistribute it
|
900 |
+
under certain conditions; type `show c' for details.
|
901 |
+
|
902 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
903 |
+
parts of the General Public License. Of course, your program's commands
|
904 |
+
might be different; for a GUI interface, you would use an "about box".
|
905 |
+
|
906 |
+
You should also get your employer (if you work as a programmer) or school,
|
907 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
908 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
909 |
+
<http://www.gnu.org/licenses/>.
|
910 |
+
|
911 |
+
The GNU General Public License does not permit incorporating your program
|
912 |
+
into proprietary programs. If your program is a subroutine library, you
|
913 |
+
may consider it more useful to permit linking proprietary applications with
|
914 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
915 |
+
Public License instead of this License. But first, please read
|
916 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
917 |
+
|
918 |
+
|
919 |
+
Name: libquadmath
|
920 |
+
Files: scipy.libs/libquadmath*.so
|
921 |
+
Description: dynamically linked to files compiled with gcc
|
922 |
+
Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libquadmath
|
923 |
+
License: LGPL-2.1-or-later
|
924 |
+
|
925 |
+
GCC Quad-Precision Math Library
|
926 |
+
Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
927 |
+
Written by Francois-Xavier Coudert <[email protected]>
|
928 |
+
|
929 |
+
This file is part of the libquadmath library.
|
930 |
+
Libquadmath is free software; you can redistribute it and/or
|
931 |
+
modify it under the terms of the GNU Library General Public
|
932 |
+
License as published by the Free Software Foundation; either
|
933 |
+
version 2.1 of the License, or (at your option) any later version.
|
934 |
+
|
935 |
+
Libquadmath is distributed in the hope that it will be useful,
|
936 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
937 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
938 |
+
Lesser General Public License for more details.
|
939 |
+
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
|
940 |
+
Classifier: Development Status :: 5 - Production/Stable
|
941 |
+
Classifier: Intended Audience :: Science/Research
|
942 |
+
Classifier: Intended Audience :: Developers
|
943 |
+
Classifier: License :: OSI Approved :: BSD License
|
944 |
+
Classifier: Programming Language :: C
|
945 |
+
Classifier: Programming Language :: Python
|
946 |
+
Classifier: Programming Language :: Python :: 3
|
947 |
+
Classifier: Programming Language :: Python :: 3.10
|
948 |
+
Classifier: Programming Language :: Python :: 3.11
|
949 |
+
Classifier: Programming Language :: Python :: 3.12
|
950 |
+
Classifier: Topic :: Software Development :: Libraries
|
951 |
+
Classifier: Topic :: Scientific/Engineering
|
952 |
+
Classifier: Operating System :: Microsoft :: Windows
|
953 |
+
Classifier: Operating System :: POSIX :: Linux
|
954 |
+
Classifier: Operating System :: POSIX
|
955 |
+
Classifier: Operating System :: Unix
|
956 |
+
Classifier: Operating System :: MacOS
|
957 |
+
Project-URL: Homepage, https://scipy.org/
|
958 |
+
Project-URL: Documentation, https://docs.scipy.org/doc/scipy/
|
959 |
+
Project-URL: Source, https://github.com/scipy/scipy
|
960 |
+
Project-URL: Download, https://github.com/scipy/scipy/releases
|
961 |
+
Project-URL: Tracker, https://github.com/scipy/scipy/issues
|
962 |
+
Requires-Python: >=3.10
|
963 |
+
Requires-Dist: numpy<2.3,>=1.23.5
|
964 |
+
Requires-Dist: pytest; extra == "test"
|
965 |
+
Requires-Dist: pytest-cov; extra == "test"
|
966 |
+
Requires-Dist: pytest-timeout; extra == "test"
|
967 |
+
Requires-Dist: pytest-xdist; extra == "test"
|
968 |
+
Requires-Dist: asv; extra == "test"
|
969 |
+
Requires-Dist: mpmath; extra == "test"
|
970 |
+
Requires-Dist: gmpy2; extra == "test"
|
971 |
+
Requires-Dist: threadpoolctl; extra == "test"
|
972 |
+
Requires-Dist: scikit-umfpack; extra == "test"
|
973 |
+
Requires-Dist: pooch; extra == "test"
|
974 |
+
Requires-Dist: hypothesis>=6.30; extra == "test"
|
975 |
+
Requires-Dist: array-api-strict>=2.0; extra == "test"
|
976 |
+
Requires-Dist: Cython; extra == "test"
|
977 |
+
Requires-Dist: meson; extra == "test"
|
978 |
+
Requires-Dist: ninja; sys_platform != "emscripten" and extra == "test"
|
979 |
+
Requires-Dist: sphinx<=7.3.7,>=5.0.0; extra == "doc"
|
980 |
+
Requires-Dist: pydata-sphinx-theme>=0.15.2; extra == "doc"
|
981 |
+
Requires-Dist: sphinx-design>=0.4.0; extra == "doc"
|
982 |
+
Requires-Dist: matplotlib>=3.5; extra == "doc"
|
983 |
+
Requires-Dist: numpydoc; extra == "doc"
|
984 |
+
Requires-Dist: jupytext; extra == "doc"
|
985 |
+
Requires-Dist: myst-nb; extra == "doc"
|
986 |
+
Requires-Dist: pooch; extra == "doc"
|
987 |
+
Requires-Dist: jupyterlite-sphinx>=0.13.1; extra == "doc"
|
988 |
+
Requires-Dist: jupyterlite-pyodide-kernel; extra == "doc"
|
989 |
+
Requires-Dist: mypy==1.10.0; extra == "dev"
|
990 |
+
Requires-Dist: typing_extensions; extra == "dev"
|
991 |
+
Requires-Dist: types-psutil; extra == "dev"
|
992 |
+
Requires-Dist: pycodestyle; extra == "dev"
|
993 |
+
Requires-Dist: ruff>=0.0.292; extra == "dev"
|
994 |
+
Requires-Dist: cython-lint>=0.12.2; extra == "dev"
|
995 |
+
Requires-Dist: rich-click; extra == "dev"
|
996 |
+
Requires-Dist: doit>=0.36.0; extra == "dev"
|
997 |
+
Requires-Dist: pydevtool; extra == "dev"
|
998 |
+
Provides-Extra: test
|
999 |
+
Provides-Extra: doc
|
1000 |
+
Provides-Extra: dev
|
1001 |
+
Description-Content-Type: text/x-rst
|
1002 |
+
|
1003 |
+
.. image:: https://raw.githubusercontent.com/scipy/scipy/main/doc/source/_static/logo.svg
|
1004 |
+
:target: https://scipy.org
|
1005 |
+
:width: 110
|
1006 |
+
:height: 110
|
1007 |
+
:align: left
|
1008 |
+
|
1009 |
+
.. image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
|
1010 |
+
:target: https://numfocus.org
|
1011 |
+
|
1012 |
+
.. image:: https://img.shields.io/pypi/dm/scipy.svg?label=Pypi%20downloads
|
1013 |
+
:target: https://pypi.org/project/scipy/
|
1014 |
+
|
1015 |
+
.. image:: https://img.shields.io/conda/dn/conda-forge/scipy.svg?label=Conda%20downloads
|
1016 |
+
:target: https://anaconda.org/conda-forge/scipy
|
1017 |
+
|
1018 |
+
.. image:: https://img.shields.io/badge/stackoverflow-Ask%20questions-blue.svg
|
1019 |
+
:target: https://stackoverflow.com/questions/tagged/scipy
|
1020 |
+
|
1021 |
+
.. image:: https://img.shields.io/badge/DOI-10.1038%2Fs41592--019--0686--2-blue.svg
|
1022 |
+
:target: https://www.nature.com/articles/s41592-019-0686-2
|
1023 |
+
|
1024 |
+
SciPy (pronounced "Sigh Pie") is an open-source software for mathematics,
|
1025 |
+
science, and engineering. It includes modules for statistics, optimization,
|
1026 |
+
integration, linear algebra, Fourier transforms, signal and image processing,
|
1027 |
+
ODE solvers, and more.
|
1028 |
+
|
1029 |
+
- **Website:** https://scipy.org
|
1030 |
+
- **Documentation:** https://docs.scipy.org/doc/scipy/
|
1031 |
+
- **Development version of the documentation:** https://scipy.github.io/devdocs
|
1032 |
+
- **SciPy development forum:** https://discuss.scientific-python.org/c/contributor/scipy
|
1033 |
+
- **Source code:** https://github.com/scipy/scipy
|
1034 |
+
- **Contributing:** https://scipy.github.io/devdocs/dev/index.html
|
1035 |
+
- **Bug reports:** https://github.com/scipy/scipy/issues
|
1036 |
+
- **Code of Conduct:** https://docs.scipy.org/doc/scipy/dev/conduct/code_of_conduct.html
|
1037 |
+
- **Report a security vulnerability:** https://tidelift.com/docs/security
|
1038 |
+
- **Citing in your work:** https://www.scipy.org/citing-scipy/
|
1039 |
+
|
1040 |
+
SciPy is built to work with
|
1041 |
+
NumPy arrays, and provides many user-friendly and efficient numerical routines,
|
1042 |
+
such as routines for numerical integration and optimization. Together, they
|
1043 |
+
run on all popular operating systems, are quick to install, and are free of
|
1044 |
+
charge. NumPy and SciPy are easy to use, but powerful enough to be depended
|
1045 |
+
upon by some of the world's leading scientists and engineers. If you need to
|
1046 |
+
manipulate numbers on a computer and display or publish the results, give
|
1047 |
+
SciPy a try!
|
1048 |
+
|
1049 |
+
For the installation instructions, see `our install
|
1050 |
+
guide <https://scipy.org/install/>`__.
|
1051 |
+
|
1052 |
+
|
1053 |
+
Call for Contributions
|
1054 |
+
----------------------
|
1055 |
+
|
1056 |
+
We appreciate and welcome contributions. Small improvements or fixes are always appreciated; issues labeled as "good
|
1057 |
+
first issue" may be a good starting point. Have a look at `our contributing
|
1058 |
+
guide <https://scipy.github.io/devdocs/dev/index.html>`__.
|
1059 |
+
|
1060 |
+
Writing code isnβt the only way to contribute to SciPy. You can also:
|
1061 |
+
|
1062 |
+
- review pull requests
|
1063 |
+
- triage issues
|
1064 |
+
- develop tutorials, presentations, and other educational materials
|
1065 |
+
- maintain and improve `our website <https://github.com/scipy/scipy.org>`__
|
1066 |
+
- develop graphic design for our brand assets and promotional materials
|
1067 |
+
- help with outreach and onboard new contributors
|
1068 |
+
- write grant proposals and help with other fundraising efforts
|
1069 |
+
|
1070 |
+
If youβre unsure where to start or how your skills fit in, reach out! You can
|
1071 |
+
ask on the `forum <https://discuss.scientific-python.org/c/contributor/scipy>`__
|
1072 |
+
or here, on GitHub, by leaving a comment on a relevant issue that is already
|
1073 |
+
open.
|
1074 |
+
|
1075 |
+
If you are new to contributing to open source, `this
|
1076 |
+
guide <https://opensource.guide/how-to-contribute/>`__ helps explain why, what,
|
1077 |
+
and how to get involved.
|
.cache/pip/http-v2/9/1/0/a/3/910a34a200b7d0937d776a3a18a9596fb2163b443301e08a7ae6239a
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/9/1/0/a/3/910a34a200b7d0937d776a3a18a9596fb2163b443301e08a7ae6239a.body
ADDED
Binary file (240 kB). View file
|
|
.cache/pip/http-v2/9/6/e/8/3/96e83221dd149da9a3d38feebc955beb2034effd910108971c5b167b
ADDED
Binary file (1.13 kB). View file
|
|
.cache/pip/http-v2/9/7/2/2/f/9722fb20e3ea9cc35611a7af210f3a3c5763e70a73b0619f2dce743f
ADDED
Binary file (1.2 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
ADDED
Binary file (1.16 kB). View file
|
|
.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/b/4/b/9db4b6605ca6d6ec2ca5f1968d04b28e2b33e27564d483e330c086bf
ADDED
Binary file (1.13 kB). View file
|
|
.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/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/b/5/a/0/4/b5a044ce96235fe6a2a115d047b48c293a8674c0737b8c9b7a7a67a0
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/b/6/8/7/d/b687d90e2a44328db9c9ecd9af0a9c577a4e68f9d239bbb73aebc319
ADDED
Binary file (1.19 kB). View file
|
|
.cache/pip/http-v2/b/7/8/6/4/b786456b7856c51d412c096dac0620e76449158dabf18083fe309269
ADDED
Binary file (1.16 kB). View file
|
|
.cache/pip/http-v2/b/8/b/f/4/b8bf4a44dbb1c5e59b2500975b68a4301d11f85878b612151a649c3d.body
ADDED
Binary file (21 kB). View file
|
|
.cache/pip/http-v2/b/f/c/a/5/bfca522eaf7404612287f82a4ec69fbc52a846f5a5757f91528163da
ADDED
Binary file (1.15 kB). View file
|
|
.cache/pip/http-v2/b/f/c/a/5/bfca522eaf7404612287f82a4ec69fbc52a846f5a5757f91528163da.body
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: notebook
|
3 |
+
Version: 6.5.5
|
4 |
+
Summary: A web-based notebook environment for interactive computing
|
5 |
+
Home-page: http://jupyter.org
|
6 |
+
Author: Jupyter Development Team
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: BSD
|
9 |
+
Keywords: Interactive,Interpreter,Shell,Web
|
10 |
+
Platform: Linux
|
11 |
+
Platform: Mac OS X
|
12 |
+
Platform: Windows
|
13 |
+
Classifier: Intended Audience :: Developers
|
14 |
+
Classifier: Intended Audience :: System Administrators
|
15 |
+
Classifier: Intended Audience :: Science/Research
|
16 |
+
Classifier: License :: OSI Approved :: BSD License
|
17 |
+
Classifier: Programming Language :: Python
|
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 |
+
Requires-Python: >=3.7
|
24 |
+
Description-Content-Type: text/markdown
|
25 |
+
License-File: LICENSE
|
26 |
+
Requires-Dist: jinja2
|
27 |
+
Requires-Dist: tornado (>=6.1)
|
28 |
+
Requires-Dist: pyzmq (<25,>=17)
|
29 |
+
Requires-Dist: argon2-cffi
|
30 |
+
Requires-Dist: traitlets (>=4.2.1)
|
31 |
+
Requires-Dist: jupyter-core (>=4.6.1)
|
32 |
+
Requires-Dist: jupyter-client (<8,>=5.3.4)
|
33 |
+
Requires-Dist: ipython-genutils
|
34 |
+
Requires-Dist: nbformat
|
35 |
+
Requires-Dist: nbconvert (>=5)
|
36 |
+
Requires-Dist: nest-asyncio (>=1.5)
|
37 |
+
Requires-Dist: ipykernel
|
38 |
+
Requires-Dist: Send2Trash (>=1.8.0)
|
39 |
+
Requires-Dist: terminado (>=0.8.3)
|
40 |
+
Requires-Dist: prometheus-client
|
41 |
+
Requires-Dist: nbclassic (>=0.4.7)
|
42 |
+
Provides-Extra: docs
|
43 |
+
Requires-Dist: sphinx ; extra == 'docs'
|
44 |
+
Requires-Dist: nbsphinx ; extra == 'docs'
|
45 |
+
Requires-Dist: sphinxcontrib-github-alt ; extra == 'docs'
|
46 |
+
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
|
47 |
+
Requires-Dist: myst-parser ; extra == 'docs'
|
48 |
+
Provides-Extra: json-logging
|
49 |
+
Requires-Dist: json-logging ; extra == 'json-logging'
|
50 |
+
Provides-Extra: test
|
51 |
+
Requires-Dist: pytest ; extra == 'test'
|
52 |
+
Requires-Dist: coverage ; extra == 'test'
|
53 |
+
Requires-Dist: requests ; extra == 'test'
|
54 |
+
Requires-Dist: testpath ; extra == 'test'
|
55 |
+
Requires-Dist: nbval ; extra == 'test'
|
56 |
+
Requires-Dist: selenium (==4.1.5) ; extra == 'test'
|
57 |
+
Requires-Dist: pytest-cov ; extra == 'test'
|
58 |
+
Requires-Dist: requests-unixsocket ; (sys_platform != "win32") and extra == 'test'
|
59 |
+
|
60 |
+
|
61 |
+
The Jupyter Notebook is a web application that allows you to create and
|
62 |
+
share documents that contain live code, equations, visualizations, and
|
63 |
+
explanatory text. The Notebook has support for multiple programming
|
64 |
+
languages, sharing, and interactive widgets.
|
65 |
+
|
66 |
+
Read `the documentation <https://jupyter-notebook.readthedocs.io>`_
|
67 |
+
for more information.
|
68 |
+
|
.cache/pip/http-v2/b/f/d/6/3/bfd6322b8f4c82d6b7ed54608512187e126478b3b0851b74973f4adc
ADDED
Binary file (1.81 kB). View file
|
|
.cache/pip/http-v2/b/f/d/6/3/bfd6322b8f4c82d6b7ed54608512187e126478b3b0851b74973f4adc.body
ADDED
Binary file (299 kB). View file
|
|
.cache/pip/http-v2/d/1/c/3/c/d1c3c9477ebabaa9755b3ca4edc4e0ff75d33f569297f86de24a75d4
ADDED
Binary file (1.16 kB). View file
|
|
.cache/pip/http-v2/d/1/c/3/c/d1c3c9477ebabaa9755b3ca4edc4e0ff75d33f569297f86de24a75d4.body
ADDED
@@ -0,0 +1,369 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: datasets
|
3 |
+
Version: 3.0.1
|
4 |
+
Summary: HuggingFace community-driven open-source library of datasets
|
5 |
+
Home-page: https://github.com/huggingface/datasets
|
6 |
+
Author: HuggingFace Inc.
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: Apache 2.0
|
9 |
+
Download-URL: https://github.com/huggingface/datasets/tags
|
10 |
+
Keywords: datasets machine learning datasets
|
11 |
+
Platform: UNKNOWN
|
12 |
+
Classifier: Development Status :: 5 - Production/Stable
|
13 |
+
Classifier: Intended Audience :: Developers
|
14 |
+
Classifier: Intended Audience :: Education
|
15 |
+
Classifier: Intended Audience :: Science/Research
|
16 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
17 |
+
Classifier: Operating System :: OS Independent
|
18 |
+
Classifier: Programming Language :: Python :: 3
|
19 |
+
Classifier: Programming Language :: Python :: 3.8
|
20 |
+
Classifier: Programming Language :: Python :: 3.9
|
21 |
+
Classifier: Programming Language :: Python :: 3.10
|
22 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
23 |
+
Requires-Python: >=3.8.0
|
24 |
+
Description-Content-Type: text/markdown
|
25 |
+
License-File: LICENSE
|
26 |
+
License-File: AUTHORS
|
27 |
+
Requires-Dist: filelock
|
28 |
+
Requires-Dist: numpy (>=1.17)
|
29 |
+
Requires-Dist: pyarrow (>=15.0.0)
|
30 |
+
Requires-Dist: dill (<0.3.9,>=0.3.0)
|
31 |
+
Requires-Dist: pandas
|
32 |
+
Requires-Dist: requests (>=2.32.2)
|
33 |
+
Requires-Dist: tqdm (>=4.66.3)
|
34 |
+
Requires-Dist: xxhash
|
35 |
+
Requires-Dist: multiprocess
|
36 |
+
Requires-Dist: fsspec[http] (<=2024.6.1,>=2023.1.0)
|
37 |
+
Requires-Dist: aiohttp
|
38 |
+
Requires-Dist: huggingface-hub (>=0.22.0)
|
39 |
+
Requires-Dist: packaging
|
40 |
+
Requires-Dist: pyyaml (>=5.1)
|
41 |
+
Provides-Extra: audio
|
42 |
+
Requires-Dist: soundfile (>=0.12.1) ; extra == 'audio'
|
43 |
+
Requires-Dist: librosa ; extra == 'audio'
|
44 |
+
Requires-Dist: soxr (>=0.4.0) ; (python_version >= "3.9") and extra == 'audio'
|
45 |
+
Provides-Extra: benchmarks
|
46 |
+
Requires-Dist: tensorflow (==2.12.0) ; extra == 'benchmarks'
|
47 |
+
Requires-Dist: torch (==2.0.1) ; extra == 'benchmarks'
|
48 |
+
Requires-Dist: transformers (==4.30.1) ; extra == 'benchmarks'
|
49 |
+
Provides-Extra: dev
|
50 |
+
Requires-Dist: absl-py ; extra == 'dev'
|
51 |
+
Requires-Dist: decorator ; extra == 'dev'
|
52 |
+
Requires-Dist: joblib (<1.3.0) ; extra == 'dev'
|
53 |
+
Requires-Dist: joblibspark ; extra == 'dev'
|
54 |
+
Requires-Dist: pytest ; extra == 'dev'
|
55 |
+
Requires-Dist: pytest-datadir ; extra == 'dev'
|
56 |
+
Requires-Dist: pytest-xdist ; extra == 'dev'
|
57 |
+
Requires-Dist: elasticsearch (<8.0.0) ; extra == 'dev'
|
58 |
+
Requires-Dist: faiss-cpu (>=1.8.0.post1) ; extra == 'dev'
|
59 |
+
Requires-Dist: lz4 ; extra == 'dev'
|
60 |
+
Requires-Dist: moto[server] ; extra == 'dev'
|
61 |
+
Requires-Dist: pyspark (>=3.4) ; extra == 'dev'
|
62 |
+
Requires-Dist: py7zr ; extra == 'dev'
|
63 |
+
Requires-Dist: rarfile (>=4.0) ; extra == 'dev'
|
64 |
+
Requires-Dist: sqlalchemy ; extra == 'dev'
|
65 |
+
Requires-Dist: s3fs (>=2021.11.1) ; extra == 'dev'
|
66 |
+
Requires-Dist: protobuf (<4.0.0) ; extra == 'dev'
|
67 |
+
Requires-Dist: tiktoken ; extra == 'dev'
|
68 |
+
Requires-Dist: torch (>=2.0.0) ; extra == 'dev'
|
69 |
+
Requires-Dist: torchdata ; extra == 'dev'
|
70 |
+
Requires-Dist: soundfile (>=0.12.1) ; extra == 'dev'
|
71 |
+
Requires-Dist: transformers (>=4.42.0) ; extra == 'dev'
|
72 |
+
Requires-Dist: zstandard ; extra == 'dev'
|
73 |
+
Requires-Dist: polars[timezone] (>=0.20.0) ; extra == 'dev'
|
74 |
+
Requires-Dist: Pillow (>=9.4.0) ; extra == 'dev'
|
75 |
+
Requires-Dist: librosa ; extra == 'dev'
|
76 |
+
Requires-Dist: ruff (>=0.3.0) ; extra == 'dev'
|
77 |
+
Requires-Dist: s3fs ; extra == 'dev'
|
78 |
+
Requires-Dist: transformers ; extra == 'dev'
|
79 |
+
Requires-Dist: torch ; extra == 'dev'
|
80 |
+
Requires-Dist: tensorflow (>=2.6.0) ; extra == 'dev'
|
81 |
+
Requires-Dist: tensorflow (>=2.6.0) ; (python_version < "3.10") and extra == 'dev'
|
82 |
+
Requires-Dist: tensorflow (>=2.16.0) ; (python_version >= "3.10") and extra == 'dev'
|
83 |
+
Requires-Dist: soxr (>=0.4.0) ; (python_version >= "3.9") and extra == 'dev'
|
84 |
+
Requires-Dist: jax (>=0.3.14) ; (sys_platform != "win32") and extra == 'dev'
|
85 |
+
Requires-Dist: jaxlib (>=0.3.14) ; (sys_platform != "win32") and extra == 'dev'
|
86 |
+
Provides-Extra: docs
|
87 |
+
Requires-Dist: s3fs ; extra == 'docs'
|
88 |
+
Requires-Dist: transformers ; extra == 'docs'
|
89 |
+
Requires-Dist: torch ; extra == 'docs'
|
90 |
+
Requires-Dist: tensorflow (>=2.6.0) ; extra == 'docs'
|
91 |
+
Provides-Extra: jax
|
92 |
+
Requires-Dist: jax (>=0.3.14) ; extra == 'jax'
|
93 |
+
Requires-Dist: jaxlib (>=0.3.14) ; extra == 'jax'
|
94 |
+
Provides-Extra: quality
|
95 |
+
Requires-Dist: ruff (>=0.3.0) ; extra == 'quality'
|
96 |
+
Provides-Extra: s3
|
97 |
+
Requires-Dist: s3fs ; extra == 's3'
|
98 |
+
Provides-Extra: streaming
|
99 |
+
Provides-Extra: tensorflow
|
100 |
+
Requires-Dist: tensorflow (>=2.6.0) ; extra == 'tensorflow'
|
101 |
+
Provides-Extra: tensorflow_gpu
|
102 |
+
Requires-Dist: tensorflow (>=2.6.0) ; extra == 'tensorflow_gpu'
|
103 |
+
Provides-Extra: tests
|
104 |
+
Requires-Dist: absl-py ; extra == 'tests'
|
105 |
+
Requires-Dist: decorator ; extra == 'tests'
|
106 |
+
Requires-Dist: joblib (<1.3.0) ; extra == 'tests'
|
107 |
+
Requires-Dist: joblibspark ; extra == 'tests'
|
108 |
+
Requires-Dist: pytest ; extra == 'tests'
|
109 |
+
Requires-Dist: pytest-datadir ; extra == 'tests'
|
110 |
+
Requires-Dist: pytest-xdist ; extra == 'tests'
|
111 |
+
Requires-Dist: elasticsearch (<8.0.0) ; extra == 'tests'
|
112 |
+
Requires-Dist: faiss-cpu (>=1.8.0.post1) ; extra == 'tests'
|
113 |
+
Requires-Dist: lz4 ; extra == 'tests'
|
114 |
+
Requires-Dist: moto[server] ; extra == 'tests'
|
115 |
+
Requires-Dist: pyspark (>=3.4) ; extra == 'tests'
|
116 |
+
Requires-Dist: py7zr ; extra == 'tests'
|
117 |
+
Requires-Dist: rarfile (>=4.0) ; extra == 'tests'
|
118 |
+
Requires-Dist: sqlalchemy ; extra == 'tests'
|
119 |
+
Requires-Dist: s3fs (>=2021.11.1) ; extra == 'tests'
|
120 |
+
Requires-Dist: protobuf (<4.0.0) ; extra == 'tests'
|
121 |
+
Requires-Dist: tiktoken ; extra == 'tests'
|
122 |
+
Requires-Dist: torch (>=2.0.0) ; extra == 'tests'
|
123 |
+
Requires-Dist: torchdata ; extra == 'tests'
|
124 |
+
Requires-Dist: soundfile (>=0.12.1) ; extra == 'tests'
|
125 |
+
Requires-Dist: transformers (>=4.42.0) ; extra == 'tests'
|
126 |
+
Requires-Dist: zstandard ; extra == 'tests'
|
127 |
+
Requires-Dist: polars[timezone] (>=0.20.0) ; extra == 'tests'
|
128 |
+
Requires-Dist: Pillow (>=9.4.0) ; extra == 'tests'
|
129 |
+
Requires-Dist: librosa ; extra == 'tests'
|
130 |
+
Requires-Dist: tensorflow (>=2.6.0) ; (python_version < "3.10") and extra == 'tests'
|
131 |
+
Requires-Dist: tensorflow (>=2.16.0) ; (python_version >= "3.10") and extra == 'tests'
|
132 |
+
Requires-Dist: soxr (>=0.4.0) ; (python_version >= "3.9") and extra == 'tests'
|
133 |
+
Requires-Dist: jax (>=0.3.14) ; (sys_platform != "win32") and extra == 'tests'
|
134 |
+
Requires-Dist: jaxlib (>=0.3.14) ; (sys_platform != "win32") and extra == 'tests'
|
135 |
+
Provides-Extra: tests_numpy2
|
136 |
+
Requires-Dist: absl-py ; extra == 'tests_numpy2'
|
137 |
+
Requires-Dist: decorator ; extra == 'tests_numpy2'
|
138 |
+
Requires-Dist: joblib (<1.3.0) ; extra == 'tests_numpy2'
|
139 |
+
Requires-Dist: joblibspark ; extra == 'tests_numpy2'
|
140 |
+
Requires-Dist: pytest ; extra == 'tests_numpy2'
|
141 |
+
Requires-Dist: pytest-datadir ; extra == 'tests_numpy2'
|
142 |
+
Requires-Dist: pytest-xdist ; extra == 'tests_numpy2'
|
143 |
+
Requires-Dist: elasticsearch (<8.0.0) ; extra == 'tests_numpy2'
|
144 |
+
Requires-Dist: lz4 ; extra == 'tests_numpy2'
|
145 |
+
Requires-Dist: moto[server] ; extra == 'tests_numpy2'
|
146 |
+
Requires-Dist: pyspark (>=3.4) ; extra == 'tests_numpy2'
|
147 |
+
Requires-Dist: py7zr ; extra == 'tests_numpy2'
|
148 |
+
Requires-Dist: rarfile (>=4.0) ; extra == 'tests_numpy2'
|
149 |
+
Requires-Dist: sqlalchemy ; extra == 'tests_numpy2'
|
150 |
+
Requires-Dist: s3fs (>=2021.11.1) ; extra == 'tests_numpy2'
|
151 |
+
Requires-Dist: protobuf (<4.0.0) ; extra == 'tests_numpy2'
|
152 |
+
Requires-Dist: tiktoken ; extra == 'tests_numpy2'
|
153 |
+
Requires-Dist: torch (>=2.0.0) ; extra == 'tests_numpy2'
|
154 |
+
Requires-Dist: torchdata ; extra == 'tests_numpy2'
|
155 |
+
Requires-Dist: soundfile (>=0.12.1) ; extra == 'tests_numpy2'
|
156 |
+
Requires-Dist: transformers (>=4.42.0) ; extra == 'tests_numpy2'
|
157 |
+
Requires-Dist: zstandard ; extra == 'tests_numpy2'
|
158 |
+
Requires-Dist: polars[timezone] (>=0.20.0) ; extra == 'tests_numpy2'
|
159 |
+
Requires-Dist: Pillow (>=9.4.0) ; extra == 'tests_numpy2'
|
160 |
+
Requires-Dist: soxr (>=0.4.0) ; (python_version >= "3.9") and extra == 'tests_numpy2'
|
161 |
+
Requires-Dist: jax (>=0.3.14) ; (sys_platform != "win32") and extra == 'tests_numpy2'
|
162 |
+
Requires-Dist: jaxlib (>=0.3.14) ; (sys_platform != "win32") and extra == 'tests_numpy2'
|
163 |
+
Provides-Extra: torch
|
164 |
+
Requires-Dist: torch ; extra == 'torch'
|
165 |
+
Provides-Extra: vision
|
166 |
+
Requires-Dist: Pillow (>=9.4.0) ; extra == 'vision'
|
167 |
+
|
168 |
+
<p align="center">
|
169 |
+
<picture>
|
170 |
+
<source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/datasets/huggingface/documentation-images/raw/main/datasets-logo-dark.svg">
|
171 |
+
<source media="(prefers-color-scheme: light)" srcset="https://huggingface.co/datasets/huggingface/documentation-images/raw/main/datasets-logo-light.svg">
|
172 |
+
<img alt="Hugging Face Datasets Library" src="https://huggingface.co/datasets/huggingface/documentation-images/raw/main/datasets-logo-light.svg" width="352" height="59" style="max-width: 100%;">
|
173 |
+
</picture>
|
174 |
+
<br/>
|
175 |
+
<br/>
|
176 |
+
</p>
|
177 |
+
|
178 |
+
<p align="center">
|
179 |
+
<a href="https://github.com/huggingface/datasets/actions/workflows/ci.yml?query=branch%3Amain"><img alt="Build" src="https://github.com/huggingface/datasets/actions/workflows/ci.yml/badge.svg?branch=main"></a>
|
180 |
+
<a href="https://github.com/huggingface/datasets/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/huggingface/datasets.svg?color=blue"></a>
|
181 |
+
<a href="https://huggingface.co/docs/datasets/index.html"><img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/datasets/index.html.svg?down_color=red&down_message=offline&up_message=online"></a>
|
182 |
+
<a href="https://github.com/huggingface/datasets/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/datasets.svg"></a>
|
183 |
+
<a href="https://huggingface.co/datasets/"><img alt="Number of datasets" src="https://img.shields.io/endpoint?url=https://huggingface.co/api/shields/datasets&color=brightgreen"></a>
|
184 |
+
<a href="CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg"></a>
|
185 |
+
<a href="https://zenodo.org/badge/latestdoi/250213286"><img src="https://zenodo.org/badge/250213286.svg" alt="DOI"></a>
|
186 |
+
</p>
|
187 |
+
|
188 |
+
π€ Datasets is a lightweight library providing **two** main features:
|
189 |
+
|
190 |
+
- **one-line dataloaders for many public datasets**: one-liners to download and pre-process any of the  major public datasets (image datasets, audio datasets, text datasets in 467 languages and dialects, etc.) provided on the [HuggingFace Datasets Hub](https://huggingface.co/datasets). With a simple command like `squad_dataset = load_dataset("squad")`, get any of these datasets ready to use in a dataloader for training/evaluating a ML model (Numpy/Pandas/PyTorch/TensorFlow/JAX),
|
191 |
+
- **efficient data pre-processing**: simple, fast and reproducible data pre-processing for the public datasets as well as your own local datasets in CSV, JSON, text, PNG, JPEG, WAV, MP3, Parquet, etc. With simple commands like `processed_dataset = dataset.map(process_example)`, efficiently prepare the dataset for inspection and ML model evaluation and training.
|
192 |
+
|
193 |
+
[π **Documentation**](https://huggingface.co/docs/datasets/) [π **Find a dataset in the Hub**](https://huggingface.co/datasets) [π **Share a dataset on the Hub**](https://huggingface.co/docs/datasets/share)
|
194 |
+
|
195 |
+
<h3 align="center">
|
196 |
+
<a href="https://hf.co/course"><img src="https://raw.githubusercontent.com/huggingface/datasets/main/docs/source/imgs/course_banner.png"></a>
|
197 |
+
</h3>
|
198 |
+
|
199 |
+
π€ Datasets is designed to let the community easily add and share new datasets.
|
200 |
+
|
201 |
+
π€ Datasets has many additional interesting features:
|
202 |
+
|
203 |
+
- Thrive on large datasets: π€ Datasets naturally frees the user from RAM memory limitation, all datasets are memory-mapped using an efficient zero-serialization cost backend (Apache Arrow).
|
204 |
+
- Smart caching: never wait for your data to process several times.
|
205 |
+
- Lightweight and fast with a transparent and pythonic API (multi-processing/caching/memory-mapping).
|
206 |
+
- Built-in interoperability with NumPy, pandas, PyTorch, TensorFlow 2 and JAX.
|
207 |
+
- Native support for audio and image data.
|
208 |
+
- Enable streaming mode to save disk space and start iterating over the dataset immediately.
|
209 |
+
|
210 |
+
π€ Datasets originated from a fork of the awesome [TensorFlow Datasets](https://github.com/tensorflow/datasets) and the HuggingFace team want to deeply thank the TensorFlow Datasets team for building this amazing library. More details on the differences between π€ Datasets and `tfds` can be found in the section [Main differences between π€ Datasets and `tfds`](#main-differences-between--datasets-and-tfds).
|
211 |
+
|
212 |
+
# Installation
|
213 |
+
|
214 |
+
## With pip
|
215 |
+
|
216 |
+
π€ Datasets can be installed from PyPi and has to be installed in a virtual environment (venv or conda for instance)
|
217 |
+
|
218 |
+
```bash
|
219 |
+
pip install datasets
|
220 |
+
```
|
221 |
+
|
222 |
+
## With conda
|
223 |
+
|
224 |
+
π€ Datasets can be installed using conda as follows:
|
225 |
+
|
226 |
+
```bash
|
227 |
+
conda install -c huggingface -c conda-forge datasets
|
228 |
+
```
|
229 |
+
|
230 |
+
Follow the installation pages of TensorFlow and PyTorch to see how to install them with conda.
|
231 |
+
|
232 |
+
For more details on installation, check the installation page in the documentation: https://huggingface.co/docs/datasets/installation
|
233 |
+
|
234 |
+
## Installation to use with PyTorch/TensorFlow/pandas
|
235 |
+
|
236 |
+
If you plan to use π€ Datasets with PyTorch (1.0+), TensorFlow (2.2+) or pandas, you should also install PyTorch, TensorFlow or pandas.
|
237 |
+
|
238 |
+
For more details on using the library with NumPy, pandas, PyTorch or TensorFlow, check the quick start page in the documentation: https://huggingface.co/docs/datasets/quickstart
|
239 |
+
|
240 |
+
# Usage
|
241 |
+
|
242 |
+
π€ Datasets is made to be very simple to use - the API is centered around a single function, `datasets.load_dataset(dataset_name, **kwargs)`, that instantiates a dataset.
|
243 |
+
|
244 |
+
This library can be used for text/image/audio/etc. datasets. Here is an example to load a text dataset:
|
245 |
+
|
246 |
+
Here is a quick example:
|
247 |
+
|
248 |
+
```python
|
249 |
+
from datasets import load_dataset
|
250 |
+
|
251 |
+
# Print all the available datasets
|
252 |
+
from huggingface_hub import list_datasets
|
253 |
+
print([dataset.id for dataset in list_datasets()])
|
254 |
+
|
255 |
+
# Load a dataset and print the first example in the training set
|
256 |
+
squad_dataset = load_dataset('squad')
|
257 |
+
print(squad_dataset['train'][0])
|
258 |
+
|
259 |
+
# Process the dataset - add a column with the length of the context texts
|
260 |
+
dataset_with_length = squad_dataset.map(lambda x: {"length": len(x["context"])})
|
261 |
+
|
262 |
+
# Process the dataset - tokenize the context texts (using a tokenizer from the π€ Transformers library)
|
263 |
+
from transformers import AutoTokenizer
|
264 |
+
tokenizer = AutoTokenizer.from_pretrained('bert-base-cased')
|
265 |
+
|
266 |
+
tokenized_dataset = squad_dataset.map(lambda x: tokenizer(x['context']), batched=True)
|
267 |
+
```
|
268 |
+
|
269 |
+
If your dataset is bigger than your disk or if you don't want to wait to download the data, you can use streaming:
|
270 |
+
|
271 |
+
```python
|
272 |
+
# If you want to use the dataset immediately and efficiently stream the data as you iterate over the dataset
|
273 |
+
image_dataset = load_dataset('cifar100', streaming=True)
|
274 |
+
for example in image_dataset["train"]:
|
275 |
+
break
|
276 |
+
```
|
277 |
+
|
278 |
+
For more details on using the library, check the quick start page in the documentation: https://huggingface.co/docs/datasets/quickstart and the specific pages on:
|
279 |
+
|
280 |
+
- Loading a dataset: https://huggingface.co/docs/datasets/loading
|
281 |
+
- What's in a Dataset: https://huggingface.co/docs/datasets/access
|
282 |
+
- Processing data with π€ Datasets: https://huggingface.co/docs/datasets/process
|
283 |
+
- Processing audio data: https://huggingface.co/docs/datasets/audio_process
|
284 |
+
- Processing image data: https://huggingface.co/docs/datasets/image_process
|
285 |
+
- Processing text data: https://huggingface.co/docs/datasets/nlp_process
|
286 |
+
- Streaming a dataset: https://huggingface.co/docs/datasets/stream
|
287 |
+
- Writing your own dataset loading script: https://huggingface.co/docs/datasets/dataset_script
|
288 |
+
- etc.
|
289 |
+
|
290 |
+
# Add a new dataset to the Hub
|
291 |
+
|
292 |
+
We have a very detailed step-by-step guide to add a new dataset to the  datasets already provided on the [HuggingFace Datasets Hub](https://huggingface.co/datasets).
|
293 |
+
|
294 |
+
You can find:
|
295 |
+
- [how to upload a dataset to the Hub using your web browser or Python](https://huggingface.co/docs/datasets/upload_dataset) and also
|
296 |
+
- [how to upload it using Git](https://huggingface.co/docs/datasets/share).
|
297 |
+
|
298 |
+
# Main differences between π€ Datasets and `tfds`
|
299 |
+
|
300 |
+
If you are familiar with the great TensorFlow Datasets, here are the main differences between π€ Datasets and `tfds`:
|
301 |
+
|
302 |
+
- the scripts in π€ Datasets are not provided within the library but are queried, downloaded/cached and dynamically loaded upon request
|
303 |
+
- the backend serialization of π€ Datasets is based on [Apache Arrow](https://arrow.apache.org/) instead of TF Records and leverage python dataclasses for info and features with some diverging features (we mostly don't do encoding and store the raw data as much as possible in the backend serialization cache).
|
304 |
+
- the user-facing dataset object of π€ Datasets is not a `tf.data.Dataset` but a built-in framework-agnostic dataset class with methods inspired by what we like in `tf.data` (like a `map()` method). It basically wraps a memory-mapped Arrow table cache.
|
305 |
+
|
306 |
+
# Disclaimers
|
307 |
+
|
308 |
+
π€ Datasets may run Python code defined by the dataset authors to parse certain data formats or structures. For security reasons, we ask users to:
|
309 |
+
- check the dataset scripts they're going to run beforehand and
|
310 |
+
- pin the `revision` of the repositories they use.
|
311 |
+
|
312 |
+
If you're a dataset owner and wish to update any part of it (description, citation, license, etc.), or do not want your dataset to be included in the Hugging Face Hub, please get in touch by opening a discussion or a pull request in the Community tab of the dataset page. Thanks for your contribution to the ML community!
|
313 |
+
|
314 |
+
## BibTeX
|
315 |
+
|
316 |
+
If you want to cite our π€ Datasets library, you can use our [paper](https://arxiv.org/abs/2109.02846):
|
317 |
+
|
318 |
+
```bibtex
|
319 |
+
@inproceedings{lhoest-etal-2021-datasets,
|
320 |
+
title = "Datasets: A Community Library for Natural Language Processing",
|
321 |
+
author = "Lhoest, Quentin and
|
322 |
+
Villanova del Moral, Albert and
|
323 |
+
Jernite, Yacine and
|
324 |
+
Thakur, Abhishek and
|
325 |
+
von Platen, Patrick and
|
326 |
+
Patil, Suraj and
|
327 |
+
Chaumond, Julien and
|
328 |
+
Drame, Mariama and
|
329 |
+
Plu, Julien and
|
330 |
+
Tunstall, Lewis and
|
331 |
+
Davison, Joe and
|
332 |
+
{\v{S}}a{\v{s}}ko, Mario and
|
333 |
+
Chhablani, Gunjan and
|
334 |
+
Malik, Bhavitvya and
|
335 |
+
Brandeis, Simon and
|
336 |
+
Le Scao, Teven and
|
337 |
+
Sanh, Victor and
|
338 |
+
Xu, Canwen and
|
339 |
+
Patry, Nicolas and
|
340 |
+
McMillan-Major, Angelina and
|
341 |
+
Schmid, Philipp and
|
342 |
+
Gugger, Sylvain and
|
343 |
+
Delangue, Cl{\'e}ment and
|
344 |
+
Matussi{\`e}re, Th{\'e}o and
|
345 |
+
Debut, Lysandre and
|
346 |
+
Bekman, Stas and
|
347 |
+
Cistac, Pierric and
|
348 |
+
Goehringer, Thibault and
|
349 |
+
Mustar, Victor and
|
350 |
+
Lagunas, Fran{\c{c}}ois and
|
351 |
+
Rush, Alexander and
|
352 |
+
Wolf, Thomas",
|
353 |
+
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",
|
354 |
+
month = nov,
|
355 |
+
year = "2021",
|
356 |
+
address = "Online and Punta Cana, Dominican Republic",
|
357 |
+
publisher = "Association for Computational Linguistics",
|
358 |
+
url = "https://aclanthology.org/2021.emnlp-demo.21",
|
359 |
+
pages = "175--184",
|
360 |
+
abstract = "The scale, variety, and quantity of publicly-available NLP datasets has grown rapidly as researchers propose new tasks, larger models, and novel benchmarks. Datasets is a community library for contemporary NLP designed to support this ecosystem. Datasets aims to standardize end-user interfaces, versioning, and documentation, while providing a lightweight front-end that behaves similarly for small datasets as for internet-scale corpora. The design of the library incorporates a distributed, community-driven approach to adding datasets and documenting usage. After a year of development, the library now includes more than 650 unique datasets, has more than 250 contributors, and has helped support a variety of novel cross-dataset research projects and shared tasks. The library is available at https://github.com/huggingface/datasets.",
|
361 |
+
eprint={2109.02846},
|
362 |
+
archivePrefix={arXiv},
|
363 |
+
primaryClass={cs.CL},
|
364 |
+
}
|
365 |
+
```
|
366 |
+
|
367 |
+
If you need to cite a specific version of our π€ Datasets library for reproducibility, you can use the corresponding version Zenodo DOI from this [list](https://zenodo.org/search?q=conceptrecid:%224817768%22&sort=-version&all_versions=True).
|
368 |
+
|
369 |
+
|