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/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976 +0 -0
- .cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976.body +0 -0
- .cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa +0 -0
- .cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa.body +0 -0
- .cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d +0 -0
- .cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d.body +0 -0
- .cache/pip/http-v2/1/8/e/c/b/18ecb372789efe49bbe46617b1f5d32a2b0eac245d58cbf930116174 +0 -0
- .cache/pip/http-v2/4/3/e/d/3/43ed3174ff4116cbf9838897907fc0c56f75caf2487539a636aa7716 +0 -0
- .cache/pip/http-v2/4/a/5/b/6/4a5b6f0d76201de4cfd4884f5e95617a1848cf81c8357be4d12cbf6a.body +86 -0
- .cache/pip/http-v2/4/b/6/6/c/4b66ceb6c63be17cb2553c2d6a199ee95f971d93e3bb02611eaeeba7 +0 -0
- .cache/pip/http-v2/4/b/6/6/c/4b66ceb6c63be17cb2553c2d6a199ee95f971d93e3bb02611eaeeba7.body +480 -0
- .cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae +0 -0
- .cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae.body +0 -0
- .cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b +0 -0
- .cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b.body +0 -0
- .cache/pip/http-v2/5/d/0/b/4/5d0b459b3c4f2993a6258ed848f61436c9f7a018d2587028572840f2 +0 -0
- .cache/pip/http-v2/6/1/6/5/a/6165a4393aa66a360946f71adc9147b3870cebf86b7878337a7535a9 +0 -0
- .cache/pip/http-v2/6/4/c/f/c/64cfc03e83f9fad4049b1d2a1d785c9273270a4ab9788b538f5054e3 +0 -0
- .cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4 +0 -0
- .cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4.body +78 -0
- .cache/pip/http-v2/6/6/e/c/7/66ec76a7b6ed4081044f5c7821af293b63c17bc2ac523ff93d5ca7d5 +0 -0
- .cache/pip/http-v2/6/8/0/d/4/680d4dd80dc6a3d2df9b9478dfcc8e81e0e4f130e154a3268b98b877 +0 -0
- .cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb +0 -0
- .cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb.body +0 -0
- .cache/pip/http-v2/6/b/8/1/e/6b81e7b491d69713c085c9f59d6c9162e9c07ca91d4f2bb5b3cd4b8e +0 -0
- .cache/pip/http-v2/6/b/8/1/e/6b81e7b491d69713c085c9f59d6c9162e9c07ca91d4f2bb5b3cd4b8e.body +386 -0
- .cache/pip/http-v2/6/c/6/e/e/6c6eeaf6757edbde690577822daacaba826c2b12ce67b57b33e8021d +0 -0
- .cache/pip/http-v2/6/c/6/e/e/6c6eeaf6757edbde690577822daacaba826c2b12ce67b57b33e8021d.body +0 -0
- .cache/pip/http-v2/7/2/8/a/2/728a2f33f382f4dacf08f6df77aad6f3d889f819ba4fa3efad5ec7e4 +0 -0
- .cache/pip/http-v2/7/7/3/7/4/77374f6555d766d1d452fe4918fb303c49f49a5a37a0986ea4f1b212 +0 -0
- .cache/pip/http-v2/7/7/3/7/4/77374f6555d766d1d452fe4918fb303c49f49a5a37a0986ea4f1b212.body +139 -0
- .cache/pip/http-v2/7/7/3/b/e/773be4e62f2a7f9be9d2b777b9be56e14e2b6c9666994e8793db52fd +0 -0
- .cache/pip/http-v2/7/9/2/1/a/7921ac3318a5cdb592026cc26a94f7a2c1e1f7d3a1dc1e3857fd49f1 +0 -0
- .cache/pip/http-v2/7/9/2/1/a/7921ac3318a5cdb592026cc26a94f7a2c1e1f7d3a1dc1e3857fd49f1.body +0 -0
- .cache/pip/http-v2/7/b/3/0/7/7b3075adb708114992fb27c6511ef6dfacffdcb852b8e8d037a10c4b +0 -0
- .cache/pip/http-v2/8/1/8/8/f/8188f9db6169e57bb653240cc02c629488d0d899420b0725db0f7e4a +0 -0
- .cache/pip/http-v2/8/2/d/3/b/82d3b1270e716906b92643ecea0c7d53df8db0a043c71c5b2bb46c10 +0 -0
- .cache/pip/http-v2/8/2/d/3/b/82d3b1270e716906b92643ecea0c7d53df8db0a043c71c5b2bb46c10.body +1383 -0
- .cache/pip/http-v2/8/4/3/f/2/843f29ad5a195cb2664dafac8345ae4f121177ea8b150533e02b27f2 +0 -0
- .cache/pip/http-v2/8/4/3/f/2/843f29ad5a195cb2664dafac8345ae4f121177ea8b150533e02b27f2.body +98 -0
- .cache/pip/http-v2/8/6/1/4/a/8614a6e8a4ad9aa5595a607eb8f7a0d8a8f7a7a34cff9540f443a21f +0 -0
- .cache/pip/http-v2/8/6/1/4/a/8614a6e8a4ad9aa5595a607eb8f7a0d8a8f7a7a34cff9540f443a21f.body +0 -0
- .cache/pip/http-v2/8/6/e/d/b/86edbe0c05b42c1fe86aacc3cb9eaf8cb8a43c81ec1ba8b34d47241c +0 -0
- .cache/pip/http-v2/8/a/c/4/d/8ac4d14dc45e27d21da49fb515570b6f875b78707de9b08ce1088d1b +0 -0
- .cache/pip/http-v2/8/a/c/4/d/8ac4d14dc45e27d21da49fb515570b6f875b78707de9b08ce1088d1b.body +0 -0
- .cache/pip/http-v2/8/d/8/7/b/8d87bf7a308bb8a91752d9c7e9e4d96db27c3fd3d01d3bb4e2dd8afc +0 -0
- .cache/pip/http-v2/8/d/8/7/b/8d87bf7a308bb8a91752d9c7e9e4d96db27c3fd3d01d3bb4e2dd8afc.body +0 -0
- .cache/pip/http-v2/8/f/0/a/d/8f0ad583652318494c12da41e4d30ff6225ec73d448a0754a0a7e898 +0 -0
- .cache/pip/http-v2/b/0/c/3/0/b0c304a2d0d2dd17cd2e818948220da223f52dfe26c6e170a35508ec +0 -0
- .cache/pip/http-v2/b/0/c/3/0/b0c304a2d0d2dd17cd2e818948220da223f52dfe26c6e170a35508ec.body +32 -0
.cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976
ADDED
|
Binary file (1.12 kB). View file
|
|
|
.cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976.body
ADDED
|
Binary file (9.76 kB). View file
|
|
|
.cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa
ADDED
|
Binary file (1.86 kB). View file
|
|
|
.cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa.body
ADDED
|
Binary file (20.8 kB). View file
|
|
|
.cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d.body
ADDED
|
Binary file (1.46 kB). View file
|
|
|
.cache/pip/http-v2/1/8/e/c/b/18ecb372789efe49bbe46617b1f5d32a2b0eac245d58cbf930116174
ADDED
|
Binary file (1.16 kB). View file
|
|
|
.cache/pip/http-v2/4/3/e/d/3/43ed3174ff4116cbf9838897907fc0c56f75caf2487539a636aa7716
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/4/a/5/b/6/4a5b6f0d76201de4cfd4884f5e95617a1848cf81c8357be4d12cbf6a.body
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: openpyxl
|
| 3 |
+
Version: 3.1.5
|
| 4 |
+
Summary: A Python library to read/write Excel 2010 xlsx/xlsm files
|
| 5 |
+
Home-page: https://openpyxl.readthedocs.io
|
| 6 |
+
Author: See AUTHORS
|
| 7 |
+
Author-email: charlie.clark@clark-consulting.eu
|
| 8 |
+
License: MIT
|
| 9 |
+
Project-URL: Documentation, https://openpyxl.readthedocs.io/en/stable/
|
| 10 |
+
Project-URL: Source, https://foss.heptapod.net/openpyxl/openpyxl
|
| 11 |
+
Project-URL: Tracker, https://foss.heptapod.net/openpyxl/openpyxl/-/issues
|
| 12 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 13 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
| 14 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 15 |
+
Classifier: Operating System :: POSIX
|
| 16 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 17 |
+
Classifier: Programming Language :: Python
|
| 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 |
+
Requires-Python: >=3.8
|
| 25 |
+
License-File: LICENCE.rst
|
| 26 |
+
Requires-Dist: et-xmlfile
|
| 27 |
+
|
| 28 |
+
.. image:: https://coveralls.io/repos/bitbucket/openpyxl/openpyxl/badge.svg?branch=default
|
| 29 |
+
:target: https://coveralls.io/bitbucket/openpyxl/openpyxl?branch=default
|
| 30 |
+
:alt: coverage status
|
| 31 |
+
|
| 32 |
+
Introduction
|
| 33 |
+
------------
|
| 34 |
+
|
| 35 |
+
openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.
|
| 36 |
+
|
| 37 |
+
It was born from lack of existing library to read/write natively from Python
|
| 38 |
+
the Office Open XML format.
|
| 39 |
+
|
| 40 |
+
All kudos to the PHPExcel team as openpyxl was initially based on PHPExcel.
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
Security
|
| 44 |
+
--------
|
| 45 |
+
|
| 46 |
+
By default openpyxl does not guard against quadratic blowup or billion laughs
|
| 47 |
+
xml attacks. To guard against these attacks install defusedxml.
|
| 48 |
+
|
| 49 |
+
Mailing List
|
| 50 |
+
------------
|
| 51 |
+
|
| 52 |
+
The user list can be found on http://groups.google.com/group/openpyxl-users
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
Sample code::
|
| 56 |
+
|
| 57 |
+
from openpyxl import Workbook
|
| 58 |
+
wb = Workbook()
|
| 59 |
+
|
| 60 |
+
# grab the active worksheet
|
| 61 |
+
ws = wb.active
|
| 62 |
+
|
| 63 |
+
# Data can be assigned directly to cells
|
| 64 |
+
ws['A1'] = 42
|
| 65 |
+
|
| 66 |
+
# Rows can also be appended
|
| 67 |
+
ws.append([1, 2, 3])
|
| 68 |
+
|
| 69 |
+
# Python types will automatically be converted
|
| 70 |
+
import datetime
|
| 71 |
+
ws['A2'] = datetime.datetime.now()
|
| 72 |
+
|
| 73 |
+
# Save the file
|
| 74 |
+
wb.save("sample.xlsx")
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
Documentation
|
| 78 |
+
-------------
|
| 79 |
+
|
| 80 |
+
The documentation is at: https://openpyxl.readthedocs.io
|
| 81 |
+
|
| 82 |
+
* installation methods
|
| 83 |
+
* code examples
|
| 84 |
+
* instructions for contributing
|
| 85 |
+
|
| 86 |
+
Release notes: https://openpyxl.readthedocs.io/en/stable/changes.html
|
.cache/pip/http-v2/4/b/6/6/c/4b66ceb6c63be17cb2553c2d6a199ee95f971d93e3bb02611eaeeba7
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/4/b/6/6/c/4b66ceb6c63be17cb2553c2d6a199ee95f971d93e3bb02611eaeeba7.body
ADDED
|
@@ -0,0 +1,480 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: rich
|
| 3 |
+
Version: 14.3.3
|
| 4 |
+
Summary: Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
|
| 5 |
+
License: MIT
|
| 6 |
+
License-File: LICENSE
|
| 7 |
+
Author: Will McGugan
|
| 8 |
+
Author-email: willmcgugan@gmail.com
|
| 9 |
+
Requires-Python: >=3.8.0
|
| 10 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 11 |
+
Classifier: Environment :: Console
|
| 12 |
+
Classifier: Framework :: IPython
|
| 13 |
+
Classifier: Intended Audience :: Developers
|
| 14 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 15 |
+
Classifier: Operating System :: MacOS
|
| 16 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 17 |
+
Classifier: Operating System :: POSIX :: Linux
|
| 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: Programming Language :: Python :: 3.11
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 24 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 25 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 26 |
+
Classifier: Typing :: Typed
|
| 27 |
+
Provides-Extra: jupyter
|
| 28 |
+
Requires-Dist: ipywidgets (>=7.5.1,<9) ; extra == "jupyter"
|
| 29 |
+
Requires-Dist: markdown-it-py (>=2.2.0)
|
| 30 |
+
Requires-Dist: pygments (>=2.13.0,<3.0.0)
|
| 31 |
+
Project-URL: Documentation, https://rich.readthedocs.io/en/latest/
|
| 32 |
+
Project-URL: Homepage, https://github.com/Textualize/rich
|
| 33 |
+
Description-Content-Type: text/markdown
|
| 34 |
+
|
| 35 |
+
[](https://pypi.org/project/rich/) [](https://badge.fury.io/py/rich)
|
| 36 |
+
|
| 37 |
+
[](https://pepy.tech/project/rich)
|
| 38 |
+
[](https://codecov.io/gh/Textualize/rich)
|
| 39 |
+
[](https://www.willmcgugan.com/tag/rich/)
|
| 40 |
+
[](https://twitter.com/willmcgugan)
|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
|
| 44 |
+
[English readme](https://github.com/textualize/rich/blob/master/README.md)
|
| 45 |
+
• [简体中文 readme](https://github.com/textualize/rich/blob/master/README.cn.md)
|
| 46 |
+
• [正體中文 readme](https://github.com/textualize/rich/blob/master/README.zh-tw.md)
|
| 47 |
+
• [Lengua española readme](https://github.com/textualize/rich/blob/master/README.es.md)
|
| 48 |
+
• [Deutsche readme](https://github.com/textualize/rich/blob/master/README.de.md)
|
| 49 |
+
• [Läs på svenska](https://github.com/textualize/rich/blob/master/README.sv.md)
|
| 50 |
+
• [日本語 readme](https://github.com/textualize/rich/blob/master/README.ja.md)
|
| 51 |
+
• [한국어 readme](https://github.com/textualize/rich/blob/master/README.kr.md)
|
| 52 |
+
• [Français readme](https://github.com/textualize/rich/blob/master/README.fr.md)
|
| 53 |
+
• [Schwizerdütsch readme](https://github.com/textualize/rich/blob/master/README.de-ch.md)
|
| 54 |
+
• [हिन्दी readme](https://github.com/textualize/rich/blob/master/README.hi.md)
|
| 55 |
+
• [Português brasileiro readme](https://github.com/textualize/rich/blob/master/README.pt-br.md)
|
| 56 |
+
• [Italian readme](https://github.com/textualize/rich/blob/master/README.it.md)
|
| 57 |
+
• [Русский readme](https://github.com/textualize/rich/blob/master/README.ru.md)
|
| 58 |
+
• [Indonesian readme](https://github.com/textualize/rich/blob/master/README.id.md)
|
| 59 |
+
• [فارسی readme](https://github.com/textualize/rich/blob/master/README.fa.md)
|
| 60 |
+
• [Türkçe readme](https://github.com/textualize/rich/blob/master/README.tr.md)
|
| 61 |
+
• [Polskie readme](https://github.com/textualize/rich/blob/master/README.pl.md)
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Rich is a Python library for _rich_ text and beautiful formatting in the terminal.
|
| 65 |
+
|
| 66 |
+
The [Rich API](https://rich.readthedocs.io/en/latest/) makes it easy to add color and style to terminal output. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, tracebacks, and more — out of the box.
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
|
| 70 |
+
For a video introduction to Rich see [calmcode.io](https://calmcode.io/rich/introduction.html) by [@fishnets88](https://twitter.com/fishnets88).
|
| 71 |
+
|
| 72 |
+
See what [people are saying about Rich](https://www.willmcgugan.com/blog/pages/post/rich-tweets/).
|
| 73 |
+
|
| 74 |
+
## Compatibility
|
| 75 |
+
|
| 76 |
+
Rich works with Linux, macOS and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.8 or later.
|
| 77 |
+
|
| 78 |
+
Rich works with [Jupyter notebooks](https://jupyter.org/) with no additional configuration required.
|
| 79 |
+
|
| 80 |
+
## Installing
|
| 81 |
+
|
| 82 |
+
Install with `pip` or your favorite PyPI package manager.
|
| 83 |
+
|
| 84 |
+
```sh
|
| 85 |
+
python -m pip install rich
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
Run the following to test Rich output on your terminal:
|
| 89 |
+
|
| 90 |
+
```sh
|
| 91 |
+
python -m rich
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Rich Print
|
| 95 |
+
|
| 96 |
+
To effortlessly add rich output to your application, you can import the [rich print](https://rich.readthedocs.io/en/latest/introduction.html#quick-start) method, which has the same signature as the builtin Python function. Try this:
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
from rich import print
|
| 100 |
+
|
| 101 |
+
print("Hello, [bold magenta]World[/bold magenta]!", ":vampire:", locals())
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
|
| 106 |
+
## Rich REPL
|
| 107 |
+
|
| 108 |
+
Rich can be installed in the Python REPL, so that any data structures will be pretty printed and highlighted.
|
| 109 |
+
|
| 110 |
+
```python
|
| 111 |
+
>>> from rich import pretty
|
| 112 |
+
>>> pretty.install()
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
|
| 117 |
+
## Using the Console
|
| 118 |
+
|
| 119 |
+
For more control over rich terminal content, import and construct a [Console](https://rich.readthedocs.io/en/latest/reference/console.html#rich.console.Console) object.
|
| 120 |
+
|
| 121 |
+
```python
|
| 122 |
+
from rich.console import Console
|
| 123 |
+
|
| 124 |
+
console = Console()
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
The Console object has a `print` method which has an intentionally similar interface to the builtin `print` function. Here's an example of use:
|
| 128 |
+
|
| 129 |
+
```python
|
| 130 |
+
console.print("Hello", "World!")
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
As you might expect, this will print `"Hello World!"` to the terminal. Note that unlike the builtin `print` function, Rich will word-wrap your text to fit within the terminal width.
|
| 134 |
+
|
| 135 |
+
There are a few ways of adding color and style to your output. You can set a style for the entire output by adding a `style` keyword argument. Here's an example:
|
| 136 |
+
|
| 137 |
+
```python
|
| 138 |
+
console.print("Hello", "World!", style="bold red")
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
The output will be something like the following:
|
| 142 |
+
|
| 143 |
+

|
| 144 |
+
|
| 145 |
+
That's fine for styling a line of text at a time. For more finely grained styling, Rich renders a special markup which is similar in syntax to [bbcode](https://en.wikipedia.org/wiki/BBCode). Here's an example:
|
| 146 |
+
|
| 147 |
+
```python
|
| 148 |
+
console.print("Where there is a [bold cyan]Will[/bold cyan] there [u]is[/u] a [i]way[/i].")
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
|
| 153 |
+
You can use a Console object to generate sophisticated output with minimal effort. See the [Console API](https://rich.readthedocs.io/en/latest/console.html) docs for details.
|
| 154 |
+
|
| 155 |
+
## Rich Inspect
|
| 156 |
+
|
| 157 |
+
Rich has an [inspect](https://rich.readthedocs.io/en/latest/reference/init.html?highlight=inspect#rich.inspect) function which can produce a report on any Python object, such as class, instance, or builtin.
|
| 158 |
+
|
| 159 |
+
```python
|
| 160 |
+
>>> my_list = ["foo", "bar"]
|
| 161 |
+
>>> from rich import inspect
|
| 162 |
+
>>> inspect(my_list, methods=True)
|
| 163 |
+
```
|
| 164 |
+
|
| 165 |
+

|
| 166 |
+
|
| 167 |
+
See the [inspect docs](https://rich.readthedocs.io/en/latest/reference/init.html#rich.inspect) for details.
|
| 168 |
+
|
| 169 |
+
# Rich Library
|
| 170 |
+
|
| 171 |
+
Rich contains a number of builtin _renderables_ you can use to create elegant output in your CLI and help you debug your code.
|
| 172 |
+
|
| 173 |
+
Click the following headings for details:
|
| 174 |
+
|
| 175 |
+
<details>
|
| 176 |
+
<summary>Log</summary>
|
| 177 |
+
|
| 178 |
+
The Console object has a `log()` method which has a similar interface to `print()`, but also renders a column for the current time and the file and line which made the call. By default Rich will do syntax highlighting for Python structures and for repr strings. If you log a collection (i.e. a dict or a list) Rich will pretty print it so that it fits in the available space. Here's an example of some of these features.
|
| 179 |
+
|
| 180 |
+
```python
|
| 181 |
+
from rich.console import Console
|
| 182 |
+
console = Console()
|
| 183 |
+
|
| 184 |
+
test_data = [
|
| 185 |
+
{"jsonrpc": "2.0", "method": "sum", "params": [None, 1, 2, 4, False, True], "id": "1",},
|
| 186 |
+
{"jsonrpc": "2.0", "method": "notify_hello", "params": [7]},
|
| 187 |
+
{"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": "2"},
|
| 188 |
+
]
|
| 189 |
+
|
| 190 |
+
def test_log():
|
| 191 |
+
enabled = False
|
| 192 |
+
context = {
|
| 193 |
+
"foo": "bar",
|
| 194 |
+
}
|
| 195 |
+
movies = ["Deadpool", "Rise of the Skywalker"]
|
| 196 |
+
console.log("Hello from", console, "!")
|
| 197 |
+
console.log(test_data, log_locals=True)
|
| 198 |
+
|
| 199 |
+
|
| 200 |
+
test_log()
|
| 201 |
+
```
|
| 202 |
+
|
| 203 |
+
The above produces the following output:
|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
|
| 207 |
+
Note the `log_locals` argument, which outputs a table containing the local variables where the log method was called.
|
| 208 |
+
|
| 209 |
+
The log method could be used for logging to the terminal for long running applications such as servers, but is also a very nice debugging aid.
|
| 210 |
+
|
| 211 |
+
</details>
|
| 212 |
+
<details>
|
| 213 |
+
<summary>Logging Handler</summary>
|
| 214 |
+
|
| 215 |
+
You can also use the builtin [Handler class](https://rich.readthedocs.io/en/latest/logging.html) to format and colorize output from Python's logging module. Here's an example of the output:
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
|
| 219 |
+
</details>
|
| 220 |
+
|
| 221 |
+
<details>
|
| 222 |
+
<summary>Emoji</summary>
|
| 223 |
+
|
| 224 |
+
To insert an emoji in to console output place the name between two colons. Here's an example:
|
| 225 |
+
|
| 226 |
+
```python
|
| 227 |
+
>>> console.print(":smiley: :vampire: :pile_of_poo: :thumbs_up: :raccoon:")
|
| 228 |
+
😃 🧛 💩 👍 🦝
|
| 229 |
+
```
|
| 230 |
+
|
| 231 |
+
Please use this feature wisely.
|
| 232 |
+
|
| 233 |
+
</details>
|
| 234 |
+
|
| 235 |
+
<details>
|
| 236 |
+
<summary>Tables</summary>
|
| 237 |
+
|
| 238 |
+
Rich can render flexible [tables](https://rich.readthedocs.io/en/latest/tables.html) with unicode box characters. There is a large variety of formatting options for borders, styles, cell alignment etc.
|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
|
| 242 |
+
The animation above was generated with [table_movie.py](https://github.com/textualize/rich/blob/master/examples/table_movie.py) in the examples directory.
|
| 243 |
+
|
| 244 |
+
Here's a simpler table example:
|
| 245 |
+
|
| 246 |
+
```python
|
| 247 |
+
from rich.console import Console
|
| 248 |
+
from rich.table import Table
|
| 249 |
+
|
| 250 |
+
console = Console()
|
| 251 |
+
|
| 252 |
+
table = Table(show_header=True, header_style="bold magenta")
|
| 253 |
+
table.add_column("Date", style="dim", width=12)
|
| 254 |
+
table.add_column("Title")
|
| 255 |
+
table.add_column("Production Budget", justify="right")
|
| 256 |
+
table.add_column("Box Office", justify="right")
|
| 257 |
+
table.add_row(
|
| 258 |
+
"Dec 20, 2019", "Star Wars: The Rise of Skywalker", "$275,000,000", "$375,126,118"
|
| 259 |
+
)
|
| 260 |
+
table.add_row(
|
| 261 |
+
"May 25, 2018",
|
| 262 |
+
"[red]Solo[/red]: A Star Wars Story",
|
| 263 |
+
"$275,000,000",
|
| 264 |
+
"$393,151,347",
|
| 265 |
+
)
|
| 266 |
+
table.add_row(
|
| 267 |
+
"Dec 15, 2017",
|
| 268 |
+
"Star Wars Ep. VIII: The Last Jedi",
|
| 269 |
+
"$262,000,000",
|
| 270 |
+
"[bold]$1,332,539,889[/bold]",
|
| 271 |
+
)
|
| 272 |
+
|
| 273 |
+
console.print(table)
|
| 274 |
+
```
|
| 275 |
+
|
| 276 |
+
This produces the following output:
|
| 277 |
+
|
| 278 |
+

|
| 279 |
+
|
| 280 |
+
Note that console markup is rendered in the same way as `print()` and `log()`. In fact, anything that is renderable by Rich may be included in the headers / rows (even other tables).
|
| 281 |
+
|
| 282 |
+
The `Table` class is smart enough to resize columns to fit the available width of the terminal, wrapping text as required. Here's the same example, with the terminal made smaller than the table above:
|
| 283 |
+
|
| 284 |
+

|
| 285 |
+
|
| 286 |
+
</details>
|
| 287 |
+
|
| 288 |
+
<details>
|
| 289 |
+
<summary>Progress Bars</summary>
|
| 290 |
+
|
| 291 |
+
Rich can render multiple flicker-free [progress](https://rich.readthedocs.io/en/latest/progress.html) bars to track long-running tasks.
|
| 292 |
+
|
| 293 |
+
For basic usage, wrap any sequence in the `track` function and iterate over the result. Here's an example:
|
| 294 |
+
|
| 295 |
+
```python
|
| 296 |
+
from rich.progress import track
|
| 297 |
+
|
| 298 |
+
for step in track(range(100)):
|
| 299 |
+
do_step(step)
|
| 300 |
+
```
|
| 301 |
+
|
| 302 |
+
It's not much harder to add multiple progress bars. Here's an example taken from the docs:
|
| 303 |
+
|
| 304 |
+

|
| 305 |
+
|
| 306 |
+
The columns may be configured to show any details you want. Built-in columns include percentage complete, file size, file speed, and time remaining. Here's another example showing a download in progress:
|
| 307 |
+
|
| 308 |
+

|
| 309 |
+
|
| 310 |
+
To try this out yourself, see [examples/downloader.py](https://github.com/textualize/rich/blob/master/examples/downloader.py) which can download multiple URLs simultaneously while displaying progress.
|
| 311 |
+
|
| 312 |
+
</details>
|
| 313 |
+
|
| 314 |
+
<details>
|
| 315 |
+
<summary>Status</summary>
|
| 316 |
+
|
| 317 |
+
For situations where it is hard to calculate progress, you can use the [status](https://rich.readthedocs.io/en/latest/reference/console.html#rich.console.Console.status) method which will display a 'spinner' animation and message. The animation won't prevent you from using the console as normal. Here's an example:
|
| 318 |
+
|
| 319 |
+
```python
|
| 320 |
+
from time import sleep
|
| 321 |
+
from rich.console import Console
|
| 322 |
+
|
| 323 |
+
console = Console()
|
| 324 |
+
tasks = [f"task {n}" for n in range(1, 11)]
|
| 325 |
+
|
| 326 |
+
with console.status("[bold green]Working on tasks...") as status:
|
| 327 |
+
while tasks:
|
| 328 |
+
task = tasks.pop(0)
|
| 329 |
+
sleep(1)
|
| 330 |
+
console.log(f"{task} complete")
|
| 331 |
+
```
|
| 332 |
+
|
| 333 |
+
This generates the following output in the terminal.
|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+
The spinner animations were borrowed from [cli-spinners](https://www.npmjs.com/package/cli-spinners). You can select a spinner by specifying the `spinner` parameter. Run the following command to see the available values:
|
| 338 |
+
|
| 339 |
+
```
|
| 340 |
+
python -m rich.spinner
|
| 341 |
+
```
|
| 342 |
+
|
| 343 |
+
The above command generates the following output in the terminal:
|
| 344 |
+
|
| 345 |
+

|
| 346 |
+
|
| 347 |
+
</details>
|
| 348 |
+
|
| 349 |
+
<details>
|
| 350 |
+
<summary>Tree</summary>
|
| 351 |
+
|
| 352 |
+
Rich can render a [tree](https://rich.readthedocs.io/en/latest/tree.html) with guide lines. A tree is ideal for displaying a file structure, or any other hierarchical data.
|
| 353 |
+
|
| 354 |
+
The labels of the tree can be simple text or anything else Rich can render. Run the following for a demonstration:
|
| 355 |
+
|
| 356 |
+
```
|
| 357 |
+
python -m rich.tree
|
| 358 |
+
```
|
| 359 |
+
|
| 360 |
+
This generates the following output:
|
| 361 |
+
|
| 362 |
+

|
| 363 |
+
|
| 364 |
+
See the [tree.py](https://github.com/textualize/rich/blob/master/examples/tree.py) example for a script that displays a tree view of any directory, similar to the linux `tree` command.
|
| 365 |
+
|
| 366 |
+
</details>
|
| 367 |
+
|
| 368 |
+
<details>
|
| 369 |
+
<summary>Columns</summary>
|
| 370 |
+
|
| 371 |
+
Rich can render content in neat [columns](https://rich.readthedocs.io/en/latest/columns.html) with equal or optimal width. Here's a very basic clone of the (MacOS / Linux) `ls` command which displays a directory listing in columns:
|
| 372 |
+
|
| 373 |
+
```python
|
| 374 |
+
import os
|
| 375 |
+
import sys
|
| 376 |
+
|
| 377 |
+
from rich import print
|
| 378 |
+
from rich.columns import Columns
|
| 379 |
+
|
| 380 |
+
directory = os.listdir(sys.argv[1])
|
| 381 |
+
print(Columns(directory))
|
| 382 |
+
```
|
| 383 |
+
|
| 384 |
+
The following screenshot is the output from the [columns example](https://github.com/textualize/rich/blob/master/examples/columns.py) which displays data pulled from an API in columns:
|
| 385 |
+
|
| 386 |
+

|
| 387 |
+
|
| 388 |
+
</details>
|
| 389 |
+
|
| 390 |
+
<details>
|
| 391 |
+
<summary>Markdown</summary>
|
| 392 |
+
|
| 393 |
+
Rich can render [markdown](https://rich.readthedocs.io/en/latest/markdown.html) and does a reasonable job of translating the formatting to the terminal.
|
| 394 |
+
|
| 395 |
+
To render markdown import the `Markdown` class and construct it with a string containing markdown code. Then print it to the console. Here's an example:
|
| 396 |
+
|
| 397 |
+
```python
|
| 398 |
+
from rich.console import Console
|
| 399 |
+
from rich.markdown import Markdown
|
| 400 |
+
|
| 401 |
+
console = Console()
|
| 402 |
+
with open("README.md") as readme:
|
| 403 |
+
markdown = Markdown(readme.read())
|
| 404 |
+
console.print(markdown)
|
| 405 |
+
```
|
| 406 |
+
|
| 407 |
+
This will produce output something like the following:
|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
|
| 411 |
+
</details>
|
| 412 |
+
|
| 413 |
+
<details>
|
| 414 |
+
<summary>Syntax Highlighting</summary>
|
| 415 |
+
|
| 416 |
+
Rich uses the [pygments](https://pygments.org/) library to implement [syntax highlighting](https://rich.readthedocs.io/en/latest/syntax.html). Usage is similar to rendering markdown; construct a `Syntax` object and print it to the console. Here's an example:
|
| 417 |
+
|
| 418 |
+
```python
|
| 419 |
+
from rich.console import Console
|
| 420 |
+
from rich.syntax import Syntax
|
| 421 |
+
|
| 422 |
+
my_code = '''
|
| 423 |
+
def iter_first_last(values: Iterable[T]) -> Iterable[Tuple[bool, bool, T]]:
|
| 424 |
+
"""Iterate and generate a tuple with a flag for first and last value."""
|
| 425 |
+
iter_values = iter(values)
|
| 426 |
+
try:
|
| 427 |
+
previous_value = next(iter_values)
|
| 428 |
+
except StopIteration:
|
| 429 |
+
return
|
| 430 |
+
first = True
|
| 431 |
+
for value in iter_values:
|
| 432 |
+
yield first, False, previous_value
|
| 433 |
+
first = False
|
| 434 |
+
previous_value = value
|
| 435 |
+
yield first, True, previous_value
|
| 436 |
+
'''
|
| 437 |
+
syntax = Syntax(my_code, "python", theme="monokai", line_numbers=True)
|
| 438 |
+
console = Console()
|
| 439 |
+
console.print(syntax)
|
| 440 |
+
```
|
| 441 |
+
|
| 442 |
+
This will produce the following output:
|
| 443 |
+
|
| 444 |
+

|
| 445 |
+
|
| 446 |
+
</details>
|
| 447 |
+
|
| 448 |
+
<details>
|
| 449 |
+
<summary>Tracebacks</summary>
|
| 450 |
+
|
| 451 |
+
Rich can render [beautiful tracebacks](https://rich.readthedocs.io/en/latest/traceback.html) which are easier to read and show more code than standard Python tracebacks. You can set Rich as the default traceback handler so all uncaught exceptions will be rendered by Rich.
|
| 452 |
+
|
| 453 |
+
Here's what it looks like on OSX (similar on Linux):
|
| 454 |
+
|
| 455 |
+

|
| 456 |
+
|
| 457 |
+
</details>
|
| 458 |
+
|
| 459 |
+
All Rich renderables make use of the [Console Protocol](https://rich.readthedocs.io/en/latest/protocol.html), which you can also use to implement your own Rich content.
|
| 460 |
+
|
| 461 |
+
# Rich CLI
|
| 462 |
+
|
| 463 |
+
|
| 464 |
+
See also [Rich CLI](https://github.com/textualize/rich-cli) for a command line application powered by Rich. Syntax highlight code, render markdown, display CSVs in tables, and more, directly from the command prompt.
|
| 465 |
+
|
| 466 |
+
|
| 467 |
+

|
| 468 |
+
|
| 469 |
+
# Textual
|
| 470 |
+
|
| 471 |
+
See also Rich's sister project, [Textual](https://github.com/Textualize/textual), which you can use to build sophisticated User Interfaces in the terminal.
|
| 472 |
+
|
| 473 |
+

|
| 474 |
+
|
| 475 |
+
# Toad
|
| 476 |
+
|
| 477 |
+
[Toad](https://github.com/batrachianai/toad) is a unified interface for agentic coding. Built with Rich and Textual.
|
| 478 |
+
|
| 479 |
+

|
| 480 |
+
|
.cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae.body
ADDED
|
Binary file (16.2 kB). View file
|
|
|
.cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b.body
ADDED
|
Binary file (18.1 kB). View file
|
|
|
.cache/pip/http-v2/5/d/0/b/4/5d0b459b3c4f2993a6258ed848f61436c9f7a018d2587028572840f2
ADDED
|
Binary file (1.13 kB). View file
|
|
|
.cache/pip/http-v2/6/1/6/5/a/6165a4393aa66a360946f71adc9147b3870cebf86b7878337a7535a9
ADDED
|
Binary file (1.12 kB). View file
|
|
|
.cache/pip/http-v2/6/4/c/f/c/64cfc03e83f9fad4049b1d2a1d785c9273270a4ab9788b538f5054e3
ADDED
|
Binary file (1.86 kB). View file
|
|
|
.cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4.body
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: cycler
|
| 3 |
+
Version: 0.12.1
|
| 4 |
+
Summary: Composable style cycles
|
| 5 |
+
Author-email: Thomas A Caswell <matplotlib-users@python.org>
|
| 6 |
+
License: Copyright (c) 2015, matplotlib project
|
| 7 |
+
All rights reserved.
|
| 8 |
+
|
| 9 |
+
Redistribution and use in source and binary forms, with or without
|
| 10 |
+
modification, are permitted provided that the following conditions are met:
|
| 11 |
+
|
| 12 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 13 |
+
list of conditions and the following disclaimer.
|
| 14 |
+
|
| 15 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 16 |
+
this list of conditions and the following disclaimer in the documentation
|
| 17 |
+
and/or other materials provided with the distribution.
|
| 18 |
+
|
| 19 |
+
* Neither the name of the matplotlib project nor the names of its
|
| 20 |
+
contributors may be used to endorse or promote products derived from
|
| 21 |
+
this software without specific prior written permission.
|
| 22 |
+
|
| 23 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 24 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 25 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 26 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 27 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 28 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 29 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 30 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 31 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 32 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 33 |
+
Project-URL: homepage, https://matplotlib.org/cycler/
|
| 34 |
+
Project-URL: repository, https://github.com/matplotlib/cycler
|
| 35 |
+
Keywords: cycle kwargs
|
| 36 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 37 |
+
Classifier: Development Status :: 4 - Beta
|
| 38 |
+
Classifier: Programming Language :: Python :: 3
|
| 39 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 40 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 41 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 42 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 43 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 44 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 45 |
+
Requires-Python: >=3.8
|
| 46 |
+
Description-Content-Type: text/x-rst
|
| 47 |
+
License-File: LICENSE
|
| 48 |
+
Provides-Extra: docs
|
| 49 |
+
Requires-Dist: ipython ; extra == 'docs'
|
| 50 |
+
Requires-Dist: matplotlib ; extra == 'docs'
|
| 51 |
+
Requires-Dist: numpydoc ; extra == 'docs'
|
| 52 |
+
Requires-Dist: sphinx ; extra == 'docs'
|
| 53 |
+
Provides-Extra: tests
|
| 54 |
+
Requires-Dist: pytest ; extra == 'tests'
|
| 55 |
+
Requires-Dist: pytest-cov ; extra == 'tests'
|
| 56 |
+
Requires-Dist: pytest-xdist ; extra == 'tests'
|
| 57 |
+
|
| 58 |
+
|PyPi|_ |Conda|_ |Supported Python versions|_ |GitHub Actions|_ |Codecov|_
|
| 59 |
+
|
| 60 |
+
.. |PyPi| image:: https://img.shields.io/pypi/v/cycler.svg?style=flat
|
| 61 |
+
.. _PyPi: https://pypi.python.org/pypi/cycler
|
| 62 |
+
|
| 63 |
+
.. |Conda| image:: https://img.shields.io/conda/v/conda-forge/cycler
|
| 64 |
+
.. _Conda: https://anaconda.org/conda-forge/cycler
|
| 65 |
+
|
| 66 |
+
.. |Supported Python versions| image:: https://img.shields.io/pypi/pyversions/cycler.svg
|
| 67 |
+
.. _Supported Python versions: https://pypi.python.org/pypi/cycler
|
| 68 |
+
|
| 69 |
+
.. |GitHub Actions| image:: https://github.com/matplotlib/cycler/actions/workflows/tests.yml/badge.svg
|
| 70 |
+
.. _GitHub Actions: https://github.com/matplotlib/cycler/actions
|
| 71 |
+
|
| 72 |
+
.. |Codecov| image:: https://codecov.io/github/matplotlib/cycler/badge.svg?branch=main&service=github
|
| 73 |
+
.. _Codecov: https://codecov.io/github/matplotlib/cycler?branch=main
|
| 74 |
+
|
| 75 |
+
cycler: composable cycles
|
| 76 |
+
=========================
|
| 77 |
+
|
| 78 |
+
Docs: https://matplotlib.org/cycler/
|
.cache/pip/http-v2/6/6/e/c/7/66ec76a7b6ed4081044f5c7821af293b63c17bc2ac523ff93d5ca7d5
ADDED
|
Binary file (1.87 kB). View file
|
|
|
.cache/pip/http-v2/6/8/0/d/4/680d4dd80dc6a3d2df9b9478dfcc8e81e0e4f130e154a3268b98b877
ADDED
|
Binary file (1.87 kB). View file
|
|
|
.cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: optuna
|
| 3 |
+
Version: 4.8.0
|
| 4 |
+
Summary: A hyperparameter optimization framework
|
| 5 |
+
Author: Takuya Akiba
|
| 6 |
+
Project-URL: homepage, https://optuna.org/
|
| 7 |
+
Project-URL: repository, https://github.com/optuna/optuna
|
| 8 |
+
Project-URL: documentation, https://optuna.readthedocs.io
|
| 9 |
+
Project-URL: bugtracker, https://github.com/optuna/optuna/issues
|
| 10 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 11 |
+
Classifier: Intended Audience :: Science/Research
|
| 12 |
+
Classifier: Intended Audience :: Developers
|
| 13 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 14 |
+
Classifier: Programming Language :: Python :: 3
|
| 15 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 16 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 21 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 22 |
+
Classifier: Topic :: Scientific/Engineering
|
| 23 |
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
| 24 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
| 25 |
+
Classifier: Topic :: Software Development
|
| 26 |
+
Classifier: Topic :: Software Development :: Libraries
|
| 27 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 28 |
+
Requires-Python: >=3.9
|
| 29 |
+
Description-Content-Type: text/markdown
|
| 30 |
+
License-File: LICENSE
|
| 31 |
+
License-File: LICENSE_THIRD_PARTY
|
| 32 |
+
Requires-Dist: alembic>=1.5.0
|
| 33 |
+
Requires-Dist: colorlog
|
| 34 |
+
Requires-Dist: numpy
|
| 35 |
+
Requires-Dist: packaging>=20.0
|
| 36 |
+
Requires-Dist: sqlalchemy>=1.4.2
|
| 37 |
+
Requires-Dist: tqdm
|
| 38 |
+
Requires-Dist: PyYAML
|
| 39 |
+
Provides-Extra: checking
|
| 40 |
+
Requires-Dist: mypy; extra == "checking"
|
| 41 |
+
Requires-Dist: mypy_boto3_s3; extra == "checking"
|
| 42 |
+
Requires-Dist: ruff; extra == "checking"
|
| 43 |
+
Requires-Dist: scipy-stubs; python_version >= "3.10" and extra == "checking"
|
| 44 |
+
Requires-Dist: types-PyYAML; extra == "checking"
|
| 45 |
+
Requires-Dist: types-redis; extra == "checking"
|
| 46 |
+
Requires-Dist: types-setuptools; extra == "checking"
|
| 47 |
+
Requires-Dist: types-tqdm; extra == "checking"
|
| 48 |
+
Requires-Dist: typing_extensions>=3.10.0.0; extra == "checking"
|
| 49 |
+
Provides-Extra: document
|
| 50 |
+
Requires-Dist: ase; extra == "document"
|
| 51 |
+
Requires-Dist: cmaes>=0.12.0; extra == "document"
|
| 52 |
+
Requires-Dist: fvcore; extra == "document"
|
| 53 |
+
Requires-Dist: kaleido<0.4; extra == "document"
|
| 54 |
+
Requires-Dist: lightgbm; extra == "document"
|
| 55 |
+
Requires-Dist: matplotlib!=3.6.0; extra == "document"
|
| 56 |
+
Requires-Dist: pandas; extra == "document"
|
| 57 |
+
Requires-Dist: pillow; extra == "document"
|
| 58 |
+
Requires-Dist: plotly>=4.9.0; extra == "document"
|
| 59 |
+
Requires-Dist: scikit-learn; extra == "document"
|
| 60 |
+
Requires-Dist: sphinx; extra == "document"
|
| 61 |
+
Requires-Dist: sphinx-copybutton; extra == "document"
|
| 62 |
+
Requires-Dist: sphinx-gallery; extra == "document"
|
| 63 |
+
Requires-Dist: sphinx-notfound-page; extra == "document"
|
| 64 |
+
Requires-Dist: sphinx_rtd_theme>=1.2.0; extra == "document"
|
| 65 |
+
Requires-Dist: torch; extra == "document"
|
| 66 |
+
Requires-Dist: torchvision; extra == "document"
|
| 67 |
+
Provides-Extra: optional
|
| 68 |
+
Requires-Dist: boto3; extra == "optional"
|
| 69 |
+
Requires-Dist: cmaes>=0.12.0; extra == "optional"
|
| 70 |
+
Requires-Dist: google-cloud-storage; extra == "optional"
|
| 71 |
+
Requires-Dist: matplotlib!=3.6.0; extra == "optional"
|
| 72 |
+
Requires-Dist: pandas; extra == "optional"
|
| 73 |
+
Requires-Dist: plotly>=4.9.0; extra == "optional"
|
| 74 |
+
Requires-Dist: redis; extra == "optional"
|
| 75 |
+
Requires-Dist: scikit-learn>=0.24.2; extra == "optional"
|
| 76 |
+
Requires-Dist: scipy; extra == "optional"
|
| 77 |
+
Requires-Dist: torch; extra == "optional"
|
| 78 |
+
Requires-Dist: greenlet; extra == "optional"
|
| 79 |
+
Requires-Dist: grpcio; extra == "optional"
|
| 80 |
+
Requires-Dist: protobuf>=5.28.1; extra == "optional"
|
| 81 |
+
Provides-Extra: test
|
| 82 |
+
Requires-Dist: fakeredis[lua]; extra == "test"
|
| 83 |
+
Requires-Dist: kaleido<0.4; extra == "test"
|
| 84 |
+
Requires-Dist: moto; extra == "test"
|
| 85 |
+
Requires-Dist: pytest; extra == "test"
|
| 86 |
+
Requires-Dist: pytest-xdist; extra == "test"
|
| 87 |
+
Requires-Dist: scipy>=1.9.2; extra == "test"
|
| 88 |
+
Requires-Dist: torch; extra == "test"
|
| 89 |
+
Requires-Dist: greenlet; extra == "test"
|
| 90 |
+
Requires-Dist: grpcio; extra == "test"
|
| 91 |
+
Requires-Dist: protobuf>=5.28.1; extra == "test"
|
| 92 |
+
Dynamic: license-file
|
| 93 |
+
|
| 94 |
+
<div align="center"><img src="https://raw.githubusercontent.com/optuna/optuna/master/docs/image/optuna-logo.png" width="800"/></div>
|
| 95 |
+
|
| 96 |
+
# Optuna: A hyperparameter optimization framework
|
| 97 |
+
|
| 98 |
+
[](https://www.python.org)
|
| 99 |
+
[](https://pypi.python.org/pypi/optuna)
|
| 100 |
+
[](https://anaconda.org/conda-forge/optuna)
|
| 101 |
+
[](https://github.com/optuna/optuna)
|
| 102 |
+
[](https://optuna.readthedocs.io/en/stable/)
|
| 103 |
+
|
| 104 |
+
:link: [**Website**](https://optuna.org/)
|
| 105 |
+
| :page_with_curl: [**Docs**](https://optuna.readthedocs.io/en/stable/)
|
| 106 |
+
| :gear: [**Install Guide**](https://optuna.readthedocs.io/en/stable/installation.html)
|
| 107 |
+
| :pencil: [**Tutorial**](https://optuna.readthedocs.io/en/stable/tutorial/index.html)
|
| 108 |
+
| :bulb: [**Examples**](https://github.com/optuna/optuna-examples)
|
| 109 |
+
| [**Twitter**](https://twitter.com/OptunaAutoML)
|
| 110 |
+
| [**LinkedIn**](https://www.linkedin.com/showcase/optuna/)
|
| 111 |
+
| [**Medium**](https://medium.com/optuna)
|
| 112 |
+
|
| 113 |
+
*Optuna* is an automatic hyperparameter optimization software framework, particularly designed
|
| 114 |
+
for machine learning. It features an imperative, *define-by-run* style user API. Thanks to our
|
| 115 |
+
*define-by-run* API, the code written with Optuna enjoys high modularity, and the user of
|
| 116 |
+
Optuna can dynamically construct the search spaces for the hyperparameters.
|
| 117 |
+
|
| 118 |
+
## :loudspeaker: News
|
| 119 |
+
Help us create the next version of Optuna!
|
| 120 |
+
|
| 121 |
+
Optuna 5.0 Roadmap published for review. Please take a look at [the planned improvements to Optuna](https://medium.com/optuna/optuna-v5-roadmap-ac7d6935a878), and share your feedback in [the github issues](https://github.com/optuna/optuna/labels/v5). PR contributions also welcome!
|
| 122 |
+
|
| 123 |
+
Please take a few minutes to fill in [this survey](https://forms.gle/wVwLCQ9g6st6AXuq9), and let us know how you use Optuna now and what improvements you'd like.🤔
|
| 124 |
+
All questions are optional. 🙇♂️
|
| 125 |
+
|
| 126 |
+
<!-- TODO: when you add a new line, please delete the oldest line -->
|
| 127 |
+
* **Jan 19, 2026**: Optuna 4.7.0 is out! Check out [the release note](https://github.com/optuna/optuna/releases/tag/v4.7.0) for details.
|
| 128 |
+
* **Nov 10, 2025**: A new article [Announcing Optuna 4.6](https://medium.com/optuna/announcing-optuna-4-6-a9e82183ab07) has been published.
|
| 129 |
+
* **Oct 28, 2025**: A new article [AutoSampler: Full Support for Multi-Objective & Constrained Optimization](https://medium.com/optuna/autosampler-full-support-for-multi-objective-constrained-optimization-c1c4fc957ba2) has been published.
|
| 130 |
+
* **Sep 22, 2025**: A new article [[Optuna v4.5] Gaussian Process-Based Sampler (GPSampler) Can Now Perform Constrained Multi-Objective Optimization](https://medium.com/optuna/optuna-v4-5-81e78d8e077a) has been published.
|
| 131 |
+
* **Jun 16, 2025**: Optuna 4.4.0 has been released! Check out [the release blog](https://medium.com/optuna/announcing-optuna-4-4-ece661493126).
|
| 132 |
+
* **May 26, 2025**: Optuna 5.0 roadmap has been published! See [the blog](https://medium.com/optuna/optuna-v5-roadmap-ac7d6935a878) for more details.
|
| 133 |
+
|
| 134 |
+
## :fire: Key Features
|
| 135 |
+
|
| 136 |
+
Optuna has modern functionalities as follows:
|
| 137 |
+
|
| 138 |
+
- [Lightweight, versatile, and platform agnostic architecture](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/001_first.html)
|
| 139 |
+
- Handle a wide variety of tasks with a simple installation that has few requirements.
|
| 140 |
+
- [Pythonic search spaces](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/002_configurations.html)
|
| 141 |
+
- Define search spaces using familiar Python syntax including conditionals and loops.
|
| 142 |
+
- [Efficient optimization algorithms](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/003_efficient_optimization_algorithms.html)
|
| 143 |
+
- Adopt state-of-the-art algorithms for sampling hyperparameters and efficiently pruning unpromising trials.
|
| 144 |
+
- [Easy parallelization](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/004_distributed.html)
|
| 145 |
+
- Scale studies to tens or hundreds of workers with little or no changes to the code.
|
| 146 |
+
- [Quick visualization](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/005_visualization.html)
|
| 147 |
+
- Inspect optimization histories from a variety of plotting functions.
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
## Basic Concepts
|
| 151 |
+
|
| 152 |
+
We use the terms *study* and *trial* as follows:
|
| 153 |
+
|
| 154 |
+
- Study: optimization based on an objective function
|
| 155 |
+
- Trial: a single execution of the objective function
|
| 156 |
+
|
| 157 |
+
Please refer to the sample code below. The goal of a *study* is to find out the optimal set of
|
| 158 |
+
hyperparameter values (e.g., `regressor` and `svr_c`) through multiple *trials* (e.g.,
|
| 159 |
+
`n_trials=100`). Optuna is a framework designed for automation and acceleration of
|
| 160 |
+
optimization *studies*.
|
| 161 |
+
|
| 162 |
+
<details open>
|
| 163 |
+
<summary>Sample code with scikit-learn</summary>
|
| 164 |
+
|
| 165 |
+
[](http://colab.research.google.com/github/optuna/optuna-examples/blob/main/quickstart.ipynb)
|
| 166 |
+
|
| 167 |
+
```python
|
| 168 |
+
import optuna
|
| 169 |
+
import sklearn
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
# Define an objective function to be minimized.
|
| 173 |
+
def objective(trial):
|
| 174 |
+
|
| 175 |
+
# Invoke suggest methods of a Trial object to generate hyperparameters.
|
| 176 |
+
regressor_name = trial.suggest_categorical("regressor", ["SVR", "RandomForest"])
|
| 177 |
+
if regressor_name == "SVR":
|
| 178 |
+
svr_c = trial.suggest_float("svr_c", 1e-10, 1e10, log=True)
|
| 179 |
+
regressor_obj = sklearn.svm.SVR(C=svr_c)
|
| 180 |
+
else:
|
| 181 |
+
rf_max_depth = trial.suggest_int("rf_max_depth", 2, 32)
|
| 182 |
+
regressor_obj = sklearn.ensemble.RandomForestRegressor(max_depth=rf_max_depth)
|
| 183 |
+
|
| 184 |
+
X, y = sklearn.datasets.fetch_california_housing(return_X_y=True)
|
| 185 |
+
X_train, X_val, y_train, y_val = sklearn.model_selection.train_test_split(X, y, random_state=0)
|
| 186 |
+
|
| 187 |
+
regressor_obj.fit(X_train, y_train)
|
| 188 |
+
y_pred = regressor_obj.predict(X_val)
|
| 189 |
+
|
| 190 |
+
error = sklearn.metrics.mean_squared_error(y_val, y_pred)
|
| 191 |
+
|
| 192 |
+
return error # An objective value linked with the Trial object.
|
| 193 |
+
|
| 194 |
+
|
| 195 |
+
study = optuna.create_study() # Create a new study.
|
| 196 |
+
study.optimize(objective, n_trials=100) # Invoke optimization of the objective function.
|
| 197 |
+
```
|
| 198 |
+
</details>
|
| 199 |
+
|
| 200 |
+
> [!NOTE]
|
| 201 |
+
> More examples can be found in [optuna/optuna-examples](https://github.com/optuna/optuna-examples).
|
| 202 |
+
>
|
| 203 |
+
> The examples cover diverse problem setups such as multi-objective optimization, constrained optimization, pruning, and distributed optimization.
|
| 204 |
+
|
| 205 |
+
## Installation
|
| 206 |
+
|
| 207 |
+
Optuna is available at [the Python Package Index](https://pypi.org/project/optuna/) and on [Anaconda Cloud](https://anaconda.org/conda-forge/optuna).
|
| 208 |
+
|
| 209 |
+
```bash
|
| 210 |
+
# PyPI
|
| 211 |
+
$ pip install optuna
|
| 212 |
+
```
|
| 213 |
+
|
| 214 |
+
```bash
|
| 215 |
+
# Anaconda Cloud
|
| 216 |
+
$ conda install -c conda-forge optuna
|
| 217 |
+
```
|
| 218 |
+
|
| 219 |
+
> [!IMPORTANT]
|
| 220 |
+
> Optuna supports Python 3.9 or newer.
|
| 221 |
+
>
|
| 222 |
+
> Also, we provide Optuna docker images on [DockerHub](https://hub.docker.com/r/optuna/optuna).
|
| 223 |
+
|
| 224 |
+
## Integrations
|
| 225 |
+
|
| 226 |
+
Optuna has integration features with various third-party libraries. Integrations can be found in [optuna/optuna-integration](https://github.com/optuna/optuna-integration) and the document is available [here](https://optuna-integration.readthedocs.io/en/stable/index.html).
|
| 227 |
+
|
| 228 |
+
<details>
|
| 229 |
+
<summary>Supported integration libraries</summary>
|
| 230 |
+
|
| 231 |
+
* [Catboost](https://github.com/optuna/optuna-examples/tree/main/catboost/catboost_pruning.py)
|
| 232 |
+
* [Dask](https://github.com/optuna/optuna-examples/tree/main/dask/dask_simple.py)
|
| 233 |
+
* [fastai](https://github.com/optuna/optuna-examples/tree/main/fastai/fastai_simple.py)
|
| 234 |
+
* [Keras](https://github.com/optuna/optuna-examples/tree/main/keras/keras_integration.py)
|
| 235 |
+
* [LightGBM](https://github.com/optuna/optuna-examples/tree/main/lightgbm/lightgbm_integration.py)
|
| 236 |
+
* [MLflow](https://github.com/optuna/optuna-examples/tree/main/mlflow/keras_mlflow.py)
|
| 237 |
+
* [PyTorch](https://github.com/optuna/optuna-examples/tree/main/pytorch/pytorch_simple.py)
|
| 238 |
+
* [PyTorch Ignite](https://github.com/optuna/optuna-examples/tree/main/pytorch/pytorch_ignite_simple.py)
|
| 239 |
+
* [PyTorch Lightning](https://github.com/optuna/optuna-examples/tree/main/pytorch/pytorch_lightning_simple.py)
|
| 240 |
+
* [TensorBoard](https://github.com/optuna/optuna-examples/tree/main/tensorboard/tensorboard_simple.py)
|
| 241 |
+
* [TensorFlow](https://github.com/optuna/optuna-examples/tree/main/tensorflow/tensorflow_estimator_integration.py)
|
| 242 |
+
* [tf.keras](https://github.com/optuna/optuna-examples/tree/main/tfkeras/tfkeras_integration.py)
|
| 243 |
+
* [Weights & Biases](https://github.com/optuna/optuna-examples/tree/main/wandb/wandb_integration.py)
|
| 244 |
+
* [XGBoost](https://github.com/optuna/optuna-examples/tree/main/xgboost/xgboost_integration.py)
|
| 245 |
+
</details>
|
| 246 |
+
|
| 247 |
+
## Web Dashboard
|
| 248 |
+
|
| 249 |
+
[Optuna Dashboard](https://github.com/optuna/optuna-dashboard) is a real-time web dashboard for Optuna.
|
| 250 |
+
You can check the optimization history, hyperparameter importance, etc. in graphs and tables.
|
| 251 |
+
You don't need to create a Python script to call [Optuna's visualization](https://optuna.readthedocs.io/en/stable/reference/visualization/index.html) functions.
|
| 252 |
+
Feature requests and bug reports are welcome!
|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
|
| 256 |
+
`optuna-dashboard` can be installed via pip:
|
| 257 |
+
|
| 258 |
+
```shell
|
| 259 |
+
$ pip install optuna-dashboard
|
| 260 |
+
```
|
| 261 |
+
|
| 262 |
+
> [!TIP]
|
| 263 |
+
> Please check out the convenience of Optuna Dashboard using the sample code below.
|
| 264 |
+
|
| 265 |
+
<details>
|
| 266 |
+
<summary>Sample code to launch Optuna Dashboard</summary>
|
| 267 |
+
|
| 268 |
+
Save the following code as `optimize_toy.py`.
|
| 269 |
+
|
| 270 |
+
```python
|
| 271 |
+
import optuna
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
def objective(trial):
|
| 275 |
+
x1 = trial.suggest_float("x1", -100, 100)
|
| 276 |
+
x2 = trial.suggest_float("x2", -100, 100)
|
| 277 |
+
return x1**2 + 0.01 * x2**2
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
study = optuna.create_study(storage="sqlite:///db.sqlite3") # Create a new study with database.
|
| 281 |
+
study.optimize(objective, n_trials=100)
|
| 282 |
+
```
|
| 283 |
+
|
| 284 |
+
Then try the commands below:
|
| 285 |
+
|
| 286 |
+
```shell
|
| 287 |
+
# Run the study specified above
|
| 288 |
+
$ python optimize_toy.py
|
| 289 |
+
|
| 290 |
+
# Launch the dashboard based on the storage `sqlite:///db.sqlite3`
|
| 291 |
+
$ optuna-dashboard sqlite:///db.sqlite3
|
| 292 |
+
...
|
| 293 |
+
Listening on http://localhost:8080/
|
| 294 |
+
Hit Ctrl-C to quit.
|
| 295 |
+
```
|
| 296 |
+
|
| 297 |
+
</details>
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
## OptunaHub
|
| 301 |
+
|
| 302 |
+
[OptunaHub](https://hub.optuna.org/) is a feature-sharing platform for Optuna.
|
| 303 |
+
You can use the registered features and publish your packages.
|
| 304 |
+
|
| 305 |
+
### Use registered features
|
| 306 |
+
|
| 307 |
+
`optunahub` can be installed via pip:
|
| 308 |
+
|
| 309 |
+
```shell
|
| 310 |
+
$ pip install optunahub
|
| 311 |
+
# Install AutoSampler dependencies (CPU only is sufficient for PyTorch)
|
| 312 |
+
$ pip install cmaes scipy torch --extra-index-url https://download.pytorch.org/whl/cpu
|
| 313 |
+
```
|
| 314 |
+
|
| 315 |
+
You can load registered module with `optunahub.load_module`.
|
| 316 |
+
|
| 317 |
+
```python
|
| 318 |
+
import optuna
|
| 319 |
+
import optunahub
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
def objective(trial: optuna.Trial) -> float:
|
| 323 |
+
x = trial.suggest_float("x", -5, 5)
|
| 324 |
+
y = trial.suggest_float("y", -5, 5)
|
| 325 |
+
return x**2 + y**2
|
| 326 |
+
|
| 327 |
+
|
| 328 |
+
module = optunahub.load_module(package="samplers/auto_sampler")
|
| 329 |
+
study = optuna.create_study(sampler=module.AutoSampler())
|
| 330 |
+
study.optimize(objective, n_trials=10)
|
| 331 |
+
|
| 332 |
+
print(study.best_trial.value, study.best_trial.params)
|
| 333 |
+
```
|
| 334 |
+
|
| 335 |
+
For more details, please refer to [the optunahub documentation](https://optuna.github.io/optunahub/).
|
| 336 |
+
|
| 337 |
+
### Publish your packages
|
| 338 |
+
|
| 339 |
+
You can publish your package via [optunahub-registry](https://github.com/optuna/optunahub-registry).
|
| 340 |
+
See the [Tutorials for Contributors](https://optuna.github.io/optunahub/tutorials_for_contributors.html) in OptunaHub.
|
| 341 |
+
|
| 342 |
+
|
| 343 |
+
## Communication
|
| 344 |
+
|
| 345 |
+
- [GitHub Discussions] for questions.
|
| 346 |
+
- [GitHub Issues] for bug reports and feature requests.
|
| 347 |
+
|
| 348 |
+
[GitHub Discussions]: https://github.com/optuna/optuna/discussions
|
| 349 |
+
[GitHub issues]: https://github.com/optuna/optuna/issues
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
## Contribution
|
| 353 |
+
|
| 354 |
+
Any contributions to Optuna are more than welcome!
|
| 355 |
+
|
| 356 |
+
If you are new to Optuna, please check the [good first issues](https://github.com/optuna/optuna/labels/good%20first%20issue). They are relatively simple, well-defined, and often good starting points for you to get familiar with the contribution workflow and other developers.
|
| 357 |
+
|
| 358 |
+
If you already have contributed to Optuna, we recommend the other [contribution-welcome issues](https://github.com/optuna/optuna/labels/contribution-welcome).
|
| 359 |
+
|
| 360 |
+
For general guidelines on how to contribute to the project, take a look at [CONTRIBUTING.md](./CONTRIBUTING.md).
|
| 361 |
+
|
| 362 |
+
|
| 363 |
+
## Reference
|
| 364 |
+
|
| 365 |
+
If you use Optuna in one of your research projects, please cite [our KDD paper](https://doi.org/10.1145/3292500.3330701) "Optuna: A Next-generation Hyperparameter Optimization Framework":
|
| 366 |
+
|
| 367 |
+
<details open>
|
| 368 |
+
<summary>BibTeX</summary>
|
| 369 |
+
|
| 370 |
+
```bibtex
|
| 371 |
+
@inproceedings{akiba2019optuna,
|
| 372 |
+
title={{O}ptuna: A Next-Generation Hyperparameter Optimization Framework},
|
| 373 |
+
author={Akiba, Takuya and Sano, Shotaro and Yanase, Toshihiko and Ohta, Takeru and Koyama, Masanori},
|
| 374 |
+
booktitle={The 25th ACM SIGKDD International Conference on Knowledge Discovery \& Data Mining},
|
| 375 |
+
pages={2623--2631},
|
| 376 |
+
year={2019}
|
| 377 |
+
}
|
| 378 |
+
```
|
| 379 |
+
</details>
|
| 380 |
+
|
| 381 |
+
|
| 382 |
+
## License
|
| 383 |
+
|
| 384 |
+
MIT License (see [LICENSE](./LICENSE)).
|
| 385 |
+
|
| 386 |
+
Optuna uses the codes from SciPy and fdlibm projects (see [LICENSE_THIRD_PARTY](./LICENSE_THIRD_PARTY)).
|
.cache/pip/http-v2/6/c/6/e/e/6c6eeaf6757edbde690577822daacaba826c2b12ce67b57b33e8021d
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/6/c/6/e/e/6c6eeaf6757edbde690577822daacaba826c2b12ce67b57b33e8021d.body
ADDED
|
Binary file (8.32 kB). View file
|
|
|
.cache/pip/http-v2/7/2/8/a/2/728a2f33f382f4dacf08f6df77aad6f3d889f819ba4fa3efad5ec7e4
ADDED
|
Binary file (1.86 kB). View file
|
|
|
.cache/pip/http-v2/7/7/3/7/4/77374f6555d766d1d452fe4918fb303c49f49a5a37a0986ea4f1b212
ADDED
|
Binary file (1.21 kB). View file
|
|
|
.cache/pip/http-v2/7/7/3/7/4/77374f6555d766d1d452fe4918fb303c49f49a5a37a0986ea4f1b212.body
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: alembic
|
| 3 |
+
Version: 1.18.4
|
| 4 |
+
Summary: A database migration tool for SQLAlchemy.
|
| 5 |
+
Author-email: Mike Bayer <mike_mp@zzzcomputing.com>
|
| 6 |
+
License-Expression: MIT
|
| 7 |
+
Project-URL: Homepage, https://alembic.sqlalchemy.org
|
| 8 |
+
Project-URL: Documentation, https://alembic.sqlalchemy.org/en/latest/
|
| 9 |
+
Project-URL: Changelog, https://alembic.sqlalchemy.org/en/latest/changelog.html
|
| 10 |
+
Project-URL: Source, https://github.com/sqlalchemy/alembic/
|
| 11 |
+
Project-URL: Issue Tracker, https://github.com/sqlalchemy/alembic/issues/
|
| 12 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 13 |
+
Classifier: Intended Audience :: Developers
|
| 14 |
+
Classifier: Environment :: Console
|
| 15 |
+
Classifier: Operating System :: OS Independent
|
| 16 |
+
Classifier: Programming Language :: Python
|
| 17 |
+
Classifier: Programming Language :: Python :: 3
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 21 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 22 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 23 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 24 |
+
Classifier: Topic :: Database :: Front-Ends
|
| 25 |
+
Requires-Python: >=3.10
|
| 26 |
+
Description-Content-Type: text/x-rst
|
| 27 |
+
License-File: LICENSE
|
| 28 |
+
Requires-Dist: SQLAlchemy>=1.4.23
|
| 29 |
+
Requires-Dist: Mako
|
| 30 |
+
Requires-Dist: typing-extensions>=4.12
|
| 31 |
+
Requires-Dist: tomli; python_version < "3.11"
|
| 32 |
+
Provides-Extra: tz
|
| 33 |
+
Requires-Dist: tzdata; extra == "tz"
|
| 34 |
+
Dynamic: license-file
|
| 35 |
+
|
| 36 |
+
Alembic is a database migrations tool written by the author
|
| 37 |
+
of `SQLAlchemy <http://www.sqlalchemy.org>`_. A migrations tool
|
| 38 |
+
offers the following functionality:
|
| 39 |
+
|
| 40 |
+
* Can emit ALTER statements to a database in order to change
|
| 41 |
+
the structure of tables and other constructs
|
| 42 |
+
* Provides a system whereby "migration scripts" may be constructed;
|
| 43 |
+
each script indicates a particular series of steps that can "upgrade" a
|
| 44 |
+
target database to a new version, and optionally a series of steps that can
|
| 45 |
+
"downgrade" similarly, doing the same steps in reverse.
|
| 46 |
+
* Allows the scripts to execute in some sequential manner.
|
| 47 |
+
|
| 48 |
+
The goals of Alembic are:
|
| 49 |
+
|
| 50 |
+
* Very open ended and transparent configuration and operation. A new
|
| 51 |
+
Alembic environment is generated from a set of templates which is selected
|
| 52 |
+
among a set of options when setup first occurs. The templates then deposit a
|
| 53 |
+
series of scripts that define fully how database connectivity is established
|
| 54 |
+
and how migration scripts are invoked; the migration scripts themselves are
|
| 55 |
+
generated from a template within that series of scripts. The scripts can
|
| 56 |
+
then be further customized to define exactly how databases will be
|
| 57 |
+
interacted with and what structure new migration files should take.
|
| 58 |
+
* Full support for transactional DDL. The default scripts ensure that all
|
| 59 |
+
migrations occur within a transaction - for those databases which support
|
| 60 |
+
this (Postgresql, Microsoft SQL Server), migrations can be tested with no
|
| 61 |
+
need to manually undo changes upon failure.
|
| 62 |
+
* Minimalist script construction. Basic operations like renaming
|
| 63 |
+
tables/columns, adding/removing columns, changing column attributes can be
|
| 64 |
+
performed through one line commands like alter_column(), rename_table(),
|
| 65 |
+
add_constraint(). There is no need to recreate full SQLAlchemy Table
|
| 66 |
+
structures for simple operations like these - the functions themselves
|
| 67 |
+
generate minimalist schema structures behind the scenes to achieve the given
|
| 68 |
+
DDL sequence.
|
| 69 |
+
* "auto generation" of migrations. While real world migrations are far more
|
| 70 |
+
complex than what can be automatically determined, Alembic can still
|
| 71 |
+
eliminate the initial grunt work in generating new migration directives
|
| 72 |
+
from an altered schema. The ``--autogenerate`` feature will inspect the
|
| 73 |
+
current status of a database using SQLAlchemy's schema inspection
|
| 74 |
+
capabilities, compare it to the current state of the database model as
|
| 75 |
+
specified in Python, and generate a series of "candidate" migrations,
|
| 76 |
+
rendering them into a new migration script as Python directives. The
|
| 77 |
+
developer then edits the new file, adding additional directives and data
|
| 78 |
+
migrations as needed, to produce a finished migration. Table and column
|
| 79 |
+
level changes can be detected, with constraints and indexes to follow as
|
| 80 |
+
well.
|
| 81 |
+
* Full support for migrations generated as SQL scripts. Those of us who
|
| 82 |
+
work in corporate environments know that direct access to DDL commands on a
|
| 83 |
+
production database is a rare privilege, and DBAs want textual SQL scripts.
|
| 84 |
+
Alembic's usage model and commands are oriented towards being able to run a
|
| 85 |
+
series of migrations into a textual output file as easily as it runs them
|
| 86 |
+
directly to a database. Care must be taken in this mode to not invoke other
|
| 87 |
+
operations that rely upon in-memory SELECTs of rows - Alembic tries to
|
| 88 |
+
provide helper constructs like bulk_insert() to help with data-oriented
|
| 89 |
+
operations that are compatible with script-based DDL.
|
| 90 |
+
* Non-linear, dependency-graph versioning. Scripts are given UUID
|
| 91 |
+
identifiers similarly to a DVCS, and the linkage of one script to the next
|
| 92 |
+
is achieved via human-editable markers within the scripts themselves.
|
| 93 |
+
The structure of a set of migration files is considered as a
|
| 94 |
+
directed-acyclic graph, meaning any migration file can be dependent
|
| 95 |
+
on any other arbitrary set of migration files, or none at
|
| 96 |
+
all. Through this open-ended system, migration files can be organized
|
| 97 |
+
into branches, multiple roots, and mergepoints, without restriction.
|
| 98 |
+
Commands are provided to produce new branches, roots, and merges of
|
| 99 |
+
branches automatically.
|
| 100 |
+
* Provide a library of ALTER constructs that can be used by any SQLAlchemy
|
| 101 |
+
application. The DDL constructs build upon SQLAlchemy's own DDLElement base
|
| 102 |
+
and can be used standalone by any application or script.
|
| 103 |
+
* At long last, bring SQLite and its inability to ALTER things into the fold,
|
| 104 |
+
but in such a way that SQLite's very special workflow needs are accommodated
|
| 105 |
+
in an explicit way that makes the most of a bad situation, through the
|
| 106 |
+
concept of a "batch" migration, where multiple changes to a table can
|
| 107 |
+
be batched together to form a series of instructions for a single, subsequent
|
| 108 |
+
"move-and-copy" workflow. You can even use "move-and-copy" workflow for
|
| 109 |
+
other databases, if you want to recreate a table in the background
|
| 110 |
+
on a busy system.
|
| 111 |
+
|
| 112 |
+
Documentation and status of Alembic is at https://alembic.sqlalchemy.org/
|
| 113 |
+
|
| 114 |
+
The SQLAlchemy Project
|
| 115 |
+
======================
|
| 116 |
+
|
| 117 |
+
Alembic is part of the `SQLAlchemy Project <https://www.sqlalchemy.org>`_ and
|
| 118 |
+
adheres to the same standards and conventions as the core project.
|
| 119 |
+
|
| 120 |
+
Development / Bug reporting / Pull requests
|
| 121 |
+
___________________________________________
|
| 122 |
+
|
| 123 |
+
Please refer to the
|
| 124 |
+
`SQLAlchemy Community Guide <https://www.sqlalchemy.org/develop.html>`_ for
|
| 125 |
+
guidelines on coding and participating in this project.
|
| 126 |
+
|
| 127 |
+
Code of Conduct
|
| 128 |
+
_______________
|
| 129 |
+
|
| 130 |
+
Above all, SQLAlchemy places great emphasis on polite, thoughtful, and
|
| 131 |
+
constructive communication between users and developers.
|
| 132 |
+
Please see our current Code of Conduct at
|
| 133 |
+
`Code of Conduct <https://www.sqlalchemy.org/codeofconduct.html>`_.
|
| 134 |
+
|
| 135 |
+
License
|
| 136 |
+
=======
|
| 137 |
+
|
| 138 |
+
Alembic is distributed under the `MIT license
|
| 139 |
+
<https://opensource.org/licenses/MIT>`_.
|
.cache/pip/http-v2/7/7/3/b/e/773be4e62f2a7f9be9d2b777b9be56e14e2b6c9666994e8793db52fd
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/7/9/2/1/a/7921ac3318a5cdb592026cc26a94f7a2c1e1f7d3a1dc1e3857fd49f1
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/7/9/2/1/a/7921ac3318a5cdb592026cc26a94f7a2c1e1f7d3a1dc1e3857fd49f1.body
ADDED
|
Binary file (1.96 kB). View file
|
|
|
.cache/pip/http-v2/7/b/3/0/7/7b3075adb708114992fb27c6511ef6dfacffdcb852b8e8d037a10c4b
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/8/1/8/8/f/8188f9db6169e57bb653240cc02c629488d0d899420b0725db0f7e4a
ADDED
|
Binary file (1.13 kB). View file
|
|
|
.cache/pip/http-v2/8/2/d/3/b/82d3b1270e716906b92643ecea0c7d53df8db0a043c71c5b2bb46c10
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/8/2/d/3/b/82d3b1270e716906b92643ecea0c7d53df8db0a043c71c5b2bb46c10.body
ADDED
|
@@ -0,0 +1,1383 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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Author-Email: The Pandas Development Team <pandas-dev@python.org>
|
| 6 |
+
License: BSD 3-Clause License
|
| 7 |
+
|
| 8 |
+
Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
|
| 9 |
+
All rights reserved.
|
| 10 |
+
|
| 11 |
+
Copyright (c) 2011-2026, Open source contributors.
|
| 12 |
+
|
| 13 |
+
Redistribution and use in source and binary forms, with or without
|
| 14 |
+
modification, are permitted provided that the following conditions are met:
|
| 15 |
+
|
| 16 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 17 |
+
list of conditions and the following disclaimer.
|
| 18 |
+
|
| 19 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 20 |
+
this list of conditions and the following disclaimer in the documentation
|
| 21 |
+
and/or other materials provided with the distribution.
|
| 22 |
+
|
| 23 |
+
* Neither the name of the copyright holder nor the names of its
|
| 24 |
+
contributors may be used to endorse or promote products derived from
|
| 25 |
+
this software without specific prior written permission.
|
| 26 |
+
|
| 27 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 28 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 29 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 30 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 31 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 32 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 33 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 34 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 35 |
+
OR TORT (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 |
+
Copyright (c) 2010-2019 Keith Goodman
|
| 38 |
+
Copyright (c) 2019 Bottleneck Developers
|
| 39 |
+
All rights reserved.
|
| 40 |
+
|
| 41 |
+
Redistribution and use in source and binary forms, with or without
|
| 42 |
+
modification, are permitted provided that the following conditions are met:
|
| 43 |
+
|
| 44 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 45 |
+
this list of conditions and the following disclaimer.
|
| 46 |
+
|
| 47 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 48 |
+
notice, this list of conditions and the following disclaimer in the
|
| 49 |
+
documentation and/or other materials provided with the distribution.
|
| 50 |
+
|
| 51 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 52 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 53 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 54 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
| 55 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 56 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 57 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 58 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 59 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 60 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 61 |
+
POSSIBILITY OF SUCH DAMAGE.Copyright 2017- Paul Ganssle <paul@ganssle.io>
|
| 62 |
+
Copyright 2017- dateutil contributors (see AUTHORS file)
|
| 63 |
+
|
| 64 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 65 |
+
you may not use this file except in compliance with the License.
|
| 66 |
+
You may obtain a copy of the License at
|
| 67 |
+
|
| 68 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 69 |
+
|
| 70 |
+
Unless required by applicable law or agreed to in writing, software
|
| 71 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 72 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 73 |
+
See the License for the specific language governing permissions and
|
| 74 |
+
limitations under the License.
|
| 75 |
+
|
| 76 |
+
The above license applies to all contributions after 2017-12-01, as well as
|
| 77 |
+
all contributions that have been re-licensed (see AUTHORS file for the list of
|
| 78 |
+
contributors who have re-licensed their code).
|
| 79 |
+
--------------------------------------------------------------------------------
|
| 80 |
+
dateutil - Extensions to the standard Python datetime module.
|
| 81 |
+
|
| 82 |
+
Copyright (c) 2003-2011 - Gustavo Niemeyer <gustavo@niemeyer.net>
|
| 83 |
+
Copyright (c) 2012-2014 - Tomi Pieviläinen <tomi.pievilainen@iki.fi>
|
| 84 |
+
Copyright (c) 2014-2016 - Yaron de Leeuw <me@jarondl.net>
|
| 85 |
+
Copyright (c) 2015- - Paul Ganssle <paul@ganssle.io>
|
| 86 |
+
Copyright (c) 2015- - dateutil contributors (see AUTHORS file)
|
| 87 |
+
|
| 88 |
+
All rights reserved.
|
| 89 |
+
|
| 90 |
+
Redistribution and use in source and binary forms, with or without
|
| 91 |
+
modification, are permitted provided that the following conditions are met:
|
| 92 |
+
|
| 93 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 94 |
+
this list of conditions and the following disclaimer.
|
| 95 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 96 |
+
this list of conditions and the following disclaimer in the documentation
|
| 97 |
+
and/or other materials provided with the distribution.
|
| 98 |
+
* Neither the name of the copyright holder nor the names of its
|
| 99 |
+
contributors may be used to endorse or promote products derived from
|
| 100 |
+
this software without specific prior written permission.
|
| 101 |
+
|
| 102 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 103 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 104 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 105 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 106 |
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 107 |
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 108 |
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 109 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 110 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 111 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 112 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 113 |
+
|
| 114 |
+
The above BSD License Applies to all code, even that also covered by Apache 2.0.# MIT License
|
| 115 |
+
|
| 116 |
+
Copyright (c) 2019 Hadley Wickham; RStudio; and Evan Miller
|
| 117 |
+
|
| 118 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 119 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 120 |
+
in the Software without restriction, including without limitation the rights
|
| 121 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 122 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 123 |
+
furnished to do so, subject to the following conditions:
|
| 124 |
+
|
| 125 |
+
The above copyright notice and this permission notice shall be included in all
|
| 126 |
+
copies or substantial portions of the Software.
|
| 127 |
+
|
| 128 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 129 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 130 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 131 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 132 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 133 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 134 |
+
SOFTWARE.
|
| 135 |
+
Based on http://opensource.org/licenses/MIT
|
| 136 |
+
|
| 137 |
+
This is a template. Complete and ship as file LICENSE the following 2
|
| 138 |
+
lines (only)
|
| 139 |
+
|
| 140 |
+
YEAR:
|
| 141 |
+
COPYRIGHT HOLDER:
|
| 142 |
+
|
| 143 |
+
and specify as
|
| 144 |
+
|
| 145 |
+
License: MIT + file LICENSE
|
| 146 |
+
|
| 147 |
+
Copyright (c) <YEAR>, <COPYRIGHT HOLDER>
|
| 148 |
+
|
| 149 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 150 |
+
a copy of this software and associated documentation files (the
|
| 151 |
+
"Software"), to deal in the Software without restriction, including
|
| 152 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 153 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 154 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 155 |
+
the following conditions:
|
| 156 |
+
|
| 157 |
+
The above copyright notice and this permission notice shall be
|
| 158 |
+
included in all copies or substantial portions of the Software.
|
| 159 |
+
|
| 160 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 161 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 162 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 163 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
| 164 |
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 165 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
| 166 |
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 167 |
+
The MIT License
|
| 168 |
+
|
| 169 |
+
Copyright (c) 2008- Attractive Chaos <attractor@live.co.uk>
|
| 170 |
+
|
| 171 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 172 |
+
a copy of this software and associated documentation files (the
|
| 173 |
+
"Software"), to deal in the Software without restriction, including
|
| 174 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 175 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 176 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 177 |
+
the following conditions:
|
| 178 |
+
|
| 179 |
+
The above copyright notice and this permission notice shall be
|
| 180 |
+
included in all copies or substantial portions of the Software.
|
| 181 |
+
|
| 182 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 183 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 184 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 185 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
| 186 |
+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
| 187 |
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
| 188 |
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 189 |
+
SOFTWARE.musl as a whole is licensed under the following standard MIT license:
|
| 190 |
+
|
| 191 |
+
----------------------------------------------------------------------
|
| 192 |
+
Copyright © 2005-2020 Rich Felker, et al.
|
| 193 |
+
|
| 194 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 195 |
+
a copy of this software and associated documentation files (the
|
| 196 |
+
"Software"), to deal in the Software without restriction, including
|
| 197 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 198 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 199 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 200 |
+
the following conditions:
|
| 201 |
+
|
| 202 |
+
The above copyright notice and this permission notice shall be
|
| 203 |
+
included in all copies or substantial portions of the Software.
|
| 204 |
+
|
| 205 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 206 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 207 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
| 208 |
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 209 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
| 210 |
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
| 211 |
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 212 |
+
----------------------------------------------------------------------
|
| 213 |
+
|
| 214 |
+
Authors/contributors include:
|
| 215 |
+
|
| 216 |
+
A. Wilcox
|
| 217 |
+
Ada Worcester
|
| 218 |
+
Alex Dowad
|
| 219 |
+
Alex Suykov
|
| 220 |
+
Alexander Monakov
|
| 221 |
+
Andre McCurdy
|
| 222 |
+
Andrew Kelley
|
| 223 |
+
Anthony G. Basile
|
| 224 |
+
Aric Belsito
|
| 225 |
+
Arvid Picciani
|
| 226 |
+
Bartosz Brachaczek
|
| 227 |
+
Benjamin Peterson
|
| 228 |
+
Bobby Bingham
|
| 229 |
+
Boris Brezillon
|
| 230 |
+
Brent Cook
|
| 231 |
+
Chris Spiegel
|
| 232 |
+
Clément Vasseur
|
| 233 |
+
Daniel Micay
|
| 234 |
+
Daniel Sabogal
|
| 235 |
+
Daurnimator
|
| 236 |
+
David Carlier
|
| 237 |
+
David Edelsohn
|
| 238 |
+
Denys Vlasenko
|
| 239 |
+
Dmitry Ivanov
|
| 240 |
+
Dmitry V. Levin
|
| 241 |
+
Drew DeVault
|
| 242 |
+
Emil Renner Berthing
|
| 243 |
+
Fangrui Song
|
| 244 |
+
Felix Fietkau
|
| 245 |
+
Felix Janda
|
| 246 |
+
Gianluca Anzolin
|
| 247 |
+
Hauke Mehrtens
|
| 248 |
+
He X
|
| 249 |
+
Hiltjo Posthuma
|
| 250 |
+
Isaac Dunham
|
| 251 |
+
Jaydeep Patil
|
| 252 |
+
Jens Gustedt
|
| 253 |
+
Jeremy Huntwork
|
| 254 |
+
Jo-Philipp Wich
|
| 255 |
+
Joakim Sindholt
|
| 256 |
+
John Spencer
|
| 257 |
+
Julien Ramseier
|
| 258 |
+
Justin Cormack
|
| 259 |
+
Kaarle Ritvanen
|
| 260 |
+
Khem Raj
|
| 261 |
+
Kylie McClain
|
| 262 |
+
Leah Neukirchen
|
| 263 |
+
Luca Barbato
|
| 264 |
+
Luka Perkov
|
| 265 |
+
M Farkas-Dyck (Strake)
|
| 266 |
+
Mahesh Bodapati
|
| 267 |
+
Markus Wichmann
|
| 268 |
+
Masanori Ogino
|
| 269 |
+
Michael Clark
|
| 270 |
+
Michael Forney
|
| 271 |
+
Mikhail Kremnyov
|
| 272 |
+
Natanael Copa
|
| 273 |
+
Nicholas J. Kain
|
| 274 |
+
orc
|
| 275 |
+
Pascal Cuoq
|
| 276 |
+
Patrick Oppenlander
|
| 277 |
+
Petr Hosek
|
| 278 |
+
Petr Skocik
|
| 279 |
+
Pierre Carrier
|
| 280 |
+
Reini Urban
|
| 281 |
+
Rich Felker
|
| 282 |
+
Richard Pennington
|
| 283 |
+
Ryan Fairfax
|
| 284 |
+
Samuel Holland
|
| 285 |
+
Segev Finer
|
| 286 |
+
Shiz
|
| 287 |
+
sin
|
| 288 |
+
Solar Designer
|
| 289 |
+
Stefan Kristiansson
|
| 290 |
+
Stefan O'Rear
|
| 291 |
+
Szabolcs Nagy
|
| 292 |
+
Timo Teräs
|
| 293 |
+
Trutz Behn
|
| 294 |
+
Valentin Ochs
|
| 295 |
+
Will Dietz
|
| 296 |
+
William Haddon
|
| 297 |
+
William Pitcock
|
| 298 |
+
|
| 299 |
+
Portions of this software are derived from third-party works licensed
|
| 300 |
+
under terms compatible with the above MIT license:
|
| 301 |
+
|
| 302 |
+
The TRE regular expression implementation (src/regex/reg* and
|
| 303 |
+
src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
|
| 304 |
+
under a 2-clause BSD license (license text in the source files). The
|
| 305 |
+
included version has been heavily modified by Rich Felker in 2012, in
|
| 306 |
+
the interests of size, simplicity, and namespace cleanliness.
|
| 307 |
+
|
| 308 |
+
Much of the math library code (src/math/* and src/complex/*) is
|
| 309 |
+
Copyright © 1993,2004 Sun Microsystems or
|
| 310 |
+
Copyright © 2003-2011 David Schultz or
|
| 311 |
+
Copyright © 2003-2009 Steven G. Kargl or
|
| 312 |
+
Copyright © 2003-2009 Bruce D. Evans or
|
| 313 |
+
Copyright © 2008 Stephen L. Moshier or
|
| 314 |
+
Copyright © 2017-2018 Arm Limited
|
| 315 |
+
and labelled as such in comments in the individual source files. All
|
| 316 |
+
have been licensed under extremely permissive terms.
|
| 317 |
+
|
| 318 |
+
The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
|
| 319 |
+
The Android Open Source Project and is licensed under a two-clause BSD
|
| 320 |
+
license. It was taken from Bionic libc, used on Android.
|
| 321 |
+
|
| 322 |
+
The AArch64 memcpy and memset code (src/string/aarch64/*) are
|
| 323 |
+
Copyright © 1999-2019, Arm Limited.
|
| 324 |
+
|
| 325 |
+
The implementation of DES for crypt (src/crypt/crypt_des.c) is
|
| 326 |
+
Copyright © 1994 David Burren. It is licensed under a BSD license.
|
| 327 |
+
|
| 328 |
+
The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
|
| 329 |
+
originally written by Solar Designer and placed into the public
|
| 330 |
+
domain. The code also comes with a fallback permissive license for use
|
| 331 |
+
in jurisdictions that may not recognize the public domain.
|
| 332 |
+
|
| 333 |
+
The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
|
| 334 |
+
Valentin Ochs and is licensed under an MIT-style license.
|
| 335 |
+
|
| 336 |
+
The x86_64 port was written by Nicholas J. Kain and is licensed under
|
| 337 |
+
the standard MIT terms.
|
| 338 |
+
|
| 339 |
+
The mips and microblaze ports were originally written by Richard
|
| 340 |
+
Pennington for use in the ellcc project. The original code was adapted
|
| 341 |
+
by Rich Felker for build system and code conventions during upstream
|
| 342 |
+
integration. It is licensed under the standard MIT terms.
|
| 343 |
+
|
| 344 |
+
The mips64 port was contributed by Imagination Technologies and is
|
| 345 |
+
licensed under the standard MIT terms.
|
| 346 |
+
|
| 347 |
+
The powerpc port was also originally written by Richard Pennington,
|
| 348 |
+
and later supplemented and integrated by John Spencer. It is licensed
|
| 349 |
+
under the standard MIT terms.
|
| 350 |
+
|
| 351 |
+
All other files which have no copyright comments are original works
|
| 352 |
+
produced specifically for use as part of this library, written either
|
| 353 |
+
by Rich Felker, the main author of the library, or by one or more
|
| 354 |
+
contibutors listed above. Details on authorship of individual files
|
| 355 |
+
can be found in the git version control history of the project. The
|
| 356 |
+
omission of copyright and license comments in each file is in the
|
| 357 |
+
interest of source tree size.
|
| 358 |
+
|
| 359 |
+
In addition, permission is hereby granted for all public header files
|
| 360 |
+
(include/* and arch/*/bits/*) and crt files intended to be linked into
|
| 361 |
+
applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
|
| 362 |
+
the copyright notice and permission notice otherwise required by the
|
| 363 |
+
license, and to use these files without any requirement of
|
| 364 |
+
attribution. These files include substantial contributions from:
|
| 365 |
+
|
| 366 |
+
Bobby Bingham
|
| 367 |
+
John Spencer
|
| 368 |
+
Nicholas J. Kain
|
| 369 |
+
Rich Felker
|
| 370 |
+
Richard Pennington
|
| 371 |
+
Stefan Kristiansson
|
| 372 |
+
Szabolcs Nagy
|
| 373 |
+
|
| 374 |
+
all of whom have explicitly granted such permission.
|
| 375 |
+
|
| 376 |
+
This file previously contained text expressing a belief that most of
|
| 377 |
+
the files covered by the above exception were sufficiently trivial not
|
| 378 |
+
to be subject to copyright, resulting in confusion over whether it
|
| 379 |
+
negated the permissions granted in the license. In the spirit of
|
| 380 |
+
permissive licensing, and of not having licensing issues being an
|
| 381 |
+
obstacle to adoption, that text has been removed.Copyright (c) 2005-2023, NumPy Developers.
|
| 382 |
+
All rights reserved.
|
| 383 |
+
|
| 384 |
+
Redistribution and use in source and binary forms, with or without
|
| 385 |
+
modification, are permitted provided that the following conditions are
|
| 386 |
+
met:
|
| 387 |
+
|
| 388 |
+
* Redistributions of source code must retain the above copyright
|
| 389 |
+
notice, this list of conditions and the following disclaimer.
|
| 390 |
+
|
| 391 |
+
* Redistributions in binary form must reproduce the above
|
| 392 |
+
copyright notice, this list of conditions and the following
|
| 393 |
+
disclaimer in the documentation and/or other materials provided
|
| 394 |
+
with the distribution.
|
| 395 |
+
|
| 396 |
+
* Neither the name of the NumPy Developers nor the names of any
|
| 397 |
+
contributors may be used to endorse or promote products derived
|
| 398 |
+
from this software without specific prior written permission.
|
| 399 |
+
|
| 400 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 401 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 402 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 403 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 404 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 405 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 406 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 407 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 408 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 409 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 410 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 411 |
+
Apache License
|
| 412 |
+
Version 2.0, January 2004
|
| 413 |
+
http://www.apache.org/licenses/
|
| 414 |
+
|
| 415 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 416 |
+
|
| 417 |
+
1. Definitions.
|
| 418 |
+
|
| 419 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 420 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 421 |
+
|
| 422 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 423 |
+
the copyright owner that is granting the License.
|
| 424 |
+
|
| 425 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 426 |
+
other entities that control, are controlled by, or are under common
|
| 427 |
+
control with that entity. For the purposes of this definition,
|
| 428 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 429 |
+
direction or management of such entity, whether by contract or
|
| 430 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 431 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 432 |
+
|
| 433 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 434 |
+
exercising permissions granted by this License.
|
| 435 |
+
|
| 436 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 437 |
+
including but not limited to software source code, documentation
|
| 438 |
+
source, and configuration files.
|
| 439 |
+
|
| 440 |
+
"Object" form shall mean any form resulting from mechanical
|
| 441 |
+
transformation or translation of a Source form, including but
|
| 442 |
+
not limited to compiled object code, generated documentation,
|
| 443 |
+
and conversions to other media types.
|
| 444 |
+
|
| 445 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 446 |
+
Object form, made available under the License, as indicated by a
|
| 447 |
+
copyright notice that is included in or attached to the work
|
| 448 |
+
(an example is provided in the Appendix below).
|
| 449 |
+
|
| 450 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 451 |
+
form, that is based on (or derived from) the Work and for which the
|
| 452 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 453 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 454 |
+
of this License, Derivative Works shall not include works that remain
|
| 455 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 456 |
+
the Work and Derivative Works thereof.
|
| 457 |
+
|
| 458 |
+
"Contribution" shall mean any work of authorship, including
|
| 459 |
+
the original version of the Work and any modifications or additions
|
| 460 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 461 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 462 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 463 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 464 |
+
means any form of electronic, verbal, or written communication sent
|
| 465 |
+
to the Licensor or its representatives, including but not limited to
|
| 466 |
+
communication on electronic mailing lists, source code control systems,
|
| 467 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 468 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 469 |
+
excluding communication that is conspicuously marked or otherwise
|
| 470 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 471 |
+
|
| 472 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 473 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 474 |
+
subsequently incorporated within the Work.
|
| 475 |
+
|
| 476 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 477 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 478 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 479 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 480 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 481 |
+
Work and such Derivative Works in Source or Object form.
|
| 482 |
+
|
| 483 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 484 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 485 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 486 |
+
(except as stated in this section) patent license to make, have made,
|
| 487 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 488 |
+
where such license applies only to those patent claims licensable
|
| 489 |
+
by such Contributor that are necessarily infringed by their
|
| 490 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 491 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 492 |
+
institute patent litigation against any entity (including a
|
| 493 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 494 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 495 |
+
or contributory patent infringement, then any patent licenses
|
| 496 |
+
granted to You under this License for that Work shall terminate
|
| 497 |
+
as of the date such litigation is filed.
|
| 498 |
+
|
| 499 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 500 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 501 |
+
modifications, and in Source or Object form, provided that You
|
| 502 |
+
meet the following conditions:
|
| 503 |
+
|
| 504 |
+
(a) You must give any other recipients of the Work or
|
| 505 |
+
Derivative Works a copy of this License; and
|
| 506 |
+
|
| 507 |
+
(b) You must cause any modified files to carry prominent notices
|
| 508 |
+
stating that You changed the files; and
|
| 509 |
+
|
| 510 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 511 |
+
that You distribute, all copyright, patent, trademark, and
|
| 512 |
+
attribution notices from the Source form of the Work,
|
| 513 |
+
excluding those notices that do not pertain to any part of
|
| 514 |
+
the Derivative Works; and
|
| 515 |
+
|
| 516 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 517 |
+
distribution, then any Derivative Works that You distribute must
|
| 518 |
+
include a readable copy of the attribution notices contained
|
| 519 |
+
within such NOTICE file, excluding those notices that do not
|
| 520 |
+
pertain to any part of the Derivative Works, in at least one
|
| 521 |
+
of the following places: within a NOTICE text file distributed
|
| 522 |
+
as part of the Derivative Works; within the Source form or
|
| 523 |
+
documentation, if provided along with the Derivative Works; or,
|
| 524 |
+
within a display generated by the Derivative Works, if and
|
| 525 |
+
wherever such third-party notices normally appear. The contents
|
| 526 |
+
of the NOTICE file are for informational purposes only and
|
| 527 |
+
do not modify the License. You may add Your own attribution
|
| 528 |
+
notices within Derivative Works that You distribute, alongside
|
| 529 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 530 |
+
that such additional attribution notices cannot be construed
|
| 531 |
+
as modifying the License.
|
| 532 |
+
|
| 533 |
+
You may add Your own copyright statement to Your modifications and
|
| 534 |
+
may provide additional or different license terms and conditions
|
| 535 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 536 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 537 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 538 |
+
the conditions stated in this License.
|
| 539 |
+
|
| 540 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 541 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 542 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 543 |
+
this License, without any additional terms or conditions.
|
| 544 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 545 |
+
the terms of any separate license agreement you may have executed
|
| 546 |
+
with Licensor regarding such Contributions.
|
| 547 |
+
|
| 548 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 549 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 550 |
+
except as required for reasonable and customary use in describing the
|
| 551 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 552 |
+
|
| 553 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 554 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 555 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 556 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 557 |
+
implied, including, without limitation, any warranties or conditions
|
| 558 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 559 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 560 |
+
appropriateness of using or redistributing the Work and assume any
|
| 561 |
+
risks associated with Your exercise of permissions under this License.
|
| 562 |
+
|
| 563 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 564 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 565 |
+
unless required by applicable law (such as deliberate and grossly
|
| 566 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 567 |
+
liable to You for damages, including any direct, indirect, special,
|
| 568 |
+
incidental, or consequential damages of any character arising as a
|
| 569 |
+
result of this License or out of the use or inability to use the
|
| 570 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 571 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 572 |
+
other commercial damages or losses), even if such Contributor
|
| 573 |
+
has been advised of the possibility of such damages.
|
| 574 |
+
|
| 575 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 576 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 577 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 578 |
+
or other liability obligations and/or rights consistent with this
|
| 579 |
+
License. However, in accepting such obligations, You may act only
|
| 580 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 581 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 582 |
+
defend, and hold each Contributor harmless for any liability
|
| 583 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 584 |
+
of your accepting any such warranty or additional liability.
|
| 585 |
+
|
| 586 |
+
END OF TERMS AND CONDITIONS
|
| 587 |
+
|
| 588 |
+
|
| 589 |
+
Copyright (c) Donald Stufft and individual contributors.
|
| 590 |
+
All rights reserved.
|
| 591 |
+
|
| 592 |
+
Redistribution and use in source and binary forms, with or without
|
| 593 |
+
modification, are permitted provided that the following conditions are met:
|
| 594 |
+
|
| 595 |
+
1. Redistributions of source code must retain the above copyright notice,
|
| 596 |
+
this list of conditions and the following disclaimer.
|
| 597 |
+
|
| 598 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 599 |
+
notice, this list of conditions and the following disclaimer in the
|
| 600 |
+
documentation and/or other materials provided with the distribution.
|
| 601 |
+
|
| 602 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 603 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 604 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 605 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 606 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 607 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 608 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 609 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 610 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 611 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.A. HISTORY OF THE SOFTWARE
|
| 612 |
+
==========================
|
| 613 |
+
|
| 614 |
+
Python was created in the early 1990s by Guido van Rossum at Stichting
|
| 615 |
+
Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
|
| 616 |
+
as a successor of a language called ABC. Guido remains Python's
|
| 617 |
+
principal author, although it includes many contributions from others.
|
| 618 |
+
|
| 619 |
+
In 1995, Guido continued his work on Python at the Corporation for
|
| 620 |
+
National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
|
| 621 |
+
in Reston, Virginia where he released several versions of the
|
| 622 |
+
software.
|
| 623 |
+
|
| 624 |
+
In May 2000, Guido and the Python core development team moved to
|
| 625 |
+
BeOpen.com to form the BeOpen PythonLabs team. In October of the same
|
| 626 |
+
year, the PythonLabs team moved to Digital Creations, which became
|
| 627 |
+
Zope Corporation. In 2001, the Python Software Foundation (PSF, see
|
| 628 |
+
https://www.python.org/psf/) was formed, a non-profit organization
|
| 629 |
+
created specifically to own Python-related Intellectual Property.
|
| 630 |
+
Zope Corporation was a sponsoring member of the PSF.
|
| 631 |
+
|
| 632 |
+
All Python releases are Open Source (see https://opensource.org for
|
| 633 |
+
the Open Source Definition). Historically, most, but not all, Python
|
| 634 |
+
releases have also been GPL-compatible; the table below summarizes
|
| 635 |
+
the various releases.
|
| 636 |
+
|
| 637 |
+
Release Derived Year Owner GPL-
|
| 638 |
+
from compatible? (1)
|
| 639 |
+
|
| 640 |
+
0.9.0 thru 1.2 1991-1995 CWI yes
|
| 641 |
+
1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
|
| 642 |
+
1.6 1.5.2 2000 CNRI no
|
| 643 |
+
2.0 1.6 2000 BeOpen.com no
|
| 644 |
+
1.6.1 1.6 2001 CNRI yes (2)
|
| 645 |
+
2.1 2.0+1.6.1 2001 PSF no
|
| 646 |
+
2.0.1 2.0+1.6.1 2001 PSF yes
|
| 647 |
+
2.1.1 2.1+2.0.1 2001 PSF yes
|
| 648 |
+
2.1.2 2.1.1 2002 PSF yes
|
| 649 |
+
2.1.3 2.1.2 2002 PSF yes
|
| 650 |
+
2.2 and above 2.1.1 2001-now PSF yes
|
| 651 |
+
|
| 652 |
+
Footnotes:
|
| 653 |
+
|
| 654 |
+
(1) GPL-compatible doesn't mean that we're distributing Python under
|
| 655 |
+
the GPL. All Python licenses, unlike the GPL, let you distribute
|
| 656 |
+
a modified version without making your changes open source. The
|
| 657 |
+
GPL-compatible licenses make it possible to combine Python with
|
| 658 |
+
other software that is released under the GPL; the others don't.
|
| 659 |
+
|
| 660 |
+
(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
|
| 661 |
+
because its license has a choice of law clause. According to
|
| 662 |
+
CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
|
| 663 |
+
is "not incompatible" with the GPL.
|
| 664 |
+
|
| 665 |
+
Thanks to the many outside volunteers who have worked under Guido's
|
| 666 |
+
direction to make these releases possible.
|
| 667 |
+
|
| 668 |
+
|
| 669 |
+
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
|
| 670 |
+
===============================================================
|
| 671 |
+
|
| 672 |
+
Python software and documentation are licensed under the
|
| 673 |
+
Python Software Foundation License Version 2.
|
| 674 |
+
|
| 675 |
+
Starting with Python 3.8.6, examples, recipes, and other code in
|
| 676 |
+
the documentation are dual licensed under the PSF License Version 2
|
| 677 |
+
and the Zero-Clause BSD license.
|
| 678 |
+
|
| 679 |
+
Some software incorporated into Python is under different licenses.
|
| 680 |
+
The licenses are listed with code falling under that license.
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
| 684 |
+
--------------------------------------------
|
| 685 |
+
|
| 686 |
+
1. This LICENSE AGREEMENT is between the Python Software Foundation
|
| 687 |
+
("PSF"), and the Individual or Organization ("Licensee") accessing and
|
| 688 |
+
otherwise using this software ("Python") in source or binary form and
|
| 689 |
+
its associated documentation.
|
| 690 |
+
|
| 691 |
+
2. Subject to the terms and conditions of this License Agreement, PSF hereby
|
| 692 |
+
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
|
| 693 |
+
analyze, test, perform and/or display publicly, prepare derivative works,
|
| 694 |
+
distribute, and otherwise use Python alone or in any derivative version,
|
| 695 |
+
provided, however, that PSF's License Agreement and PSF's notice of copyright,
|
| 696 |
+
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
| 697 |
+
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation;
|
| 698 |
+
All Rights Reserved" are retained in Python alone or in any derivative version
|
| 699 |
+
prepared by Licensee.
|
| 700 |
+
|
| 701 |
+
3. In the event Licensee prepares a derivative work that is based on
|
| 702 |
+
or incorporates Python or any part thereof, and wants to make
|
| 703 |
+
the derivative work available to others as provided herein, then
|
| 704 |
+
Licensee hereby agrees to include in any such work a brief summary of
|
| 705 |
+
the changes made to Python.
|
| 706 |
+
|
| 707 |
+
4. PSF is making Python available to Licensee on an "AS IS"
|
| 708 |
+
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
| 709 |
+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
|
| 710 |
+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
| 711 |
+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
|
| 712 |
+
INFRINGE ANY THIRD PARTY RIGHTS.
|
| 713 |
+
|
| 714 |
+
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
| 715 |
+
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
| 716 |
+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
|
| 717 |
+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
| 718 |
+
|
| 719 |
+
6. This License Agreement will automatically terminate upon a material
|
| 720 |
+
breach of its terms and conditions.
|
| 721 |
+
|
| 722 |
+
7. Nothing in this License Agreement shall be deemed to create any
|
| 723 |
+
relationship of agency, partnership, or joint venture between PSF and
|
| 724 |
+
Licensee. This License Agreement does not grant permission to use PSF
|
| 725 |
+
trademarks or trade name in a trademark sense to endorse or promote
|
| 726 |
+
products or services of Licensee, or any third party.
|
| 727 |
+
|
| 728 |
+
8. By copying, installing or otherwise using Python, Licensee
|
| 729 |
+
agrees to be bound by the terms and conditions of this License
|
| 730 |
+
Agreement.
|
| 731 |
+
|
| 732 |
+
|
| 733 |
+
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
|
| 734 |
+
-------------------------------------------
|
| 735 |
+
|
| 736 |
+
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
|
| 737 |
+
|
| 738 |
+
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
|
| 739 |
+
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
|
| 740 |
+
Individual or Organization ("Licensee") accessing and otherwise using
|
| 741 |
+
this software in source or binary form and its associated
|
| 742 |
+
documentation ("the Software").
|
| 743 |
+
|
| 744 |
+
2. Subject to the terms and conditions of this BeOpen Python License
|
| 745 |
+
Agreement, BeOpen hereby grants Licensee a non-exclusive,
|
| 746 |
+
royalty-free, world-wide license to reproduce, analyze, test, perform
|
| 747 |
+
and/or display publicly, prepare derivative works, distribute, and
|
| 748 |
+
otherwise use the Software alone or in any derivative version,
|
| 749 |
+
provided, however, that the BeOpen Python License is retained in the
|
| 750 |
+
Software, alone or in any derivative version prepared by Licensee.
|
| 751 |
+
|
| 752 |
+
3. BeOpen is making the Software available to Licensee on an "AS IS"
|
| 753 |
+
basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
| 754 |
+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
|
| 755 |
+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
| 756 |
+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
|
| 757 |
+
INFRINGE ANY THIRD PARTY RIGHTS.
|
| 758 |
+
|
| 759 |
+
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
|
| 760 |
+
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
|
| 761 |
+
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
|
| 762 |
+
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
| 763 |
+
|
| 764 |
+
5. This License Agreement will automatically terminate upon a material
|
| 765 |
+
breach of its terms and conditions.
|
| 766 |
+
|
| 767 |
+
6. This License Agreement shall be governed by and interpreted in all
|
| 768 |
+
respects by the law of the State of California, excluding conflict of
|
| 769 |
+
law provisions. Nothing in this License Agreement shall be deemed to
|
| 770 |
+
create any relationship of agency, partnership, or joint venture
|
| 771 |
+
between BeOpen and Licensee. This License Agreement does not grant
|
| 772 |
+
permission to use BeOpen trademarks or trade names in a trademark
|
| 773 |
+
sense to endorse or promote products or services of Licensee, or any
|
| 774 |
+
third party. As an exception, the "BeOpen Python" logos available at
|
| 775 |
+
http://www.pythonlabs.com/logos.html may be used according to the
|
| 776 |
+
permissions granted on that web page.
|
| 777 |
+
|
| 778 |
+
7. By copying, installing or otherwise using the software, Licensee
|
| 779 |
+
agrees to be bound by the terms and conditions of this License
|
| 780 |
+
Agreement.
|
| 781 |
+
|
| 782 |
+
|
| 783 |
+
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
|
| 784 |
+
---------------------------------------
|
| 785 |
+
|
| 786 |
+
1. This LICENSE AGREEMENT is between the Corporation for National
|
| 787 |
+
Research Initiatives, having an office at 1895 Preston White Drive,
|
| 788 |
+
Reston, VA 20191 ("CNRI"), and the Individual or Organization
|
| 789 |
+
("Licensee") accessing and otherwise using Python 1.6.1 software in
|
| 790 |
+
source or binary form and its associated documentation.
|
| 791 |
+
|
| 792 |
+
2. Subject to the terms and conditions of this License Agreement, CNRI
|
| 793 |
+
hereby grants Licensee a nonexclusive, royalty-free, world-wide
|
| 794 |
+
license to reproduce, analyze, test, perform and/or display publicly,
|
| 795 |
+
prepare derivative works, distribute, and otherwise use Python 1.6.1
|
| 796 |
+
alone or in any derivative version, provided, however, that CNRI's
|
| 797 |
+
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
|
| 798 |
+
1995-2001 Corporation for National Research Initiatives; All Rights
|
| 799 |
+
Reserved" are retained in Python 1.6.1 alone or in any derivative
|
| 800 |
+
version prepared by Licensee. Alternately, in lieu of CNRI's License
|
| 801 |
+
Agreement, Licensee may substitute the following text (omitting the
|
| 802 |
+
quotes): "Python 1.6.1 is made available subject to the terms and
|
| 803 |
+
conditions in CNRI's License Agreement. This Agreement together with
|
| 804 |
+
Python 1.6.1 may be located on the internet using the following
|
| 805 |
+
unique, persistent identifier (known as a handle): 1895.22/1013. This
|
| 806 |
+
Agreement may also be obtained from a proxy server on the internet
|
| 807 |
+
using the following URL: http://hdl.handle.net/1895.22/1013".
|
| 808 |
+
|
| 809 |
+
3. In the event Licensee prepares a derivative work that is based on
|
| 810 |
+
or incorporates Python 1.6.1 or any part thereof, and wants to make
|
| 811 |
+
the derivative work available to others as provided herein, then
|
| 812 |
+
Licensee hereby agrees to include in any such work a brief summary of
|
| 813 |
+
the changes made to Python 1.6.1.
|
| 814 |
+
|
| 815 |
+
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
|
| 816 |
+
basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
| 817 |
+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
|
| 818 |
+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
| 819 |
+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
|
| 820 |
+
INFRINGE ANY THIRD PARTY RIGHTS.
|
| 821 |
+
|
| 822 |
+
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
| 823 |
+
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
| 824 |
+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
|
| 825 |
+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
| 826 |
+
|
| 827 |
+
6. This License Agreement will automatically terminate upon a material
|
| 828 |
+
breach of its terms and conditions.
|
| 829 |
+
|
| 830 |
+
7. This License Agreement shall be governed by the federal
|
| 831 |
+
intellectual property law of the United States, including without
|
| 832 |
+
limitation the federal copyright law, and, to the extent such
|
| 833 |
+
U.S. federal law does not apply, by the law of the Commonwealth of
|
| 834 |
+
Virginia, excluding Virginia's conflict of law provisions.
|
| 835 |
+
Notwithstanding the foregoing, with regard to derivative works based
|
| 836 |
+
on Python 1.6.1 that incorporate non-separable material that was
|
| 837 |
+
previously distributed under the GNU General Public License (GPL), the
|
| 838 |
+
law of the Commonwealth of Virginia shall govern this License
|
| 839 |
+
Agreement only as to issues arising under or with respect to
|
| 840 |
+
Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
|
| 841 |
+
License Agreement shall be deemed to create any relationship of
|
| 842 |
+
agency, partnership, or joint venture between CNRI and Licensee. This
|
| 843 |
+
License Agreement does not grant permission to use CNRI trademarks or
|
| 844 |
+
trade name in a trademark sense to endorse or promote products or
|
| 845 |
+
services of Licensee, or any third party.
|
| 846 |
+
|
| 847 |
+
8. By clicking on the "ACCEPT" button where indicated, or by copying,
|
| 848 |
+
installing or otherwise using Python 1.6.1, Licensee agrees to be
|
| 849 |
+
bound by the terms and conditions of this License Agreement.
|
| 850 |
+
|
| 851 |
+
ACCEPT
|
| 852 |
+
|
| 853 |
+
|
| 854 |
+
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
|
| 855 |
+
--------------------------------------------------
|
| 856 |
+
|
| 857 |
+
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
|
| 858 |
+
The Netherlands. All rights reserved.
|
| 859 |
+
|
| 860 |
+
Permission to use, copy, modify, and distribute this software and its
|
| 861 |
+
documentation for any purpose and without fee is hereby granted,
|
| 862 |
+
provided that the above copyright notice appear in all copies and that
|
| 863 |
+
both that copyright notice and this permission notice appear in
|
| 864 |
+
supporting documentation, and that the name of Stichting Mathematisch
|
| 865 |
+
Centrum or CWI not be used in advertising or publicity pertaining to
|
| 866 |
+
distribution of the software without specific, written prior
|
| 867 |
+
permission.
|
| 868 |
+
|
| 869 |
+
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
| 870 |
+
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
| 871 |
+
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
|
| 872 |
+
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
| 873 |
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
| 874 |
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
| 875 |
+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
| 876 |
+
|
| 877 |
+
ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
|
| 878 |
+
----------------------------------------------------------------------
|
| 879 |
+
|
| 880 |
+
Permission to use, copy, modify, and/or distribute this software for any
|
| 881 |
+
purpose with or without fee is hereby granted.
|
| 882 |
+
|
| 883 |
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
| 884 |
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
| 885 |
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
| 886 |
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
| 887 |
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
| 888 |
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
| 889 |
+
PERFORMANCE OF THIS SOFTWARE.
|
| 890 |
+
Copyright (c) 2014, Al Sweigart
|
| 891 |
+
All rights reserved.
|
| 892 |
+
|
| 893 |
+
Redistribution and use in source and binary forms, with or without
|
| 894 |
+
modification, are permitted provided that the following conditions are met:
|
| 895 |
+
|
| 896 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 897 |
+
list of conditions and the following disclaimer.
|
| 898 |
+
|
| 899 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 900 |
+
this list of conditions and the following disclaimer in the documentation
|
| 901 |
+
and/or other materials provided with the distribution.
|
| 902 |
+
|
| 903 |
+
* Neither the name of the {organization} nor the names of its
|
| 904 |
+
contributors may be used to endorse or promote products derived from
|
| 905 |
+
this software without specific prior written permission.
|
| 906 |
+
|
| 907 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 908 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 909 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 910 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 911 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 912 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 913 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 914 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 915 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 916 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.Copyright (c) 2017 Anthony Sottile
|
| 917 |
+
|
| 918 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 919 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 920 |
+
in the Software without restriction, including without limitation the rights
|
| 921 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 922 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 923 |
+
furnished to do so, subject to the following conditions:
|
| 924 |
+
|
| 925 |
+
The above copyright notice and this permission notice shall be included in
|
| 926 |
+
all copies or substantial portions of the Software.
|
| 927 |
+
|
| 928 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 929 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 930 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 931 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 932 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 933 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 934 |
+
THE SOFTWARE.Copyright (c) 2015-2019 Jared Hobbs
|
| 935 |
+
|
| 936 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
| 937 |
+
this software and associated documentation files (the "Software"), to deal in
|
| 938 |
+
the Software without restriction, including without limitation the rights to
|
| 939 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
| 940 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
| 941 |
+
so, subject to the following conditions:
|
| 942 |
+
|
| 943 |
+
The above copyright notice and this permission notice shall be included in all
|
| 944 |
+
copies or substantial portions of the Software.
|
| 945 |
+
|
| 946 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 947 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 948 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 949 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 950 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 951 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 952 |
+
SOFTWARE.Developed by ESN, an Electronic Arts Inc. studio.
|
| 953 |
+
Copyright (c) 2014, Electronic Arts Inc.
|
| 954 |
+
All rights reserved.
|
| 955 |
+
|
| 956 |
+
Redistribution and use in source and binary forms, with or without
|
| 957 |
+
modification, are permitted provided that the following conditions are met:
|
| 958 |
+
* Redistributions of source code must retain the above copyright
|
| 959 |
+
notice, this list of conditions and the following disclaimer.
|
| 960 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 961 |
+
notice, this list of conditions and the following disclaimer in the
|
| 962 |
+
documentation and/or other materials provided with the distribution.
|
| 963 |
+
* Neither the name of ESN, Electronic Arts Inc. nor the
|
| 964 |
+
names of its contributors may be used to endorse or promote products
|
| 965 |
+
derived from this software without specific prior written permission.
|
| 966 |
+
|
| 967 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 968 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 969 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 970 |
+
DISCLAIMED. IN NO EVENT SHALL ELECTRONIC ARTS INC. BE LIABLE
|
| 971 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 972 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
| 973 |
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
| 974 |
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 975 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 976 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 977 |
+
|
| 978 |
+
----
|
| 979 |
+
|
| 980 |
+
Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
|
| 981 |
+
https://github.com/client9/stringencoders
|
| 982 |
+
|
| 983 |
+
Copyright 2005, 2006, 2007
|
| 984 |
+
Nick Galbreath -- nickg [at] modp [dot] com
|
| 985 |
+
All rights reserved.
|
| 986 |
+
|
| 987 |
+
Redistribution and use in source and binary forms, with or without
|
| 988 |
+
modification, are permitted provided that the following conditions are
|
| 989 |
+
met:
|
| 990 |
+
|
| 991 |
+
Redistributions of source code must retain the above copyright
|
| 992 |
+
notice, this list of conditions and the following disclaimer.
|
| 993 |
+
|
| 994 |
+
Redistributions in binary form must reproduce the above copyright
|
| 995 |
+
notice, this list of conditions and the following disclaimer in the
|
| 996 |
+
documentation and/or other materials provided with the distribution.
|
| 997 |
+
|
| 998 |
+
Neither the name of the modp.com nor the names of its
|
| 999 |
+
contributors may be used to endorse or promote products derived from
|
| 1000 |
+
this software without specific prior written permission.
|
| 1001 |
+
|
| 1002 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1003 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1004 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1005 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1006 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1007 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1008 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1009 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1010 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1011 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1012 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1013 |
+
|
| 1014 |
+
This is the standard "new" BSD license:
|
| 1015 |
+
http://www.opensource.org/licenses/bsd-license.php
|
| 1016 |
+
|
| 1017 |
+
https://github.com/client9/stringencoders/blob/cfd5c1507325ae497ea9bacdacba12c0ffd79d30/COPYING
|
| 1018 |
+
|
| 1019 |
+
----
|
| 1020 |
+
|
| 1021 |
+
Numeric decoder derived from from TCL library
|
| 1022 |
+
https://opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
|
| 1023 |
+
* Copyright (c) 1988-1993 The Regents of the University of California.
|
| 1024 |
+
* Copyright (c) 1994 Sun Microsystems, Inc.
|
| 1025 |
+
|
| 1026 |
+
This software is copyrighted by the Regents of the University of
|
| 1027 |
+
California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
|
| 1028 |
+
Corporation and other parties. The following terms apply to all files
|
| 1029 |
+
associated with the software unless explicitly disclaimed in
|
| 1030 |
+
individual files.
|
| 1031 |
+
|
| 1032 |
+
The authors hereby grant permission to use, copy, modify, distribute,
|
| 1033 |
+
and license this software and its documentation for any purpose, provided
|
| 1034 |
+
that existing copyright notices are retained in all copies and that this
|
| 1035 |
+
notice is included verbatim in any distributions. No written agreement,
|
| 1036 |
+
license, or royalty fee is required for any of the authorized uses.
|
| 1037 |
+
Modifications to this software may be copyrighted by their authors
|
| 1038 |
+
and need not follow the licensing terms described here, provided that
|
| 1039 |
+
the new terms are clearly indicated on the first page of each file where
|
| 1040 |
+
they apply.
|
| 1041 |
+
|
| 1042 |
+
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
|
| 1043 |
+
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
| 1044 |
+
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
|
| 1045 |
+
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
|
| 1046 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1047 |
+
|
| 1048 |
+
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
|
| 1049 |
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
|
| 1050 |
+
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
|
| 1051 |
+
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
|
| 1052 |
+
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
|
| 1053 |
+
MODIFICATIONS.
|
| 1054 |
+
|
| 1055 |
+
GOVERNMENT USE: If you are acquiring this software on behalf of the
|
| 1056 |
+
U.S. government, the Government shall have only "Restricted Rights"
|
| 1057 |
+
in the software and related documentation as defined in the Federal
|
| 1058 |
+
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
|
| 1059 |
+
are acquiring the software on behalf of the Department of Defense, the
|
| 1060 |
+
software shall be classified as "Commercial Computer Software" and the
|
| 1061 |
+
Government shall have only "Restricted Rights" as defined in Clause
|
| 1062 |
+
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
|
| 1063 |
+
authors grant the U.S. Government and others acting in its behalf
|
| 1064 |
+
permission to use and distribute the software in accordance with the
|
| 1065 |
+
terms specified in this license.
|
| 1066 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 1067 |
+
Classifier: Environment :: Console
|
| 1068 |
+
Classifier: Intended Audience :: Science/Research
|
| 1069 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 1070 |
+
Classifier: Operating System :: OS Independent
|
| 1071 |
+
Classifier: Programming Language :: Cython
|
| 1072 |
+
Classifier: Programming Language :: Python
|
| 1073 |
+
Classifier: Programming Language :: Python :: 3
|
| 1074 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 1075 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 1076 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 1077 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 1078 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 1079 |
+
Classifier: Topic :: Scientific/Engineering
|
| 1080 |
+
Project-URL: homepage, https://pandas.pydata.org
|
| 1081 |
+
Project-URL: documentation, https://pandas.pydata.org/docs/
|
| 1082 |
+
Project-URL: repository, https://github.com/pandas-dev/pandas
|
| 1083 |
+
Requires-Python: >=3.11
|
| 1084 |
+
Requires-Dist: numpy>=1.26.0; python_version < "3.14"
|
| 1085 |
+
Requires-Dist: numpy>=2.3.3; python_version >= "3.14"
|
| 1086 |
+
Requires-Dist: python-dateutil>=2.8.2
|
| 1087 |
+
Requires-Dist: tzdata; sys_platform == "win32"
|
| 1088 |
+
Requires-Dist: tzdata; sys_platform == "emscripten"
|
| 1089 |
+
Provides-Extra: test
|
| 1090 |
+
Requires-Dist: hypothesis>=6.116.0; extra == "test"
|
| 1091 |
+
Requires-Dist: pytest>=8.3.4; extra == "test"
|
| 1092 |
+
Requires-Dist: pytest-xdist>=3.6.1; extra == "test"
|
| 1093 |
+
Provides-Extra: pyarrow
|
| 1094 |
+
Requires-Dist: pyarrow>=13.0.0; extra == "pyarrow"
|
| 1095 |
+
Provides-Extra: performance
|
| 1096 |
+
Requires-Dist: bottleneck>=1.4.2; extra == "performance"
|
| 1097 |
+
Requires-Dist: numba>=0.60.0; extra == "performance"
|
| 1098 |
+
Requires-Dist: numexpr>=2.10.2; extra == "performance"
|
| 1099 |
+
Provides-Extra: computation
|
| 1100 |
+
Requires-Dist: scipy>=1.14.1; extra == "computation"
|
| 1101 |
+
Requires-Dist: xarray>=2024.10.0; extra == "computation"
|
| 1102 |
+
Provides-Extra: fss
|
| 1103 |
+
Requires-Dist: fsspec>=2024.10.0; extra == "fss"
|
| 1104 |
+
Provides-Extra: aws
|
| 1105 |
+
Requires-Dist: s3fs>=2024.10.0; extra == "aws"
|
| 1106 |
+
Provides-Extra: gcp
|
| 1107 |
+
Requires-Dist: gcsfs>=2024.10.0; extra == "gcp"
|
| 1108 |
+
Provides-Extra: excel
|
| 1109 |
+
Requires-Dist: odfpy>=1.4.1; extra == "excel"
|
| 1110 |
+
Requires-Dist: openpyxl>=3.1.5; extra == "excel"
|
| 1111 |
+
Requires-Dist: python-calamine>=0.3.0; extra == "excel"
|
| 1112 |
+
Requires-Dist: pyxlsb>=1.0.10; extra == "excel"
|
| 1113 |
+
Requires-Dist: xlrd>=2.0.1; extra == "excel"
|
| 1114 |
+
Requires-Dist: xlsxwriter>=3.2.0; extra == "excel"
|
| 1115 |
+
Provides-Extra: parquet
|
| 1116 |
+
Requires-Dist: pyarrow>=13.0.0; extra == "parquet"
|
| 1117 |
+
Provides-Extra: feather
|
| 1118 |
+
Requires-Dist: pyarrow>=13.0.0; extra == "feather"
|
| 1119 |
+
Provides-Extra: iceberg
|
| 1120 |
+
Requires-Dist: pyiceberg>=0.8.1; extra == "iceberg"
|
| 1121 |
+
Provides-Extra: hdf5
|
| 1122 |
+
Requires-Dist: tables>=3.10.1; extra == "hdf5"
|
| 1123 |
+
Provides-Extra: spss
|
| 1124 |
+
Requires-Dist: pyreadstat>=1.2.8; extra == "spss"
|
| 1125 |
+
Provides-Extra: postgresql
|
| 1126 |
+
Requires-Dist: SQLAlchemy>=2.0.36; extra == "postgresql"
|
| 1127 |
+
Requires-Dist: psycopg2>=2.9.10; extra == "postgresql"
|
| 1128 |
+
Requires-Dist: adbc-driver-postgresql>=1.2.0; extra == "postgresql"
|
| 1129 |
+
Provides-Extra: mysql
|
| 1130 |
+
Requires-Dist: SQLAlchemy>=2.0.36; extra == "mysql"
|
| 1131 |
+
Requires-Dist: pymysql>=1.1.1; extra == "mysql"
|
| 1132 |
+
Provides-Extra: sql-other
|
| 1133 |
+
Requires-Dist: SQLAlchemy>=2.0.36; extra == "sql-other"
|
| 1134 |
+
Requires-Dist: adbc-driver-postgresql>=1.2.0; extra == "sql-other"
|
| 1135 |
+
Requires-Dist: adbc-driver-sqlite>=1.2.0; extra == "sql-other"
|
| 1136 |
+
Provides-Extra: html
|
| 1137 |
+
Requires-Dist: beautifulsoup4>=4.12.3; extra == "html"
|
| 1138 |
+
Requires-Dist: html5lib>=1.1; extra == "html"
|
| 1139 |
+
Requires-Dist: lxml>=5.3.0; extra == "html"
|
| 1140 |
+
Provides-Extra: xml
|
| 1141 |
+
Requires-Dist: lxml>=5.3.0; extra == "xml"
|
| 1142 |
+
Provides-Extra: plot
|
| 1143 |
+
Requires-Dist: matplotlib>=3.9.3; extra == "plot"
|
| 1144 |
+
Provides-Extra: output-formatting
|
| 1145 |
+
Requires-Dist: jinja2>=3.1.5; extra == "output-formatting"
|
| 1146 |
+
Requires-Dist: tabulate>=0.9.0; extra == "output-formatting"
|
| 1147 |
+
Provides-Extra: clipboard
|
| 1148 |
+
Requires-Dist: PyQt5>=5.15.9; extra == "clipboard"
|
| 1149 |
+
Requires-Dist: qtpy>=2.4.2; extra == "clipboard"
|
| 1150 |
+
Provides-Extra: compression
|
| 1151 |
+
Requires-Dist: zstandard>=0.23.0; extra == "compression"
|
| 1152 |
+
Provides-Extra: timezone
|
| 1153 |
+
Requires-Dist: pytz>=2024.2; extra == "timezone"
|
| 1154 |
+
Provides-Extra: all
|
| 1155 |
+
Requires-Dist: adbc-driver-postgresql>=1.2.0; extra == "all"
|
| 1156 |
+
Requires-Dist: adbc-driver-sqlite>=1.2.0; extra == "all"
|
| 1157 |
+
Requires-Dist: beautifulsoup4>=4.12.3; extra == "all"
|
| 1158 |
+
Requires-Dist: bottleneck>=1.4.2; extra == "all"
|
| 1159 |
+
Requires-Dist: fastparquet>=2024.11.0; extra == "all"
|
| 1160 |
+
Requires-Dist: fsspec>=2024.10.0; extra == "all"
|
| 1161 |
+
Requires-Dist: gcsfs>=2024.10.0; extra == "all"
|
| 1162 |
+
Requires-Dist: html5lib>=1.1; extra == "all"
|
| 1163 |
+
Requires-Dist: hypothesis>=6.116.0; extra == "all"
|
| 1164 |
+
Requires-Dist: jinja2>=3.1.5; extra == "all"
|
| 1165 |
+
Requires-Dist: lxml>=5.3.0; extra == "all"
|
| 1166 |
+
Requires-Dist: matplotlib>=3.9.3; extra == "all"
|
| 1167 |
+
Requires-Dist: numba>=0.60.0; extra == "all"
|
| 1168 |
+
Requires-Dist: numexpr>=2.10.2; extra == "all"
|
| 1169 |
+
Requires-Dist: odfpy>=1.4.1; extra == "all"
|
| 1170 |
+
Requires-Dist: openpyxl>=3.1.5; extra == "all"
|
| 1171 |
+
Requires-Dist: psycopg2>=2.9.10; extra == "all"
|
| 1172 |
+
Requires-Dist: pyarrow>=13.0.0; extra == "all"
|
| 1173 |
+
Requires-Dist: pyiceberg>=0.8.1; extra == "all"
|
| 1174 |
+
Requires-Dist: pymysql>=1.1.1; extra == "all"
|
| 1175 |
+
Requires-Dist: PyQt5>=5.15.9; extra == "all"
|
| 1176 |
+
Requires-Dist: pyreadstat>=1.2.8; extra == "all"
|
| 1177 |
+
Requires-Dist: pytest>=8.3.4; extra == "all"
|
| 1178 |
+
Requires-Dist: pytest-xdist>=3.6.1; extra == "all"
|
| 1179 |
+
Requires-Dist: python-calamine>=0.3.0; extra == "all"
|
| 1180 |
+
Requires-Dist: pytz>=2024.2; extra == "all"
|
| 1181 |
+
Requires-Dist: pyxlsb>=1.0.10; extra == "all"
|
| 1182 |
+
Requires-Dist: qtpy>=2.4.2; extra == "all"
|
| 1183 |
+
Requires-Dist: scipy>=1.14.1; extra == "all"
|
| 1184 |
+
Requires-Dist: s3fs>=2024.10.0; extra == "all"
|
| 1185 |
+
Requires-Dist: SQLAlchemy>=2.0.36; extra == "all"
|
| 1186 |
+
Requires-Dist: tables>=3.10.1; extra == "all"
|
| 1187 |
+
Requires-Dist: tabulate>=0.9.0; extra == "all"
|
| 1188 |
+
Requires-Dist: xarray>=2024.10.0; extra == "all"
|
| 1189 |
+
Requires-Dist: xlrd>=2.0.1; extra == "all"
|
| 1190 |
+
Requires-Dist: xlsxwriter>=3.2.0; extra == "all"
|
| 1191 |
+
Requires-Dist: zstandard>=0.23.0; extra == "all"
|
| 1192 |
+
Description-Content-Type: text/markdown
|
| 1193 |
+
|
| 1194 |
+
<picture align="center">
|
| 1195 |
+
<source media="(prefers-color-scheme: dark)" srcset="https://pandas.pydata.org/static/img/pandas_white.svg">
|
| 1196 |
+
<img alt="Pandas Logo" src="https://pandas.pydata.org/static/img/pandas.svg">
|
| 1197 |
+
</picture>
|
| 1198 |
+
|
| 1199 |
+
-----------------
|
| 1200 |
+
|
| 1201 |
+
# pandas: A Powerful Python Data Analysis Toolkit
|
| 1202 |
+
|
| 1203 |
+
| | |
|
| 1204 |
+
| --- | --- |
|
| 1205 |
+
| Testing | [](https://github.com/pandas-dev/pandas/actions/workflows/unit-tests.yml) [](https://codecov.io/gh/pandas-dev/pandas) |
|
| 1206 |
+
| Package | [](https://pypi.org/project/pandas/) [](https://pypi.org/project/pandas/) [](https://anaconda.org/conda-forge/pandas) [](https://anaconda.org/conda-forge/pandas) |
|
| 1207 |
+
| Meta | [](https://numfocus.org) [](https://doi.org/10.5281/zenodo.3509134) [](https://github.com/pandas-dev/pandas/blob/main/LICENSE) [](https://pandas.pydata.org/docs/dev/development/community.html?highlight=slack#community-slack) [](https://insights.linuxfoundation.org/project/pandas-dev-pandas) |
|
| 1208 |
+
|
| 1209 |
+
|
| 1210 |
+
## What is it?
|
| 1211 |
+
|
| 1212 |
+
**pandas** is a Python package that provides fast, flexible, and expressive data
|
| 1213 |
+
structures designed to make working with "relational" or "labeled" data both
|
| 1214 |
+
easy and intuitive. It aims to be the fundamental high-level building block for
|
| 1215 |
+
doing practical, **real-world** data analysis in Python. Additionally, it has
|
| 1216 |
+
the broader goal of becoming **the most powerful and flexible open-source data
|
| 1217 |
+
analysis/manipulation tool available in any language**. It is already well on
|
| 1218 |
+
its way towards this goal.
|
| 1219 |
+
|
| 1220 |
+
## Table of Contents
|
| 1221 |
+
|
| 1222 |
+
- [Main Features](#main-features)
|
| 1223 |
+
- [Where to get it](#where-to-get-it)
|
| 1224 |
+
- [Dependencies](#dependencies)
|
| 1225 |
+
- [Installation from sources](#installation-from-sources)
|
| 1226 |
+
- [License](#license)
|
| 1227 |
+
- [Documentation](#documentation)
|
| 1228 |
+
- [Background](#background)
|
| 1229 |
+
- [Getting Help](#getting-help)
|
| 1230 |
+
- [Discussion and Development](#discussion-and-development)
|
| 1231 |
+
- [Contributing to pandas](#contributing-to-pandas)
|
| 1232 |
+
|
| 1233 |
+
## Main Features
|
| 1234 |
+
Here are just a few of the things that pandas does well:
|
| 1235 |
+
|
| 1236 |
+
- Easy handling of [**missing data**][missing-data] (represented as
|
| 1237 |
+
`NaN`, `NA`, or `NaT`) in floating point as well as non-floating point data
|
| 1238 |
+
- Size mutability: columns can be [**inserted and
|
| 1239 |
+
deleted**][insertion-deletion] from DataFrame and higher dimensional
|
| 1240 |
+
objects
|
| 1241 |
+
- Automatic and explicit [**data alignment**][alignment]: objects can
|
| 1242 |
+
be explicitly aligned to a set of labels, or the user can simply
|
| 1243 |
+
ignore the labels and let `Series`, `DataFrame`, etc. automatically
|
| 1244 |
+
align the data for you in computations
|
| 1245 |
+
- Powerful, flexible [**group by**][groupby] functionality to perform
|
| 1246 |
+
split-apply-combine operations on data sets, for both aggregating
|
| 1247 |
+
and transforming data
|
| 1248 |
+
- Make it [**easy to convert**][conversion] ragged,
|
| 1249 |
+
differently-indexed data in other Python and NumPy data structures
|
| 1250 |
+
into DataFrame objects
|
| 1251 |
+
- Intelligent label-based [**slicing**][slicing], [**fancy
|
| 1252 |
+
indexing**][fancy-indexing], and [**subsetting**][subsetting] of
|
| 1253 |
+
large data sets
|
| 1254 |
+
- Intuitive [**merging**][merging] and [**joining**][joining] data
|
| 1255 |
+
sets
|
| 1256 |
+
- Flexible [**reshaping**][reshape] and [**pivoting**][pivot-table] of
|
| 1257 |
+
data sets
|
| 1258 |
+
- [**Hierarchical**][mi] labeling of axes (possible to have multiple
|
| 1259 |
+
labels per tick)
|
| 1260 |
+
- Robust I/O tools for loading data from [**flat files**][flat-files]
|
| 1261 |
+
(CSV and delimited), [**Excel files**][excel], [**databases**][db],
|
| 1262 |
+
and saving/loading data from the ultrafast [**HDF5 format**][hdfstore]
|
| 1263 |
+
- [**Time series**][timeseries]-specific functionality: date range
|
| 1264 |
+
generation and frequency conversion, moving window statistics,
|
| 1265 |
+
date shifting and lagging
|
| 1266 |
+
|
| 1267 |
+
|
| 1268 |
+
[missing-data]: https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html
|
| 1269 |
+
[insertion-deletion]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html#column-selection-addition-deletion
|
| 1270 |
+
[alignment]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html?highlight=alignment#intro-to-data-structures
|
| 1271 |
+
[groupby]: https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#group-by-split-apply-combine
|
| 1272 |
+
[conversion]: https://pandas.pydata.org/pandas-docs/stable/user_guide/dsintro.html#dataframe
|
| 1273 |
+
[slicing]: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#slicing-ranges
|
| 1274 |
+
[fancy-indexing]: https://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html#advanced
|
| 1275 |
+
[subsetting]: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#boolean-indexing
|
| 1276 |
+
[merging]: https://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html#database-style-dataframe-or-named-series-joining-merging
|
| 1277 |
+
[joining]: https://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html#joining-on-index
|
| 1278 |
+
[reshape]: https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html
|
| 1279 |
+
[pivot-table]: https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html
|
| 1280 |
+
[mi]: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#hierarchical-indexing-multiindex
|
| 1281 |
+
[flat-files]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#csv-text-files
|
| 1282 |
+
[excel]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#excel-files
|
| 1283 |
+
[db]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#sql-queries
|
| 1284 |
+
[hdfstore]: https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#hdf5-pytables
|
| 1285 |
+
[timeseries]: https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#time-series-date-functionality
|
| 1286 |
+
|
| 1287 |
+
## Where to get it
|
| 1288 |
+
The source code is currently hosted on GitHub at:
|
| 1289 |
+
https://github.com/pandas-dev/pandas
|
| 1290 |
+
|
| 1291 |
+
Binary installers for the latest released version are available at the [Python
|
| 1292 |
+
Package Index (PyPI)](https://pypi.org/project/pandas) and on [Conda](https://anaconda.org/conda-forge/pandas).
|
| 1293 |
+
|
| 1294 |
+
```sh
|
| 1295 |
+
# conda
|
| 1296 |
+
conda install -c conda-forge pandas
|
| 1297 |
+
```
|
| 1298 |
+
|
| 1299 |
+
```sh
|
| 1300 |
+
# or PyPI
|
| 1301 |
+
pip install pandas
|
| 1302 |
+
```
|
| 1303 |
+
|
| 1304 |
+
The list of changes to pandas between each release can be found
|
| 1305 |
+
[here](https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html). For full
|
| 1306 |
+
details, see the commit logs at https://github.com/pandas-dev/pandas.
|
| 1307 |
+
|
| 1308 |
+
## Dependencies
|
| 1309 |
+
- [NumPy - Adds support for large, multi-dimensional arrays, matrices and high-level mathematical functions to operate on these arrays](https://www.numpy.org)
|
| 1310 |
+
- [python-dateutil - Provides powerful extensions to the standard datetime module](https://dateutil.readthedocs.io/en/stable/index.html)
|
| 1311 |
+
- [tzdata - Provides an IANA time zone database](https://tzdata.readthedocs.io/en/latest/) (Only required on Windows/Emscripten)
|
| 1312 |
+
|
| 1313 |
+
See the [full installation instructions](https://pandas.pydata.org/pandas-docs/stable/install.html#dependencies) for minimum supported versions of required, recommended and optional dependencies.
|
| 1314 |
+
|
| 1315 |
+
## Installation from sources
|
| 1316 |
+
To install pandas from source you need [Cython](https://cython.org/) in addition to the normal
|
| 1317 |
+
dependencies above. Cython can be installed from PyPI:
|
| 1318 |
+
|
| 1319 |
+
```sh
|
| 1320 |
+
pip install cython
|
| 1321 |
+
```
|
| 1322 |
+
|
| 1323 |
+
In the `pandas` directory (same one where you found this file after
|
| 1324 |
+
cloning the git repo), execute:
|
| 1325 |
+
|
| 1326 |
+
```sh
|
| 1327 |
+
pip install .
|
| 1328 |
+
```
|
| 1329 |
+
|
| 1330 |
+
or for installing in [development mode](https://pip.pypa.io/en/latest/cli/pip_install/#install-editable):
|
| 1331 |
+
|
| 1332 |
+
|
| 1333 |
+
```sh
|
| 1334 |
+
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
|
| 1335 |
+
```
|
| 1336 |
+
|
| 1337 |
+
See the full instructions for [installing from source](https://pandas.pydata.org/docs/dev/development/contributing_environment.html).
|
| 1338 |
+
|
| 1339 |
+
## License
|
| 1340 |
+
[BSD 3](LICENSE)
|
| 1341 |
+
|
| 1342 |
+
## Documentation
|
| 1343 |
+
The official documentation is hosted on [PyData.org](https://pandas.pydata.org/pandas-docs/stable/).
|
| 1344 |
+
|
| 1345 |
+
## Background
|
| 1346 |
+
Work on ``pandas`` started at [AQR](https://www.aqr.com/) (a quantitative hedge fund) in 2008 and
|
| 1347 |
+
has been under active development since then.
|
| 1348 |
+
|
| 1349 |
+
## Getting Help
|
| 1350 |
+
|
| 1351 |
+
For usage questions, the best place to go to is [Stack Overflow](https://stackoverflow.com/questions/tagged/pandas).
|
| 1352 |
+
Further, general questions and discussions can also take place on the [pydata mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata).
|
| 1353 |
+
|
| 1354 |
+
## Discussion and Development
|
| 1355 |
+
Most development discussions take place on GitHub in this repo, via the [GitHub issue tracker](https://github.com/pandas-dev/pandas/issues).
|
| 1356 |
+
|
| 1357 |
+
Further, the [pandas-dev mailing list](https://mail.python.org/mailman/listinfo/pandas-dev) can also be used for specialized discussions or design issues, and a [Slack channel](https://pandas.pydata.org/docs/dev/development/community.html?highlight=slack#community-slack) is available for quick development related questions.
|
| 1358 |
+
|
| 1359 |
+
There are also frequent [community meetings](https://pandas.pydata.org/docs/dev/development/community.html#community-meeting) for project maintainers open to the community as well as monthly [new contributor meetings](https://pandas.pydata.org/docs/dev/development/community.html#new-contributor-meeting) to help support new contributors.
|
| 1360 |
+
|
| 1361 |
+
Additional information on the communication channels can be found on the [contributor community](https://pandas.pydata.org/docs/development/community.html) page.
|
| 1362 |
+
|
| 1363 |
+
## Contributing to pandas
|
| 1364 |
+
|
| 1365 |
+
[](https://www.codetriage.com/pandas-dev/pandas)
|
| 1366 |
+
|
| 1367 |
+
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
|
| 1368 |
+
|
| 1369 |
+
A detailed overview on how to contribute can be found in the **[contributing guide](https://pandas.pydata.org/docs/dev/development/contributing.html)**.
|
| 1370 |
+
|
| 1371 |
+
If you are simply looking to start working with the pandas codebase, navigate to the [GitHub "issues" tab](https://github.com/pandas-dev/pandas/issues) and start looking through interesting issues. There are a number of issues listed under [Docs](https://github.com/pandas-dev/pandas/issues?q=is%3Aissue%20state%3Aopen%20label%3ADocs%20sort%3Aupdated-desc) and [good first issue](https://github.com/pandas-dev/pandas/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22%20sort%3Aupdated-desc) where you could start out.
|
| 1372 |
+
|
| 1373 |
+
You can also triage issues which may include reproducing bug reports, or asking for vital information such as version numbers or reproduction instructions. If you would like to start triaging issues, one easy way to get started is to [subscribe to pandas on CodeTriage](https://www.codetriage.com/pandas-dev/pandas).
|
| 1374 |
+
|
| 1375 |
+
Or maybe through using pandas you have an idea of your own or are looking for something in the documentation and thinking ‘this can be improved’... you can do something about it!
|
| 1376 |
+
|
| 1377 |
+
Feel free to ask questions on the [mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata) or on [Slack](https://pandas.pydata.org/docs/dev/development/community.html?highlight=slack#community-slack).
|
| 1378 |
+
|
| 1379 |
+
As contributors and maintainers to this project, you are expected to abide by pandas' code of conduct. More information can be found at: [Contributor Code of Conduct](https://github.com/pandas-dev/.github/blob/master/CODE_OF_CONDUCT.md)
|
| 1380 |
+
|
| 1381 |
+
<hr>
|
| 1382 |
+
|
| 1383 |
+
[Go to Top](#table-of-contents)
|
.cache/pip/http-v2/8/4/3/f/2/843f29ad5a195cb2664dafac8345ae4f121177ea8b150533e02b27f2
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/8/4/3/f/2/843f29ad5a195cb2664dafac8345ae4f121177ea8b150533e02b27f2.body
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: greenlet
|
| 3 |
+
Version: 3.3.2
|
| 4 |
+
Summary: Lightweight in-process concurrent programming
|
| 5 |
+
Author-email: Alexey Borzenkov <snaury@gmail.com>
|
| 6 |
+
Maintainer-email: Jason Madden <jason@seecoresoftware.com>
|
| 7 |
+
License-Expression: MIT AND PSF-2.0
|
| 8 |
+
Project-URL: Homepage, https://greenlet.readthedocs.io
|
| 9 |
+
Project-URL: Documentation, https://greenlet.readthedocs.io
|
| 10 |
+
Project-URL: Repository, https://github.com/python-greenlet/greenlet
|
| 11 |
+
Project-URL: Issues, https://github.com/python-greenlet/greenlet/issues
|
| 12 |
+
Project-URL: Changelog, https://greenlet.readthedocs.io/en/latest/changes.html
|
| 13 |
+
Keywords: greenlet,coroutine,concurrency,threads,cooperative
|
| 14 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 15 |
+
Classifier: Intended Audience :: Developers
|
| 16 |
+
Classifier: Natural Language :: English
|
| 17 |
+
Classifier: Programming Language :: C
|
| 18 |
+
Classifier: Programming Language :: Python
|
| 19 |
+
Classifier: Programming Language :: Python :: 3
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 21 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 22 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 24 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 25 |
+
Classifier: Operating System :: OS Independent
|
| 26 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 27 |
+
Requires-Python: >=3.10
|
| 28 |
+
Description-Content-Type: text/x-rst
|
| 29 |
+
License-File: LICENSE
|
| 30 |
+
License-File: LICENSE.PSF
|
| 31 |
+
Provides-Extra: docs
|
| 32 |
+
Requires-Dist: Sphinx; extra == "docs"
|
| 33 |
+
Requires-Dist: furo; extra == "docs"
|
| 34 |
+
Provides-Extra: test
|
| 35 |
+
Requires-Dist: objgraph; extra == "test"
|
| 36 |
+
Requires-Dist: psutil; extra == "test"
|
| 37 |
+
Requires-Dist: setuptools; extra == "test"
|
| 38 |
+
Dynamic: license-file
|
| 39 |
+
|
| 40 |
+
.. This file is included into docs/history.rst
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
Greenlets are lightweight coroutines for in-process concurrent
|
| 44 |
+
programming.
|
| 45 |
+
|
| 46 |
+
The "greenlet" package is a spin-off of `Stackless`_, a version of
|
| 47 |
+
CPython that supports micro-threads called "tasklets". Tasklets run
|
| 48 |
+
pseudo-concurrently (typically in a single or a few OS-level threads)
|
| 49 |
+
and are synchronized with data exchanges on "channels".
|
| 50 |
+
|
| 51 |
+
A "greenlet", on the other hand, is a still more primitive notion of
|
| 52 |
+
micro-thread with no implicit scheduling; coroutines, in other words.
|
| 53 |
+
This is useful when you want to control exactly when your code runs.
|
| 54 |
+
You can build custom scheduled micro-threads on top of greenlet;
|
| 55 |
+
however, it seems that greenlets are useful on their own as a way to
|
| 56 |
+
make advanced control flow structures. For example, we can recreate
|
| 57 |
+
generators; the difference with Python's own generators is that our
|
| 58 |
+
generators can call nested functions and the nested functions can
|
| 59 |
+
yield values too. (Additionally, you don't need a "yield" keyword. See
|
| 60 |
+
the example in `test_generator.py
|
| 61 |
+
<https://github.com/python-greenlet/greenlet/blob/adca19bf1f287b3395896a8f41f3f4fd1797fdc7/src/greenlet/tests/test_generator.py#L1>`_).
|
| 62 |
+
|
| 63 |
+
Greenlets are provided as a C extension module for the regular unmodified
|
| 64 |
+
interpreter.
|
| 65 |
+
|
| 66 |
+
.. _`Stackless`: http://www.stackless.com
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
Who is using Greenlet?
|
| 70 |
+
======================
|
| 71 |
+
|
| 72 |
+
There are several libraries that use Greenlet as a more flexible
|
| 73 |
+
alternative to Python's built in coroutine support:
|
| 74 |
+
|
| 75 |
+
- `Concurrence`_
|
| 76 |
+
- `Eventlet`_
|
| 77 |
+
- `Gevent`_
|
| 78 |
+
|
| 79 |
+
.. _Concurrence: http://opensource.hyves.org/concurrence/
|
| 80 |
+
.. _Eventlet: http://eventlet.net/
|
| 81 |
+
.. _Gevent: http://www.gevent.org/
|
| 82 |
+
|
| 83 |
+
Getting Greenlet
|
| 84 |
+
================
|
| 85 |
+
|
| 86 |
+
The easiest way to get Greenlet is to install it with pip::
|
| 87 |
+
|
| 88 |
+
pip install greenlet
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
Source code archives and binary distributions are available on the
|
| 92 |
+
python package index at https://pypi.org/project/greenlet
|
| 93 |
+
|
| 94 |
+
The source code repository is hosted on github:
|
| 95 |
+
https://github.com/python-greenlet/greenlet
|
| 96 |
+
|
| 97 |
+
Documentation is available on readthedocs.org:
|
| 98 |
+
https://greenlet.readthedocs.io
|
.cache/pip/http-v2/8/6/1/4/a/8614a6e8a4ad9aa5595a607eb8f7a0d8a8f7a7a34cff9540f443a21f
ADDED
|
Binary file (1.16 kB). View file
|
|
|
.cache/pip/http-v2/8/6/1/4/a/8614a6e8a4ad9aa5595a607eb8f7a0d8a8f7a7a34cff9540f443a21f.body
ADDED
|
Binary file (5.3 kB). View file
|
|
|
.cache/pip/http-v2/8/6/e/d/b/86edbe0c05b42c1fe86aacc3cb9eaf8cb8a43c81ec1ba8b34d47241c
ADDED
|
Binary file (1.12 kB). View file
|
|
|
.cache/pip/http-v2/8/a/c/4/d/8ac4d14dc45e27d21da49fb515570b6f875b78707de9b08ce1088d1b
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/8/a/c/4/d/8ac4d14dc45e27d21da49fb515570b6f875b78707de9b08ce1088d1b.body
ADDED
|
Binary file (15.9 kB). View file
|
|
|
.cache/pip/http-v2/8/d/8/7/b/8d87bf7a308bb8a91752d9c7e9e4d96db27c3fd3d01d3bb4e2dd8afc
ADDED
|
Binary file (1.2 kB). View file
|
|
|
.cache/pip/http-v2/8/d/8/7/b/8d87bf7a308bb8a91752d9c7e9e4d96db27c3fd3d01d3bb4e2dd8afc.body
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.cache/pip/http-v2/8/f/0/a/d/8f0ad583652318494c12da41e4d30ff6225ec73d448a0754a0a7e898
ADDED
|
Binary file (1.87 kB). View file
|
|
|
.cache/pip/http-v2/b/0/c/3/0/b0c304a2d0d2dd17cd2e818948220da223f52dfe26c6e170a35508ec
ADDED
|
Binary file (1.17 kB). View file
|
|
|
.cache/pip/http-v2/b/0/c/3/0/b0c304a2d0d2dd17cd2e818948220da223f52dfe26c6e170a35508ec.body
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: mdurl
|
| 3 |
+
Version: 0.1.2
|
| 4 |
+
Summary: Markdown URL utilities
|
| 5 |
+
Keywords: markdown,commonmark
|
| 6 |
+
Author-email: Taneli Hukkinen <hukkin@users.noreply.github.com>
|
| 7 |
+
Requires-Python: >=3.7
|
| 8 |
+
Description-Content-Type: text/markdown
|
| 9 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 10 |
+
Classifier: Operating System :: MacOS
|
| 11 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 12 |
+
Classifier: Operating System :: POSIX :: Linux
|
| 13 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 14 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 15 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 16 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 18 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 19 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 20 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 21 |
+
Classifier: Typing :: Typed
|
| 22 |
+
Project-URL: Homepage, https://github.com/executablebooks/mdurl
|
| 23 |
+
|
| 24 |
+
# mdurl
|
| 25 |
+
|
| 26 |
+
[](https://github.com/executablebooks/mdurl/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush)
|
| 27 |
+
[](https://codecov.io/gh/executablebooks/mdurl)
|
| 28 |
+
[](https://pypi.org/project/mdurl)
|
| 29 |
+
|
| 30 |
+
This is a Python port of the JavaScript [mdurl](https://www.npmjs.com/package/mdurl) package.
|
| 31 |
+
See the [upstream README.md file](https://github.com/markdown-it/mdurl/blob/master/README.md) for API documentation.
|
| 32 |
+
|