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/2/3/5/3/9/235392053f2a1040f180b6ba82c549e2c6a0340d4d823ef3a0847ef7 +0 -0
- .cache/pip/http-v2/2/3/5/3/9/235392053f2a1040f180b6ba82c549e2c6a0340d4d823ef3a0847ef7.body +412 -0
- .cache/pip/http-v2/2/b/0/a/4/2b0a4fda1a2c912a5a1c5245a8b34b5da87876e311f607befabc98ee +0 -0
- .cache/pip/http-v2/2/b/0/a/4/2b0a4fda1a2c912a5a1c5245a8b34b5da87876e311f607befabc98ee.body +0 -0
- .cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9 +0 -0
- .cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9.body +145 -0
- .cache/pip/http-v2/2/d/6/8/c/2d68cb8c0f241b29ad33be7542692060ee719dcc402ab1ff4e929f83 +0 -0
- .cache/pip/http-v2/2/d/6/8/c/2d68cb8c0f241b29ad33be7542692060ee719dcc402ab1ff4e929f83.body +111 -0
- .cache/pip/http-v2/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6 +0 -0
- .cache/pip/http-v2/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6.body +0 -0
- .cache/pip/http-v2/9/0/f/6/e/90f6e704e426d3e4b799bd86b309263491ea7f0afc8f3ceaab5d10eb +0 -0
- .cache/pip/http-v2/9/0/f/6/e/90f6e704e426d3e4b799bd86b309263491ea7f0afc8f3ceaab5d10eb.body +3 -0
- .cache/pip/http-v2/9/6/7/8/5/967857dd3681a1bb83c9632aad9815556f1da84934ad6aa3be0d7700 +0 -0
- .cache/pip/http-v2/9/6/7/8/5/967857dd3681a1bb83c9632aad9815556f1da84934ad6aa3be0d7700.body +0 -0
- .cache/pip/http-v2/9/7/0/f/b/970fb010d96ba12f844b7b6b8685fd55f20ad694da9809705baa4f9b +0 -0
- .cache/pip/http-v2/9/7/0/f/b/970fb010d96ba12f844b7b6b8685fd55f20ad694da9809705baa4f9b.body +133 -0
- .cache/pip/http-v2/9/8/b/e/c/98bec8f6573cfda1d5b6925f60bc00cab60250ad06f2886adaa32c22 +0 -0
- .cache/pip/http-v2/9/b/0/a/e/9b0ae3352e0682a4ded5c6f53d9053328ff974179c7dcd6dac96d2a9 +0 -0
- .cache/pip/http-v2/9/b/0/a/e/9b0ae3352e0682a4ded5c6f53d9053328ff974179c7dcd6dac96d2a9.body +0 -0
- .cache/pip/http-v2/9/b/5/1/6/9b51619e20a708f99372afefd7dbe20a1b5e42ae213f02bf27267976 +0 -0
- .cache/pip/http-v2/9/e/2/9/3/9e293f5a39d8466e2b362aa21216c5e4bc32898b0a39bfff792d145e +0 -0
- .cache/pip/http-v2/9/e/2/9/3/9e293f5a39d8466e2b362aa21216c5e4bc32898b0a39bfff792d145e.body +0 -0
- .cache/pip/http-v2/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a +0 -0
- .cache/pip/http-v2/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a.body +0 -0
- .cache/pip/http-v2/a/3/2/f/7/a32f793a951b4bb55e15bb0126f9c9127aab8cec4ba5607016d8841e +0 -0
- .cache/pip/http-v2/a/7/a/1/2/a7a12c025695d568f5d73aa1b3adb9e9b040c3d15606f125747a2f15 +0 -0
- .cache/pip/http-v2/a/c/5/6/9/ac569c1941c64aa6b4e2bc732dcfb019d1e233f32f4bb312633b3c41 +0 -0
- .cache/pip/http-v2/a/e/9/0/5/ae905ac3658f15d83b271fa6713bc365c7430a1cd059609730ab0f27 +0 -0
- .cache/pip/http-v2/a/f/5/3/d/af53d10b2a0401eb083b4e24ccf3518cc83ed2a451d87928b17de49a +0 -0
- .cache/pip/http-v2/a/f/5/3/d/af53d10b2a0401eb083b4e24ccf3518cc83ed2a451d87928b17de49a.body +0 -0
- .cache/pip/http-v2/c/8/4/4/6/c84464fe37be1d534151bcdb9cc17e882f3b79853f43ffdb6425f333.body +1086 -0
- .cache/uv/.gitignore +1 -0
- .cache/uv/.lock +0 -0
- .cache/uv/CACHEDIR.TAG +1 -0
- .cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/METADATA +87 -0
- .cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/RECORD +7 -0
- .cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/WHEEL +5 -0
- .cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/licenses/LICENSE +201 -0
- .cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/sboms/hf_xet.cyclonedx.json +0 -0
- .cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet/__init__.py +5 -0
- .cache/uv/archive-v0/_qp7s-2UQBrykFVv616Yc/typing_extensions.py +0 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/METADATA +58 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/RECORD +344 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/WHEEL +4 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/entry_points.txt +2 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/licenses/AUTHORS +291 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/licenses/LICENSE +25 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments/__init__.py +82 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments/__main__.py +17 -0
- .cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments/cmdline.py +668 -0
.cache/pip/http-v2/2/3/5/3/9/235392053f2a1040f180b6ba82c549e2c6a0340d4d823ef3a0847ef7
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/2/3/5/3/9/235392053f2a1040f180b6ba82c549e2c6a0340d4d823ef3a0847ef7.body
ADDED
|
@@ -0,0 +1,412 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: typer
|
| 3 |
+
Version: 0.24.1
|
| 4 |
+
Summary: Typer, build great CLIs. Easy to code. Based on Python type hints.
|
| 5 |
+
Author-Email: =?utf-8?q?Sebasti=C3=A1n_Ram=C3=ADrez?= <tiangolo@gmail.com>
|
| 6 |
+
License-Expression: MIT
|
| 7 |
+
License-File: LICENSE
|
| 8 |
+
Classifier: Intended Audience :: Information Technology
|
| 9 |
+
Classifier: Intended Audience :: System Administrators
|
| 10 |
+
Classifier: Operating System :: OS Independent
|
| 11 |
+
Classifier: Programming Language :: Python :: 3
|
| 12 |
+
Classifier: Programming Language :: Python
|
| 13 |
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
| 14 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 15 |
+
Classifier: Topic :: Software Development :: Libraries
|
| 16 |
+
Classifier: Topic :: Software Development
|
| 17 |
+
Classifier: Typing :: Typed
|
| 18 |
+
Classifier: Development Status :: 4 - Beta
|
| 19 |
+
Classifier: Intended Audience :: Developers
|
| 20 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 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 |
+
Project-URL: Homepage, https://github.com/fastapi/typer
|
| 27 |
+
Project-URL: Documentation, https://typer.tiangolo.com
|
| 28 |
+
Project-URL: Repository, https://github.com/fastapi/typer
|
| 29 |
+
Project-URL: Issues, https://github.com/fastapi/typer/issues
|
| 30 |
+
Project-URL: Changelog, https://typer.tiangolo.com/release-notes/
|
| 31 |
+
Requires-Python: >=3.10
|
| 32 |
+
Requires-Dist: click>=8.2.1
|
| 33 |
+
Requires-Dist: shellingham>=1.3.0
|
| 34 |
+
Requires-Dist: rich>=12.3.0
|
| 35 |
+
Requires-Dist: annotated-doc>=0.0.2
|
| 36 |
+
Description-Content-Type: text/markdown
|
| 37 |
+
|
| 38 |
+
<p align="center">
|
| 39 |
+
<a href="https://typer.tiangolo.com"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg#only-light" alt="Typer"></a>
|
| 40 |
+
|
| 41 |
+
</p>
|
| 42 |
+
<p align="center">
|
| 43 |
+
<em>Typer, build great CLIs. Easy to code. Based on Python type hints.</em>
|
| 44 |
+
</p>
|
| 45 |
+
<p align="center">
|
| 46 |
+
<a href="https://github.com/fastapi/typer/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
|
| 47 |
+
<img src="https://github.com/fastapi/typer/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test">
|
| 48 |
+
</a>
|
| 49 |
+
<a href="https://github.com/fastapi/typer/actions?query=workflow%3APublish" target="_blank">
|
| 50 |
+
<img src="https://github.com/fastapi/typer/workflows/Publish/badge.svg" alt="Publish">
|
| 51 |
+
</a>
|
| 52 |
+
<a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/typer" target="_blank">
|
| 53 |
+
<img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/typer.svg" alt="Coverage">
|
| 54 |
+
<a href="https://pypi.org/project/typer" target="_blank">
|
| 55 |
+
<img src="https://img.shields.io/pypi/v/typer?color=%2334D058&label=pypi%20package" alt="Package version">
|
| 56 |
+
</a>
|
| 57 |
+
</p>
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
**Documentation**: <a href="https://typer.tiangolo.com" target="_blank">https://typer.tiangolo.com</a>
|
| 62 |
+
|
| 63 |
+
**Source Code**: <a href="https://github.com/fastapi/typer" target="_blank">https://github.com/fastapi/typer</a>
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
Typer is a library for building <abbr title="command line interface, programs executed from a terminal">CLI</abbr> applications that users will **love using** and developers will **love creating**. Based on Python type hints.
|
| 68 |
+
|
| 69 |
+
It's also a command line tool to run scripts, automatically converting them to CLI applications.
|
| 70 |
+
|
| 71 |
+
The key features are:
|
| 72 |
+
|
| 73 |
+
* **Intuitive to write**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs.
|
| 74 |
+
* **Easy to use**: It's easy to use for the final users. Automatic help, and automatic completion for all shells.
|
| 75 |
+
* **Short**: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
|
| 76 |
+
* **Start simple**: The simplest example adds only 2 lines of code to your app: **1 import, 1 function call**.
|
| 77 |
+
* **Grow large**: Grow in complexity as much as you want, create arbitrarily complex trees of commands and groups of subcommands, with options and arguments.
|
| 78 |
+
* **Run scripts**: Typer includes a `typer` command/program that you can use to run scripts, automatically converting them to CLIs, even if they don't use Typer internally.
|
| 79 |
+
|
| 80 |
+
## 2026 February - Typer developer survey
|
| 81 |
+
|
| 82 |
+
Help us define Typer's future by filling the <a href="https://forms.gle/nYvutPrVkmBQZLas7" class="external-link" target="_blank">Typer developer survey</a>. ✨
|
| 83 |
+
|
| 84 |
+
## FastAPI of CLIs
|
| 85 |
+
|
| 86 |
+
**Typer** is <a href="https://fastapi.tiangolo.com" class="external-link" target="_blank">FastAPI</a>'s little sibling, it's the FastAPI of CLIs.
|
| 87 |
+
|
| 88 |
+
## Installation
|
| 89 |
+
|
| 90 |
+
Create and activate a <a href="https://typer.tiangolo.com/virtual-environments/" class="external-link" target="_blank">virtual environment</a> and then install **Typer**:
|
| 91 |
+
|
| 92 |
+
<div class="termy">
|
| 93 |
+
|
| 94 |
+
```console
|
| 95 |
+
$ pip install typer
|
| 96 |
+
---> 100%
|
| 97 |
+
Successfully installed typer rich shellingham
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
## Example
|
| 103 |
+
|
| 104 |
+
### The absolute minimum
|
| 105 |
+
|
| 106 |
+
* Create a file `main.py` with:
|
| 107 |
+
|
| 108 |
+
```Python
|
| 109 |
+
def main(name: str):
|
| 110 |
+
print(f"Hello {name}")
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
This script doesn't even use Typer internally. But you can use the `typer` command to run it as a CLI application.
|
| 114 |
+
|
| 115 |
+
### Run it
|
| 116 |
+
|
| 117 |
+
Run your application with the `typer` command:
|
| 118 |
+
|
| 119 |
+
<div class="termy">
|
| 120 |
+
|
| 121 |
+
```console
|
| 122 |
+
// Run your application
|
| 123 |
+
$ typer main.py run
|
| 124 |
+
|
| 125 |
+
// You get a nice error, you are missing NAME
|
| 126 |
+
Usage: typer [PATH_OR_MODULE] run [OPTIONS] NAME
|
| 127 |
+
Try 'typer [PATH_OR_MODULE] run --help' for help.
|
| 128 |
+
╭─ Error ───────────────────────────────────────────╮
|
| 129 |
+
│ Missing argument 'NAME'. │
|
| 130 |
+
╰───────────────────────────────────────────────────╯
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
// You get a --help for free
|
| 134 |
+
$ typer main.py run --help
|
| 135 |
+
|
| 136 |
+
Usage: typer [PATH_OR_MODULE] run [OPTIONS] NAME
|
| 137 |
+
|
| 138 |
+
Run the provided Typer app.
|
| 139 |
+
|
| 140 |
+
╭─ Arguments ───────────────────────────────────────╮
|
| 141 |
+
│ * name TEXT [default: None] [required] |
|
| 142 |
+
╰───────────────────────────────────────────────────╯
|
| 143 |
+
╭─ Options ─────────────────────────────────────────╮
|
| 144 |
+
│ --help Show this message and exit. │
|
| 145 |
+
╰───────────────────────────────────────────────────╯
|
| 146 |
+
|
| 147 |
+
// Now pass the NAME argument
|
| 148 |
+
$ typer main.py run Camila
|
| 149 |
+
|
| 150 |
+
Hello Camila
|
| 151 |
+
|
| 152 |
+
// It works! 🎉
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
This is the simplest use case, not even using Typer internally, but it can already be quite useful for simple scripts.
|
| 158 |
+
|
| 159 |
+
**Note**: auto-completion works when you create a Python package and run it with `--install-completion` or when you use the `typer` command.
|
| 160 |
+
|
| 161 |
+
## Use Typer in your code
|
| 162 |
+
|
| 163 |
+
Now let's start using Typer in your own code, update `main.py` with:
|
| 164 |
+
|
| 165 |
+
```Python
|
| 166 |
+
import typer
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
def main(name: str):
|
| 170 |
+
print(f"Hello {name}")
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
if __name__ == "__main__":
|
| 174 |
+
typer.run(main)
|
| 175 |
+
```
|
| 176 |
+
|
| 177 |
+
Now you could run it with Python directly:
|
| 178 |
+
|
| 179 |
+
<div class="termy">
|
| 180 |
+
|
| 181 |
+
```console
|
| 182 |
+
// Run your application
|
| 183 |
+
$ python main.py
|
| 184 |
+
|
| 185 |
+
// You get a nice error, you are missing NAME
|
| 186 |
+
Usage: main.py [OPTIONS] NAME
|
| 187 |
+
Try 'main.py --help' for help.
|
| 188 |
+
╭─ Error ───────────────────────────────────────────╮
|
| 189 |
+
│ Missing argument 'NAME'. │
|
| 190 |
+
╰───────────────────────────────────────────────────╯
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
// You get a --help for free
|
| 194 |
+
$ python main.py --help
|
| 195 |
+
|
| 196 |
+
Usage: main.py [OPTIONS] NAME
|
| 197 |
+
|
| 198 |
+
╭─ Arguments ───────────────────────────────────────╮
|
| 199 |
+
│ * name TEXT [default: None] [required] |
|
| 200 |
+
╰───────────────────────────────────────────────────╯
|
| 201 |
+
╭─ Options ─────────────────────────────────────────╮
|
| 202 |
+
│ --help Show this message and exit. │
|
| 203 |
+
╰───────────────────────────────────────────────────╯
|
| 204 |
+
|
| 205 |
+
// Now pass the NAME argument
|
| 206 |
+
$ python main.py Camila
|
| 207 |
+
|
| 208 |
+
Hello Camila
|
| 209 |
+
|
| 210 |
+
// It works! 🎉
|
| 211 |
+
```
|
| 212 |
+
|
| 213 |
+
</div>
|
| 214 |
+
|
| 215 |
+
**Note**: you can also call this same script with the `typer` command, but you don't need to.
|
| 216 |
+
|
| 217 |
+
## Example upgrade
|
| 218 |
+
|
| 219 |
+
This was the simplest example possible.
|
| 220 |
+
|
| 221 |
+
Now let's see one a bit more complex.
|
| 222 |
+
|
| 223 |
+
### An example with two subcommands
|
| 224 |
+
|
| 225 |
+
Modify the file `main.py`.
|
| 226 |
+
|
| 227 |
+
Create a `typer.Typer()` app, and create two subcommands with their parameters.
|
| 228 |
+
|
| 229 |
+
```Python hl_lines="3 6 11 20"
|
| 230 |
+
import typer
|
| 231 |
+
|
| 232 |
+
app = typer.Typer()
|
| 233 |
+
|
| 234 |
+
|
| 235 |
+
@app.command()
|
| 236 |
+
def hello(name: str):
|
| 237 |
+
print(f"Hello {name}")
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
@app.command()
|
| 241 |
+
def goodbye(name: str, formal: bool = False):
|
| 242 |
+
if formal:
|
| 243 |
+
print(f"Goodbye Ms. {name}. Have a good day.")
|
| 244 |
+
else:
|
| 245 |
+
print(f"Bye {name}!")
|
| 246 |
+
|
| 247 |
+
|
| 248 |
+
if __name__ == "__main__":
|
| 249 |
+
app()
|
| 250 |
+
```
|
| 251 |
+
|
| 252 |
+
And that will:
|
| 253 |
+
|
| 254 |
+
* Explicitly create a `typer.Typer` app.
|
| 255 |
+
* The previous `typer.run` actually creates one implicitly for you.
|
| 256 |
+
* Add two subcommands with `@app.command()`.
|
| 257 |
+
* Execute the `app()` itself, as if it was a function (instead of `typer.run`).
|
| 258 |
+
|
| 259 |
+
### Run the upgraded example
|
| 260 |
+
|
| 261 |
+
Check the new help:
|
| 262 |
+
|
| 263 |
+
<div class="termy">
|
| 264 |
+
|
| 265 |
+
```console
|
| 266 |
+
$ python main.py --help
|
| 267 |
+
|
| 268 |
+
Usage: main.py [OPTIONS] COMMAND [ARGS]...
|
| 269 |
+
|
| 270 |
+
╭─ Options ───────────────────────────────��─────────╮
|
| 271 |
+
│ --install-completion Install completion │
|
| 272 |
+
│ for the current │
|
| 273 |
+
│ shell. │
|
| 274 |
+
│ --show-completion Show completion for │
|
| 275 |
+
│ the current shell, │
|
| 276 |
+
│ to copy it or │
|
| 277 |
+
│ customize the │
|
| 278 |
+
│ installation. │
|
| 279 |
+
│ --help Show this message │
|
| 280 |
+
│ and exit. │
|
| 281 |
+
╰───────────────────────────────────────────────────╯
|
| 282 |
+
╭─ Commands ────────────────────────────────────────╮
|
| 283 |
+
│ goodbye │
|
| 284 |
+
│ hello │
|
| 285 |
+
╰───────────────────────────────────────────────────╯
|
| 286 |
+
|
| 287 |
+
// When you create a package you get ✨ auto-completion ✨ for free, installed with --install-completion
|
| 288 |
+
|
| 289 |
+
// You have 2 subcommands (the 2 functions): goodbye and hello
|
| 290 |
+
```
|
| 291 |
+
|
| 292 |
+
</div>
|
| 293 |
+
|
| 294 |
+
Now check the help for the `hello` command:
|
| 295 |
+
|
| 296 |
+
<div class="termy">
|
| 297 |
+
|
| 298 |
+
```console
|
| 299 |
+
$ python main.py hello --help
|
| 300 |
+
|
| 301 |
+
Usage: main.py hello [OPTIONS] NAME
|
| 302 |
+
|
| 303 |
+
╭─ Arguments ───────────────────────────────────────╮
|
| 304 |
+
│ * name TEXT [default: None] [required] │
|
| 305 |
+
╰───────────────────────────────────────────────────╯
|
| 306 |
+
╭─ Options ─────────────────────────────────────────╮
|
| 307 |
+
│ --help Show this message and exit. │
|
| 308 |
+
╰───────────────────────────────────────────────────╯
|
| 309 |
+
```
|
| 310 |
+
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
And now check the help for the `goodbye` command:
|
| 314 |
+
|
| 315 |
+
<div class="termy">
|
| 316 |
+
|
| 317 |
+
```console
|
| 318 |
+
$ python main.py goodbye --help
|
| 319 |
+
|
| 320 |
+
Usage: main.py goodbye [OPTIONS] NAME
|
| 321 |
+
|
| 322 |
+
╭─ Arguments ───────────────────────────────────────╮
|
| 323 |
+
│ * name TEXT [default: None] [required] │
|
| 324 |
+
╰───────────────────────────────────────────────────╯
|
| 325 |
+
╭─ Options ─────────────────────────────────────────╮
|
| 326 |
+
│ --formal --no-formal [default: no-formal] │
|
| 327 |
+
│ --help Show this message │
|
| 328 |
+
│ and exit. │
|
| 329 |
+
╰───────────────────────────────────────────────────╯
|
| 330 |
+
|
| 331 |
+
// Automatic --formal and --no-formal for the bool option 🎉
|
| 332 |
+
```
|
| 333 |
+
|
| 334 |
+
</div>
|
| 335 |
+
|
| 336 |
+
Now you can try out the new command line application:
|
| 337 |
+
|
| 338 |
+
<div class="termy">
|
| 339 |
+
|
| 340 |
+
```console
|
| 341 |
+
// Use it with the hello command
|
| 342 |
+
|
| 343 |
+
$ python main.py hello Camila
|
| 344 |
+
|
| 345 |
+
Hello Camila
|
| 346 |
+
|
| 347 |
+
// And with the goodbye command
|
| 348 |
+
|
| 349 |
+
$ python main.py goodbye Camila
|
| 350 |
+
|
| 351 |
+
Bye Camila!
|
| 352 |
+
|
| 353 |
+
// And with --formal
|
| 354 |
+
|
| 355 |
+
$ python main.py goodbye --formal Camila
|
| 356 |
+
|
| 357 |
+
Goodbye Ms. Camila. Have a good day.
|
| 358 |
+
```
|
| 359 |
+
|
| 360 |
+
</div>
|
| 361 |
+
|
| 362 |
+
**Note**: If your app only has one command, by default the command name is **omitted** in usage: `python main.py Camila`. However, when there are multiple commands, you must **explicitly include the command name**: `python main.py hello Camila`. See [One or Multiple Commands](https://typer.tiangolo.com/tutorial/commands/one-or-multiple/) for more details.
|
| 363 |
+
|
| 364 |
+
### Recap
|
| 365 |
+
|
| 366 |
+
In summary, you declare **once** the types of parameters (*CLI arguments* and *CLI options*) as function parameters.
|
| 367 |
+
|
| 368 |
+
You do that with standard modern Python types.
|
| 369 |
+
|
| 370 |
+
You don't have to learn a new syntax, the methods or classes of a specific library, etc.
|
| 371 |
+
|
| 372 |
+
Just standard **Python**.
|
| 373 |
+
|
| 374 |
+
For example, for an `int`:
|
| 375 |
+
|
| 376 |
+
```Python
|
| 377 |
+
total: int
|
| 378 |
+
```
|
| 379 |
+
|
| 380 |
+
or for a `bool` flag:
|
| 381 |
+
|
| 382 |
+
```Python
|
| 383 |
+
force: bool
|
| 384 |
+
```
|
| 385 |
+
|
| 386 |
+
And similarly for **files**, **paths**, **enums** (choices), etc. And there are tools to create **groups of subcommands**, add metadata, extra **validation**, etc.
|
| 387 |
+
|
| 388 |
+
**You get**: great editor support, including **completion** and **type checks** everywhere.
|
| 389 |
+
|
| 390 |
+
**Your users get**: automatic **`--help`**, **auto-completion** in their terminal (Bash, Zsh, Fish, PowerShell) when they install your package or when using the `typer` command.
|
| 391 |
+
|
| 392 |
+
For a more complete example including more features, see the <a href="https://typer.tiangolo.com/tutorial/">Tutorial - User Guide</a>.
|
| 393 |
+
|
| 394 |
+
## Dependencies
|
| 395 |
+
|
| 396 |
+
**Typer** stands on the shoulders of giants. It has three required dependencies:
|
| 397 |
+
|
| 398 |
+
* <a href="https://click.palletsprojects.com/" class="external-link" target="_blank">Click</a>: a popular tool for building CLIs in Python. Typer is based on it.
|
| 399 |
+
* <a href="https://rich.readthedocs.io/en/stable/index.html" class="external-link" target="_blank"><code>rich</code></a>: to show nicely formatted errors automatically.
|
| 400 |
+
* <a href="https://github.com/sarugaku/shellingham" class="external-link" target="_blank"><code>shellingham</code></a>: to automatically detect the current shell when installing completion.
|
| 401 |
+
|
| 402 |
+
### `typer-slim`
|
| 403 |
+
|
| 404 |
+
There used to be a slimmed-down version of Typer called `typer-slim`, which didn't include the dependencies `rich` and `shellingham`, nor the `typer` command.
|
| 405 |
+
|
| 406 |
+
However, since version 0.22.0, we have stopped supporting this, and `typer-slim` now simply installs (all of) Typer.
|
| 407 |
+
|
| 408 |
+
If you want to disable Rich globally, you can set an environmental variable `TYPER_USE_RICH` to `False` or `0`.
|
| 409 |
+
|
| 410 |
+
## License
|
| 411 |
+
|
| 412 |
+
This project is licensed under the terms of the MIT license.
|
.cache/pip/http-v2/2/b/0/a/4/2b0a4fda1a2c912a5a1c5245a8b34b5da87876e311f607befabc98ee
ADDED
|
Binary file (1.16 kB). View file
|
|
|
.cache/pip/http-v2/2/b/0/a/4/2b0a4fda1a2c912a5a1c5245a8b34b5da87876e311f607befabc98ee.body
ADDED
|
Binary file (87.3 kB). View file
|
|
|
.cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9
ADDED
|
Binary file (1.23 kB). View file
|
|
|
.cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9.body
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: annotated-doc
|
| 3 |
+
Version: 0.0.4
|
| 4 |
+
Summary: Document parameters, class attributes, return types, and variables inline, with Annotated.
|
| 5 |
+
Author-Email: =?utf-8?q?Sebasti=C3=A1n_Ram=C3=ADrez?= <tiangolo@gmail.com>
|
| 6 |
+
License-Expression: MIT
|
| 7 |
+
License-File: LICENSE
|
| 8 |
+
Classifier: Intended Audience :: Information Technology
|
| 9 |
+
Classifier: Intended Audience :: System Administrators
|
| 10 |
+
Classifier: Operating System :: OS Independent
|
| 11 |
+
Classifier: Programming Language :: Python :: 3
|
| 12 |
+
Classifier: Programming Language :: Python
|
| 13 |
+
Classifier: Topic :: Internet
|
| 14 |
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
| 15 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 16 |
+
Classifier: Topic :: Software Development :: Libraries
|
| 17 |
+
Classifier: Topic :: Software Development
|
| 18 |
+
Classifier: Typing :: Typed
|
| 19 |
+
Classifier: Development Status :: 4 - Beta
|
| 20 |
+
Classifier: Intended Audience :: Developers
|
| 21 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 22 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 24 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 25 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 26 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 27 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 28 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 29 |
+
Project-URL: Homepage, https://github.com/fastapi/annotated-doc
|
| 30 |
+
Project-URL: Documentation, https://github.com/fastapi/annotated-doc
|
| 31 |
+
Project-URL: Repository, https://github.com/fastapi/annotated-doc
|
| 32 |
+
Project-URL: Issues, https://github.com/fastapi/annotated-doc/issues
|
| 33 |
+
Project-URL: Changelog, https://github.com/fastapi/annotated-doc/release-notes.md
|
| 34 |
+
Requires-Python: >=3.8
|
| 35 |
+
Description-Content-Type: text/markdown
|
| 36 |
+
|
| 37 |
+
# Annotated Doc
|
| 38 |
+
|
| 39 |
+
Document parameters, class attributes, return types, and variables inline, with `Annotated`.
|
| 40 |
+
|
| 41 |
+
<a href="https://github.com/fastapi/annotated-doc/actions?query=workflow%3ATest+event%3Apush+branch%3Amain" target="_blank">
|
| 42 |
+
<img src="https://github.com/fastapi/annotated-doc/actions/workflows/test.yml/badge.svg?event=push&branch=main" alt="Test">
|
| 43 |
+
</a>
|
| 44 |
+
<a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/annotated-doc" target="_blank">
|
| 45 |
+
<img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/annotated-doc.svg" alt="Coverage">
|
| 46 |
+
</a>
|
| 47 |
+
<a href="https://pypi.org/project/annotated-doc" target="_blank">
|
| 48 |
+
<img src="https://img.shields.io/pypi/v/annotated-doc?color=%2334D058&label=pypi%20package" alt="Package version">
|
| 49 |
+
</a>
|
| 50 |
+
<a href="https://pypi.org/project/annotated-doc" target="_blank">
|
| 51 |
+
<img src="https://img.shields.io/pypi/pyversions/annotated-doc.svg?color=%2334D058" alt="Supported Python versions">
|
| 52 |
+
</a>
|
| 53 |
+
|
| 54 |
+
## Installation
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
pip install annotated-doc
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
Or with `uv`:
|
| 61 |
+
|
| 62 |
+
```Python
|
| 63 |
+
uv add annotated-doc
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Usage
|
| 67 |
+
|
| 68 |
+
Import `Doc` and pass a single literal string with the documentation for the specific parameter, class attribute, return type, or variable.
|
| 69 |
+
|
| 70 |
+
For example, to document a parameter `name` in a function `hi` you could do:
|
| 71 |
+
|
| 72 |
+
```Python
|
| 73 |
+
from typing import Annotated
|
| 74 |
+
|
| 75 |
+
from annotated_doc import Doc
|
| 76 |
+
|
| 77 |
+
def hi(name: Annotated[str, Doc("Who to say hi to")]) -> None:
|
| 78 |
+
print(f"Hi, {name}!")
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
You can also use it to document class attributes:
|
| 82 |
+
|
| 83 |
+
```Python
|
| 84 |
+
from typing import Annotated
|
| 85 |
+
|
| 86 |
+
from annotated_doc import Doc
|
| 87 |
+
|
| 88 |
+
class User:
|
| 89 |
+
name: Annotated[str, Doc("The user's name")]
|
| 90 |
+
age: Annotated[int, Doc("The user's age")]
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
The same way, you could document return types and variables, or anything that could have a type annotation with `Annotated`.
|
| 94 |
+
|
| 95 |
+
## Who Uses This
|
| 96 |
+
|
| 97 |
+
`annotated-doc` was made for:
|
| 98 |
+
|
| 99 |
+
* [FastAPI](https://fastapi.tiangolo.com/)
|
| 100 |
+
* [Typer](https://typer.tiangolo.com/)
|
| 101 |
+
* [SQLModel](https://sqlmodel.tiangolo.com/)
|
| 102 |
+
* [Asyncer](https://asyncer.tiangolo.com/)
|
| 103 |
+
|
| 104 |
+
`annotated-doc` is supported by [griffe-typingdoc](https://github.com/mkdocstrings/griffe-typingdoc), which powers reference documentation like the one in the [FastAPI Reference](https://fastapi.tiangolo.com/reference/).
|
| 105 |
+
|
| 106 |
+
## Reasons not to use `annotated-doc`
|
| 107 |
+
|
| 108 |
+
You are already comfortable with one of the existing docstring formats, like:
|
| 109 |
+
|
| 110 |
+
* Sphinx
|
| 111 |
+
* numpydoc
|
| 112 |
+
* Google
|
| 113 |
+
* Keras
|
| 114 |
+
|
| 115 |
+
Your team is already comfortable using them.
|
| 116 |
+
|
| 117 |
+
You prefer having the documentation about parameters all together in a docstring, separated from the code defining them.
|
| 118 |
+
|
| 119 |
+
You care about a specific set of users, using one specific editor, and that editor already has support for the specific docstring format you use.
|
| 120 |
+
|
| 121 |
+
## Reasons to use `annotated-doc`
|
| 122 |
+
|
| 123 |
+
* No micro-syntax to learn for newcomers, it’s **just Python** syntax.
|
| 124 |
+
* **Editing** would be already fully supported by default by any editor (current or future) supporting Python syntax, including syntax errors, syntax highlighting, etc.
|
| 125 |
+
* **Rendering** would be relatively straightforward to implement by static tools (tools that don't need runtime execution), as the information can be extracted from the AST they normally already create.
|
| 126 |
+
* **Deduplication of information**: the name of a parameter would be defined in a single place, not duplicated inside of a docstring.
|
| 127 |
+
* **Elimination** of the possibility of having **inconsistencies** when removing a parameter or class variable and **forgetting to remove** its documentation.
|
| 128 |
+
* **Minimization** of the probability of adding a new parameter or class variable and **forgetting to add its documentation**.
|
| 129 |
+
* **Elimination** of the possibility of having **inconsistencies** between the **name** of a parameter in the **signature** and the name in the docstring when it is renamed.
|
| 130 |
+
* **Access** to the documentation string for each symbol at **runtime**, including existing (older) Python versions.
|
| 131 |
+
* A more formalized way to document other symbols, like type aliases, that could use Annotated.
|
| 132 |
+
* **Support** for apps using FastAPI, Typer and others.
|
| 133 |
+
* **AI Accessibility**: AI tools will have an easier way understanding each parameter as the distance from documentation to parameter is much closer.
|
| 134 |
+
|
| 135 |
+
## History
|
| 136 |
+
|
| 137 |
+
I ([@tiangolo](https://github.com/tiangolo)) originally wanted for this to be part of the Python standard library (in [PEP 727](https://peps.python.org/pep-0727/)), but the proposal was withdrawn as there was a fair amount of negative feedback and opposition.
|
| 138 |
+
|
| 139 |
+
The conclusion was that this was better done as an external effort, in a third-party library.
|
| 140 |
+
|
| 141 |
+
So, here it is, with a simpler approach, as a third-party library, in a way that can be used by others, starting with FastAPI and friends.
|
| 142 |
+
|
| 143 |
+
## License
|
| 144 |
+
|
| 145 |
+
This project is licensed under the terms of the MIT license.
|
.cache/pip/http-v2/2/d/6/8/c/2d68cb8c0f241b29ad33be7542692060ee719dcc402ab1ff4e929f83
ADDED
|
Binary file (1.19 kB). View file
|
|
|
.cache/pip/http-v2/2/d/6/8/c/2d68cb8c0f241b29ad33be7542692060ee719dcc402ab1ff4e929f83.body
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: pip
|
| 3 |
+
Version: 26.0.1
|
| 4 |
+
Summary: The PyPA recommended tool for installing Python packages.
|
| 5 |
+
Author-email: The pip developers <distutils-sig@python.org>
|
| 6 |
+
Requires-Python: >=3.9
|
| 7 |
+
Description-Content-Type: text/x-rst
|
| 8 |
+
License-Expression: MIT
|
| 9 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 10 |
+
Classifier: Intended Audience :: Developers
|
| 11 |
+
Classifier: Topic :: Software Development :: Build Tools
|
| 12 |
+
Classifier: Programming Language :: Python
|
| 13 |
+
Classifier: Programming Language :: Python :: 3
|
| 14 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 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 :: Implementation :: CPython
|
| 22 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 23 |
+
License-File: AUTHORS.txt
|
| 24 |
+
License-File: LICENSE.txt
|
| 25 |
+
License-File: src/pip/_vendor/cachecontrol/LICENSE.txt
|
| 26 |
+
License-File: src/pip/_vendor/certifi/LICENSE
|
| 27 |
+
License-File: src/pip/_vendor/dependency_groups/LICENSE.txt
|
| 28 |
+
License-File: src/pip/_vendor/distlib/LICENSE.txt
|
| 29 |
+
License-File: src/pip/_vendor/distro/LICENSE
|
| 30 |
+
License-File: src/pip/_vendor/idna/LICENSE.md
|
| 31 |
+
License-File: src/pip/_vendor/msgpack/COPYING
|
| 32 |
+
License-File: src/pip/_vendor/packaging/LICENSE
|
| 33 |
+
License-File: src/pip/_vendor/packaging/LICENSE.APACHE
|
| 34 |
+
License-File: src/pip/_vendor/packaging/LICENSE.BSD
|
| 35 |
+
License-File: src/pip/_vendor/pkg_resources/LICENSE
|
| 36 |
+
License-File: src/pip/_vendor/platformdirs/LICENSE
|
| 37 |
+
License-File: src/pip/_vendor/pygments/LICENSE
|
| 38 |
+
License-File: src/pip/_vendor/pyproject_hooks/LICENSE
|
| 39 |
+
License-File: src/pip/_vendor/requests/LICENSE
|
| 40 |
+
License-File: src/pip/_vendor/resolvelib/LICENSE
|
| 41 |
+
License-File: src/pip/_vendor/rich/LICENSE
|
| 42 |
+
License-File: src/pip/_vendor/tomli/LICENSE
|
| 43 |
+
License-File: src/pip/_vendor/tomli_w/LICENSE
|
| 44 |
+
License-File: src/pip/_vendor/truststore/LICENSE
|
| 45 |
+
License-File: src/pip/_vendor/urllib3/LICENSE.txt
|
| 46 |
+
Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
|
| 47 |
+
Project-URL: Documentation, https://pip.pypa.io
|
| 48 |
+
Project-URL: Homepage, https://pip.pypa.io/
|
| 49 |
+
Project-URL: Source, https://github.com/pypa/pip
|
| 50 |
+
|
| 51 |
+
pip - The Python Package Installer
|
| 52 |
+
==================================
|
| 53 |
+
|
| 54 |
+
.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
|
| 55 |
+
:target: https://pypi.org/project/pip/
|
| 56 |
+
:alt: PyPI
|
| 57 |
+
|
| 58 |
+
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
|
| 59 |
+
:target: https://pypi.org/project/pip
|
| 60 |
+
:alt: PyPI - Python Version
|
| 61 |
+
|
| 62 |
+
.. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
|
| 63 |
+
:target: https://pip.pypa.io/en/latest
|
| 64 |
+
:alt: Documentation
|
| 65 |
+
|
| 66 |
+
|pypi-version| |python-versions| |docs-badge|
|
| 67 |
+
|
| 68 |
+
pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
|
| 69 |
+
|
| 70 |
+
Please take a look at our documentation for how to install and use pip:
|
| 71 |
+
|
| 72 |
+
* `Installation`_
|
| 73 |
+
* `Usage`_
|
| 74 |
+
|
| 75 |
+
We release updates regularly, with a new version every 3 months. Find more details in our documentation:
|
| 76 |
+
|
| 77 |
+
* `Release notes`_
|
| 78 |
+
* `Release process`_
|
| 79 |
+
|
| 80 |
+
If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
|
| 81 |
+
|
| 82 |
+
* `Issue tracking`_
|
| 83 |
+
* `Discourse channel`_
|
| 84 |
+
* `User IRC`_
|
| 85 |
+
|
| 86 |
+
If you want to get involved, head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:
|
| 87 |
+
|
| 88 |
+
* `GitHub page`_
|
| 89 |
+
* `Development documentation`_
|
| 90 |
+
* `Development IRC`_
|
| 91 |
+
|
| 92 |
+
Code of Conduct
|
| 93 |
+
---------------
|
| 94 |
+
|
| 95 |
+
Everyone interacting in the pip project's codebases, issue trackers, chat
|
| 96 |
+
rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
|
| 97 |
+
|
| 98 |
+
.. _package installer: https://packaging.python.org/guides/tool-recommendations/
|
| 99 |
+
.. _Python Package Index: https://pypi.org
|
| 100 |
+
.. _Installation: https://pip.pypa.io/en/stable/installation/
|
| 101 |
+
.. _Usage: https://pip.pypa.io/en/stable/
|
| 102 |
+
.. _Release notes: https://pip.pypa.io/en/stable/news.html
|
| 103 |
+
.. _Release process: https://pip.pypa.io/en/latest/development/release-process/
|
| 104 |
+
.. _GitHub page: https://github.com/pypa/pip
|
| 105 |
+
.. _Development documentation: https://pip.pypa.io/en/latest/development
|
| 106 |
+
.. _Issue tracking: https://github.com/pypa/pip/issues
|
| 107 |
+
.. _Discourse channel: https://discuss.python.org/c/packaging
|
| 108 |
+
.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
|
| 109 |
+
.. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev
|
| 110 |
+
.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
|
| 111 |
+
|
.cache/pip/http-v2/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6
ADDED
|
Binary file (1.86 kB). View file
|
|
|
.cache/pip/http-v2/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6.body
ADDED
|
Binary file (66.8 kB). View file
|
|
|
.cache/pip/http-v2/9/0/f/6/e/90f6e704e426d3e4b799bd86b309263491ea7f0afc8f3ceaab5d10eb
ADDED
|
Binary file (1.17 kB). View file
|
|
|
.cache/pip/http-v2/9/0/f/6/e/90f6e704e426d3e4b799bd86b309263491ea7f0afc8f3ceaab5d10eb.body
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c34e09047771aa4dd8878b4f899e8125700cd1f8f7db16e58c37204154151a05
|
| 3 |
+
size 154789
|
.cache/pip/http-v2/9/6/7/8/5/967857dd3681a1bb83c9632aad9815556f1da84934ad6aa3be0d7700
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/9/6/7/8/5/967857dd3681a1bb83c9632aad9815556f1da84934ad6aa3be0d7700.body
ADDED
|
Binary file (1.1 kB). View file
|
|
|
.cache/pip/http-v2/9/7/0/f/b/970fb010d96ba12f844b7b6b8685fd55f20ad694da9809705baa4f9b
ADDED
|
Binary file (1.2 kB). View file
|
|
|
.cache/pip/http-v2/9/7/0/f/b/970fb010d96ba12f844b7b6b8685fd55f20ad694da9809705baa4f9b.body
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: safetensors
|
| 3 |
+
Version: 0.7.0
|
| 4 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 5 |
+
Classifier: Intended Audience :: Developers
|
| 6 |
+
Classifier: Intended Audience :: Education
|
| 7 |
+
Classifier: Intended Audience :: Science/Research
|
| 8 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
| 9 |
+
Classifier: Operating System :: OS Independent
|
| 10 |
+
Classifier: Programming Language :: Python :: 3
|
| 11 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 12 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 13 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 14 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 15 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
| 16 |
+
Classifier: Typing :: Typed
|
| 17 |
+
Requires-Dist: numpy>=1.21.6 ; extra == 'numpy'
|
| 18 |
+
Requires-Dist: packaging ; extra == 'torch'
|
| 19 |
+
Requires-Dist: safetensors[numpy] ; extra == 'torch'
|
| 20 |
+
Requires-Dist: torch>=1.10 ; extra == 'torch'
|
| 21 |
+
Requires-Dist: safetensors[numpy] ; extra == 'tensorflow'
|
| 22 |
+
Requires-Dist: tensorflow>=2.11.0 ; extra == 'tensorflow'
|
| 23 |
+
Requires-Dist: safetensors[numpy] ; extra == 'pinned-tf'
|
| 24 |
+
Requires-Dist: tensorflow==2.18.0 ; extra == 'pinned-tf'
|
| 25 |
+
Requires-Dist: safetensors[numpy] ; extra == 'jax'
|
| 26 |
+
Requires-Dist: flax>=0.6.3 ; extra == 'jax'
|
| 27 |
+
Requires-Dist: jax>=0.3.25 ; extra == 'jax'
|
| 28 |
+
Requires-Dist: jaxlib>=0.3.25 ; extra == 'jax'
|
| 29 |
+
Requires-Dist: mlx>=0.0.9 ; extra == 'mlx'
|
| 30 |
+
Requires-Dist: safetensors[numpy] ; extra == 'paddlepaddle'
|
| 31 |
+
Requires-Dist: paddlepaddle>=2.4.1 ; extra == 'paddlepaddle'
|
| 32 |
+
Requires-Dist: ruff ; extra == 'quality'
|
| 33 |
+
Requires-Dist: safetensors[numpy] ; extra == 'testing'
|
| 34 |
+
Requires-Dist: h5py>=3.7.0 ; extra == 'testing'
|
| 35 |
+
Requires-Dist: huggingface-hub>=0.12.1 ; extra == 'testing'
|
| 36 |
+
Requires-Dist: setuptools-rust>=1.5.2 ; extra == 'testing'
|
| 37 |
+
Requires-Dist: pytest>=7.2.0 ; extra == 'testing'
|
| 38 |
+
Requires-Dist: pytest-benchmark>=4.0.0 ; extra == 'testing'
|
| 39 |
+
Requires-Dist: hypothesis>=6.70.2 ; extra == 'testing'
|
| 40 |
+
Requires-Dist: safetensors[numpy] ; extra == 'testingfree'
|
| 41 |
+
Requires-Dist: huggingface-hub>=0.12.1 ; extra == 'testingfree'
|
| 42 |
+
Requires-Dist: setuptools-rust>=1.5.2 ; extra == 'testingfree'
|
| 43 |
+
Requires-Dist: pytest>=7.2.0 ; extra == 'testingfree'
|
| 44 |
+
Requires-Dist: pytest-benchmark>=4.0.0 ; extra == 'testingfree'
|
| 45 |
+
Requires-Dist: hypothesis>=6.70.2 ; extra == 'testingfree'
|
| 46 |
+
Requires-Dist: safetensors[torch] ; extra == 'all'
|
| 47 |
+
Requires-Dist: safetensors[numpy] ; extra == 'all'
|
| 48 |
+
Requires-Dist: safetensors[pinned-tf] ; extra == 'all'
|
| 49 |
+
Requires-Dist: safetensors[jax] ; extra == 'all'
|
| 50 |
+
Requires-Dist: safetensors[paddlepaddle] ; extra == 'all'
|
| 51 |
+
Requires-Dist: safetensors[quality] ; extra == 'all'
|
| 52 |
+
Requires-Dist: safetensors[testing] ; extra == 'all'
|
| 53 |
+
Requires-Dist: safetensors[all] ; extra == 'dev'
|
| 54 |
+
Provides-Extra: numpy
|
| 55 |
+
Provides-Extra: torch
|
| 56 |
+
Provides-Extra: tensorflow
|
| 57 |
+
Provides-Extra: pinned-tf
|
| 58 |
+
Provides-Extra: jax
|
| 59 |
+
Provides-Extra: mlx
|
| 60 |
+
Provides-Extra: paddlepaddle
|
| 61 |
+
Provides-Extra: quality
|
| 62 |
+
Provides-Extra: testing
|
| 63 |
+
Provides-Extra: testingfree
|
| 64 |
+
Provides-Extra: all
|
| 65 |
+
Provides-Extra: dev
|
| 66 |
+
License-File: LICENSE
|
| 67 |
+
Author-email: Nicolas Patry <patry.nicolas@protonmail.com>
|
| 68 |
+
Requires-Python: >=3.9
|
| 69 |
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
| 70 |
+
Project-URL: Homepage, https://github.com/huggingface/safetensors
|
| 71 |
+
Project-URL: Source, https://github.com/huggingface/safetensors
|
| 72 |
+
|
| 73 |
+
## Installation
|
| 74 |
+
|
| 75 |
+
```
|
| 76 |
+
pip install safetensors
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
## Usage
|
| 81 |
+
|
| 82 |
+
### Numpy
|
| 83 |
+
|
| 84 |
+
```python
|
| 85 |
+
from safetensors.numpy import save_file, load_file
|
| 86 |
+
import numpy as np
|
| 87 |
+
|
| 88 |
+
tensors = {
|
| 89 |
+
"a": np.zeros((2, 2)),
|
| 90 |
+
"b": np.zeros((2, 3), dtype=np.uint8)
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
save_file(tensors, "./model.safetensors")
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
# Now loading
|
| 97 |
+
loaded = load_file("./model.safetensors")
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
### Torch
|
| 101 |
+
|
| 102 |
+
```python
|
| 103 |
+
from safetensors.torch import save_file, load_file
|
| 104 |
+
import torch
|
| 105 |
+
|
| 106 |
+
tensors = {
|
| 107 |
+
"a": torch.zeros((2, 2)),
|
| 108 |
+
"b": torch.zeros((2, 3), dtype=torch.uint8)
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
save_file(tensors, "./model.safetensors")
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
# Now loading
|
| 115 |
+
loaded = load_file("./model.safetensors")
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
### Developing
|
| 119 |
+
|
| 120 |
+
```
|
| 121 |
+
# inside ./safetensors/bindings/python
|
| 122 |
+
pip install .[dev]
|
| 123 |
+
```
|
| 124 |
+
Should be enough to install this library locally.
|
| 125 |
+
|
| 126 |
+
### Testing
|
| 127 |
+
|
| 128 |
+
```
|
| 129 |
+
# inside ./safetensors/bindings/python
|
| 130 |
+
pip install .[dev]
|
| 131 |
+
pytest -sv tests/
|
| 132 |
+
```
|
| 133 |
+
|
.cache/pip/http-v2/9/8/b/e/c/98bec8f6573cfda1d5b6925f60bc00cab60250ad06f2886adaa32c22
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/9/b/0/a/e/9b0ae3352e0682a4ded5c6f53d9053328ff974179c7dcd6dac96d2a9
ADDED
|
Binary file (1.86 kB). View file
|
|
|
.cache/pip/http-v2/9/b/0/a/e/9b0ae3352e0682a4ded5c6f53d9053328ff974179c7dcd6dac96d2a9.body
ADDED
|
Binary file (16 kB). View file
|
|
|
.cache/pip/http-v2/9/b/5/1/6/9b51619e20a708f99372afefd7dbe20a1b5e42ae213f02bf27267976
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/9/e/2/9/3/9e293f5a39d8466e2b362aa21216c5e4bc32898b0a39bfff792d145e
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/9/e/2/9/3/9e293f5a39d8466e2b362aa21216c5e4bc32898b0a39bfff792d145e.body
ADDED
|
Binary file (1.41 kB). View file
|
|
|
.cache/pip/http-v2/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a.body
ADDED
|
Binary file (37 kB). View file
|
|
|
.cache/pip/http-v2/a/3/2/f/7/a32f793a951b4bb55e15bb0126f9c9127aab8cec4ba5607016d8841e
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/a/7/a/1/2/a7a12c025695d568f5d73aa1b3adb9e9b040c3d15606f125747a2f15
ADDED
|
Binary file (1.13 kB). View file
|
|
|
.cache/pip/http-v2/a/c/5/6/9/ac569c1941c64aa6b4e2bc732dcfb019d1e233f32f4bb312633b3c41
ADDED
|
Binary file (1.15 kB). View file
|
|
|
.cache/pip/http-v2/a/e/9/0/5/ae905ac3658f15d83b271fa6713bc365c7430a1cd059609730ab0f27
ADDED
|
Binary file (1.12 kB). View file
|
|
|
.cache/pip/http-v2/a/f/5/3/d/af53d10b2a0401eb083b4e24ccf3518cc83ed2a451d87928b17de49a
ADDED
|
Binary file (1.85 kB). View file
|
|
|
.cache/pip/http-v2/a/f/5/3/d/af53d10b2a0401eb083b4e24ccf3518cc83ed2a451d87928b17de49a.body
ADDED
|
Binary file (12.4 kB). View file
|
|
|
.cache/pip/http-v2/c/8/4/4/6/c84464fe37be1d534151bcdb9cc17e882f3b79853f43ffdb6425f333.body
ADDED
|
@@ -0,0 +1,1086 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: scipy
|
| 3 |
+
Version: 1.17.1
|
| 4 |
+
Summary: Fundamental algorithms for scientific computing in Python
|
| 5 |
+
Maintainer-Email: SciPy Developers <scipy-dev@python.org>
|
| 6 |
+
License: Copyright (c) 2001-2002 Enthought, Inc. 2003, SciPy Developers.
|
| 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
|
| 11 |
+
are met:
|
| 12 |
+
|
| 13 |
+
1. Redistributions of source code must retain the above copyright
|
| 14 |
+
notice, this list of conditions and the following disclaimer.
|
| 15 |
+
|
| 16 |
+
2. Redistributions in binary form must reproduce the above
|
| 17 |
+
copyright notice, this list of conditions and the following
|
| 18 |
+
disclaimer in the documentation and/or other materials provided
|
| 19 |
+
with the distribution.
|
| 20 |
+
|
| 21 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 22 |
+
contributors may be used to endorse or promote products derived
|
| 23 |
+
from this software without specific prior written permission.
|
| 24 |
+
|
| 25 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 26 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 27 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 28 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 29 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 30 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 31 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 32 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 33 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 34 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 35 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 36 |
+
|
| 37 |
+
----
|
| 38 |
+
|
| 39 |
+
This binary distribution of SciPy can also bundle the following software
|
| 40 |
+
(depending on the build):
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
Name: OpenBLAS
|
| 44 |
+
Files: scipy.libs/libscipy_openblas*.so
|
| 45 |
+
Description: bundled as a dynamically linked library
|
| 46 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
| 47 |
+
License: BSD-3-Clause
|
| 48 |
+
Copyright (c) 2011-2014, The OpenBLAS Project
|
| 49 |
+
All rights reserved.
|
| 50 |
+
|
| 51 |
+
Redistribution and use in source and binary forms, with or without
|
| 52 |
+
modification, are permitted provided that the following conditions are
|
| 53 |
+
met:
|
| 54 |
+
|
| 55 |
+
1. Redistributions of source code must retain the above copyright
|
| 56 |
+
notice, this list of conditions and the following disclaimer.
|
| 57 |
+
|
| 58 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 59 |
+
notice, this list of conditions and the following disclaimer in
|
| 60 |
+
the documentation and/or other materials provided with the
|
| 61 |
+
distribution.
|
| 62 |
+
3. Neither the name of the OpenBLAS project nor the names of
|
| 63 |
+
its contributors may be used to endorse or promote products
|
| 64 |
+
derived from this software without specific prior written
|
| 65 |
+
permission.
|
| 66 |
+
|
| 67 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 68 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 69 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 70 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 71 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 72 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 73 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 74 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 75 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 76 |
+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
Name: LAPACK
|
| 80 |
+
Files: scipy.libs/libscipy_openblas*.so
|
| 81 |
+
Description: bundled in OpenBLAS
|
| 82 |
+
Availability: https://github.com/OpenMathLib/OpenBLAS/
|
| 83 |
+
License: BSD-3-Clause-Open-MPI
|
| 84 |
+
Copyright (c) 1992-2013 The University of Tennessee and The University
|
| 85 |
+
of Tennessee Research Foundation. All rights
|
| 86 |
+
reserved.
|
| 87 |
+
Copyright (c) 2000-2013 The University of California Berkeley. All
|
| 88 |
+
rights reserved.
|
| 89 |
+
Copyright (c) 2006-2013 The University of Colorado Denver. All rights
|
| 90 |
+
reserved.
|
| 91 |
+
|
| 92 |
+
$COPYRIGHT$
|
| 93 |
+
|
| 94 |
+
Additional copyrights may follow
|
| 95 |
+
|
| 96 |
+
$HEADER$
|
| 97 |
+
|
| 98 |
+
Redistribution and use in source and binary forms, with or without
|
| 99 |
+
modification, are permitted provided that the following conditions are
|
| 100 |
+
met:
|
| 101 |
+
|
| 102 |
+
- Redistributions of source code must retain the above copyright
|
| 103 |
+
notice, this list of conditions and the following disclaimer.
|
| 104 |
+
|
| 105 |
+
- Redistributions in binary form must reproduce the above copyright
|
| 106 |
+
notice, this list of conditions and the following disclaimer listed
|
| 107 |
+
in this license in the documentation and/or other materials
|
| 108 |
+
provided with the distribution.
|
| 109 |
+
|
| 110 |
+
- Neither the name of the copyright holders nor the names of its
|
| 111 |
+
contributors may be used to endorse or promote products derived from
|
| 112 |
+
this software without specific prior written permission.
|
| 113 |
+
|
| 114 |
+
The copyright holders provide no reassurances that the source code
|
| 115 |
+
provided does not infringe any patent, copyright, or any other
|
| 116 |
+
intellectual property rights of third parties. The copyright holders
|
| 117 |
+
disclaim any liability to any recipient for claims brought against
|
| 118 |
+
recipient by any third party for infringement of that parties
|
| 119 |
+
intellectual property rights.
|
| 120 |
+
|
| 121 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 122 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 123 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 124 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 125 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 126 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 127 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 128 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 129 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 130 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 131 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
Name: GCC runtime library
|
| 135 |
+
Files: scipy.libs/libgfortran*.so
|
| 136 |
+
Description: dynamically linked to files compiled with gcc
|
| 137 |
+
Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran
|
| 138 |
+
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
| 139 |
+
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
| 140 |
+
|
| 141 |
+
Libgfortran is free software; you can redistribute it and/or modify
|
| 142 |
+
it under the terms of the GNU General Public License as published by
|
| 143 |
+
the Free Software Foundation; either version 3, or (at your option)
|
| 144 |
+
any later version.
|
| 145 |
+
|
| 146 |
+
Libgfortran is distributed in the hope that it will be useful,
|
| 147 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 148 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 149 |
+
GNU General Public License for more details.
|
| 150 |
+
|
| 151 |
+
Under Section 7 of GPL version 3, you are granted additional
|
| 152 |
+
permissions described in the GCC Runtime Library Exception, version
|
| 153 |
+
3.1, as published by the Free Software Foundation.
|
| 154 |
+
|
| 155 |
+
You should have received a copy of the GNU General Public License and
|
| 156 |
+
a copy of the GCC Runtime Library Exception along with this program;
|
| 157 |
+
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
| 158 |
+
<http://www.gnu.org/licenses/>.
|
| 159 |
+
|
| 160 |
+
----
|
| 161 |
+
|
| 162 |
+
Full text of license texts referred to above follows (that they are
|
| 163 |
+
listed below does not necessarily imply the conditions apply to the
|
| 164 |
+
present binary release):
|
| 165 |
+
|
| 166 |
+
----
|
| 167 |
+
|
| 168 |
+
GCC RUNTIME LIBRARY EXCEPTION
|
| 169 |
+
|
| 170 |
+
Version 3.1, 31 March 2009
|
| 171 |
+
|
| 172 |
+
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
|
| 173 |
+
|
| 174 |
+
Everyone is permitted to copy and distribute verbatim copies of this
|
| 175 |
+
license document, but changing it is not allowed.
|
| 176 |
+
|
| 177 |
+
This GCC Runtime Library Exception ("Exception") is an additional
|
| 178 |
+
permission under section 7 of the GNU General Public License, version
|
| 179 |
+
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
|
| 180 |
+
bears a notice placed by the copyright holder of the file stating that
|
| 181 |
+
the file is governed by GPLv3 along with this Exception.
|
| 182 |
+
|
| 183 |
+
When you use GCC to compile a program, GCC may combine portions of
|
| 184 |
+
certain GCC header files and runtime libraries with the compiled
|
| 185 |
+
program. The purpose of this Exception is to allow compilation of
|
| 186 |
+
non-GPL (including proprietary) programs to use, in this way, the
|
| 187 |
+
header files and runtime libraries covered by this Exception.
|
| 188 |
+
|
| 189 |
+
0. Definitions.
|
| 190 |
+
|
| 191 |
+
A file is an "Independent Module" if it either requires the Runtime
|
| 192 |
+
Library for execution after a Compilation Process, or makes use of an
|
| 193 |
+
interface provided by the Runtime Library, but is not otherwise based
|
| 194 |
+
on the Runtime Library.
|
| 195 |
+
|
| 196 |
+
"GCC" means a version of the GNU Compiler Collection, with or without
|
| 197 |
+
modifications, governed by version 3 (or a specified later version) of
|
| 198 |
+
the GNU General Public License (GPL) with the option of using any
|
| 199 |
+
subsequent versions published by the FSF.
|
| 200 |
+
|
| 201 |
+
"GPL-compatible Software" is software whose conditions of propagation,
|
| 202 |
+
modification and use would permit combination with GCC in accord with
|
| 203 |
+
the license of GCC.
|
| 204 |
+
|
| 205 |
+
"Target Code" refers to output from any compiler for a real or virtual
|
| 206 |
+
target processor architecture, in executable form or suitable for
|
| 207 |
+
input to an assembler, loader, linker and/or execution
|
| 208 |
+
phase. Notwithstanding that, Target Code does not include data in any
|
| 209 |
+
format that is used as a compiler intermediate representation, or used
|
| 210 |
+
for producing a compiler intermediate representation.
|
| 211 |
+
|
| 212 |
+
The "Compilation Process" transforms code entirely represented in
|
| 213 |
+
non-intermediate languages designed for human-written code, and/or in
|
| 214 |
+
Java Virtual Machine byte code, into Target Code. Thus, for example,
|
| 215 |
+
use of source code generators and preprocessors need not be considered
|
| 216 |
+
part of the Compilation Process, since the Compilation Process can be
|
| 217 |
+
understood as starting with the output of the generators or
|
| 218 |
+
preprocessors.
|
| 219 |
+
|
| 220 |
+
A Compilation Process is "Eligible" if it is done using GCC, alone or
|
| 221 |
+
with other GPL-compatible software, or if it is done without using any
|
| 222 |
+
work based on GCC. For example, using non-GPL-compatible Software to
|
| 223 |
+
optimize any GCC intermediate representations would not qualify as an
|
| 224 |
+
Eligible Compilation Process.
|
| 225 |
+
|
| 226 |
+
1. Grant of Additional Permission.
|
| 227 |
+
|
| 228 |
+
You have permission to propagate a work of Target Code formed by
|
| 229 |
+
combining the Runtime Library with Independent Modules, even if such
|
| 230 |
+
propagation would otherwise violate the terms of GPLv3, provided that
|
| 231 |
+
all Target Code was generated by Eligible Compilation Processes. You
|
| 232 |
+
may then convey such a combination under terms of your choice,
|
| 233 |
+
consistent with the licensing of the Independent Modules.
|
| 234 |
+
|
| 235 |
+
2. No Weakening of GCC Copyleft.
|
| 236 |
+
|
| 237 |
+
The availability of this Exception does not imply any general
|
| 238 |
+
presumption that third-party software is unaffected by the copyleft
|
| 239 |
+
requirements of the license of GCC.
|
| 240 |
+
|
| 241 |
+
----
|
| 242 |
+
|
| 243 |
+
GNU GENERAL PUBLIC LICENSE
|
| 244 |
+
Version 3, 29 June 2007
|
| 245 |
+
|
| 246 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
| 247 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 248 |
+
of this license document, but changing it is not allowed.
|
| 249 |
+
|
| 250 |
+
Preamble
|
| 251 |
+
|
| 252 |
+
The GNU General Public License is a free, copyleft license for
|
| 253 |
+
software and other kinds of works.
|
| 254 |
+
|
| 255 |
+
The licenses for most software and other practical works are designed
|
| 256 |
+
to take away your freedom to share and change the works. By contrast,
|
| 257 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 258 |
+
share and change all versions of a program--to make sure it remains free
|
| 259 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 260 |
+
GNU General Public License for most of our software; it applies also to
|
| 261 |
+
any other work released this way by its authors. You can apply it to
|
| 262 |
+
your programs, too.
|
| 263 |
+
|
| 264 |
+
When we speak of free software, we are referring to freedom, not
|
| 265 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 266 |
+
have the freedom to distribute copies of free software (and charge for
|
| 267 |
+
them if you wish), that you receive source code or can get it if you
|
| 268 |
+
want it, that you can change the software or use pieces of it in new
|
| 269 |
+
free programs, and that you know you can do these things.
|
| 270 |
+
|
| 271 |
+
To protect your rights, we need to prevent others from denying you
|
| 272 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 273 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 274 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 275 |
+
|
| 276 |
+
For example, if you distribute copies of such a program, whether
|
| 277 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 278 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 279 |
+
or can get the source code. And you must show them these terms so they
|
| 280 |
+
know their rights.
|
| 281 |
+
|
| 282 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 283 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 284 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 285 |
+
|
| 286 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 287 |
+
that there is no warranty for this free software. For both users' and
|
| 288 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 289 |
+
changed, so that their problems will not be attributed erroneously to
|
| 290 |
+
authors of previous versions.
|
| 291 |
+
|
| 292 |
+
Some devices are designed to deny users access to install or run
|
| 293 |
+
modified versions of the software inside them, although the manufacturer
|
| 294 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 295 |
+
protecting users' freedom to change the software. The systematic
|
| 296 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 297 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 298 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 299 |
+
products. If such problems arise substantially in other domains, we
|
| 300 |
+
stand ready to extend this provision to those domains in future versions
|
| 301 |
+
of the GPL, as needed to protect the freedom of users.
|
| 302 |
+
|
| 303 |
+
Finally, every program is threatened constantly by software patents.
|
| 304 |
+
States should not allow patents to restrict development and use of
|
| 305 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 306 |
+
avoid the special danger that patents applied to a free program could
|
| 307 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 308 |
+
patents cannot be used to render the program non-free.
|
| 309 |
+
|
| 310 |
+
The precise terms and conditions for copying, distribution and
|
| 311 |
+
modification follow.
|
| 312 |
+
|
| 313 |
+
TERMS AND CONDITIONS
|
| 314 |
+
|
| 315 |
+
0. Definitions.
|
| 316 |
+
|
| 317 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 318 |
+
|
| 319 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 320 |
+
works, such as semiconductor masks.
|
| 321 |
+
|
| 322 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 323 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 324 |
+
"recipients" may be individuals or organizations.
|
| 325 |
+
|
| 326 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 327 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 328 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 329 |
+
earlier work or a work "based on" the earlier work.
|
| 330 |
+
|
| 331 |
+
A "covered work" means either the unmodified Program or a work based
|
| 332 |
+
on the Program.
|
| 333 |
+
|
| 334 |
+
To "propagate" a work means to do anything with it that, without
|
| 335 |
+
permission, would make you directly or secondarily liable for
|
| 336 |
+
infringement under applicable copyright law, except executing it on a
|
| 337 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 338 |
+
distribution (with or without modification), making available to the
|
| 339 |
+
public, and in some countries other activities as well.
|
| 340 |
+
|
| 341 |
+
To "convey" a work means any kind of propagation that enables other
|
| 342 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 343 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 344 |
+
|
| 345 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 346 |
+
to the extent that it includes a convenient and prominently visible
|
| 347 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 348 |
+
tells the user that there is no warranty for the work (except to the
|
| 349 |
+
extent that warranties are provided), that licensees may convey the
|
| 350 |
+
work under this License, and how to view a copy of this License. If
|
| 351 |
+
the interface presents a list of user commands or options, such as a
|
| 352 |
+
menu, a prominent item in the list meets this criterion.
|
| 353 |
+
|
| 354 |
+
1. Source Code.
|
| 355 |
+
|
| 356 |
+
The "source code" for a work means the preferred form of the work
|
| 357 |
+
for making modifications to it. "Object code" means any non-source
|
| 358 |
+
form of a work.
|
| 359 |
+
|
| 360 |
+
A "Standard Interface" means an interface that either is an official
|
| 361 |
+
standard defined by a recognized standards body, or, in the case of
|
| 362 |
+
interfaces specified for a particular programming language, one that
|
| 363 |
+
is widely used among developers working in that language.
|
| 364 |
+
|
| 365 |
+
The "System Libraries" of an executable work include anything, other
|
| 366 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 367 |
+
packaging a Major Component, but which is not part of that Major
|
| 368 |
+
Component, and (b) serves only to enable use of the work with that
|
| 369 |
+
Major Component, or to implement a Standard Interface for which an
|
| 370 |
+
implementation is available to the public in source code form. A
|
| 371 |
+
"Major Component", in this context, means a major essential component
|
| 372 |
+
(kernel, window system, and so on) of the specific operating system
|
| 373 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 374 |
+
produce the work, or an object code interpreter used to run it.
|
| 375 |
+
|
| 376 |
+
The "Corresponding Source" for a work in object code form means all
|
| 377 |
+
the source code needed to generate, install, and (for an executable
|
| 378 |
+
work) run the object code and to modify the work, including scripts to
|
| 379 |
+
control those activities. However, it does not include the work's
|
| 380 |
+
System Libraries, or general-purpose tools or generally available free
|
| 381 |
+
programs which are used unmodified in performing those activities but
|
| 382 |
+
which are not part of the work. For example, Corresponding Source
|
| 383 |
+
includes interface definition files associated with source files for
|
| 384 |
+
the work, and the source code for shared libraries and dynamically
|
| 385 |
+
linked subprograms that the work is specifically designed to require,
|
| 386 |
+
such as by intimate data communication or control flow between those
|
| 387 |
+
subprograms and other parts of the work.
|
| 388 |
+
|
| 389 |
+
The Corresponding Source need not include anything that users
|
| 390 |
+
can regenerate automatically from other parts of the Corresponding
|
| 391 |
+
Source.
|
| 392 |
+
|
| 393 |
+
The Corresponding Source for a work in source code form is that
|
| 394 |
+
same work.
|
| 395 |
+
|
| 396 |
+
2. Basic Permissions.
|
| 397 |
+
|
| 398 |
+
All rights granted under this License are granted for the term of
|
| 399 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 400 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 401 |
+
permission to run the unmodified Program. The output from running a
|
| 402 |
+
covered work is covered by this License only if the output, given its
|
| 403 |
+
content, constitutes a covered work. This License acknowledges your
|
| 404 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 405 |
+
|
| 406 |
+
You may make, run and propagate covered works that you do not
|
| 407 |
+
convey, without conditions so long as your license otherwise remains
|
| 408 |
+
in force. You may convey covered works to others for the sole purpose
|
| 409 |
+
of having them make modifications exclusively for you, or provide you
|
| 410 |
+
with facilities for running those works, provided that you comply with
|
| 411 |
+
the terms of this License in conveying all material for which you do
|
| 412 |
+
not control copyright. Those thus making or running the covered works
|
| 413 |
+
for you must do so exclusively on your behalf, under your direction
|
| 414 |
+
and control, on terms that prohibit them from making any copies of
|
| 415 |
+
your copyrighted material outside their relationship with you.
|
| 416 |
+
|
| 417 |
+
Conveying under any other circumstances is permitted solely under
|
| 418 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 419 |
+
makes it unnecessary.
|
| 420 |
+
|
| 421 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 422 |
+
|
| 423 |
+
No covered work shall be deemed part of an effective technological
|
| 424 |
+
measure under any applicable law fulfilling obligations under article
|
| 425 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 426 |
+
similar laws prohibiting or restricting circumvention of such
|
| 427 |
+
measures.
|
| 428 |
+
|
| 429 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 430 |
+
circumvention of technological measures to the extent such circumvention
|
| 431 |
+
is effected by exercising rights under this License with respect to
|
| 432 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 433 |
+
modification of the work as a means of enforcing, against the work's
|
| 434 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 435 |
+
technological measures.
|
| 436 |
+
|
| 437 |
+
4. Conveying Verbatim Copies.
|
| 438 |
+
|
| 439 |
+
You may convey verbatim copies of the Program's source code as you
|
| 440 |
+
receive it, in any medium, provided that you conspicuously and
|
| 441 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 442 |
+
keep intact all notices stating that this License and any
|
| 443 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 444 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 445 |
+
recipients a copy of this License along with the Program.
|
| 446 |
+
|
| 447 |
+
You may charge any price or no price for each copy that you convey,
|
| 448 |
+
and you may offer support or warranty protection for a fee.
|
| 449 |
+
|
| 450 |
+
5. Conveying Modified Source Versions.
|
| 451 |
+
|
| 452 |
+
You may convey a work based on the Program, or the modifications to
|
| 453 |
+
produce it from the Program, in the form of source code under the
|
| 454 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 455 |
+
|
| 456 |
+
a) The work must carry prominent notices stating that you modified
|
| 457 |
+
it, and giving a relevant date.
|
| 458 |
+
|
| 459 |
+
b) The work must carry prominent notices stating that it is
|
| 460 |
+
released under this License and any conditions added under section
|
| 461 |
+
7. This requirement modifies the requirement in section 4 to
|
| 462 |
+
"keep intact all notices".
|
| 463 |
+
|
| 464 |
+
c) You must license the entire work, as a whole, under this
|
| 465 |
+
License to anyone who comes into possession of a copy. This
|
| 466 |
+
License will therefore apply, along with any applicable section 7
|
| 467 |
+
additional terms, to the whole of the work, and all its parts,
|
| 468 |
+
regardless of how they are packaged. This License gives no
|
| 469 |
+
permission to license the work in any other way, but it does not
|
| 470 |
+
invalidate such permission if you have separately received it.
|
| 471 |
+
|
| 472 |
+
d) If the work has interactive user interfaces, each must display
|
| 473 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 474 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 475 |
+
work need not make them do so.
|
| 476 |
+
|
| 477 |
+
A compilation of a covered work with other separate and independent
|
| 478 |
+
works, which are not by their nature extensions of the covered work,
|
| 479 |
+
and which are not combined with it such as to form a larger program,
|
| 480 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 481 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 482 |
+
used to limit the access or legal rights of the compilation's users
|
| 483 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 484 |
+
in an aggregate does not cause this License to apply to the other
|
| 485 |
+
parts of the aggregate.
|
| 486 |
+
|
| 487 |
+
6. Conveying Non-Source Forms.
|
| 488 |
+
|
| 489 |
+
You may convey a covered work in object code form under the terms
|
| 490 |
+
of sections 4 and 5, provided that you also convey the
|
| 491 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 492 |
+
in one of these ways:
|
| 493 |
+
|
| 494 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 495 |
+
(including a physical distribution medium), accompanied by the
|
| 496 |
+
Corresponding Source fixed on a durable physical medium
|
| 497 |
+
customarily used for software interchange.
|
| 498 |
+
|
| 499 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 500 |
+
(including a physical distribution medium), accompanied by a
|
| 501 |
+
written offer, valid for at least three years and valid for as
|
| 502 |
+
long as you offer spare parts or customer support for that product
|
| 503 |
+
model, to give anyone who possesses the object code either (1) a
|
| 504 |
+
copy of the Corresponding Source for all the software in the
|
| 505 |
+
product that is covered by this License, on a durable physical
|
| 506 |
+
medium customarily used for software interchange, for a price no
|
| 507 |
+
more than your reasonable cost of physically performing this
|
| 508 |
+
conveying of source, or (2) access to copy the
|
| 509 |
+
Corresponding Source from a network server at no charge.
|
| 510 |
+
|
| 511 |
+
c) Convey individual copies of the object code with a copy of the
|
| 512 |
+
written offer to provide the Corresponding Source. This
|
| 513 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 514 |
+
only if you received the object code with such an offer, in accord
|
| 515 |
+
with subsection 6b.
|
| 516 |
+
|
| 517 |
+
d) Convey the object code by offering access from a designated
|
| 518 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 519 |
+
Corresponding Source in the same way through the same place at no
|
| 520 |
+
further charge. You need not require recipients to copy the
|
| 521 |
+
Corresponding Source along with the object code. If the place to
|
| 522 |
+
copy the object code is a network server, the Corresponding Source
|
| 523 |
+
may be on a different server (operated by you or a third party)
|
| 524 |
+
that supports equivalent copying facilities, provided you maintain
|
| 525 |
+
clear directions next to the object code saying where to find the
|
| 526 |
+
Corresponding Source. Regardless of what server hosts the
|
| 527 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 528 |
+
available for as long as needed to satisfy these requirements.
|
| 529 |
+
|
| 530 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 531 |
+
you inform other peers where the object code and Corresponding
|
| 532 |
+
Source of the work are being offered to the general public at no
|
| 533 |
+
charge under subsection 6d.
|
| 534 |
+
|
| 535 |
+
A separable portion of the object code, whose source code is excluded
|
| 536 |
+
from the Corresponding Source as a System Library, need not be
|
| 537 |
+
included in conveying the object code work.
|
| 538 |
+
|
| 539 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 540 |
+
tangible personal property which is normally used for personal, family,
|
| 541 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 542 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 543 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 544 |
+
product received by a particular user, "normally used" refers to a
|
| 545 |
+
typical or common use of that class of product, regardless of the status
|
| 546 |
+
of the particular user or of the way in which the particular user
|
| 547 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 548 |
+
is a consumer product regardless of whether the product has substantial
|
| 549 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 550 |
+
the only significant mode of use of the product.
|
| 551 |
+
|
| 552 |
+
"Installation Information" for a User Product means any methods,
|
| 553 |
+
procedures, authorization keys, or other information required to install
|
| 554 |
+
and execute modified versions of a covered work in that User Product from
|
| 555 |
+
a modified version of its Corresponding Source. The information must
|
| 556 |
+
suffice to ensure that the continued functioning of the modified object
|
| 557 |
+
code is in no case prevented or interfered with solely because
|
| 558 |
+
modification has been made.
|
| 559 |
+
|
| 560 |
+
If you convey an object code work under this section in, or with, or
|
| 561 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 562 |
+
part of a transaction in which the right of possession and use of the
|
| 563 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 564 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 565 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 566 |
+
by the Installation Information. But this requirement does not apply
|
| 567 |
+
if neither you nor any third party retains the ability to install
|
| 568 |
+
modified object code on the User Product (for example, the work has
|
| 569 |
+
been installed in ROM).
|
| 570 |
+
|
| 571 |
+
The requirement to provide Installation Information does not include a
|
| 572 |
+
requirement to continue to provide support service, warranty, or updates
|
| 573 |
+
for a work that has been modified or installed by the recipient, or for
|
| 574 |
+
the User Product in which it has been modified or installed. Access to a
|
| 575 |
+
network may be denied when the modification itself materially and
|
| 576 |
+
adversely affects the operation of the network or violates the rules and
|
| 577 |
+
protocols for communication across the network.
|
| 578 |
+
|
| 579 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 580 |
+
in accord with this section must be in a format that is publicly
|
| 581 |
+
documented (and with an implementation available to the public in
|
| 582 |
+
source code form), and must require no special password or key for
|
| 583 |
+
unpacking, reading or copying.
|
| 584 |
+
|
| 585 |
+
7. Additional Terms.
|
| 586 |
+
|
| 587 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 588 |
+
License by making exceptions from one or more of its conditions.
|
| 589 |
+
Additional permissions that are applicable to the entire Program shall
|
| 590 |
+
be treated as though they were included in this License, to the extent
|
| 591 |
+
that they are valid under applicable law. If additional permissions
|
| 592 |
+
apply only to part of the Program, that part may be used separately
|
| 593 |
+
under those permissions, but the entire Program remains governed by
|
| 594 |
+
this License without regard to the additional permissions.
|
| 595 |
+
|
| 596 |
+
When you convey a copy of a covered work, you may at your option
|
| 597 |
+
remove any additional permissions from that copy, or from any part of
|
| 598 |
+
it. (Additional permissions may be written to require their own
|
| 599 |
+
removal in certain cases when you modify the work.) You may place
|
| 600 |
+
additional permissions on material, added by you to a covered work,
|
| 601 |
+
for which you have or can give appropriate copyright permission.
|
| 602 |
+
|
| 603 |
+
Notwithstanding any other provision of this License, for material you
|
| 604 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 605 |
+
that material) supplement the terms of this License with terms:
|
| 606 |
+
|
| 607 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 608 |
+
terms of sections 15 and 16 of this License; or
|
| 609 |
+
|
| 610 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 611 |
+
author attributions in that material or in the Appropriate Legal
|
| 612 |
+
Notices displayed by works containing it; or
|
| 613 |
+
|
| 614 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 615 |
+
requiring that modified versions of such material be marked in
|
| 616 |
+
reasonable ways as different from the original version; or
|
| 617 |
+
|
| 618 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 619 |
+
authors of the material; or
|
| 620 |
+
|
| 621 |
+
e) Declining to grant rights under trademark law for use of some
|
| 622 |
+
trade names, trademarks, or service marks; or
|
| 623 |
+
|
| 624 |
+
f) Requiring indemnification of licensors and authors of that
|
| 625 |
+
material by anyone who conveys the material (or modified versions of
|
| 626 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 627 |
+
any liability that these contractual assumptions directly impose on
|
| 628 |
+
those licensors and authors.
|
| 629 |
+
|
| 630 |
+
All other non-permissive additional terms are considered "further
|
| 631 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 632 |
+
received it, or any part of it, contains a notice stating that it is
|
| 633 |
+
governed by this License along with a term that is a further
|
| 634 |
+
restriction, you may remove that term. If a license document contains
|
| 635 |
+
a further restriction but permits relicensing or conveying under this
|
| 636 |
+
License, you may add to a covered work material governed by the terms
|
| 637 |
+
of that license document, provided that the further restriction does
|
| 638 |
+
not survive such relicensing or conveying.
|
| 639 |
+
|
| 640 |
+
If you add terms to a covered work in accord with this section, you
|
| 641 |
+
must place, in the relevant source files, a statement of the
|
| 642 |
+
additional terms that apply to those files, or a notice indicating
|
| 643 |
+
where to find the applicable terms.
|
| 644 |
+
|
| 645 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 646 |
+
form of a separately written license, or stated as exceptions;
|
| 647 |
+
the above requirements apply either way.
|
| 648 |
+
|
| 649 |
+
8. Termination.
|
| 650 |
+
|
| 651 |
+
You may not propagate or modify a covered work except as expressly
|
| 652 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 653 |
+
modify it is void, and will automatically terminate your rights under
|
| 654 |
+
this License (including any patent licenses granted under the third
|
| 655 |
+
paragraph of section 11).
|
| 656 |
+
|
| 657 |
+
However, if you cease all violation of this License, then your
|
| 658 |
+
license from a particular copyright holder is reinstated (a)
|
| 659 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 660 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 661 |
+
holder fails to notify you of the violation by some reasonable means
|
| 662 |
+
prior to 60 days after the cessation.
|
| 663 |
+
|
| 664 |
+
Moreover, your license from a particular copyright holder is
|
| 665 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 666 |
+
violation by some reasonable means, this is the first time you have
|
| 667 |
+
received notice of violation of this License (for any work) from that
|
| 668 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 669 |
+
your receipt of the notice.
|
| 670 |
+
|
| 671 |
+
Termination of your rights under this section does not terminate the
|
| 672 |
+
licenses of parties who have received copies or rights from you under
|
| 673 |
+
this License. If your rights have been terminated and not permanently
|
| 674 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 675 |
+
material under section 10.
|
| 676 |
+
|
| 677 |
+
9. Acceptance Not Required for Having Copies.
|
| 678 |
+
|
| 679 |
+
You are not required to accept this License in order to receive or
|
| 680 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 681 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 682 |
+
to receive a copy likewise does not require acceptance. However,
|
| 683 |
+
nothing other than this License grants you permission to propagate or
|
| 684 |
+
modify any covered work. These actions infringe copyright if you do
|
| 685 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 686 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 687 |
+
|
| 688 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 689 |
+
|
| 690 |
+
Each time you convey a covered work, the recipient automatically
|
| 691 |
+
receives a license from the original licensors, to run, modify and
|
| 692 |
+
propagate that work, subject to this License. You are not responsible
|
| 693 |
+
for enforcing compliance by third parties with this License.
|
| 694 |
+
|
| 695 |
+
An "entity transaction" is a transaction transferring control of an
|
| 696 |
+
organization, or substantially all assets of one, or subdividing an
|
| 697 |
+
organization, or merging organizations. If propagation of a covered
|
| 698 |
+
work results from an entity transaction, each party to that
|
| 699 |
+
transaction who receives a copy of the work also receives whatever
|
| 700 |
+
licenses to the work the party's predecessor in interest had or could
|
| 701 |
+
give under the previous paragraph, plus a right to possession of the
|
| 702 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 703 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 704 |
+
|
| 705 |
+
You may not impose any further restrictions on the exercise of the
|
| 706 |
+
rights granted or affirmed under this License. For example, you may
|
| 707 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 708 |
+
rights granted under this License, and you may not initiate litigation
|
| 709 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 710 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 711 |
+
sale, or importing the Program or any portion of it.
|
| 712 |
+
|
| 713 |
+
11. Patents.
|
| 714 |
+
|
| 715 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 716 |
+
License of the Program or a work on which the Program is based. The
|
| 717 |
+
work thus licensed is called the contributor's "contributor version".
|
| 718 |
+
|
| 719 |
+
A contributor's "essential patent claims" are all patent claims
|
| 720 |
+
owned or controlled by the contributor, whether already acquired or
|
| 721 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 722 |
+
by this License, of making, using, or selling its contributor version,
|
| 723 |
+
but do not include claims that would be infringed only as a
|
| 724 |
+
consequence of further modification of the contributor version. For
|
| 725 |
+
purposes of this definition, "control" includes the right to grant
|
| 726 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 727 |
+
this License.
|
| 728 |
+
|
| 729 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 730 |
+
patent license under the contributor's essential patent claims, to
|
| 731 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 732 |
+
propagate the contents of its contributor version.
|
| 733 |
+
|
| 734 |
+
In the following three paragraphs, a "patent license" is any express
|
| 735 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 736 |
+
(such as an express permission to practice a patent or covenant not to
|
| 737 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 738 |
+
party means to make such an agreement or commitment not to enforce a
|
| 739 |
+
patent against the party.
|
| 740 |
+
|
| 741 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 742 |
+
and the Corresponding Source of the work is not available for anyone
|
| 743 |
+
to copy, free of charge and under the terms of this License, through a
|
| 744 |
+
publicly available network server or other readily accessible means,
|
| 745 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 746 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 747 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 748 |
+
consistent with the requirements of this License, to extend the patent
|
| 749 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 750 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 751 |
+
covered work in a country, or your recipient's use of the covered work
|
| 752 |
+
in a country, would infringe one or more identifiable patents in that
|
| 753 |
+
country that you have reason to believe are valid.
|
| 754 |
+
|
| 755 |
+
If, pursuant to or in connection with a single transaction or
|
| 756 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 757 |
+
covered work, and grant a patent license to some of the parties
|
| 758 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 759 |
+
or convey a specific copy of the covered work, then the patent license
|
| 760 |
+
you grant is automatically extended to all recipients of the covered
|
| 761 |
+
work and works based on it.
|
| 762 |
+
|
| 763 |
+
A patent license is "discriminatory" if it does not include within
|
| 764 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 765 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 766 |
+
specifically granted under this License. You may not convey a covered
|
| 767 |
+
work if you are a party to an arrangement with a third party that is
|
| 768 |
+
in the business of distributing software, under which you make payment
|
| 769 |
+
to the third party based on the extent of your activity of conveying
|
| 770 |
+
the work, and under which the third party grants, to any of the
|
| 771 |
+
parties who would receive the covered work from you, a discriminatory
|
| 772 |
+
patent license (a) in connection with copies of the covered work
|
| 773 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 774 |
+
for and in connection with specific products or compilations that
|
| 775 |
+
contain the covered work, unless you entered into that arrangement,
|
| 776 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 777 |
+
|
| 778 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 779 |
+
any implied license or other defenses to infringement that may
|
| 780 |
+
otherwise be available to you under applicable patent law.
|
| 781 |
+
|
| 782 |
+
12. No Surrender of Others' Freedom.
|
| 783 |
+
|
| 784 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 785 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 786 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 787 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 788 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 789 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 790 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 791 |
+
the Program, the only way you could satisfy both those terms and this
|
| 792 |
+
License would be to refrain entirely from conveying the Program.
|
| 793 |
+
|
| 794 |
+
13. Use with the GNU Affero General Public License.
|
| 795 |
+
|
| 796 |
+
Notwithstanding any other provision of this License, you have
|
| 797 |
+
permission to link or combine any covered work with a work licensed
|
| 798 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 799 |
+
combined work, and to convey the resulting work. The terms of this
|
| 800 |
+
License will continue to apply to the part which is the covered work,
|
| 801 |
+
but the special requirements of the GNU Affero General Public License,
|
| 802 |
+
section 13, concerning interaction through a network will apply to the
|
| 803 |
+
combination as such.
|
| 804 |
+
|
| 805 |
+
14. Revised Versions of this License.
|
| 806 |
+
|
| 807 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 808 |
+
the GNU General Public License from time to time. Such new versions will
|
| 809 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 810 |
+
address new problems or concerns.
|
| 811 |
+
|
| 812 |
+
Each version is given a distinguishing version number. If the
|
| 813 |
+
Program specifies that a certain numbered version of the GNU General
|
| 814 |
+
Public License "or any later version" applies to it, you have the
|
| 815 |
+
option of following the terms and conditions either of that numbered
|
| 816 |
+
version or of any later version published by the Free Software
|
| 817 |
+
Foundation. If the Program does not specify a version number of the
|
| 818 |
+
GNU General Public License, you may choose any version ever published
|
| 819 |
+
by the Free Software Foundation.
|
| 820 |
+
|
| 821 |
+
If the Program specifies that a proxy can decide which future
|
| 822 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 823 |
+
public statement of acceptance of a version permanently authorizes you
|
| 824 |
+
to choose that version for the Program.
|
| 825 |
+
|
| 826 |
+
Later license versions may give you additional or different
|
| 827 |
+
permissions. However, no additional obligations are imposed on any
|
| 828 |
+
author or copyright holder as a result of your choosing to follow a
|
| 829 |
+
later version.
|
| 830 |
+
|
| 831 |
+
15. Disclaimer of Warranty.
|
| 832 |
+
|
| 833 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 834 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 835 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 836 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 837 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 838 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 839 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 840 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 841 |
+
|
| 842 |
+
16. Limitation of Liability.
|
| 843 |
+
|
| 844 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 845 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 846 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 847 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 848 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 849 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 850 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 851 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 852 |
+
SUCH DAMAGES.
|
| 853 |
+
|
| 854 |
+
17. Interpretation of Sections 15 and 16.
|
| 855 |
+
|
| 856 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 857 |
+
above cannot be given local legal effect according to their terms,
|
| 858 |
+
reviewing courts shall apply local law that most closely approximates
|
| 859 |
+
an absolute waiver of all civil liability in connection with the
|
| 860 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 861 |
+
copy of the Program in return for a fee.
|
| 862 |
+
|
| 863 |
+
END OF TERMS AND CONDITIONS
|
| 864 |
+
|
| 865 |
+
How to Apply These Terms to Your New Programs
|
| 866 |
+
|
| 867 |
+
If you develop a new program, and you want it to be of the greatest
|
| 868 |
+
possible use to the public, the best way to achieve this is to make it
|
| 869 |
+
free software which everyone can redistribute and change under these terms.
|
| 870 |
+
|
| 871 |
+
To do so, attach the following notices to the program. It is safest
|
| 872 |
+
to attach them to the start of each source file to most effectively
|
| 873 |
+
state the exclusion of warranty; and each file should have at least
|
| 874 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 875 |
+
|
| 876 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 877 |
+
Copyright (C) <year> <name of author>
|
| 878 |
+
|
| 879 |
+
This program is free software: you can redistribute it and/or modify
|
| 880 |
+
it under the terms of the GNU General Public License as published by
|
| 881 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 882 |
+
(at your option) any later version.
|
| 883 |
+
|
| 884 |
+
This program is distributed in the hope that it will be useful,
|
| 885 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 886 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 887 |
+
GNU General Public License for more details.
|
| 888 |
+
|
| 889 |
+
You should have received a copy of the GNU General Public License
|
| 890 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 891 |
+
|
| 892 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 893 |
+
|
| 894 |
+
If the program does terminal interaction, make it output a short
|
| 895 |
+
notice like this when it starts in an interactive mode:
|
| 896 |
+
|
| 897 |
+
<program> Copyright (C) <year> <name of author>
|
| 898 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 899 |
+
This is free software, and you are welcome to redistribute it
|
| 900 |
+
under certain conditions; type `show c' for details.
|
| 901 |
+
|
| 902 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 903 |
+
parts of the General Public License. Of course, your program's commands
|
| 904 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 905 |
+
|
| 906 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 907 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 908 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 909 |
+
<http://www.gnu.org/licenses/>.
|
| 910 |
+
|
| 911 |
+
The GNU General Public License does not permit incorporating your program
|
| 912 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 913 |
+
may consider it more useful to permit linking proprietary applications with
|
| 914 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 915 |
+
Public License instead of this License. But first, please read
|
| 916 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
| 917 |
+
|
| 918 |
+
|
| 919 |
+
Name: libquadmath
|
| 920 |
+
Files: scipy.libs/libquadmath*.so
|
| 921 |
+
Description: dynamically linked to files compiled with gcc
|
| 922 |
+
Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libquadmath
|
| 923 |
+
License: LGPL-2.1-or-later
|
| 924 |
+
|
| 925 |
+
GCC Quad-Precision Math Library
|
| 926 |
+
Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
| 927 |
+
Written by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
| 928 |
+
|
| 929 |
+
This file is part of the libquadmath library.
|
| 930 |
+
Libquadmath is free software; you can redistribute it and/or
|
| 931 |
+
modify it under the terms of the GNU Library General Public
|
| 932 |
+
License as published by the Free Software Foundation; either
|
| 933 |
+
version 2.1 of the License, or (at your option) any later version.
|
| 934 |
+
|
| 935 |
+
Libquadmath is distributed in the hope that it will be useful,
|
| 936 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 937 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 938 |
+
Lesser General Public License for more details.
|
| 939 |
+
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
|
| 940 |
+
|
| 941 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 942 |
+
Classifier: Intended Audience :: Science/Research
|
| 943 |
+
Classifier: Intended Audience :: Developers
|
| 944 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 945 |
+
Classifier: Programming Language :: C
|
| 946 |
+
Classifier: Programming Language :: Python
|
| 947 |
+
Classifier: Programming Language :: Python :: 3
|
| 948 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 949 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 950 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 951 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 952 |
+
Classifier: Topic :: Software Development :: Libraries
|
| 953 |
+
Classifier: Topic :: Scientific/Engineering
|
| 954 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 955 |
+
Classifier: Operating System :: POSIX :: Linux
|
| 956 |
+
Classifier: Operating System :: POSIX
|
| 957 |
+
Classifier: Operating System :: Unix
|
| 958 |
+
Classifier: Operating System :: MacOS
|
| 959 |
+
Project-URL: homepage, https://scipy.org/
|
| 960 |
+
Project-URL: documentation, https://docs.scipy.org/doc/scipy/
|
| 961 |
+
Project-URL: source, https://github.com/scipy/scipy
|
| 962 |
+
Project-URL: download, https://github.com/scipy/scipy/releases
|
| 963 |
+
Project-URL: tracker, https://github.com/scipy/scipy/issues
|
| 964 |
+
Requires-Python: >=3.11
|
| 965 |
+
Requires-Dist: numpy<2.7,>=1.26.4
|
| 966 |
+
Provides-Extra: test
|
| 967 |
+
Requires-Dist: pytest>=8.0.0; extra == "test"
|
| 968 |
+
Requires-Dist: pytest-cov; extra == "test"
|
| 969 |
+
Requires-Dist: pytest-timeout; extra == "test"
|
| 970 |
+
Requires-Dist: pytest-xdist; extra == "test"
|
| 971 |
+
Requires-Dist: asv; extra == "test"
|
| 972 |
+
Requires-Dist: mpmath; extra == "test"
|
| 973 |
+
Requires-Dist: gmpy2; extra == "test"
|
| 974 |
+
Requires-Dist: threadpoolctl; extra == "test"
|
| 975 |
+
Requires-Dist: scikit-umfpack; extra == "test"
|
| 976 |
+
Requires-Dist: pooch; extra == "test"
|
| 977 |
+
Requires-Dist: hypothesis>=6.30; extra == "test"
|
| 978 |
+
Requires-Dist: array-api-strict>=2.3.1; extra == "test"
|
| 979 |
+
Requires-Dist: Cython; extra == "test"
|
| 980 |
+
Requires-Dist: meson; extra == "test"
|
| 981 |
+
Requires-Dist: ninja; sys_platform != "emscripten" and extra == "test"
|
| 982 |
+
Provides-Extra: doc
|
| 983 |
+
Requires-Dist: sphinx<8.2.0,>=5.0.0; extra == "doc"
|
| 984 |
+
Requires-Dist: intersphinx_registry; extra == "doc"
|
| 985 |
+
Requires-Dist: pydata-sphinx-theme>=0.15.2; extra == "doc"
|
| 986 |
+
Requires-Dist: sphinx-copybutton; extra == "doc"
|
| 987 |
+
Requires-Dist: sphinx-design>=0.4.0; extra == "doc"
|
| 988 |
+
Requires-Dist: matplotlib>=3.5; extra == "doc"
|
| 989 |
+
Requires-Dist: numpydoc; extra == "doc"
|
| 990 |
+
Requires-Dist: jupytext; extra == "doc"
|
| 991 |
+
Requires-Dist: myst-nb>=1.2.0; extra == "doc"
|
| 992 |
+
Requires-Dist: pooch; extra == "doc"
|
| 993 |
+
Requires-Dist: jupyterlite-sphinx>=0.19.1; extra == "doc"
|
| 994 |
+
Requires-Dist: jupyterlite-pyodide-kernel; extra == "doc"
|
| 995 |
+
Requires-Dist: linkify-it-py; extra == "doc"
|
| 996 |
+
Requires-Dist: tabulate; extra == "doc"
|
| 997 |
+
Provides-Extra: dev
|
| 998 |
+
Requires-Dist: click<8.3.0; extra == "dev"
|
| 999 |
+
Requires-Dist: spin; extra == "dev"
|
| 1000 |
+
Requires-Dist: mypy==1.10.0; extra == "dev"
|
| 1001 |
+
Requires-Dist: typing_extensions; extra == "dev"
|
| 1002 |
+
Requires-Dist: types-psutil; extra == "dev"
|
| 1003 |
+
Requires-Dist: pycodestyle; extra == "dev"
|
| 1004 |
+
Requires-Dist: ruff>=0.12.0; extra == "dev"
|
| 1005 |
+
Requires-Dist: cython-lint>=0.12.2; extra == "dev"
|
| 1006 |
+
Description-Content-Type: text/x-rst
|
| 1007 |
+
|
| 1008 |
+
.. image:: https://raw.githubusercontent.com/scipy/scipy/main/doc/source/_static/logo.svg
|
| 1009 |
+
:target: https://scipy.org
|
| 1010 |
+
:width: 110
|
| 1011 |
+
:height: 110
|
| 1012 |
+
:align: left
|
| 1013 |
+
|
| 1014 |
+
.. image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
|
| 1015 |
+
:target: https://numfocus.org
|
| 1016 |
+
|
| 1017 |
+
.. image:: https://img.shields.io/pypi/dm/scipy.svg?label=Pypi%20downloads
|
| 1018 |
+
:target: https://pypi.org/project/scipy/
|
| 1019 |
+
|
| 1020 |
+
.. image:: https://img.shields.io/conda/dn/conda-forge/scipy.svg?label=Conda%20downloads
|
| 1021 |
+
:target: https://anaconda.org/conda-forge/scipy
|
| 1022 |
+
|
| 1023 |
+
.. image:: https://img.shields.io/badge/stackoverflow-Ask%20questions-blue.svg
|
| 1024 |
+
:target: https://stackoverflow.com/questions/tagged/scipy
|
| 1025 |
+
|
| 1026 |
+
.. image:: https://img.shields.io/badge/DOI-10.1038%2Fs41592--019--0686--2-blue.svg
|
| 1027 |
+
:target: https://www.nature.com/articles/s41592-019-0686-2
|
| 1028 |
+
|
| 1029 |
+
.. image:: https://insights.linuxfoundation.org/api/badge/health-score?project=scipy
|
| 1030 |
+
:target: https://insights.linuxfoundation.org/project/scipy
|
| 1031 |
+
|
| 1032 |
+
SciPy (pronounced "Sigh Pie") is an open-source software for mathematics,
|
| 1033 |
+
science, and engineering. It includes modules for statistics, optimization,
|
| 1034 |
+
integration, linear algebra, Fourier transforms, signal and image processing,
|
| 1035 |
+
ODE solvers, and more.
|
| 1036 |
+
|
| 1037 |
+
- **Website:** https://scipy.org
|
| 1038 |
+
- **Documentation:** https://docs.scipy.org/doc/scipy/
|
| 1039 |
+
- **Development version of the documentation:** https://scipy.github.io/devdocs
|
| 1040 |
+
- **SciPy development forum:** https://discuss.scientific-python.org/c/contributor/scipy
|
| 1041 |
+
- **Stack Overflow:** https://stackoverflow.com/questions/tagged/scipy
|
| 1042 |
+
- **Source code:** https://github.com/scipy/scipy
|
| 1043 |
+
- **Contributing:** https://scipy.github.io/devdocs/dev/index.html
|
| 1044 |
+
- **Bug reports:** https://github.com/scipy/scipy/issues
|
| 1045 |
+
- **Code of Conduct:** https://docs.scipy.org/doc/scipy/dev/conduct/code_of_conduct.html
|
| 1046 |
+
- **Report a security vulnerability:** https://tidelift.com/docs/security
|
| 1047 |
+
- **Citing in your work:** https://www.scipy.org/citing-scipy/
|
| 1048 |
+
|
| 1049 |
+
SciPy is built to work with
|
| 1050 |
+
NumPy arrays, and provides many user-friendly and efficient numerical routines,
|
| 1051 |
+
such as routines for numerical integration and optimization. Together, they
|
| 1052 |
+
run on all popular operating systems, are quick to install, and are free of
|
| 1053 |
+
charge. NumPy and SciPy are easy to use, but powerful enough to be depended
|
| 1054 |
+
upon by some of the world's leading scientists and engineers. If you need to
|
| 1055 |
+
manipulate numbers on a computer and display or publish the results, give
|
| 1056 |
+
SciPy a try!
|
| 1057 |
+
|
| 1058 |
+
For the installation instructions, see `our install
|
| 1059 |
+
guide <https://scipy.org/install/>`__.
|
| 1060 |
+
|
| 1061 |
+
|
| 1062 |
+
Call for Contributions
|
| 1063 |
+
----------------------
|
| 1064 |
+
|
| 1065 |
+
We appreciate and welcome contributions. Small improvements or fixes are always appreciated; issues labeled as "good
|
| 1066 |
+
first issue" may be a good starting point. Have a look at `our contributing
|
| 1067 |
+
guide <https://scipy.github.io/devdocs/dev/index.html>`__.
|
| 1068 |
+
|
| 1069 |
+
Writing code isn’t the only way to contribute to SciPy. You can also:
|
| 1070 |
+
|
| 1071 |
+
- review pull requests
|
| 1072 |
+
- triage issues
|
| 1073 |
+
- develop tutorials, presentations, and other educational materials
|
| 1074 |
+
- maintain and improve `our website <https://github.com/scipy/scipy.org>`__
|
| 1075 |
+
- develop graphic design for our brand assets and promotional materials
|
| 1076 |
+
- help with outreach and onboard new contributors
|
| 1077 |
+
- write grant proposals and help with other fundraising efforts
|
| 1078 |
+
|
| 1079 |
+
If you’re unsure where to start or how your skills fit in, reach out! You can
|
| 1080 |
+
ask on the `forum <https://discuss.scientific-python.org/c/contributor/scipy>`__
|
| 1081 |
+
or here, on GitHub, by leaving a comment on a relevant issue that is already
|
| 1082 |
+
open.
|
| 1083 |
+
|
| 1084 |
+
If you are new to contributing to open source, `this
|
| 1085 |
+
guide <https://opensource.guide/how-to-contribute/>`__ helps explain why, what,
|
| 1086 |
+
and how to get involved.
|
.cache/uv/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*
|
.cache/uv/.lock
ADDED
|
File without changes
|
.cache/uv/CACHEDIR.TAG
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Signature: 8a477f597d28d172789f06886806bc55
|
.cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: hf-xet
|
| 3 |
+
Version: 1.4.2
|
| 4 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 5 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
| 6 |
+
Classifier: Programming Language :: Rust
|
| 7 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 8 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 9 |
+
Classifier: Programming Language :: Python :: 3
|
| 10 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 11 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 12 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 13 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 14 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 15 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 16 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 18 |
+
Classifier: Programming Language :: Python :: Free Threading
|
| 19 |
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
| 20 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
| 21 |
+
Requires-Dist: pytest ; extra == 'tests'
|
| 22 |
+
Provides-Extra: tests
|
| 23 |
+
License-File: LICENSE
|
| 24 |
+
Summary: Fast transfer of large files with the Hugging Face Hub.
|
| 25 |
+
Maintainer-email: Rajat Arya <rajat@rajatarya.com>, Jared Sulzdorf <j.sulzdorf@gmail.com>, Di Xiao <di@huggingface.co>, Assaf Vayner <assaf@huggingface.co>, Hoyt Koepke <hoytak@gmail.com>
|
| 26 |
+
License-Expression: Apache-2.0
|
| 27 |
+
Requires-Python: >=3.8
|
| 28 |
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
| 29 |
+
Project-URL: Documentation, https://huggingface.co/docs/hub/xet/index
|
| 30 |
+
Project-URL: Homepage, https://github.com/huggingface/xet-core
|
| 31 |
+
Project-URL: Issues, https://github.com/huggingface/xet-core/issues
|
| 32 |
+
Project-URL: Repository, https://github.com/huggingface/xet-core.git
|
| 33 |
+
|
| 34 |
+
<!---
|
| 35 |
+
Copyright 2024 The HuggingFace Team. All rights reserved.
|
| 36 |
+
|
| 37 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 38 |
+
you may not use this file except in compliance with the License.
|
| 39 |
+
You may obtain a copy of the License at
|
| 40 |
+
|
| 41 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 42 |
+
|
| 43 |
+
Unless required by applicable law or agreed to in writing, software
|
| 44 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 45 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 46 |
+
See the License for the specific language governing permissions and
|
| 47 |
+
limitations under the License.
|
| 48 |
+
-->
|
| 49 |
+
<p align="center">
|
| 50 |
+
<a href="https://github.com/huggingface/xet-core/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/huggingface/xet-core.svg?color=blue"></a>
|
| 51 |
+
<a href="https://github.com/huggingface/xet-core/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/xet-core.svg"></a>
|
| 52 |
+
<a href="https://github.com/huggingface/xet-core/blob/main/CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"></a>
|
| 53 |
+
</p>
|
| 54 |
+
|
| 55 |
+
<h3 align="center">
|
| 56 |
+
<p>🤗 hf-xet - xet client tech, used in <a target="_blank" href="https://github.com/huggingface/huggingface_hub/">huggingface_hub</a></p>
|
| 57 |
+
</h3>
|
| 58 |
+
|
| 59 |
+
## Welcome
|
| 60 |
+
|
| 61 |
+
`hf-xet` enables `huggingface_hub` to utilize xet storage for uploading and downloading to HF Hub. Xet storage provides chunk-based deduplication, efficient storage/retrieval with local disk caching, and backwards compatibility with Git LFS. This library is not meant to be used directly, and is instead intended to be used from [huggingface_hub](https://pypi.org/project/huggingface-hub).
|
| 62 |
+
|
| 63 |
+
## Key features
|
| 64 |
+
|
| 65 |
+
♻ **chunk-based deduplication implementation**: avoid transferring and storing chunks that are shared across binary files (models, datasets, etc).
|
| 66 |
+
|
| 67 |
+
🤗 **Python bindings**: bindings for [huggingface_hub](https://github.com/huggingface/huggingface_hub/) package.
|
| 68 |
+
|
| 69 |
+
↔ **network communications**: concurrent communication to HF Hub Xet backend services (CAS).
|
| 70 |
+
|
| 71 |
+
🔖 **local disk caching**: chunk-based cache that sits alongside the existing [huggingface_hub disk cache](https://huggingface.co/docs/huggingface_hub/guides/manage-cache).
|
| 72 |
+
|
| 73 |
+
## Installation
|
| 74 |
+
|
| 75 |
+
Install the `hf_xet` package with [pip](https://pypi.org/project/hf-xet/):
|
| 76 |
+
|
| 77 |
+
```bash
|
| 78 |
+
pip install hf_xet
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Quick Start
|
| 82 |
+
|
| 83 |
+
`hf_xet` is not intended to be run independently as it is expected to be used from `huggingface_hub`, so to get started with `huggingface_hub` check out the documentation [here]("https://hf.co/docs/huggingface_hub").
|
| 84 |
+
|
| 85 |
+
## Contributions (feature requests, bugs, etc.) are encouraged & appreciated 💙💚💛💜🧡❤️
|
| 86 |
+
|
| 87 |
+
Please join us in making hf-xet better. We value everyone's contributions. Code is not the only way to help. Answering questions, helping each other, improving documentation, filing issues all help immensely. If you are interested in contributing (please do!), check out the [contribution guide](https://github.com/huggingface/xet-core/blob/main/CONTRIBUTING.md) for this repository.
|
.cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hf_xet/__init__.py,sha256=E8UDdyQ8glZ_nve9hHEf22bPang8-RKx4VuApXYeQUo,107
|
| 2 |
+
hf_xet/hf_xet.abi3.so,sha256=VdrtJoH6BA_c001oMOkVMaQ_xX5eTQjW8tnSbRWlYfA,10713040
|
| 3 |
+
hf_xet-1.4.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
| 4 |
+
hf_xet-1.4.2.dist-info/sboms/hf_xet.cyclonedx.json,sha256=tLuPuaxDpcTQ6KRz9SfXJbc9-Nh3wkur_XEtQ0rBgBI,396786
|
| 5 |
+
hf_xet-1.4.2.dist-info/METADATA,sha256=qn35RNN5ipFoKVyWzp3DxSxaFi4YzfBArBVzO3dtNdw,4882
|
| 6 |
+
hf_xet-1.4.2.dist-info/WHEEL,sha256=1pgehMgoLQR1FJVAn1ncNPArAkOOjDbju-Tmx-fP9xs,143
|
| 7 |
+
hf_xet-1.4.2.dist-info/RECORD,,
|
.cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
.cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet-1.4.2.dist-info/sboms/hf_xet.cyclonedx.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.cache/uv/archive-v0/EFT8OQ1zFtLUrxj7zzUtg/hf_xet/__init__.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .hf_xet import *
|
| 2 |
+
|
| 3 |
+
__doc__ = hf_xet.__doc__
|
| 4 |
+
if hasattr(hf_xet, "__all__"):
|
| 5 |
+
__all__ = hf_xet.__all__
|
.cache/uv/archive-v0/_qp7s-2UQBrykFVv616Yc/typing_extensions.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/METADATA
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: Pygments
|
| 3 |
+
Version: 2.19.2
|
| 4 |
+
Summary: Pygments is a syntax highlighting package written in Python.
|
| 5 |
+
Project-URL: Homepage, https://pygments.org
|
| 6 |
+
Project-URL: Documentation, https://pygments.org/docs
|
| 7 |
+
Project-URL: Source, https://github.com/pygments/pygments
|
| 8 |
+
Project-URL: Bug Tracker, https://github.com/pygments/pygments/issues
|
| 9 |
+
Project-URL: Changelog, https://github.com/pygments/pygments/blob/master/CHANGES
|
| 10 |
+
Author-email: Georg Brandl <georg@python.org>
|
| 11 |
+
Maintainer: Matthäus G. Chajdas
|
| 12 |
+
Maintainer-email: Georg Brandl <georg@python.org>, Jean Abou Samra <jean@abou-samra.fr>
|
| 13 |
+
License: BSD-2-Clause
|
| 14 |
+
License-File: AUTHORS
|
| 15 |
+
License-File: LICENSE
|
| 16 |
+
Keywords: syntax highlighting
|
| 17 |
+
Classifier: Development Status :: 6 - Mature
|
| 18 |
+
Classifier: Intended Audience :: Developers
|
| 19 |
+
Classifier: Intended Audience :: End Users/Desktop
|
| 20 |
+
Classifier: Intended Audience :: System Administrators
|
| 21 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 22 |
+
Classifier: Operating System :: OS Independent
|
| 23 |
+
Classifier: Programming Language :: Python
|
| 24 |
+
Classifier: Programming Language :: Python :: 3
|
| 25 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 26 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 27 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 28 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 29 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 30 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 31 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 32 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 33 |
+
Classifier: Topic :: Text Processing :: Filters
|
| 34 |
+
Classifier: Topic :: Utilities
|
| 35 |
+
Requires-Python: >=3.8
|
| 36 |
+
Provides-Extra: plugins
|
| 37 |
+
Provides-Extra: windows-terminal
|
| 38 |
+
Requires-Dist: colorama>=0.4.6; extra == 'windows-terminal'
|
| 39 |
+
Description-Content-Type: text/x-rst
|
| 40 |
+
|
| 41 |
+
Pygments
|
| 42 |
+
~~~~~~~~
|
| 43 |
+
|
| 44 |
+
Pygments is a syntax highlighting package written in Python.
|
| 45 |
+
|
| 46 |
+
It is a generic syntax highlighter suitable for use in code hosting, forums,
|
| 47 |
+
wikis or other applications that need to prettify source code. Highlights
|
| 48 |
+
are:
|
| 49 |
+
|
| 50 |
+
* a wide range of over 500 languages and other text formats is supported
|
| 51 |
+
* special attention is paid to details, increasing quality by a fair amount
|
| 52 |
+
* support for new languages and formats are added easily
|
| 53 |
+
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
|
| 54 |
+
formats that PIL supports and ANSI sequences
|
| 55 |
+
* it is usable as a command-line tool and as a library
|
| 56 |
+
|
| 57 |
+
Copyright 2006-2025 by the Pygments team, see ``AUTH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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pygments/__init__.py,sha256=_3UT86TGpHuW8FekdZ8uLidEZH1NhmcLiOy2KKNPCt4,2959
|
| 2 |
+
pygments/__main__.py,sha256=p8AJyoyCOMYGvzWHdnq0_A9qaaVqaj02nIu3xhJp1_4,348
|
| 3 |
+
pygments/cmdline.py,sha256=4pL9Kpn2PUEKPobgrsQgg-vCx2NjsrapKzQ6LxQR7Q0,23536
|
| 4 |
+
pygments/console.py,sha256=AagDWqwea2yBWf10KC9ptBgMpMjxKp8yABAmh-NQOVk,1718
|
| 5 |
+
pygments/filter.py,sha256=YLtpTnZiu07nY3oK9nfR6E9Y1FBHhP5PX8gvkJWcfag,1910
|
| 6 |
+
pygments/formatter.py,sha256=H_4J-moKkKfRWUOW9J0u7hhw6n1LiO-2Xu1q2B0sE5w,4366
|
| 7 |
+
pygments/lexer.py,sha256=ib-F_0GxHkwGpb6vWP0DeLMLc7EYgjo3hWFKN5IgOq0,35109
|
| 8 |
+
pygments/modeline.py,sha256=K5eSkR8GS1r5OkXXTHOcV0aM_6xpk9eWNEIAW-OOJ2g,1005
|
| 9 |
+
pygments/plugin.py,sha256=tPx0rJCTIZ9ioRgLNYG4pifCbAwTRUZddvLw-NfAk2w,1891
|
| 10 |
+
pygments/regexopt.py,sha256=wXaP9Gjp_hKAdnICqoDkRxAOQJSc4v3X6mcxx3z-TNs,3072
|
| 11 |
+
pygments/scanner.py,sha256=nNcETRR1tRuiTaHmHSTTECVYFPcLf6mDZu1e4u91A9E,3092
|
| 12 |
+
pygments/sphinxext.py,sha256=VEe_oHNgLoEGMHc2ROfbee2mF2PPREFyE6_m_JN5FvQ,7898
|
| 13 |
+
pygments/style.py,sha256=Cpw9dCAyW3_JAwFRXOJXmtKb5ZwO2_5KSmlq6q4fZw4,6408
|
| 14 |
+
pygments/token.py,sha256=WbdWGhYm_Vosb0DDxW9lHNPgITXfWTsQmHt6cy9RbcM,6226
|
| 15 |
+
pygments/unistring.py,sha256=al-_rBemRuGvinsrM6atNsHTmJ6DUbw24q2O2Ru1cBc,63208
|
| 16 |
+
pygments/util.py,sha256=oRtSpiAo5jM9ulntkvVbgXUdiAW57jnuYGB7t9fYuhc,10031
|
| 17 |
+
pygments/filters/__init__.py,sha256=B00KqPCQh5E0XhzaDK74Qa1E4fDSTlD6b0Pvr1v-vEQ,40344
|
| 18 |
+
pygments/formatters/__init__.py,sha256=7OuvmoYLyoPzoOQV_brHG8GSKYB_wjFSkAQng6x2y9g,5349
|
| 19 |
+
pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
|
| 20 |
+
pygments/formatters/bbcode.py,sha256=s0Ka35OKuIchoSgEAGf6rj0rl2a9ym9L31JVNSRbZFQ,3296
|
| 21 |
+
pygments/formatters/groff.py,sha256=pLcIHj4jJS_lRAVFnyJODKDu1Xlyl9_AEIdOtbl3DT0,5082
|
| 22 |
+
pygments/formatters/html.py,sha256=FrHJ69FUliEyPY0zTfab0C1gPf7LXsKgeRlhwkniqIs,35953
|
| 23 |
+
pygments/formatters/img.py,sha256=aRpFo8mBmWTL3sBUjRCWkeS3rc6FZrSFC4EksDrl53g,23301
|
| 24 |
+
pygments/formatters/irc.py,sha256=R0Js0TYWySlI2yE9sW6tN4d4X-x3k9ZmudsijGPnLmU,4945
|
| 25 |
+
pygments/formatters/latex.py,sha256=BRYtbLeW_YD1kwhhnFInhJIKylurnri8CF1lP069KWE,19258
|
| 26 |
+
pygments/formatters/other.py,sha256=8pYW27sU_7XicLUqOEt2yWSO0h1IEUM3TIv34KODLwo,4986
|
| 27 |
+
pygments/formatters/pangomarkup.py,sha256=pcFvEC7K1Me0EjGeOZth4oCnEY85bfqc77XzZASEPpY,2206
|
| 28 |
+
pygments/formatters/rtf.py,sha256=kcKMCxTXu-2-hpgEftlGJRm7Ss-yA_Sy8OsHH_qzykA,11921
|
| 29 |
+
pygments/formatters/svg.py,sha256=R6A2ME6JsMQWFiyn8wcKwFUOD6vsu-HLwiIztLu-77E,7138
|
| 30 |
+
pygments/formatters/terminal.py,sha256=J_F_dFXwR9LHWvatIDnwqRYJyjVmSo1Zx8K_XDh6SyM,4626
|
| 31 |
+
pygments/formatters/terminal256.py,sha256=7GQFLE5cfmeu53CAzANO74-kBk2BFkXfn5phmZjYkhM,11717
|
| 32 |
+
pygments/lexers/__init__.py,sha256=6YhzxGKlWk38P6JpIJUQ1rVvV0DEZjEmdYsdMQ58hSk,12067
|
| 33 |
+
pygments/lexers/_ada_builtins.py,sha256=CA_OnShtdc7wWh9oYcRlcrkDAQwYUKl6w7tdSbALQd4,1543
|
| 34 |
+
pygments/lexers/_asy_builtins.py,sha256=cd9M00YH19w5ZL7aqucmC3nwpJGTS04U-01NLy5E2_4,27287
|
| 35 |
+
pygments/lexers/_cl_builtins.py,sha256=kQeUIyZjP4kX0frkICDcKxBYQCLqzIDXa5WV5cevhDo,13994
|
| 36 |
+
pygments/lexers/_cocoa_builtins.py,sha256=Ka1lLJe7JfWtdho4IFIB82X9yBvrbfHCCmEG-peXXhQ,105173
|
| 37 |
+
pygments/lexers/_csound_builtins.py,sha256=qnQYKeI26ZHim316uqy_hDiRiCoHo2RHjD3sYBALyXs,18414
|
| 38 |
+
pygments/lexers/_css_builtins.py,sha256=aD-dhLFXVd1Atn_bZd7gEdQn7Mhe60_VHpvZ340WzDI,12446
|
| 39 |
+
pygments/lexers/_googlesql_builtins.py,sha256=IkrOk-T2v1yzbGzUEEQh5_Cf4uC_cmL_uuhwDpZlTug,16132
|
| 40 |
+
pygments/lexers/_julia_builtins.py,sha256=N2WdSw5zgI2fhDat_i4YeVqurRTC_P8x71ez00SCN6U,11883
|
| 41 |
+
pygments/lexers/_lasso_builtins.py,sha256=8q1gbsrMJeaeUhxIYKhaOxC9j_B-NBpq_XFj2Ze41X0,134510
|
| 42 |
+
pygments/lexers/_lilypond_builtins.py,sha256=XTbGL1z1oKMoqWLEktG33jx5GdGTI9CpeO5NheEi4Y0,108094
|
| 43 |
+
pygments/lexers/_lua_builtins.py,sha256=PhFdZV5-Tzz2j_q4lvG9lr84ELGfL41BhnrSDNNTaG4,8108
|
| 44 |
+
pygments/lexers/_luau_builtins.py,sha256=-IDrU04kUVfjXwSQzMMpXmMYhNsQxZVVZk8cuAA0Lo0,955
|
| 45 |
+
pygments/lexers/_mapping.py,sha256=9fv7xYOUAOr6LzfdFS4MDbPu78o4OQQH-2nsI1bNZf4,70438
|
| 46 |
+
pygments/lexers/_mql_builtins.py,sha256=ybRQjlb7Cul0sDstnzxJl3h0qS6Ieqsr811fqrxyumU,24713
|
| 47 |
+
pygments/lexers/_mysql_builtins.py,sha256=y0kAWZVAs0z2dTFJJV42OZpILgRnd8T3zSlBFv-g_oA,25838
|
| 48 |
+
pygments/lexers/_openedge_builtins.py,sha256=Sz4j9-CPWIaxMa-2fZgY66j7igcu1ob1GR2UtI8zAkg,49398
|
| 49 |
+
pygments/lexers/_php_builtins.py,sha256=Jd4BZpjMDELPi4EVoSxK1-8BFTc63HUwYfm1rLrGj0M,107922
|
| 50 |
+
pygments/lexers/_postgres_builtins.py,sha256=Pqh4z0RBRbnW6rCQtWUdzWCJxNyqpJ7_0HOktxHDxk4,13343
|
| 51 |
+
pygments/lexers/_qlik_builtins.py,sha256=xuJy9c9uZDXv6h8z582P5PrxqkxTZ_nS8gPl9OD9VN8,12595
|
| 52 |
+
pygments/lexers/_scheme_builtins.py,sha256=2hNtJOJmP21lUsikpqMJ2gAmLT3Rwn_KEeqhXwCjgfk,32564
|
| 53 |
+
pygments/lexers/_scilab_builtins.py,sha256=oZYPB1XPdIEz3pII11pFDe6extRRyWGA7pY06X8KZ8w,52411
|
| 54 |
+
pygments/lexers/_sourcemod_builtins.py,sha256=H8AFLsNDdEpymIWOpDwbDJGCP1w-x-1gSlzPDioMF4o,26777
|
| 55 |
+
pygments/lexers/_sql_builtins.py,sha256=oe8F9wWuO2iS6nEsZAdJtCUChBTjgM1Sq_aipu74jXM,6767
|
| 56 |
+
pygments/lexers/_stan_builtins.py,sha256=dwi1hllM_NsaCv-aXJy7lEi57X5Hh5gSD97aCQyT9KM,13445
|
| 57 |
+
pygments/lexers/_stata_builtins.py,sha256=Hqrr6j77zWU3cGGpBPohwexZci43YA4_sVYE4E1sNow,27227
|
| 58 |
+
pygments/lexers/_tsql_builtins.py,sha256=Pi2RhTXcLE3glI9oxNhyVsOMn-fK_1TRxJ-EsYP5LcI,15460
|
| 59 |
+
pygments/lexers/_usd_builtins.py,sha256=c9hbU1cwqBUCFIhNfu_Dob8ywv1rlPhi9w2OTj3kR8s,1658
|
| 60 |
+
pygments/lexers/_vbscript_builtins.py,sha256=MqJ2ABywD21aSRtWYZRG64CCbGstC1kfsiHGJmZzxiw,4225
|
| 61 |
+
pygments/lexers/_vim_builtins.py,sha256=bA4mH8t1mPPQfEiUCKEqRO1O0rL2DUG0Ux1Bt8ZSu0E,57066
|
| 62 |
+
pygments/lexers/actionscript.py,sha256=JBngCe5UhYT_0dLD2j7PnPO0xRRJhmypEuQ-C5in8pY,11727
|
| 63 |
+
pygments/lexers/ada.py,sha256=58k5ra1vGS4iLpW3h1ItY9ftzF3WevaeAAXzAYTiYkQ,5353
|
| 64 |
+
pygments/lexers/agile.py,sha256=DN-7AVIqtG1MshA94rtSGYI_884hVHgzq405wD0_dl8,896
|
| 65 |
+
pygments/lexers/algebra.py,sha256=yGTu9Tt-cQzAISQYIC5MS5a3z4QmL-tGcXnd_pkWGbk,9952
|
| 66 |
+
pygments/lexers/ambient.py,sha256=UnzKpIlfSm3iitHvMd7XTMSY8TjZYYhKOC3AiARS_cE,2605
|
| 67 |
+
pygments/lexers/amdgpu.py,sha256=S8qjn2UMLhBFm3Yn_c06XAGf8cl5x_ZeluelWG_-JAw,1723
|
| 68 |
+
pygments/lexers/ampl.py,sha256=ZBRfDXm760gR1a1gqItnsHuoO3JdUcTBjJ5tFY9UtPA,4176
|
| 69 |
+
pygments/lexers/apdlexer.py,sha256=Zr5-jgjxC8PKzRlEeclakZXPHci7FHBZghQ6wwiuT7A,30800
|
| 70 |
+
pygments/lexers/apl.py,sha256=PTQMp-bxT5P-DbrEvFha10HBTcsDJ5srL3I1s9ljz58,3404
|
| 71 |
+
pygments/lexers/archetype.py,sha256=pQVlP1Fb5OA8nn7QwmFaaaOSvvpoIsQVw43FVCQCve4,11538
|
| 72 |
+
pygments/lexers/arrow.py,sha256=2PKdbWq3xQLF1KoDbWvSxpjwKRrznnDiArTflRGZzBo,3564
|
| 73 |
+
pygments/lexers/arturo.py,sha256=U5MtRNHJtnBn4ZOeWmW6MKlVRG7SX6KhTRamDqzn9tA,11414
|
| 74 |
+
pygments/lexers/asc.py,sha256=-DgZl9jccBDHPlDmjCsrEqx0-Q7ap7XVdNKtxLNWG1w,1693
|
| 75 |
+
pygments/lexers/asm.py,sha256=xm2Y5mcT-sF3oQvair4SWs9EWTyndoaUoSsDy5v6shI,41967
|
| 76 |
+
pygments/lexers/asn1.py,sha256=BlcloIX2bu6Q7BxGcksuhYFHGsXLVKyB4B9mFd4Pj6E,4262
|
| 77 |
+
pygments/lexers/automation.py,sha256=Q61qon8EwpfakMh_2MS2E2zUUT16rG3UNIKPYjITeTs,19831
|
| 78 |
+
pygments/lexers/bare.py,sha256=tWoei86JJX1k-ADhaXd5TgX6ItDTici9yFWpkTPhnfM,3020
|
| 79 |
+
pygments/lexers/basic.py,sha256=qpVe5h8Fa7NJo1EihN-4R_UZpHO6my2Ssgkb-BktkKs,27989
|
| 80 |
+
pygments/lexers/bdd.py,sha256=yysefcOFAEyk9kJ2y4EXmzJTecgLYUHlWixt_3YzPMU,1641
|
| 81 |
+
pygments/lexers/berry.py,sha256=zxGowFb8HMIyN15-m8nmWnW6bPRR4esKtSEVugc9uXM,3209
|
| 82 |
+
pygments/lexers/bibtex.py,sha256=yuNoPxwrJf9DCGUT17hxfDzbq_HtCLkQkRbBtiTVmeQ,4811
|
| 83 |
+
pygments/lexers/blueprint.py,sha256=NzvWHMxCLDWt8hc6gB5jokltxVJgNa7Jwh4c61ng388,6188
|
| 84 |
+
pygments/lexers/boa.py,sha256=dOot1XWNZThPIio2UyAX67K6EpISjSRCFjotD7dcnwE,3921
|
| 85 |
+
pygments/lexers/bqn.py,sha256=nJiwrPKKbRF-qdai5tfqipwBkkko2P3weiZAjHUMimY,3671
|
| 86 |
+
pygments/lexers/business.py,sha256=lRtekOJfsDkb12AGbuz10-G67OJrVJgCBtihTQ8_aoY,28345
|
| 87 |
+
pygments/lexers/c_cpp.py,sha256=D7ZIswaHASlGBgoTlwnSqTQHf8_JyvvSt2L2q1W-F6g,18059
|
| 88 |
+
pygments/lexers/c_like.py,sha256=FTGp17ds6X2rDZOHup2hH6BEn3gKK4nLm9pydNEhm0E,32021
|
| 89 |
+
pygments/lexers/capnproto.py,sha256=XQJAh1WS-0ulqbTn9TdzR6gEgWLcuBqb4sj3jNsrhsY,2174
|
| 90 |
+
pygments/lexers/carbon.py,sha256=av12YuTGZGpOa1Cmxp3lppx3LfSJUWbvOu0ixmUVll0,3211
|
| 91 |
+
pygments/lexers/cddl.py,sha256=MKa70IwABgjBjYu15_Q9v8rsu2sr1a-i2jkiaPTI6sM,5076
|
| 92 |
+
pygments/lexers/chapel.py,sha256=0n_fL3ehLC4pw4YKnmq9jxIXOJcxGPka1Wr1t1zsXPc,5156
|
| 93 |
+
pygments/lexers/clean.py,sha256=dkDPAwF5BTALPeuKFoRKOSD3RfsKcGWbaRo6_G8LHng,6418
|
| 94 |
+
pygments/lexers/codeql.py,sha256=ebvghn2zbrnETV4buVozMDmRCVKSdGiIN8ycLlHpGsE,2576
|
| 95 |
+
pygments/lexers/comal.py,sha256=TC3NzcJ58ew5jw7qwK0kJ-okTA47psZje0yAIS39HR4,3179
|
| 96 |
+
pygments/lexers/compiled.py,sha256=Slfo1sjWqcPawUwf0dIIZLBCL5pkOIoAX2S8Lxs02Mc,1426
|
| 97 |
+
pygments/lexers/configs.py,sha256=wW8pY0Sa5a10pnAeTLGf48HhixQTVageIyHEf1aYMCc,50913
|
| 98 |
+
pygments/lexers/console.py,sha256=-jAG120dupvV3kG3zC70brLJvSLwTFqMubBQuj_GVnU,4180
|
| 99 |
+
pygments/lexers/cplint.py,sha256=DkbyE5EKydLgf6BRr1FhQrK-IeQPL7Zmjk0DVdlRFnQ,1389
|
| 100 |
+
pygments/lexers/crystal.py,sha256=xU-RnpIkpjrquoxtOuOcP8fcesSJl4xhU7kO9m42LZY,15754
|
| 101 |
+
pygments/lexers/csound.py,sha256=ioSw4Q04wdwjUAbnTZ1qLhUq1vxdWFxhh3QtEl5RAJc,16998
|
| 102 |
+
pygments/lexers/css.py,sha256=JN1RBYsee-jrpHWrSmhN3TKc4TkOBn-_BEGpgTCzcqE,25376
|
| 103 |
+
pygments/lexers/d.py,sha256=piOy0EJeiAwPHugiM3gVv0z7HNh3u2gZQoCUSASRbY4,9920
|
| 104 |
+
pygments/lexers/dalvik.py,sha256=deFg2JPBktJ9mEGb9EgxNkmd6vaMjJFQVzUHo8NKIa8,4606
|
| 105 |
+
pygments/lexers/data.py,sha256=o0x0SmB5ms_CPUPljEEEenOON4IQWn86DkwFjkJYCOg,27026
|
| 106 |
+
pygments/lexers/dax.py,sha256=ASi73qmr7OA7cVZXF2GTYGt01Ly1vY8CgD_Pnpm8k-4,8098
|
| 107 |
+
pygments/lexers/devicetree.py,sha256=RecSQCidt8DRE1QFCPUbwwR0hiRlNtsFihdGldeUn3k,4019
|
| 108 |
+
pygments/lexers/diff.py,sha256=F6vxZ64wm5Nag_97de1H_3F700ZwCVnYjKvtT5jilww,5382
|
| 109 |
+
pygments/lexers/dns.py,sha256=Hh5hJ7MXfrq36KgfyIRwK3X8o1LdR98IKERcV4eZ7HY,3891
|
| 110 |
+
pygments/lexers/dotnet.py,sha256=NDE0kOmpe96GLO-zwNLazmj77E9ORGmKpa4ZMCXDXxQ,39441
|
| 111 |
+
pygments/lexers/dsls.py,sha256=GnHKhGL5GxsRFnqC7-65NTPZLOZdmnllNrGP86x_fQE,36746
|
| 112 |
+
pygments/lexers/dylan.py,sha256=7zZ1EbHWXeVHqTD36AqykKqo3fhuIh4sM-whcxUaH_Y,10409
|
| 113 |
+
pygments/lexers/ecl.py,sha256=vhmpa2LBrHxsPkYcf3kPZ1ItVaLRDTebi186wY0xGZA,6371
|
| 114 |
+
pygments/lexers/eiffel.py,sha256=5ydYIEFcgcMoEj4BlK31hZ0aJb8OX0RdAvuCNdlxwqw,2690
|
| 115 |
+
pygments/lexers/elm.py,sha256=uRCddU8jK5vVkH6Y66y8KOsDJprIfrOgeYq3hv1PxAM,3152
|
| 116 |
+
pygments/lexers/elpi.py,sha256=O9j_WKBPyvNFjCRuPciVpW4etVSnILm_T79BhCPZYmo,6877
|
| 117 |
+
pygments/lexers/email.py,sha256=ZZL6yvwCRl1CEQyysuOu0lbabp5tjMutS7f3efFKGR4,4804
|
| 118 |
+
pygments/lexers/erlang.py,sha256=bU11eVHvooLwmVknzN6Xkb2DMk7HbenqdNlYSzhThDM,19147
|
| 119 |
+
pygments/lexers/esoteric.py,sha256=Jfp8UUKyKYsqLaqXRZT3GSM9dzkF65zduwfnH1GoGhU,10500
|
| 120 |
+
pygments/lexers/ezhil.py,sha256=22r-xjvvBVpExTqCI-HycAwunDb1p5gY4tIfDmM0vDw,3272
|
| 121 |
+
pygments/lexers/factor.py,sha256=urZ4En4uKFCLXdEkXLWg9EYUFGHQTTDCwNXtyq-ngok,19530
|
| 122 |
+
pygments/lexers/fantom.py,sha256=JJ13-NwykD-iIESnuzCefCYeQDO95cHMJA8TasF4gHA,10231
|
| 123 |
+
pygments/lexers/felix.py,sha256=F-v0si4zPtRelqzDQWXI1-tarCE-BvawziODxRU7378,9655
|
| 124 |
+
pygments/lexers/fift.py,sha256=rOCwp3v5ocK5YOWvt7Td3Md--97_8e-7Sonx52uS8mA,1644
|
| 125 |
+
pygments/lexers/floscript.py,sha256=aHh82k52jMuDuzl9LatrcSANJiXTCyjGU3SO53bwbb0,2667
|
| 126 |
+
pygments/lexers/forth.py,sha256=ZMtsHdNbnS_0IdSYlfAlfTSPEr0MEsRo-YZriQNueTQ,7193
|
| 127 |
+
pygments/lexers/fortran.py,sha256=1PE5dTxf4Df6LUeXFcmNtyeXWsC8tSiK5dYwPHIJeeQ,10382
|
| 128 |
+
pygments/lexers/foxpro.py,sha256=CBkW62Fuibz3yfyelZCaEO8GGdFJWsuRhqwtsSeBwLM,26295
|
| 129 |
+
pygments/lexers/freefem.py,sha256=LFBQk-m1-nNCgrl-VDH3QwnVWurvb7W29i06LoT207A,26913
|
| 130 |
+
pygments/lexers/func.py,sha256=OR2rkM7gf9fKvad5WcFQln-_U_pb-RUCM9eQatToF4A,3700
|
| 131 |
+
pygments/lexers/functional.py,sha256=fYT2AGZ642cRkIAId0rnXFBsx1c8LLEDRN_VuCEkUyM,693
|
| 132 |
+
pygments/lexers/futhark.py,sha256=Vf1i4t-tR3zqaktVjhTzFNg_ts_9CcyA4ZDfDizbCmk,3743
|
| 133 |
+
pygments/lexers/gcodelexer.py,sha256=4Xs9ax4-JZGupW_qSnHon39wQGpb-tNA3xorMKg841E,874
|
| 134 |
+
pygments/lexers/gdscript.py,sha256=Ws7JKxy0M0IyZ_1iMfRvJPrizEwmeCNLDoeMIFaM-CU,7566
|
| 135 |
+
pygments/lexers/gleam.py,sha256=XIlTcq6cB743pCqbNYo8PocSkjZyDPR6hHgdaJNJ1Vc,2392
|
| 136 |
+
pygments/lexers/go.py,sha256=4LezefgyuqZWHzLZHieUkKTi-ssY6aHJxx7Z-LFaLK0,3783
|
| 137 |
+
pygments/lexers/grammar_notation.py,sha256=LvzhRQHgwZzq9oceukZS_hwnKK58ee7Z5d0cwXOR734,8043
|
| 138 |
+
pygments/lexers/graph.py,sha256=WFqoPA1c_hHYrV0i_F7-eUw3Co4_HmZY3GJ-TyDr670,4108
|
| 139 |
+
pygments/lexers/graphics.py,sha256=tmF9NNALnvPnax8ywYC3pLOla45YXtp9UA0H-5EiTQY,39145
|
| 140 |
+
pygments/lexers/graphql.py,sha256=O_zcrGrBaDaKTlUoJGRruxqk7CJi-NR92Y0Cs-KkCvw,5601
|
| 141 |
+
pygments/lexers/graphviz.py,sha256=mzdXOMpwz9_V-be1eTAMyhkKCBl6UxCIXuq6C2yrtsw,1934
|
| 142 |
+
pygments/lexers/gsql.py,sha256=VPZk9sb26-DumRkWfEaSTeoc0lx5xt5n-6eDDLezMtc,3990
|
| 143 |
+
pygments/lexers/hare.py,sha256=PGCOuILktJsmtTpCZZKkMFtObfJuBpei8HM8HHuq1Tw,2649
|
| 144 |
+
pygments/lexers/haskell.py,sha256=MYr74-PAC8kGJRX-dZmvZsHTc7a2u6yFS2B19LfDD7g,33262
|
| 145 |
+
pygments/lexers/haxe.py,sha256=WHCy_nrXHnfLITfbdp3Ji3lqQU4HAsTUpXsLCp2_4sk,30974
|
| 146 |
+
pygments/lexers/hdl.py,sha256=MOWxhmAuE4Ei0CKDqqaON7T8tl43geancrNYM136Z0U,22738
|
| 147 |
+
pygments/lexers/hexdump.py,sha256=1lj9oJ-KiZXSVYvTMfGmEAQzNEW08WlMcC2I5aYvHK4,3653
|
| 148 |
+
pygments/lexers/html.py,sha256=MxYTI4EeT7QxoGleCAyQq-8n_Sgly6tD95H5zanCNmk,21977
|
| 149 |
+
pygments/lexers/idl.py,sha256=rcihUAGhfuGEaSW6pgFq6NzplT_pv0DagUoefg4zAmk,15449
|
| 150 |
+
pygments/lexers/igor.py,sha256=wVefbUjb3ftaW3LCKGtX1JgLgiY4EmRor5gVOn8vQA8,31633
|
| 151 |
+
pygments/lexers/inferno.py,sha256=ChE_5y5SLH_75Uv7D2dKWQMk2dlN6z1gY1IDjlJZ8rU,3135
|
| 152 |
+
pygments/lexers/installers.py,sha256=ZHliit4Pxz1tYKOIjKkDXI5djTkpzYUMVIPR1xvUrL8,14435
|
| 153 |
+
pygments/lexers/int_fiction.py,sha256=0ZzIa1sZDUQsltd1oHuS-BoNiOF8zKQfcVuDyK1Ttv8,56544
|
| 154 |
+
pygments/lexers/iolang.py,sha256=L6dNDCLH0kxkIUi00fI4Z14QnRu79UcNDrgv02c5Zw8,1905
|
| 155 |
+
pygments/lexers/j.py,sha256=DqNdwQGFLiZW3mCNLRg81gpmsy4Hgcai_9NP3LbWhNU,4853
|
| 156 |
+
pygments/lexers/javascript.py,sha256=TGKQLSrCprCKfhLLGAq_0EOdvqvJKX9pOdKo7tCRurQ,63243
|
| 157 |
+
pygments/lexers/jmespath.py,sha256=R5yA5LJ2nTIaDwnFIpSNGAThd0sAYFccwawA9xBptlg,2082
|
| 158 |
+
pygments/lexers/jslt.py,sha256=OeYQf8O2_9FCaf9W6Q3a7rPdAFLthePCtVSgCrOTcl8,3700
|
| 159 |
+
pygments/lexers/json5.py,sha256=8JZbc8EiTEZdKaIdQg3hXEh0mHWSzPlwd473a0nUuT0,2502
|
| 160 |
+
pygments/lexers/jsonnet.py,sha256=bx2G6J4tJqGrJV1PyZrIWzWHXcoefCX-4lIxxtbn2gw,5636
|
| 161 |
+
pygments/lexers/jsx.py,sha256=wGsoGSB40qAJrVfXwRPtan7OcK0O87RVsHHk0m6gogk,2693
|
| 162 |
+
pygments/lexers/julia.py,sha256=0ZDJ9X83V5GqJzA6T6p0TTN8WHy2JAjvu-FSBXvfXdc,11710
|
| 163 |
+
pygments/lexers/jvm.py,sha256=Yt1iQ3QodXRY-x_HUOGedhyuBBHn5jYH-I8NzOzHTlE,72667
|
| 164 |
+
pygments/lexers/kuin.py,sha256=3dKKJVJlskgrvMKv2tY9NOsFfDjyo-3MLcJ1lFKdXSg,11405
|
| 165 |
+
pygments/lexers/kusto.py,sha256=kaxkoPpEBDsBTCvCOkZZx7oGfv0jk_UNIRIRbfVAsBE,3477
|
| 166 |
+
pygments/lexers/ldap.py,sha256=77vF4t_19x9V522cxRCM5d3HW8Ne3giYsFsMPVYYBw4,6551
|
| 167 |
+
pygments/lexers/lean.py,sha256=7HWRgxFsxS1N9XKqw0vfKwaxl27s5YiVYtZeRUoTHFo,8570
|
| 168 |
+
pygments/lexers/lilypond.py,sha256=yd2Tuv67um6EyCIr-VwBnlPhTHxMaQsBJ4nGgO5fjIk,9752
|
| 169 |
+
pygments/lexers/lisp.py,sha256=EHUy1g4pzEsYPE-zGj2rAXm3YATE1j9dCQOr5-JPSkU,157668
|
| 170 |
+
pygments/lexers/macaulay2.py,sha256=zkV-vxjQYa0Jj9TGfFP1iMgpTZ4ApQuAAIdJVGWb2is,33366
|
| 171 |
+
pygments/lexers/make.py,sha256=YMI5DBCrxWca-pz9cVXcyfuHLcikPx9R_3pW_98Myqo,7831
|
| 172 |
+
pygments/lexers/maple.py,sha256=Rs0dEmOMD3C1YQPd0mntN-vzReq4XfHegH6xV4lvJWo,7960
|
| 173 |
+
pygments/lexers/markup.py,sha256=zWtxsyIx_1OxQzS6wLe8bEqglePv4RqvJjbia8AvV5c,65088
|
| 174 |
+
pygments/lexers/math.py,sha256=P3ZK1ePd8ZnLdlmHezo2irCA8T2-nlHBoSaBoT5mEVI,695
|
| 175 |
+
pygments/lexers/matlab.py,sha256=F9KO4qowIhfP8oVhCRRzE_1sqg4zmQbsB2NZH193PiM,133027
|
| 176 |
+
pygments/lexers/maxima.py,sha256=a0h9Ggs9JEovTrzbJT-BLVbOqI29yPnaMZlkU5f_FeY,2715
|
| 177 |
+
pygments/lexers/meson.py,sha256=BMrsDo6BH2lzTFw7JDwQ9SDNMTrRkXCNRDVf4aFHdsI,4336
|
| 178 |
+
pygments/lexers/mime.py,sha256=yGrf3h37LK4b6ERBpFiL_qzn3JgOfGR5KLagnbWFl6c,7582
|
| 179 |
+
pygments/lexers/minecraft.py,sha256=Nu88snDDPzM0D-742fFdUriczL-EE911pAd4_I4-pAw,13696
|
| 180 |
+
pygments/lexers/mips.py,sha256=STKiZT67b3QERXXn7XKVxlPBu7vwbPC5EyCpuf3Jfbw,4656
|
| 181 |
+
pygments/lexers/ml.py,sha256=t8sCv4BjvuBq6AihKKUwStEONIgdXCC2RMtO0RopNbM,35390
|
| 182 |
+
pygments/lexers/modeling.py,sha256=M7B58bGB-Zwd1EmPxKqtRvg7TgNCyem3MVUHv0_H2SQ,13683
|
| 183 |
+
pygments/lexers/modula2.py,sha256=NtpXBRoUCeHfflgB39LknSkCwhBHBKv2Er_pinjVsNE,53072
|
| 184 |
+
pygments/lexers/mojo.py,sha256=8JRVoftN1E-W2woG0K-4n8PQXTUM9iY6Sl5sWb2uGNg,24233
|
| 185 |
+
pygments/lexers/monte.py,sha256=baWU6zlXloenw9MO1MtEVGE9i3CfiXAYhqU621MIjRk,6289
|
| 186 |
+
pygments/lexers/mosel.py,sha256=gjRdedhA1jTjoYoM1Gpaoog_I9o7TRbYMHk97N1TXwg,9297
|
| 187 |
+
pygments/lexers/ncl.py,sha256=zJ6ahlitit4S0pBXc7Wu96PB7xOn59MwfR2HdY5_C60,63999
|
| 188 |
+
pygments/lexers/nimrod.py,sha256=Q1NSqEkLC5wWt7xJyKC-vzWw_Iw2SfDNP_pyMFBuIfA,6413
|
| 189 |
+
pygments/lexers/nit.py,sha256=p_hVD8GzMRl3CABVKHtYgnXFUQk0i5F2FbWFA6WXm6s,2725
|
| 190 |
+
pygments/lexers/nix.py,sha256=NOrv20gdq-2A7eZ6c2gElPHv1Xx2pvv20-qOymL9GMg,4421
|
| 191 |
+
pygments/lexers/numbair.py,sha256=fxkp2CXeXWKBMewfi1H4JSYkmm4kU58wZ2Sh9BDYAWQ,1758
|
| 192 |
+
pygments/lexers/oberon.py,sha256=jw403qUUs7zpTHAs5CbLjb8qiuwtxLk0spDIYqGZwAw,4210
|
| 193 |
+
pygments/lexers/objective.py,sha256=Fo1WB3JMj8sNeYnvB84H4_qwhOt4WNJtJWjVEOwrJGk,23297
|
| 194 |
+
pygments/lexers/ooc.py,sha256=kD1XaJZaihDF_s-Vyu1Bx68S_9zFt2rhox7NF8LpOZM,3002
|
| 195 |
+
pygments/lexers/openscad.py,sha256=h9I1k8kiuQmhX5vZm6VDSr2fa5Finy0sN8ZDIE-jx1c,3700
|
| 196 |
+
pygments/lexers/other.py,sha256=WLVyqPsvm9oSXIbZwbfyJloS6HGgoFW5nVTaU1uQpTw,1763
|
| 197 |
+
pygments/lexers/parasail.py,sha256=DWMGhtyQgGTXbIgQl_mID6CKqi-Dhbvs_dTkmvrZXfE,2719
|
| 198 |
+
pygments/lexers/parsers.py,sha256=feNgxroPoWRf0NEsON2mtmKDUfslIQppukw6ndEsQ3M,26596
|
| 199 |
+
pygments/lexers/pascal.py,sha256=N2tRAjlXnTxggAzzk2tOOAVzeC2MBzrXy97_HQl5n44,30989
|
| 200 |
+
pygments/lexers/pawn.py,sha256=LWUYQYsebMMt2d5oxX1HYWvBqbakR1h7Av_z8Vw94Wg,8253
|
| 201 |
+
pygments/lexers/pddl.py,sha256=Mk4_BzlROJCd0xR4KKRRSrbj0F7LLQcBRjmsmtWmrCg,2989
|
| 202 |
+
pygments/lexers/perl.py,sha256=9BXn3tyHMA49NvzbM9E2czSCHjeU7bvaPLUcoZrhz-4,39192
|
| 203 |
+
pygments/lexers/phix.py,sha256=hZqychqo5sFMBDESzDPXg1DYHQe_9sn294UfbjihaFk,23249
|
| 204 |
+
pygments/lexers/php.py,sha256=l4hzQrlm0525i5dSw9Vmjcai3TzbPT6DkjzxPg9l6Zc,13061
|
| 205 |
+
pygments/lexers/pointless.py,sha256=WSDjqQyGrNIGmTCdaMxl4zk7OZTlJAMzeUZ02kfgcTI,1974
|
| 206 |
+
pygments/lexers/pony.py,sha256=EXrMkacqMZblI7v4AvBRQe-3Py8__bx5FOgjCLdfXxQ,3279
|
| 207 |
+
pygments/lexers/praat.py,sha256=4UFK-nbC6WkZBhJgcQqEGqq9CocJkW7AmT_OJQbjWzk,12676
|
| 208 |
+
pygments/lexers/procfile.py,sha256=05W2fyofLTP-FbEdSXD1eles-PPqVNfF6RWXjQdW2us,1155
|
| 209 |
+
pygments/lexers/prolog.py,sha256=9Kc5YNUFqkfWu2sYoyzC3RX65abf1bm7oHr86z1s4kQ,12866
|
| 210 |
+
pygments/lexers/promql.py,sha256=n-0vo-o8-ZasqP3Va4ujs562UfZSLfZF-RzT71yL0Tk,4738
|
| 211 |
+
pygments/lexers/prql.py,sha256=PFReuvhbv4K5aeu6lvDfw4m-3hULkB3r43bKAy948os,8747
|
| 212 |
+
pygments/lexers/ptx.py,sha256=KSHAvbiNVUntKilQ6EPYoLFocmJpRsBy_7fW6_Nrs1Y,4501
|
| 213 |
+
pygments/lexers/python.py,sha256=WZe7fBAHKZ_BxPg8qIU26UGhk8qwUYyENJ3IyPW64mc,53805
|
| 214 |
+
pygments/lexers/q.py,sha256=WQFUh3JrpK2j-VGW_Ytn3uJ5frUNmQIFnLtMVGRA9DI,6936
|
| 215 |
+
pygments/lexers/qlik.py,sha256=2wqwdfIjrAz6RNBsP4MyeLX8Z7QpIGzxtf1CvaOlr_g,3693
|
| 216 |
+
pygments/lexers/qvt.py,sha256=XMBnsWRrvCDf989OuDeb-KpszAkeETiACyaghZeL1ns,6103
|
| 217 |
+
pygments/lexers/r.py,sha256=B6WgrD9SY1UTCV1fQBSlZbezPfpYsARn3FQIHcFYOiM,6474
|
| 218 |
+
pygments/lexers/rdf.py,sha256=qUzxLna9v071bHhZAjdsBi8dKaJNk_h9g1ZRUAYCfoo,16056
|
| 219 |
+
pygments/lexers/rebol.py,sha256=4u3N4kzui55HapopXDu3Kt0jczxDZ4buzwR7Mt4tQiM,18259
|
| 220 |
+
pygments/lexers/rego.py,sha256=Rx5Gphbktr9ojg5DbqlyxHeQqqtF7g8W-oF0rmloDNY,1748
|
| 221 |
+
pygments/lexers/resource.py,sha256=ioEzgWksB5HCjoz85XNkQPSd7n5kL0SZiuPkJP1hunQ,2927
|
| 222 |
+
pygments/lexers/ride.py,sha256=kCWdxuR3PclVi4wiA0uUx4CYEFwuTqoMsKjhSW4X3yg,5035
|
| 223 |
+
pygments/lexers/rita.py,sha256=Mj1QNxx1sWAZYC02kw8piVckaiw9B0MqQtiIiDFH0pA,1127
|
| 224 |
+
pygments/lexers/rnc.py,sha256=g7ZD334PMGUqy_Ij64laSN1vJerwHqVkegfMCa3E-y8,1972
|
| 225 |
+
pygments/lexers/roboconf.py,sha256=HbYuK5CqmQdd63SRY2nle01r7-p7mil0SnoauYDmEOY,2074
|
| 226 |
+
pygments/lexers/robotframework.py,sha256=c4U1B9Q9ITBCTohqJTZOvkfyeVbenN4xhzSWIoZh5eU,18448
|
| 227 |
+
pygments/lexers/ruby.py,sha256=uG617E5abBZcECRCqkhIfc-IbZcRb5cGuUZq_xpax90,22753
|
| 228 |
+
pygments/lexers/rust.py,sha256=ZY-9vtsreBP0NfDd0WCouLSp_9MChAL8U8Abe-m9PB8,8260
|
| 229 |
+
pygments/lexers/sas.py,sha256=C1Uz2s9DU6_s2kL-cB_PAGPtpyK5THlmhNmCumC1l48,9456
|
| 230 |
+
pygments/lexers/savi.py,sha256=jrmruK0GnXktgBTWXW3oN3TXtofn3HBbkMlHnR84cko,4878
|
| 231 |
+
pygments/lexers/scdoc.py,sha256=DXRmFDmYuc7h3gPAAVhfcL1OEbNBK5RdPpJqQzF3ZTk,2524
|
| 232 |
+
pygments/lexers/scripting.py,sha256=eaYlkDK-_cAwTcCBHP6QXBCz8n6OzbhzdkRe0uV0xWY,81814
|
| 233 |
+
pygments/lexers/sgf.py,sha256=w6C513ENaO2YCnqrduK7k03NaMDf-pgygvfzq2NaSRk,1985
|
| 234 |
+
pygments/lexers/shell.py,sha256=dCS1zwkf5KwTog4__MnMC7h3Xmwv4_d3fnEV29tSwXI,36381
|
| 235 |
+
pygments/lexers/sieve.py,sha256=eob-L84yf2jmhdNyYZUlbUJozdcd6GXcHW68lmAe8WE,2514
|
| 236 |
+
pygments/lexers/slash.py,sha256=I-cRepmaxhL1SgYvD1hHX3gNBFI8NPszdU7hn1o5JlA,8484
|
| 237 |
+
pygments/lexers/smalltalk.py,sha256=ue2PmqDK2sw0j75WdseiiENJBdZ1OwysH2Op1QN1r24,7204
|
| 238 |
+
pygments/lexers/smithy.py,sha256=VREWoeuz7ANap_Uiopn7rs0Tnsfc-xBisDJKRGQY_y8,2659
|
| 239 |
+
pygments/lexers/smv.py,sha256=He_VBSMbWONMWZmkrB5RYR0cfHVnMyKIXz68IFYl-a8,2805
|
| 240 |
+
pygments/lexers/snobol.py,sha256=qDzb41xQQWMNmjB2MtZs23pFoFgZ2gbRZhK_Ir03r7I,2778
|
| 241 |
+
pygments/lexers/solidity.py,sha256=Tixfnwku4Yezj6nNm8xVaw7EdV1qgAgdwahdTFP0St8,3163
|
| 242 |
+
pygments/lexers/soong.py,sha256=Vm18vV4g6T8UPgjjY2yTRlSXGDpZowmuqQUBFfm4A9A,2339
|
| 243 |
+
pygments/lexers/sophia.py,sha256=2YtYIT8iwAoW0B7TZuuoG_ZILhJV-2A7oBGat-98naE,3376
|
| 244 |
+
pygments/lexers/special.py,sha256=8JuR2Vex8X-RWnC36S0HXTHWp2qmZclc90-TrLUWyaY,3585
|
| 245 |
+
pygments/lexers/spice.py,sha256=m4nK0q4Sq_OFQez7kGWfki0No4ZV24YrONfHVj1Piqs,2790
|
| 246 |
+
pygments/lexers/sql.py,sha256=WSG6vOsR87EEEwSQefP_Z7TauUG_BjqMHUFmPaSOVj4,41476
|
| 247 |
+
pygments/lexers/srcinfo.py,sha256=B8vDs-sJogG3mWa5Hp_7JfHHUMyYRwGvKv6cKbFQXLM,1746
|
| 248 |
+
pygments/lexers/stata.py,sha256=Zr9BC52D5O_3BbdW0N-tzoUmy0NTguL2sC-saXRVM-c,6415
|
| 249 |
+
pygments/lexers/supercollider.py,sha256=_H5wDrn0DiGnlhB_cz6Rt_lo2TvqjSm0o6NPTd9R4Ko,3697
|
| 250 |
+
pygments/lexers/tablegen.py,sha256=1JjedXYY18BNiY9JtNGLOtGfiwduNDZpQLBGTeQ6jAw,3987
|
| 251 |
+
pygments/lexers/tact.py,sha256=X_lsxjFUMaC1TmYysXJq9tmAGifRnil83Bt1zA86Xdo,10809
|
| 252 |
+
pygments/lexers/tal.py,sha256=xS9PlaWQOPj8MVr56fUNq31vUQKRWoLTlyWj9ZHm8AM,2904
|
| 253 |
+
pygments/lexers/tcl.py,sha256=lK97ju4nikkt-oGOzIeyFEM98yq4dZSI8uEmYsq0R6c,5512
|
| 254 |
+
pygments/lexers/teal.py,sha256=t3dqy_Arwv8_yExbX_xiFxv1TqJLPv4vh1MVKjKwS4Y,3522
|
| 255 |
+
pygments/lexers/templates.py,sha256=BVdjYeoacIUuFyHTG39j4PxeNCe5E1oUURjH1rITrI4,75731
|
| 256 |
+
pygments/lexers/teraterm.py,sha256=ciwztagW5Drg2gr17Qykrh6GwMsKy7e4xdQshX95GyQ,9718
|
| 257 |
+
pygments/lexers/testing.py,sha256=YZgDgUEaLEYKSKEqpDsUi3Bn-Db_D42IlyiSsr1oX8U,10810
|
| 258 |
+
pygments/lexers/text.py,sha256=nOCQPssIlKdVWU3PKxZiBPkf_KFM2V48IOssSyqhFY8,1068
|
| 259 |
+
pygments/lexers/textedit.py,sha256=ttT4Ph-hIdgFLG6maRy_GskkziTFK0Wcg28yU0s6lek,7760
|
| 260 |
+
pygments/lexers/textfmts.py,sha256=mi9KLEq4mrzDJbEc8G3VM-mSki_Tylkzodu47yH6z84,15524
|
| 261 |
+
pygments/lexers/theorem.py,sha256=51ppBAEdhJmwU_lC916zMyjEoKLXqf89VAE_Lr0PNCc,17855
|
| 262 |
+
pygments/lexers/thingsdb.py,sha256=x_fHNkLA-hIJyeIs6rg_X8n5OLYvFqaSu1FhI3apI5Y,6017
|
| 263 |
+
pygments/lexers/tlb.py,sha256=ue2gqm45BI512lM13O8skAky9zAb7pLMrxZ8pbt5zRU,1450
|
| 264 |
+
pygments/lexers/tls.py,sha256=_uQUVuMRDOhN-XUyGR5DIlVCk1CUZ1fIOSN4_WQYPKk,1540
|
| 265 |
+
pygments/lexers/tnt.py,sha256=pK4LgoKON7u1xF66JYFncAPSbD8DZaeI_WTZ9HqEFlY,10456
|
| 266 |
+
pygments/lexers/trafficscript.py,sha256=X3B8kgxS54ecuok9ic6Hkp-UMn5DvOmCK0p70Tz27Cw,1506
|
| 267 |
+
pygments/lexers/typoscript.py,sha256=mBuePiVZUoAORPKsHwrx6fBWiy3fAIqG-2O67QmMiFI,8332
|
| 268 |
+
pygments/lexers/typst.py,sha256=zIJBEhUXtWp5OiyAmvFA5m8d1EQG-ocwrJ677dvTUAk,7167
|
| 269 |
+
pygments/lexers/ul4.py,sha256=rCaw0J9j3cdql9lX_HTilg65k9-9S118zOA6TAYfxaM,10499
|
| 270 |
+
pygments/lexers/unicon.py,sha256=RAqoCnAAJBYOAGdR8ng0g6FtB39bGemLRlIqv5mcg9E,18625
|
| 271 |
+
pygments/lexers/urbi.py,sha256=ajNP70NJg32jNnFDZsLvr_-4TToSGqRGkFyAPIJLfCU,6082
|
| 272 |
+
pygments/lexers/usd.py,sha256=2eEGouolodYS402P_gtBrn4lLzpg1z8uHwPCKqjUb_k,3304
|
| 273 |
+
pygments/lexers/varnish.py,sha256=dSh0Ku9SrjmlB29Fi_mWdWavN7M0cMKeepR4a34sOyI,7473
|
| 274 |
+
pygments/lexers/verification.py,sha256=Qu433Q_h3EK3uS4bJoLRFZK0kIVwzX5AFKsa4Z-qnxA,3934
|
| 275 |
+
pygments/lexers/verifpal.py,sha256=buyOOzCo_dGnoC40h0tthylHVVpgDt8qXu4olLvYy_4,2661
|
| 276 |
+
pygments/lexers/vip.py,sha256=2lEV4cLV9p4E37wctBL7zkZ4ZU4p3HVsiLJFzB1bie0,5711
|
| 277 |
+
pygments/lexers/vyper.py,sha256=Zq6sQIUBk6mBdpgOVgu3A6swGoBne0kDlRyjZznm2BY,5615
|
| 278 |
+
pygments/lexers/web.py,sha256=4W9a7vcskrGJnxt4KmoE3SZydWB1qLq7lP2XS85J_m8,913
|
| 279 |
+
pygments/lexers/webassembly.py,sha256=zgcMouzLawcbeFr6w_SOvGoUR68ZtqnnsbOcWEVleLk,5698
|
| 280 |
+
pygments/lexers/webidl.py,sha256=ODtVmw4gVzI8HQWxuEckP6KMwm8WP2G2lSZEjagDXts,10516
|
| 281 |
+
pygments/lexers/webmisc.py,sha256=-_-INDVdk47e2jlj-9bFcuLtntqVorBqIjlnwPfZFdI,40564
|
| 282 |
+
pygments/lexers/wgsl.py,sha256=9igd9dzixGIgNewruv9mPnFms-c9BahkZcCCrZygv84,11880
|
| 283 |
+
pygments/lexers/whiley.py,sha256=lMr750lA4MZsB4xqzVsIRtVMJIC3_dArhFYTHvOPwvA,4017
|
| 284 |
+
pygments/lexers/wowtoc.py,sha256=8xxvf0xGeYtf4PE7KtkHZ_ly9xY_XXHrpCitdKE42Ro,4076
|
| 285 |
+
pygments/lexers/wren.py,sha256=goGXnAMKKa13LLL40ybT3aMGPrk3gCRwZQFYAkKB_w0,3229
|
| 286 |
+
pygments/lexers/x10.py,sha256=Q-AmgdF2E-N7mtOPpZ07CsxrTVnikyqC4uRRv6H75sk,1943
|
| 287 |
+
pygments/lexers/xorg.py,sha256=9ttrBd3_Y2nXANsqtMposSgblYmMYqWXQ-Iz5RH9RsU,925
|
| 288 |
+
pygments/lexers/yang.py,sha256=13CWbSaNr9giOHz4o0SXSklh0bfWt0ah14jJGpTvcn0,4499
|
| 289 |
+
pygments/lexers/yara.py,sha256=jUSv78KTDfguCoAoAZKbYzQERkkyxBBWv5dInVrkDxo,2427
|
| 290 |
+
pygments/lexers/zig.py,sha256=f-80MVOSp1KnczAMokQLVM-_wAEOD16EcGFnaCNlsN0,3976
|
| 291 |
+
pygments/styles/__init__.py,sha256=f9KCQXN4uKbe8aI8-L3qTC-_XPfT563FwTg6VTGVfwI,2006
|
| 292 |
+
pygments/styles/_mapping.py,sha256=6lovFUE29tz6EsV3XYY4hgozJ7q1JL7cfO3UOlgnS8w,3312
|
| 293 |
+
pygments/styles/abap.py,sha256=64Uwr8uPdEdcT-tE-Y2VveTXfH3SkqH9qdMgY49YHQI,749
|
| 294 |
+
pygments/styles/algol.py,sha256=fCuk8ITTehvbJSufiaKlgnFsKbl-xFxxR82xhltc-cQ,2262
|
| 295 |
+
pygments/styles/algol_nu.py,sha256=Gv9WfHJvYegGcUk1zcufQgsdXPNjCUNk8sAHyrSGGh4,2283
|
| 296 |
+
pygments/styles/arduino.py,sha256=NoUB8xk7M1HGPoLfuySOLU0sVwoTuLcZqllXl2EO_iE,4557
|
| 297 |
+
pygments/styles/autumn.py,sha256=fLLfjHXjxCl6crBAxEsBLH372ALMkFacA2bG6KFbJi4,2195
|
| 298 |
+
pygments/styles/borland.py,sha256=_0ySKp4KGCSgtYjPe8uzD6gQhlmAIR4T43i-FoRYNOM,1611
|
| 299 |
+
pygments/styles/bw.py,sha256=vhk8Xoj64fLPdA9IQU6mUVsYMel255jR-FDU7BjIHtI,1406
|
| 300 |
+
pygments/styles/coffee.py,sha256=NqLt-fc7LONma1BGggbceVRY9uDE70WBuZXqK4zwaco,2308
|
| 301 |
+
pygments/styles/colorful.py,sha256=mYcSbehtH7itH_QV9NqJp4Wna1X4lrwl2wkVXS2u-5A,2832
|
| 302 |
+
pygments/styles/default.py,sha256=RTgG2zKWWUxPTDCFxhTnyZI_WZBIVgu5XsUpNvFisCA,2588
|
| 303 |
+
pygments/styles/dracula.py,sha256=vRJmixBoSKV9o8NVQhXGViQqchhIYugfikLmvX0DoBw,2182
|
| 304 |
+
pygments/styles/emacs.py,sha256=TiOG9oc83qToMCRMnJrXtWYqnzAqYycRz_50OoCKtxc,2535
|
| 305 |
+
pygments/styles/friendly.py,sha256=oAi-l9anQTs9STDmUzXGDlOegatEOH4hpD0j6o6dZGM,2604
|
| 306 |
+
pygments/styles/friendly_grayscale.py,sha256=a7Cqkzt6-uTiXvj6GoYBXzRvX5_zviCjjRB04Kf_-Q0,2828
|
| 307 |
+
pygments/styles/fruity.py,sha256=GfSUTG0stlJr5Ow_saCaxbI2IB4-34Dp2TuRTpfUJBs,1324
|
| 308 |
+
pygments/styles/gh_dark.py,sha256=ruNX3d4rf22rx-8HnwvGbNbXRQpXCNcHU1HNq6N4uNg,3590
|
| 309 |
+
pygments/styles/gruvbox.py,sha256=KrFoHEoVnZW6XM9udyXncPomeGyZgIDsNWOH3kCrxFQ,3387
|
| 310 |
+
pygments/styles/igor.py,sha256=fYYPhM0dRCvcDTMVrMVO5oFKnYm-8YVlsuVBoczFLtY,737
|
| 311 |
+
pygments/styles/inkpot.py,sha256=jggSeX9NV15eOL2oJaVmZ6vmV7LWRzXJQRUqcWEqGRs,2404
|
| 312 |
+
pygments/styles/lightbulb.py,sha256=Y8u1qdvlHfBqI2jJex55SkvVatVo_FjEUzE6h-X7m-0,3172
|
| 313 |
+
pygments/styles/lilypond.py,sha256=Y6fp_sEL-zESmxAaMxzjtrKk90cuDC_DalNdC8wj0nw,2066
|
| 314 |
+
pygments/styles/lovelace.py,sha256=cA9uhmbnzY04MccsiYSgMY7fvb4WMRbegWBUrGvXh1M,3178
|
| 315 |
+
pygments/styles/manni.py,sha256=g9FyO7plTwfMm2cU4iiKgdlkMlvQLG6l2Lwkgz5ITS4,2443
|
| 316 |
+
pygments/styles/material.py,sha256=LDmgomAbgtJDZhbv446_zIwgYh50UAqEEtgYNUns1rQ,4201
|
| 317 |
+
pygments/styles/monokai.py,sha256=lrxTJpkBarV9gTLkBQryZ6oNSjekAVheJueKJP5iEYA,5184
|
| 318 |
+
pygments/styles/murphy.py,sha256=-AKZiLkpiWej-otjHMsYCE-I-_IzCOLJY-_GBdKRZRw,2805
|
| 319 |
+
pygments/styles/native.py,sha256=l6tezGSQTB8p_SyOXJ0PWI7KzCeEdtsPmVc4Yn4_CwU,2043
|
| 320 |
+
pygments/styles/nord.py,sha256=GDt3WAaqaWsiCeqpIBPxd8TEUX708fGfwaA7S0w0oy0,5391
|
| 321 |
+
pygments/styles/onedark.py,sha256=k80cZEppCEF-HLoxy_FEA0QmQDZze68nHVMNGyUVa28,1719
|
| 322 |
+
pygments/styles/paraiso_dark.py,sha256=Jkrg4nUKIVNF8U4fPNV_Smq_g9NFbb9eiUrjYpVgQZg,5662
|
| 323 |
+
pygments/styles/paraiso_light.py,sha256=MxN964ZEpze3wF0ss-igaa2I7E684MHe-Zq0rWPH3wo,5668
|
| 324 |
+
pygments/styles/pastie.py,sha256=ZvAs9UpBNYFC-5PFrCRGYnm3FoPKb-eKR-ozbWZP-4g,2525
|
| 325 |
+
pygments/styles/perldoc.py,sha256=HSxB93e4UpQkZspReQ34FeJbZ-59ksGvdaH-hToehi8,2230
|
| 326 |
+
pygments/styles/rainbow_dash.py,sha256=4ugL18Or7aNtaLfPfCLFRiFy0Gu2RA4a9G2LQUE9SrM,2390
|
| 327 |
+
pygments/styles/rrt.py,sha256=fgzfpC0PC_SCcLOMCNEIQTjPUMOncRe7SR10GfSRbXY,1006
|
| 328 |
+
pygments/styles/sas.py,sha256=yzoXmbfQ2ND1WWq93b4vVGYkQSZHPqb4ymes9YYRT3w,1440
|
| 329 |
+
pygments/styles/solarized.py,sha256=qupILFZn02WspnAF5SPYb-W8guo9xnUtjb1HeLw3XgE,4247
|
| 330 |
+
pygments/styles/staroffice.py,sha256=CLbBeMoxay21Xyu3Af2p4xUXyG1_6ydCbvs5RJKYe5w,831
|
| 331 |
+
pygments/styles/stata_dark.py,sha256=vX8SwHV__sG92F4CKribG08MJfSVq98dgs7gEA_n9yc,1257
|
| 332 |
+
pygments/styles/stata_light.py,sha256=uV3GE-ylvffQ0yN3py1YAVqBB5wflIKZbceyK1Lqvrc,1289
|
| 333 |
+
pygments/styles/tango.py,sha256=O2wcM4hHuU1Yt071M9CK7JPtiiSCqyxtT9tbiQICV28,7137
|
| 334 |
+
pygments/styles/trac.py,sha256=9kMv1ZZyMKACWlx2fQVjRP0I2pgcRYCNrd7iGGZg9qk,1981
|
| 335 |
+
pygments/styles/vim.py,sha256=J7_TqvrGkTX_XuTHW0In5wqPLAUPRWyr1122XueZWmM,2019
|
| 336 |
+
pygments/styles/vs.py,sha256=s7YnzbIPuFU3LIke27mc4lAQSn2R3vbbHc1baMGSU_U,1130
|
| 337 |
+
pygments/styles/xcode.py,sha256=PbQdzgGaA4a9LAU1i58alY9kM4IFlQX5jHQwOYmf_Rk,1504
|
| 338 |
+
pygments/styles/zenburn.py,sha256=suZEKzBTCYdhf2cxNwcY7UATJK1tq5eYhGdBcXdf6MU,2203
|
| 339 |
+
pygments-2.19.2.dist-info/METADATA,sha256=euEA1n1nAGxkeYA92DX89HqbWfrHlEQeqOZqp_WYTYI,2512
|
| 340 |
+
pygments-2.19.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
| 341 |
+
pygments-2.19.2.dist-info/entry_points.txt,sha256=uUXw-XhMKBEX4pWcCtpuTTnPhL3h7OEE2jWi51VQsa8,53
|
| 342 |
+
pygments-2.19.2.dist-info/licenses/AUTHORS,sha256=BmDjGKbyFYAq3Icxq4XQxl_yfPzKP10oWX8wZHYZW9k,10824
|
| 343 |
+
pygments-2.19.2.dist-info/licenses/LICENSE,sha256=qdZvHVJt8C4p3Oc0NtNOVuhjL0bCdbvf_HBWnogvnxc,1331
|
| 344 |
+
pygments-2.19.2.dist-info/RECORD,,
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: hatchling 1.27.0
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/entry_points.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[console_scripts]
|
| 2 |
+
pygmentize = pygments.cmdline:main
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Pygments is written and maintained by Georg Brandl <georg@python.org>.
|
| 2 |
+
|
| 3 |
+
Major developers are Tim Hatch <tim@timhatch.com> and Armin Ronacher
|
| 4 |
+
<armin.ronacher@active-4.com>.
|
| 5 |
+
|
| 6 |
+
Other contributors, listed alphabetically, are:
|
| 7 |
+
|
| 8 |
+
* Sam Aaron -- Ioke lexer
|
| 9 |
+
* Jean Abou Samra -- LilyPond lexer
|
| 10 |
+
* João Abecasis -- JSLT lexer
|
| 11 |
+
* Ali Afshar -- image formatter
|
| 12 |
+
* Thomas Aglassinger -- Easytrieve, JCL, Rexx, Transact-SQL and VBScript
|
| 13 |
+
lexers
|
| 14 |
+
* Maxence Ahlouche -- PostgreSQL Explain lexer
|
| 15 |
+
* Muthiah Annamalai -- Ezhil lexer
|
| 16 |
+
* Nikolay Antipov -- OpenSCAD lexer
|
| 17 |
+
* Kumar Appaiah -- Debian control lexer
|
| 18 |
+
* Andreas Amann -- AppleScript lexer
|
| 19 |
+
* Timothy Armstrong -- Dart lexer fixes
|
| 20 |
+
* Jeffrey Arnold -- R/S, Rd, BUGS, Jags, and Stan lexers
|
| 21 |
+
* Eiríkr Åsheim -- Uxntal lexer
|
| 22 |
+
* Jeremy Ashkenas -- CoffeeScript lexer
|
| 23 |
+
* José Joaquín Atria -- Praat lexer
|
| 24 |
+
* Stefan Matthias Aust -- Smalltalk lexer
|
| 25 |
+
* Lucas Bajolet -- Nit lexer
|
| 26 |
+
* Ben Bangert -- Mako lexers
|
| 27 |
+
* Max Battcher -- Darcs patch lexer
|
| 28 |
+
* Thomas Baruchel -- APL lexer
|
| 29 |
+
* Tim Baumann -- (Literate) Agda lexer
|
| 30 |
+
* Paul Baumgart, 280 North, Inc. -- Objective-J lexer
|
| 31 |
+
* Michael Bayer -- Myghty lexers
|
| 32 |
+
* Thomas Beale -- Archetype lexers
|
| 33 |
+
* John Benediktsson -- Factor lexer
|
| 34 |
+
* David Benjamin, Google LLC -- TLS lexer
|
| 35 |
+
* Trevor Bergeron -- mIRC formatter
|
| 36 |
+
* Vincent Bernat -- LessCSS lexer
|
| 37 |
+
* Christopher Bertels -- Fancy lexer
|
| 38 |
+
* Sébastien Bigaret -- QVT Operational lexer
|
| 39 |
+
* Jarrett Billingsley -- MiniD lexer
|
| 40 |
+
* Adam Blinkinsop -- Haskell, Redcode lexers
|
| 41 |
+
* Stéphane Blondon -- Procfile, SGF and Sieve lexers
|
| 42 |
+
* Frits van Bommel -- assembler lexers
|
| 43 |
+
* Pierre Bourdon -- bugfixes
|
| 44 |
+
* Martijn Braam -- Kernel log lexer, BARE lexer
|
| 45 |
+
* JD Browne, Google LLC -- GoogleSQL lexer
|
| 46 |
+
* Matthias Bussonnier -- ANSI style handling for terminal-256 formatter
|
| 47 |
+
* chebee7i -- Python traceback lexer improvements
|
| 48 |
+
* Hiram Chirino -- Scaml and Jade lexers
|
| 49 |
+
* Mauricio Caceres -- SAS and Stata lexers.
|
| 50 |
+
* Michael Camilleri, John Gabriele, sogaiu -- Janet lexer
|
| 51 |
+
* Daren Chandisingh -- Gleam lexer
|
| 52 |
+
* Ian Cooper -- VGL lexer
|
| 53 |
+
* David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers
|
| 54 |
+
* Leaf Corcoran -- MoonScript lexer
|
| 55 |
+
* Fraser Cormack -- TableGen lexer
|
| 56 |
+
* Gabriel Corona -- ASN.1 lexer
|
| 57 |
+
* Christopher Creutzig -- MuPAD lexer
|
| 58 |
+
* Daniël W. Crompton -- Pike lexer
|
| 59 |
+
* Pete Curry -- bugfixes
|
| 60 |
+
* Bryan Davis -- EBNF lexer
|
| 61 |
+
* Bruno Deferrari -- Shen lexer
|
| 62 |
+
* Walter Dörwald -- UL4 lexer
|
| 63 |
+
* Luke Drummond -- Meson lexer
|
| 64 |
+
* Giedrius Dubinskas -- HTML formatter improvements
|
| 65 |
+
* Owen Durni -- Haxe lexer
|
| 66 |
+
* Alexander Dutton, Oxford University Computing Services -- SPARQL lexer
|
| 67 |
+
* James Edwards -- Terraform lexer
|
| 68 |
+
* Nick Efford -- Python 3 lexer
|
| 69 |
+
* Sven Efftinge -- Xtend lexer
|
| 70 |
+
* Artem Egorkine -- terminal256 formatter
|
| 71 |
+
* Matthew Fernandez -- CAmkES lexer
|
| 72 |
+
* Paweł Fertyk -- GDScript lexer, HTML formatter improvements
|
| 73 |
+
* Michael Ficarra -- CPSA lexer
|
| 74 |
+
* James H. Fisher -- PostScript lexer
|
| 75 |
+
* Amanda Fitch, Google LLC -- GoogleSQL lexer
|
| 76 |
+
* William S. Fulton -- SWIG lexer
|
| 77 |
+
* Carlos Galdino -- Elixir and Elixir Console lexers
|
| 78 |
+
* Michael Galloy -- IDL lexer
|
| 79 |
+
* Naveen Garg -- Autohotkey lexer
|
| 80 |
+
* Simon Garnotel -- FreeFem++ lexer
|
| 81 |
+
* Laurent Gautier -- R/S lexer
|
| 82 |
+
* Alex Gaynor -- PyPy log lexer
|
| 83 |
+
* Richard Gerkin -- Igor Pro lexer
|
| 84 |
+
* Alain Gilbert -- TypeScript lexer
|
| 85 |
+
* Alex Gilding -- BlitzBasic lexer
|
| 86 |
+
* GitHub, Inc -- DASM16, Augeas, TOML, and Slash lexers
|
| 87 |
+
* Bertrand Goetzmann -- Groovy lexer
|
| 88 |
+
* Krzysiek Goj -- Scala lexer
|
| 89 |
+
* Rostyslav Golda -- FloScript lexer
|
| 90 |
+
* Andrey Golovizin -- BibTeX lexers
|
| 91 |
+
* Matt Good -- Genshi, Cheetah lexers
|
| 92 |
+
* Michał Górny -- vim modeline support
|
| 93 |
+
* Alex Gosse -- TrafficScript lexer
|
| 94 |
+
* Patrick Gotthardt -- PHP namespaces support
|
| 95 |
+
* Hubert Gruniaux -- C and C++ lexer improvements
|
| 96 |
+
* Olivier Guibe -- Asymptote lexer
|
| 97 |
+
* Phil Hagelberg -- Fennel lexer
|
| 98 |
+
* Florian Hahn -- Boogie lexer
|
| 99 |
+
* Martin Harriman -- SNOBOL lexer
|
| 100 |
+
* Matthew Harrison -- SVG formatter
|
| 101 |
+
* Steven Hazel -- Tcl lexer
|
| 102 |
+
* Dan Michael Heggø -- Turtle lexer
|
| 103 |
+
* Aslak Hellesøy -- Gherkin lexer
|
| 104 |
+
* Greg Hendershott -- Racket lexer
|
| 105 |
+
* Justin Hendrick -- ParaSail lexer
|
| 106 |
+
* Jordi Gutiérrez Hermoso -- Octave lexer
|
| 107 |
+
* David Hess, Fish Software, Inc. -- Objective-J lexer
|
| 108 |
+
* Ken Hilton -- Typographic Number Theory and Arrow lexers
|
| 109 |
+
* Varun Hiremath -- Debian control lexer
|
| 110 |
+
* Rob Hoelz -- Perl 6 lexer
|
| 111 |
+
* Doug Hogan -- Mscgen lexer
|
| 112 |
+
* Ben Hollis -- Mason lexer
|
| 113 |
+
* Max Horn -- GAP lexer
|
| 114 |
+
* Fred Hornsey -- OMG IDL Lexer
|
| 115 |
+
* Alastair Houghton -- Lexer inheritance facility
|
| 116 |
+
* Tim Howard -- BlitzMax lexer
|
| 117 |
+
* Dustin Howett -- Logos lexer
|
| 118 |
+
* Ivan Inozemtsev -- Fantom lexer
|
| 119 |
+
* Hiroaki Itoh -- Shell console rewrite, Lexers for PowerShell session,
|
| 120 |
+
MSDOS session, BC, WDiff
|
| 121 |
+
* Brian R. Jackson -- Tea lexer
|
| 122 |
+
* Christian Jann -- ShellSession lexer
|
| 123 |
+
* Jonas Camillus Jeppesen -- Line numbers and line highlighting for
|
| 124 |
+
RTF-formatter
|
| 125 |
+
* Dennis Kaarsemaker -- sources.list lexer
|
| 126 |
+
* Dmitri Kabak -- Inferno Limbo lexer
|
| 127 |
+
* Igor Kalnitsky -- vhdl lexer
|
| 128 |
+
* Colin Kennedy - USD lexer
|
| 129 |
+
* Alexander Kit -- MaskJS lexer
|
| 130 |
+
* Pekka Klärck -- Robot Framework lexer
|
| 131 |
+
* Gerwin Klein -- Isabelle lexer
|
| 132 |
+
* Eric Knibbe -- Lasso lexer
|
| 133 |
+
* Stepan Koltsov -- Clay lexer
|
| 134 |
+
* Oliver Kopp - Friendly grayscale style
|
| 135 |
+
* Adam Koprowski -- Opa lexer
|
| 136 |
+
* Benjamin Kowarsch -- Modula-2 lexer
|
| 137 |
+
* Domen Kožar -- Nix lexer
|
| 138 |
+
* Oleh Krekel -- Emacs Lisp lexer
|
| 139 |
+
* Alexander Kriegisch -- Kconfig and AspectJ lexers
|
| 140 |
+
* Marek Kubica -- Scheme lexer
|
| 141 |
+
* Jochen Kupperschmidt -- Markdown processor
|
| 142 |
+
* Gerd Kurzbach -- Modelica lexer
|
| 143 |
+
* Jon Larimer, Google Inc. -- Smali lexer
|
| 144 |
+
* Olov Lassus -- Dart lexer
|
| 145 |
+
* Matt Layman -- TAP lexer
|
| 146 |
+
* Dan Lazin, Google LLC -- GoogleSQL lexer
|
| 147 |
+
* Kristian Lyngstøl -- Varnish lexers
|
| 148 |
+
* Sylvestre Ledru -- Scilab lexer
|
| 149 |
+
* Chee Sing Lee -- Flatline lexer
|
| 150 |
+
* Mark Lee -- Vala lexer
|
| 151 |
+
* Thomas Linder Puls -- Visual Prolog lexer
|
| 152 |
+
* Pete Lomax -- Phix lexer
|
| 153 |
+
* Valentin Lorentz -- C++ lexer improvements
|
| 154 |
+
* Ben Mabey -- Gherkin lexer
|
| 155 |
+
* Angus MacArthur -- QML lexer
|
| 156 |
+
* Louis Mandel -- X10 lexer
|
| 157 |
+
* Louis Marchand -- Eiffel lexer
|
| 158 |
+
* Simone Margaritelli -- Hybris lexer
|
| 159 |
+
* Tim Martin - World of Warcraft TOC lexer
|
| 160 |
+
* Kirk McDonald -- D lexer
|
| 161 |
+
* Gordon McGregor -- SystemVerilog lexer
|
| 162 |
+
* Stephen McKamey -- Duel/JBST lexer
|
| 163 |
+
* Brian McKenna -- F# lexer
|
| 164 |
+
* Charles McLaughlin -- Puppet lexer
|
| 165 |
+
* Kurt McKee -- Tera Term macro lexer, PostgreSQL updates, MySQL overhaul, JSON lexer
|
| 166 |
+
* Joe Eli McIlvain -- Savi lexer
|
| 167 |
+
* Lukas Meuser -- BBCode formatter, Lua lexer
|
| 168 |
+
* Cat Miller -- Pig lexer
|
| 169 |
+
* Paul Miller -- LiveScript lexer
|
| 170 |
+
* Hong Minhee -- HTTP lexer
|
| 171 |
+
* Michael Mior -- Awk lexer
|
| 172 |
+
* Bruce Mitchener -- Dylan lexer rewrite
|
| 173 |
+
* Reuben Morais -- SourcePawn lexer
|
| 174 |
+
* Jon Morton -- Rust lexer
|
| 175 |
+
* Paulo Moura -- Logtalk lexer
|
| 176 |
+
* Mher Movsisyan -- DTD lexer
|
| 177 |
+
* Dejan Muhamedagic -- Crmsh lexer
|
| 178 |
+
* Adrien Nayrat -- PostgreSQL Explain lexer
|
| 179 |
+
* Ana Nelson -- Ragel, ANTLR, R console lexers
|
| 180 |
+
* David Neto, Google LLC -- WebGPU Shading Language lexer
|
| 181 |
+
* Kurt Neufeld -- Markdown lexer
|
| 182 |
+
* Nam T. Nguyen -- Monokai style
|
| 183 |
+
* Jesper Noehr -- HTML formatter "anchorlinenos"
|
| 184 |
+
* Mike Nolta -- Julia lexer
|
| 185 |
+
* Avery Nortonsmith -- Pointless lexer
|
| 186 |
+
* Jonas Obrist -- BBCode lexer
|
| 187 |
+
* Edward O'Callaghan -- Cryptol lexer
|
| 188 |
+
* David Oliva -- Rebol lexer
|
| 189 |
+
* Pat Pannuto -- nesC lexer
|
| 190 |
+
* Jon Parise -- Protocol buffers and Thrift lexers
|
| 191 |
+
* Benjamin Peterson -- Test suite refactoring
|
| 192 |
+
* Ronny Pfannschmidt -- BBCode lexer
|
| 193 |
+
* Dominik Picheta -- Nimrod lexer
|
| 194 |
+
* Andrew Pinkham -- RTF Formatter Refactoring
|
| 195 |
+
* Clément Prévost -- UrbiScript lexer
|
| 196 |
+
* Tanner Prynn -- cmdline -x option and loading lexers from files
|
| 197 |
+
* Oleh Prypin -- Crystal lexer (based on Ruby lexer)
|
| 198 |
+
* Nick Psaris -- K and Q lexers
|
| 199 |
+
* Xidorn Quan -- Web IDL lexer
|
| 200 |
+
* Elias Rabel -- Fortran fixed form lexer
|
| 201 |
+
* raichoo -- Idris lexer
|
| 202 |
+
* Daniel Ramirez -- GDScript lexer
|
| 203 |
+
* Kashif Rasul -- CUDA lexer
|
| 204 |
+
* Nathan Reed -- HLSL lexer
|
| 205 |
+
* Justin Reidy -- MXML lexer
|
| 206 |
+
* Jonathon Reinhart, Google LLC -- Soong lexer
|
| 207 |
+
* Norman Richards -- JSON lexer
|
| 208 |
+
* Corey Richardson -- Rust lexer updates
|
| 209 |
+
* Fabrizio Riguzzi -- cplint leder
|
| 210 |
+
* Lubomir Rintel -- GoodData MAQL and CL lexers
|
| 211 |
+
* Andre Roberge -- Tango style
|
| 212 |
+
* Georg Rollinger -- HSAIL lexer
|
| 213 |
+
* Michiel Roos -- TypoScript lexer
|
| 214 |
+
* Konrad Rudolph -- LaTeX formatter enhancements
|
| 215 |
+
* Mario Ruggier -- Evoque lexers
|
| 216 |
+
* Miikka Salminen -- Lovelace style, Hexdump lexer, lexer enhancements
|
| 217 |
+
* Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers
|
| 218 |
+
* Matteo Sasso -- Common Lisp lexer
|
| 219 |
+
* Joe Schafer -- Ada lexer
|
| 220 |
+
* Max Schillinger -- TiddlyWiki5 lexer
|
| 221 |
+
* Andrew Schmidt -- X++ lexer
|
| 222 |
+
* Ken Schutte -- Matlab lexers
|
| 223 |
+
* René Schwaiger -- Rainbow Dash style
|
| 224 |
+
* Sebastian Schweizer -- Whiley lexer
|
| 225 |
+
* Tassilo Schweyer -- Io, MOOCode lexers
|
| 226 |
+
* Pablo Seminario -- PromQL lexer
|
| 227 |
+
* Ted Shaw -- AutoIt lexer
|
| 228 |
+
* Joerg Sieker -- ABAP lexer
|
| 229 |
+
* Robert Simmons -- Standard ML lexer
|
| 230 |
+
* Kirill Simonov -- YAML lexer
|
| 231 |
+
* Corbin Simpson -- Monte lexer
|
| 232 |
+
* Ville Skyttä -- ASCII armored lexer
|
| 233 |
+
* Alexander Smishlajev -- Visual FoxPro lexer
|
| 234 |
+
* Steve Spigarelli -- XQuery lexer
|
| 235 |
+
* Jerome St-Louis -- eC lexer
|
| 236 |
+
* Camil Staps -- Clean and NuSMV lexers; Solarized style
|
| 237 |
+
* James Strachan -- Kotlin lexer
|
| 238 |
+
* Tom Stuart -- Treetop lexer
|
| 239 |
+
* Colin Sullivan -- SuperCollider lexer
|
| 240 |
+
* Ben Swift -- Extempore lexer
|
| 241 |
+
* tatt61880 -- Kuin lexer
|
| 242 |
+
* Edoardo Tenani -- Arduino lexer
|
| 243 |
+
* Tiberius Teng -- default style overhaul
|
| 244 |
+
* Jeremy Thurgood -- Erlang, Squid config lexers
|
| 245 |
+
* Brian Tiffin -- OpenCOBOL lexer
|
| 246 |
+
* Bob Tolbert -- Hy lexer
|
| 247 |
+
* Doug Torrance -- Macaulay2 lexer
|
| 248 |
+
* Matthias Trute -- Forth lexer
|
| 249 |
+
* Tuoa Spi T4 -- Bdd lexer
|
| 250 |
+
* Erick Tryzelaar -- Felix lexer
|
| 251 |
+
* Alexander Udalov -- Kotlin lexer improvements
|
| 252 |
+
* Thomas Van Doren -- Chapel lexer
|
| 253 |
+
* Dave Van Ee -- Uxntal lexer updates
|
| 254 |
+
* Daniele Varrazzo -- PostgreSQL lexers
|
| 255 |
+
* Abe Voelker -- OpenEdge ABL lexer
|
| 256 |
+
* Pepijn de Vos -- HTML formatter CTags support
|
| 257 |
+
* Matthias Vallentin -- Bro lexer
|
| 258 |
+
* Benoît Vinot -- AMPL lexer
|
| 259 |
+
* Linh Vu Hong -- RSL lexer
|
| 260 |
+
* Taavi Väänänen -- Debian control lexer
|
| 261 |
+
* Immanuel Washington -- Smithy lexer
|
| 262 |
+
* Nathan Weizenbaum -- Haml and Sass lexers
|
| 263 |
+
* Nathan Whetsell -- Csound lexers
|
| 264 |
+
* Dietmar Winkler -- Modelica lexer
|
| 265 |
+
* Nils Winter -- Smalltalk lexer
|
| 266 |
+
* Davy Wybiral -- Clojure lexer
|
| 267 |
+
* Whitney Young -- ObjectiveC lexer
|
| 268 |
+
* Diego Zamboni -- CFengine3 lexer
|
| 269 |
+
* Enrique Zamudio -- Ceylon lexer
|
| 270 |
+
* Alex Zimin -- Nemerle lexer
|
| 271 |
+
* Rob Zimmerman -- Kal lexer
|
| 272 |
+
* Evgenii Zheltonozhskii -- Maple lexer
|
| 273 |
+
* Vincent Zurczak -- Roboconf lexer
|
| 274 |
+
* Hubert Gruniaux -- C and C++ lexer improvements
|
| 275 |
+
* Thomas Symalla -- AMDGPU Lexer
|
| 276 |
+
* 15b3 -- Image Formatter improvements
|
| 277 |
+
* Fabian Neumann -- CDDL lexer
|
| 278 |
+
* Thomas Duboucher -- CDDL lexer
|
| 279 |
+
* Philipp Imhof -- Pango Markup formatter
|
| 280 |
+
* Thomas Voss -- Sed lexer
|
| 281 |
+
* Martin Fischer -- WCAG contrast testing
|
| 282 |
+
* Marc Auberer -- Spice lexer
|
| 283 |
+
* Amr Hesham -- Carbon lexer
|
| 284 |
+
* diskdance -- Wikitext lexer
|
| 285 |
+
* vanillajonathan -- PRQL lexer
|
| 286 |
+
* Nikolay Antipov -- OpenSCAD lexer
|
| 287 |
+
* Markus Meyer, Nextron Systems -- YARA lexer
|
| 288 |
+
* Hannes Römer -- Mojo lexer
|
| 289 |
+
* Jan Frederik Schaefer -- PDDL lexer
|
| 290 |
+
|
| 291 |
+
Many thanks for all contributions!
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments-2.19.2.dist-info/licenses/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Redistribution and use in source and binary forms, with or without
|
| 5 |
+
modification, are permitted provided that the following conditions are
|
| 6 |
+
met:
|
| 7 |
+
|
| 8 |
+
* Redistributions of source code must retain the above copyright
|
| 9 |
+
notice, this list of conditions and the following disclaimer.
|
| 10 |
+
|
| 11 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 12 |
+
notice, this list of conditions and the following disclaimer in the
|
| 13 |
+
documentation and/or other materials provided with the distribution.
|
| 14 |
+
|
| 15 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 16 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 17 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 18 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 19 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 20 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 21 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 22 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 23 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 24 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 25 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments/__init__.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Pygments
|
| 3 |
+
~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Pygments is a syntax highlighting package written in Python.
|
| 6 |
+
|
| 7 |
+
It is a generic syntax highlighter for general use in all kinds of software
|
| 8 |
+
such as forum systems, wikis or other applications that need to prettify
|
| 9 |
+
source code. Highlights are:
|
| 10 |
+
|
| 11 |
+
* a wide range of common languages and markup formats is supported
|
| 12 |
+
* special attention is paid to details, increasing quality by a fair amount
|
| 13 |
+
* support for new languages and formats are added easily
|
| 14 |
+
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
|
| 15 |
+
formats that PIL supports, and ANSI sequences
|
| 16 |
+
* it is usable as a command-line tool and as a library
|
| 17 |
+
* ... and it highlights even Brainfuck!
|
| 18 |
+
|
| 19 |
+
The `Pygments master branch`_ is installable with ``easy_install Pygments==dev``.
|
| 20 |
+
|
| 21 |
+
.. _Pygments master branch:
|
| 22 |
+
https://github.com/pygments/pygments/archive/master.zip#egg=Pygments-dev
|
| 23 |
+
|
| 24 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 25 |
+
:license: BSD, see LICENSE for details.
|
| 26 |
+
"""
|
| 27 |
+
from io import StringIO, BytesIO
|
| 28 |
+
|
| 29 |
+
__version__ = '2.19.2'
|
| 30 |
+
__docformat__ = 'restructuredtext'
|
| 31 |
+
|
| 32 |
+
__all__ = ['lex', 'format', 'highlight']
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def lex(code, lexer):
|
| 36 |
+
"""
|
| 37 |
+
Lex `code` with the `lexer` (must be a `Lexer` instance)
|
| 38 |
+
and return an iterable of tokens. Currently, this only calls
|
| 39 |
+
`lexer.get_tokens()`.
|
| 40 |
+
"""
|
| 41 |
+
try:
|
| 42 |
+
return lexer.get_tokens(code)
|
| 43 |
+
except TypeError:
|
| 44 |
+
# Heuristic to catch a common mistake.
|
| 45 |
+
from pygments.lexer import RegexLexer
|
| 46 |
+
if isinstance(lexer, type) and issubclass(lexer, RegexLexer):
|
| 47 |
+
raise TypeError('lex() argument must be a lexer instance, '
|
| 48 |
+
'not a class')
|
| 49 |
+
raise
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def format(tokens, formatter, outfile=None): # pylint: disable=redefined-builtin
|
| 53 |
+
"""
|
| 54 |
+
Format ``tokens`` (an iterable of tokens) with the formatter ``formatter``
|
| 55 |
+
(a `Formatter` instance).
|
| 56 |
+
|
| 57 |
+
If ``outfile`` is given and a valid file object (an object with a
|
| 58 |
+
``write`` method), the result will be written to it, otherwise it
|
| 59 |
+
is returned as a string.
|
| 60 |
+
"""
|
| 61 |
+
try:
|
| 62 |
+
if not outfile:
|
| 63 |
+
realoutfile = getattr(formatter, 'encoding', None) and BytesIO() or StringIO()
|
| 64 |
+
formatter.format(tokens, realoutfile)
|
| 65 |
+
return realoutfile.getvalue()
|
| 66 |
+
else:
|
| 67 |
+
formatter.format(tokens, outfile)
|
| 68 |
+
except TypeError:
|
| 69 |
+
# Heuristic to catch a common mistake.
|
| 70 |
+
from pygments.formatter import Formatter
|
| 71 |
+
if isinstance(formatter, type) and issubclass(formatter, Formatter):
|
| 72 |
+
raise TypeError('format() argument must be a formatter instance, '
|
| 73 |
+
'not a class')
|
| 74 |
+
raise
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def highlight(code, lexer, formatter, outfile=None):
|
| 78 |
+
"""
|
| 79 |
+
This is the most high-level highlighting function. It combines `lex` and
|
| 80 |
+
`format` in one function.
|
| 81 |
+
"""
|
| 82 |
+
return format(lex(code, lexer), formatter, outfile)
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments/__main__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.__main__
|
| 3 |
+
~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Main entry point for ``python -m pygments``.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import sys
|
| 12 |
+
import pygments.cmdline
|
| 13 |
+
|
| 14 |
+
try:
|
| 15 |
+
sys.exit(pygments.cmdline.main(sys.argv))
|
| 16 |
+
except KeyboardInterrupt:
|
| 17 |
+
sys.exit(1)
|
.cache/uv/archive-v0/eldKw3g_-wYNYWW-PE9ZT/pygments/cmdline.py
ADDED
|
@@ -0,0 +1,668 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.cmdline
|
| 3 |
+
~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Command line interface.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import os
|
| 12 |
+
import sys
|
| 13 |
+
import shutil
|
| 14 |
+
import argparse
|
| 15 |
+
from textwrap import dedent
|
| 16 |
+
|
| 17 |
+
from pygments import __version__, highlight
|
| 18 |
+
from pygments.util import ClassNotFound, OptionError, docstring_headline, \
|
| 19 |
+
guess_decode, guess_decode_from_terminal, terminal_encoding, \
|
| 20 |
+
UnclosingTextIOWrapper
|
| 21 |
+
from pygments.lexers import get_all_lexers, get_lexer_by_name, guess_lexer, \
|
| 22 |
+
load_lexer_from_file, get_lexer_for_filename, find_lexer_class_for_filename
|
| 23 |
+
from pygments.lexers.special import TextLexer
|
| 24 |
+
from pygments.formatters.latex import LatexEmbeddedLexer, LatexFormatter
|
| 25 |
+
from pygments.formatters import get_all_formatters, get_formatter_by_name, \
|
| 26 |
+
load_formatter_from_file, get_formatter_for_filename, find_formatter_class
|
| 27 |
+
from pygments.formatters.terminal import TerminalFormatter
|
| 28 |
+
from pygments.formatters.terminal256 import Terminal256Formatter, TerminalTrueColorFormatter
|
| 29 |
+
from pygments.filters import get_all_filters, find_filter_class
|
| 30 |
+
from pygments.styles import get_all_styles, get_style_by_name
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def _parse_options(o_strs):
|
| 34 |
+
opts = {}
|
| 35 |
+
if not o_strs:
|
| 36 |
+
return opts
|
| 37 |
+
for o_str in o_strs:
|
| 38 |
+
if not o_str.strip():
|
| 39 |
+
continue
|
| 40 |
+
o_args = o_str.split(',')
|
| 41 |
+
for o_arg in o_args:
|
| 42 |
+
o_arg = o_arg.strip()
|
| 43 |
+
try:
|
| 44 |
+
o_key, o_val = o_arg.split('=', 1)
|
| 45 |
+
o_key = o_key.strip()
|
| 46 |
+
o_val = o_val.strip()
|
| 47 |
+
except ValueError:
|
| 48 |
+
opts[o_arg] = True
|
| 49 |
+
else:
|
| 50 |
+
opts[o_key] = o_val
|
| 51 |
+
return opts
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def _parse_filters(f_strs):
|
| 55 |
+
filters = []
|
| 56 |
+
if not f_strs:
|
| 57 |
+
return filters
|
| 58 |
+
for f_str in f_strs:
|
| 59 |
+
if ':' in f_str:
|
| 60 |
+
fname, fopts = f_str.split(':', 1)
|
| 61 |
+
filters.append((fname, _parse_options([fopts])))
|
| 62 |
+
else:
|
| 63 |
+
filters.append((f_str, {}))
|
| 64 |
+
return filters
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
def _print_help(what, name):
|
| 68 |
+
try:
|
| 69 |
+
if what == 'lexer':
|
| 70 |
+
cls = get_lexer_by_name(name)
|
| 71 |
+
print(f"Help on the {cls.name} lexer:")
|
| 72 |
+
print(dedent(cls.__doc__))
|
| 73 |
+
elif what == 'formatter':
|
| 74 |
+
cls = find_formatter_class(name)
|
| 75 |
+
print(f"Help on the {cls.name} formatter:")
|
| 76 |
+
print(dedent(cls.__doc__))
|
| 77 |
+
elif what == 'filter':
|
| 78 |
+
cls = find_filter_class(name)
|
| 79 |
+
print(f"Help on the {name} filter:")
|
| 80 |
+
print(dedent(cls.__doc__))
|
| 81 |
+
return 0
|
| 82 |
+
except (AttributeError, ValueError):
|
| 83 |
+
print(f"{what} not found!", file=sys.stderr)
|
| 84 |
+
return 1
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def _print_list(what):
|
| 88 |
+
if what == 'lexer':
|
| 89 |
+
print()
|
| 90 |
+
print("Lexers:")
|
| 91 |
+
print("~~~~~~~")
|
| 92 |
+
|
| 93 |
+
info = []
|
| 94 |
+
for fullname, names, exts, _ in get_all_lexers():
|
| 95 |
+
tup = (', '.join(names)+':', fullname,
|
| 96 |
+
exts and '(filenames ' + ', '.join(exts) + ')' or '')
|
| 97 |
+
info.append(tup)
|
| 98 |
+
info.sort()
|
| 99 |
+
for i in info:
|
| 100 |
+
print(('* {}\n {} {}').format(*i))
|
| 101 |
+
|
| 102 |
+
elif what == 'formatter':
|
| 103 |
+
print()
|
| 104 |
+
print("Formatters:")
|
| 105 |
+
print("~~~~~~~~~~~")
|
| 106 |
+
|
| 107 |
+
info = []
|
| 108 |
+
for cls in get_all_formatters():
|
| 109 |
+
doc = docstring_headline(cls)
|
| 110 |
+
tup = (', '.join(cls.aliases) + ':', doc, cls.filenames and
|
| 111 |
+
'(filenames ' + ', '.join(cls.filenames) + ')' or '')
|
| 112 |
+
info.append(tup)
|
| 113 |
+
info.sort()
|
| 114 |
+
for i in info:
|
| 115 |
+
print(('* {}\n {} {}').format(*i))
|
| 116 |
+
|
| 117 |
+
elif what == 'filter':
|
| 118 |
+
print()
|
| 119 |
+
print("Filters:")
|
| 120 |
+
print("~~~~~~~~")
|
| 121 |
+
|
| 122 |
+
for name in get_all_filters():
|
| 123 |
+
cls = find_filter_class(name)
|
| 124 |
+
print("* " + name + ':')
|
| 125 |
+
print(f" {docstring_headline(cls)}")
|
| 126 |
+
|
| 127 |
+
elif what == 'style':
|
| 128 |
+
print()
|
| 129 |
+
print("Styles:")
|
| 130 |
+
print("~~~~~~~")
|
| 131 |
+
|
| 132 |
+
for name in get_all_styles():
|
| 133 |
+
cls = get_style_by_name(name)
|
| 134 |
+
print("* " + name + ':')
|
| 135 |
+
print(f" {docstring_headline(cls)}")
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def _print_list_as_json(requested_items):
|
| 139 |
+
import json
|
| 140 |
+
result = {}
|
| 141 |
+
if 'lexer' in requested_items:
|
| 142 |
+
info = {}
|
| 143 |
+
for fullname, names, filenames, mimetypes in get_all_lexers():
|
| 144 |
+
info[fullname] = {
|
| 145 |
+
'aliases': names,
|
| 146 |
+
'filenames': filenames,
|
| 147 |
+
'mimetypes': mimetypes
|
| 148 |
+
}
|
| 149 |
+
result['lexers'] = info
|
| 150 |
+
|
| 151 |
+
if 'formatter' in requested_items:
|
| 152 |
+
info = {}
|
| 153 |
+
for cls in get_all_formatters():
|
| 154 |
+
doc = docstring_headline(cls)
|
| 155 |
+
info[cls.name] = {
|
| 156 |
+
'aliases': cls.aliases,
|
| 157 |
+
'filenames': cls.filenames,
|
| 158 |
+
'doc': doc
|
| 159 |
+
}
|
| 160 |
+
result['formatters'] = info
|
| 161 |
+
|
| 162 |
+
if 'filter' in requested_items:
|
| 163 |
+
info = {}
|
| 164 |
+
for name in get_all_filters():
|
| 165 |
+
cls = find_filter_class(name)
|
| 166 |
+
info[name] = {
|
| 167 |
+
'doc': docstring_headline(cls)
|
| 168 |
+
}
|
| 169 |
+
result['filters'] = info
|
| 170 |
+
|
| 171 |
+
if 'style' in requested_items:
|
| 172 |
+
info = {}
|
| 173 |
+
for name in get_all_styles():
|
| 174 |
+
cls = get_style_by_name(name)
|
| 175 |
+
info[name] = {
|
| 176 |
+
'doc': docstring_headline(cls)
|
| 177 |
+
}
|
| 178 |
+
result['styles'] = info
|
| 179 |
+
|
| 180 |
+
json.dump(result, sys.stdout)
|
| 181 |
+
|
| 182 |
+
def main_inner(parser, argns):
|
| 183 |
+
if argns.help:
|
| 184 |
+
parser.print_help()
|
| 185 |
+
return 0
|
| 186 |
+
|
| 187 |
+
if argns.V:
|
| 188 |
+
print(f'Pygments version {__version__}, (c) 2006-2024 by Georg Brandl, Matthäus '
|
| 189 |
+
'Chajdas and contributors.')
|
| 190 |
+
return 0
|
| 191 |
+
|
| 192 |
+
def is_only_option(opt):
|
| 193 |
+
return not any(v for (k, v) in vars(argns).items() if k != opt)
|
| 194 |
+
|
| 195 |
+
# handle ``pygmentize -L``
|
| 196 |
+
if argns.L is not None:
|
| 197 |
+
arg_set = set()
|
| 198 |
+
for k, v in vars(argns).items():
|
| 199 |
+
if v:
|
| 200 |
+
arg_set.add(k)
|
| 201 |
+
|
| 202 |
+
arg_set.discard('L')
|
| 203 |
+
arg_set.discard('json')
|
| 204 |
+
|
| 205 |
+
if arg_set:
|
| 206 |
+
parser.print_help(sys.stderr)
|
| 207 |
+
return 2
|
| 208 |
+
|
| 209 |
+
# print version
|
| 210 |
+
if not argns.json:
|
| 211 |
+
main(['', '-V'])
|
| 212 |
+
allowed_types = {'lexer', 'formatter', 'filter', 'style'}
|
| 213 |
+
largs = [arg.rstrip('s') for arg in argns.L]
|
| 214 |
+
if any(arg not in allowed_types for arg in largs):
|
| 215 |
+
parser.print_help(sys.stderr)
|
| 216 |
+
return 0
|
| 217 |
+
if not largs:
|
| 218 |
+
largs = allowed_types
|
| 219 |
+
if not argns.json:
|
| 220 |
+
for arg in largs:
|
| 221 |
+
_print_list(arg)
|
| 222 |
+
else:
|
| 223 |
+
_print_list_as_json(largs)
|
| 224 |
+
return 0
|
| 225 |
+
|
| 226 |
+
# handle ``pygmentize -H``
|
| 227 |
+
if argns.H:
|
| 228 |
+
if not is_only_option('H'):
|
| 229 |
+
parser.print_help(sys.stderr)
|
| 230 |
+
return 2
|
| 231 |
+
what, name = argns.H
|
| 232 |
+
if what not in ('lexer', 'formatter', 'filter'):
|
| 233 |
+
parser.print_help(sys.stderr)
|
| 234 |
+
return 2
|
| 235 |
+
return _print_help(what, name)
|
| 236 |
+
|
| 237 |
+
# parse -O options
|
| 238 |
+
parsed_opts = _parse_options(argns.O or [])
|
| 239 |
+
|
| 240 |
+
# parse -P options
|
| 241 |
+
for p_opt in argns.P or []:
|
| 242 |
+
try:
|
| 243 |
+
name, value = p_opt.split('=', 1)
|
| 244 |
+
except ValueError:
|
| 245 |
+
parsed_opts[p_opt] = True
|
| 246 |
+
else:
|
| 247 |
+
parsed_opts[name] = value
|
| 248 |
+
|
| 249 |
+
# encodings
|
| 250 |
+
inencoding = parsed_opts.get('inencoding', parsed_opts.get('encoding'))
|
| 251 |
+
outencoding = parsed_opts.get('outencoding', parsed_opts.get('encoding'))
|
| 252 |
+
|
| 253 |
+
# handle ``pygmentize -N``
|
| 254 |
+
if argns.N:
|
| 255 |
+
lexer = find_lexer_class_for_filename(argns.N)
|
| 256 |
+
if lexer is None:
|
| 257 |
+
lexer = TextLexer
|
| 258 |
+
|
| 259 |
+
print(lexer.aliases[0])
|
| 260 |
+
return 0
|
| 261 |
+
|
| 262 |
+
# handle ``pygmentize -C``
|
| 263 |
+
if argns.C:
|
| 264 |
+
inp = sys.stdin.buffer.read()
|
| 265 |
+
try:
|
| 266 |
+
lexer = guess_lexer(inp, inencoding=inencoding)
|
| 267 |
+
except ClassNotFound:
|
| 268 |
+
lexer = TextLexer
|
| 269 |
+
|
| 270 |
+
print(lexer.aliases[0])
|
| 271 |
+
return 0
|
| 272 |
+
|
| 273 |
+
# handle ``pygmentize -S``
|
| 274 |
+
S_opt = argns.S
|
| 275 |
+
a_opt = argns.a
|
| 276 |
+
if S_opt is not None:
|
| 277 |
+
f_opt = argns.f
|
| 278 |
+
if not f_opt:
|
| 279 |
+
parser.print_help(sys.stderr)
|
| 280 |
+
return 2
|
| 281 |
+
if argns.l or argns.INPUTFILE:
|
| 282 |
+
parser.print_help(sys.stderr)
|
| 283 |
+
return 2
|
| 284 |
+
|
| 285 |
+
try:
|
| 286 |
+
parsed_opts['style'] = S_opt
|
| 287 |
+
fmter = get_formatter_by_name(f_opt, **parsed_opts)
|
| 288 |
+
except ClassNotFound as err:
|
| 289 |
+
print(err, file=sys.stderr)
|
| 290 |
+
return 1
|
| 291 |
+
|
| 292 |
+
print(fmter.get_style_defs(a_opt or ''))
|
| 293 |
+
return 0
|
| 294 |
+
|
| 295 |
+
# if no -S is given, -a is not allowed
|
| 296 |
+
if argns.a is not None:
|
| 297 |
+
parser.print_help(sys.stderr)
|
| 298 |
+
return 2
|
| 299 |
+
|
| 300 |
+
# parse -F options
|
| 301 |
+
F_opts = _parse_filters(argns.F or [])
|
| 302 |
+
|
| 303 |
+
# -x: allow custom (eXternal) lexers and formatters
|
| 304 |
+
allow_custom_lexer_formatter = bool(argns.x)
|
| 305 |
+
|
| 306 |
+
# select lexer
|
| 307 |
+
lexer = None
|
| 308 |
+
|
| 309 |
+
# given by name?
|
| 310 |
+
lexername = argns.l
|
| 311 |
+
if lexername:
|
| 312 |
+
# custom lexer, located relative to user's cwd
|
| 313 |
+
if allow_custom_lexer_formatter and '.py' in lexername:
|
| 314 |
+
try:
|
| 315 |
+
filename = None
|
| 316 |
+
name = None
|
| 317 |
+
if ':' in lexername:
|
| 318 |
+
filename, name = lexername.rsplit(':', 1)
|
| 319 |
+
|
| 320 |
+
if '.py' in name:
|
| 321 |
+
# This can happen on Windows: If the lexername is
|
| 322 |
+
# C:\lexer.py -- return to normal load path in that case
|
| 323 |
+
name = None
|
| 324 |
+
|
| 325 |
+
if filename and name:
|
| 326 |
+
lexer = load_lexer_from_file(filename, name,
|
| 327 |
+
**parsed_opts)
|
| 328 |
+
else:
|
| 329 |
+
lexer = load_lexer_from_file(lexername, **parsed_opts)
|
| 330 |
+
except ClassNotFound as err:
|
| 331 |
+
print('Error:', err, file=sys.stderr)
|
| 332 |
+
return 1
|
| 333 |
+
else:
|
| 334 |
+
try:
|
| 335 |
+
lexer = get_lexer_by_name(lexername, **parsed_opts)
|
| 336 |
+
except (OptionError, ClassNotFound) as err:
|
| 337 |
+
print('Error:', err, file=sys.stderr)
|
| 338 |
+
return 1
|
| 339 |
+
|
| 340 |
+
# read input code
|
| 341 |
+
code = None
|
| 342 |
+
|
| 343 |
+
if argns.INPUTFILE:
|
| 344 |
+
if argns.s:
|
| 345 |
+
print('Error: -s option not usable when input file specified',
|
| 346 |
+
file=sys.stderr)
|
| 347 |
+
return 2
|
| 348 |
+
|
| 349 |
+
infn = argns.INPUTFILE
|
| 350 |
+
try:
|
| 351 |
+
with open(infn, 'rb') as infp:
|
| 352 |
+
code = infp.read()
|
| 353 |
+
except Exception as err:
|
| 354 |
+
print('Error: cannot read infile:', err, file=sys.stderr)
|
| 355 |
+
return 1
|
| 356 |
+
if not inencoding:
|
| 357 |
+
code, inencoding = guess_decode(code)
|
| 358 |
+
|
| 359 |
+
# do we have to guess the lexer?
|
| 360 |
+
if not lexer:
|
| 361 |
+
try:
|
| 362 |
+
lexer = get_lexer_for_filename(infn, code, **parsed_opts)
|
| 363 |
+
except ClassNotFound as err:
|
| 364 |
+
if argns.g:
|
| 365 |
+
try:
|
| 366 |
+
lexer = guess_lexer(code, **parsed_opts)
|
| 367 |
+
except ClassNotFound:
|
| 368 |
+
lexer = TextLexer(**parsed_opts)
|
| 369 |
+
else:
|
| 370 |
+
print('Error:', err, file=sys.stderr)
|
| 371 |
+
return 1
|
| 372 |
+
except OptionError as err:
|
| 373 |
+
print('Error:', err, file=sys.stderr)
|
| 374 |
+
return 1
|
| 375 |
+
|
| 376 |
+
elif not argns.s: # treat stdin as full file (-s support is later)
|
| 377 |
+
# read code from terminal, always in binary mode since we want to
|
| 378 |
+
# decode ourselves and be tolerant with it
|
| 379 |
+
code = sys.stdin.buffer.read() # use .buffer to get a binary stream
|
| 380 |
+
if not inencoding:
|
| 381 |
+
code, inencoding = guess_decode_from_terminal(code, sys.stdin)
|
| 382 |
+
# else the lexer will do the decoding
|
| 383 |
+
if not lexer:
|
| 384 |
+
try:
|
| 385 |
+
lexer = guess_lexer(code, **parsed_opts)
|
| 386 |
+
except ClassNotFound:
|
| 387 |
+
lexer = TextLexer(**parsed_opts)
|
| 388 |
+
|
| 389 |
+
else: # -s option needs a lexer with -l
|
| 390 |
+
if not lexer:
|
| 391 |
+
print('Error: when using -s a lexer has to be selected with -l',
|
| 392 |
+
file=sys.stderr)
|
| 393 |
+
return 2
|
| 394 |
+
|
| 395 |
+
# process filters
|
| 396 |
+
for fname, fopts in F_opts:
|
| 397 |
+
try:
|
| 398 |
+
lexer.add_filter(fname, **fopts)
|
| 399 |
+
except ClassNotFound as err:
|
| 400 |
+
print('Error:', err, file=sys.stderr)
|
| 401 |
+
return 1
|
| 402 |
+
|
| 403 |
+
# select formatter
|
| 404 |
+
outfn = argns.o
|
| 405 |
+
fmter = argns.f
|
| 406 |
+
if fmter:
|
| 407 |
+
# custom formatter, located relative to user's cwd
|
| 408 |
+
if allow_custom_lexer_formatter and '.py' in fmter:
|
| 409 |
+
try:
|
| 410 |
+
filename = None
|
| 411 |
+
name = None
|
| 412 |
+
if ':' in fmter:
|
| 413 |
+
# Same logic as above for custom lexer
|
| 414 |
+
filename, name = fmter.rsplit(':', 1)
|
| 415 |
+
|
| 416 |
+
if '.py' in name:
|
| 417 |
+
name = None
|
| 418 |
+
|
| 419 |
+
if filename and name:
|
| 420 |
+
fmter = load_formatter_from_file(filename, name,
|
| 421 |
+
**parsed_opts)
|
| 422 |
+
else:
|
| 423 |
+
fmter = load_formatter_from_file(fmter, **parsed_opts)
|
| 424 |
+
except ClassNotFound as err:
|
| 425 |
+
print('Error:', err, file=sys.stderr)
|
| 426 |
+
return 1
|
| 427 |
+
else:
|
| 428 |
+
try:
|
| 429 |
+
fmter = get_formatter_by_name(fmter, **parsed_opts)
|
| 430 |
+
except (OptionError, ClassNotFound) as err:
|
| 431 |
+
print('Error:', err, file=sys.stderr)
|
| 432 |
+
return 1
|
| 433 |
+
|
| 434 |
+
if outfn:
|
| 435 |
+
if not fmter:
|
| 436 |
+
try:
|
| 437 |
+
fmter = get_formatter_for_filename(outfn, **parsed_opts)
|
| 438 |
+
except (OptionError, ClassNotFound) as err:
|
| 439 |
+
print('Error:', err, file=sys.stderr)
|
| 440 |
+
return 1
|
| 441 |
+
try:
|
| 442 |
+
outfile = open(outfn, 'wb')
|
| 443 |
+
except Exception as err:
|
| 444 |
+
print('Error: cannot open outfile:', err, file=sys.stderr)
|
| 445 |
+
return 1
|
| 446 |
+
else:
|
| 447 |
+
if not fmter:
|
| 448 |
+
if os.environ.get('COLORTERM','') in ('truecolor', '24bit'):
|
| 449 |
+
fmter = TerminalTrueColorFormatter(**parsed_opts)
|
| 450 |
+
elif '256' in os.environ.get('TERM', ''):
|
| 451 |
+
fmter = Terminal256Formatter(**parsed_opts)
|
| 452 |
+
else:
|
| 453 |
+
fmter = TerminalFormatter(**parsed_opts)
|
| 454 |
+
outfile = sys.stdout.buffer
|
| 455 |
+
|
| 456 |
+
# determine output encoding if not explicitly selected
|
| 457 |
+
if not outencoding:
|
| 458 |
+
if outfn:
|
| 459 |
+
# output file? use lexer encoding for now (can still be None)
|
| 460 |
+
fmter.encoding = inencoding
|
| 461 |
+
else:
|
| 462 |
+
# else use terminal encoding
|
| 463 |
+
fmter.encoding = terminal_encoding(sys.stdout)
|
| 464 |
+
|
| 465 |
+
# provide coloring under Windows, if possible
|
| 466 |
+
if not outfn and sys.platform in ('win32', 'cygwin') and \
|
| 467 |
+
fmter.name in ('Terminal', 'Terminal256'): # pragma: no cover
|
| 468 |
+
# unfortunately colorama doesn't support binary streams on Py3
|
| 469 |
+
outfile = UnclosingTextIOWrapper(outfile, encoding=fmter.encoding)
|
| 470 |
+
fmter.encoding = None
|
| 471 |
+
try:
|
| 472 |
+
import colorama.initialise
|
| 473 |
+
except ImportError:
|
| 474 |
+
pass
|
| 475 |
+
else:
|
| 476 |
+
outfile = colorama.initialise.wrap_stream(
|
| 477 |
+
outfile, convert=None, strip=None, autoreset=False, wrap=True)
|
| 478 |
+
|
| 479 |
+
# When using the LaTeX formatter and the option `escapeinside` is
|
| 480 |
+
# specified, we need a special lexer which collects escaped text
|
| 481 |
+
# before running the chosen language lexer.
|
| 482 |
+
escapeinside = parsed_opts.get('escapeinside', '')
|
| 483 |
+
if len(escapeinside) == 2 and isinstance(fmter, LatexFormatter):
|
| 484 |
+
left = escapeinside[0]
|
| 485 |
+
right = escapeinside[1]
|
| 486 |
+
lexer = LatexEmbeddedLexer(left, right, lexer)
|
| 487 |
+
|
| 488 |
+
# ... and do it!
|
| 489 |
+
if not argns.s:
|
| 490 |
+
# process whole input as per normal...
|
| 491 |
+
try:
|
| 492 |
+
highlight(code, lexer, fmter, outfile)
|
| 493 |
+
finally:
|
| 494 |
+
if outfn:
|
| 495 |
+
outfile.close()
|
| 496 |
+
return 0
|
| 497 |
+
else:
|
| 498 |
+
# line by line processing of stdin (eg: for 'tail -f')...
|
| 499 |
+
try:
|
| 500 |
+
while 1:
|
| 501 |
+
line = sys.stdin.buffer.readline()
|
| 502 |
+
if not line:
|
| 503 |
+
break
|
| 504 |
+
if not inencoding:
|
| 505 |
+
line = guess_decode_from_terminal(line, sys.stdin)[0]
|
| 506 |
+
highlight(line, lexer, fmter, outfile)
|
| 507 |
+
if hasattr(outfile, 'flush'):
|
| 508 |
+
outfile.flush()
|
| 509 |
+
return 0
|
| 510 |
+
except KeyboardInterrupt: # pragma: no cover
|
| 511 |
+
return 0
|
| 512 |
+
finally:
|
| 513 |
+
if outfn:
|
| 514 |
+
outfile.close()
|
| 515 |
+
|
| 516 |
+
|
| 517 |
+
class HelpFormatter(argparse.HelpFormatter):
|
| 518 |
+
def __init__(self, prog, indent_increment=2, max_help_position=16, width=None):
|
| 519 |
+
if width is None:
|
| 520 |
+
try:
|
| 521 |
+
width = shutil.get_terminal_size().columns - 2
|
| 522 |
+
except Exception:
|
| 523 |
+
pass
|
| 524 |
+
argparse.HelpFormatter.__init__(self, prog, indent_increment,
|
| 525 |
+
max_help_position, width)
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
def main(args=sys.argv):
|
| 529 |
+
"""
|
| 530 |
+
Main command line entry point.
|
| 531 |
+
"""
|
| 532 |
+
desc = "Highlight an input file and write the result to an output file."
|
| 533 |
+
parser = argparse.ArgumentParser(description=desc, add_help=False,
|
| 534 |
+
formatter_class=HelpFormatter)
|
| 535 |
+
|
| 536 |
+
operation = parser.add_argument_group('Main operation')
|
| 537 |
+
lexersel = operation.add_mutually_exclusive_group()
|
| 538 |
+
lexersel.add_argument(
|
| 539 |
+
'-l', metavar='LEXER',
|
| 540 |
+
help='Specify the lexer to use. (Query names with -L.) If not '
|
| 541 |
+
'given and -g is not present, the lexer is guessed from the filename.')
|
| 542 |
+
lexersel.add_argument(
|
| 543 |
+
'-g', action='store_true',
|
| 544 |
+
help='Guess the lexer from the file contents, or pass through '
|
| 545 |
+
'as plain text if nothing can be guessed.')
|
| 546 |
+
operation.add_argument(
|
| 547 |
+
'-F', metavar='FILTER[:options]', action='append',
|
| 548 |
+
help='Add a filter to the token stream. (Query names with -L.) '
|
| 549 |
+
'Filter options are given after a colon if necessary.')
|
| 550 |
+
operation.add_argument(
|
| 551 |
+
'-f', metavar='FORMATTER',
|
| 552 |
+
help='Specify the formatter to use. (Query names with -L.) '
|
| 553 |
+
'If not given, the formatter is guessed from the output filename, '
|
| 554 |
+
'and defaults to the terminal formatter if the output is to the '
|
| 555 |
+
'terminal or an unknown file extension.')
|
| 556 |
+
operation.add_argument(
|
| 557 |
+
'-O', metavar='OPTION=value[,OPTION=value,...]', action='append',
|
| 558 |
+
help='Give options to the lexer and formatter as a comma-separated '
|
| 559 |
+
'list of key-value pairs. '
|
| 560 |
+
'Example: `-O bg=light,python=cool`.')
|
| 561 |
+
operation.add_argument(
|
| 562 |
+
'-P', metavar='OPTION=value', action='append',
|
| 563 |
+
help='Give a single option to the lexer and formatter - with this '
|
| 564 |
+
'you can pass options whose value contains commas and equal signs. '
|
| 565 |
+
'Example: `-P "heading=Pygments, the Python highlighter"`.')
|
| 566 |
+
operation.add_argument(
|
| 567 |
+
'-o', metavar='OUTPUTFILE',
|
| 568 |
+
help='Where to write the output. Defaults to standard output.')
|
| 569 |
+
|
| 570 |
+
operation.add_argument(
|
| 571 |
+
'INPUTFILE', nargs='?',
|
| 572 |
+
help='Where to read the input. Defaults to standard input.')
|
| 573 |
+
|
| 574 |
+
flags = parser.add_argument_group('Operation flags')
|
| 575 |
+
flags.add_argument(
|
| 576 |
+
'-v', action='store_true',
|
| 577 |
+
help='Print a detailed traceback on unhandled exceptions, which '
|
| 578 |
+
'is useful for debugging and bug reports.')
|
| 579 |
+
flags.add_argument(
|
| 580 |
+
'-s', action='store_true',
|
| 581 |
+
help='Process lines one at a time until EOF, rather than waiting to '
|
| 582 |
+
'process the entire file. This only works for stdin, only for lexers '
|
| 583 |
+
'with no line-spanning constructs, and is intended for streaming '
|
| 584 |
+
'input such as you get from `tail -f`. '
|
| 585 |
+
'Example usage: `tail -f sql.log | pygmentize -s -l sql`.')
|
| 586 |
+
flags.add_argument(
|
| 587 |
+
'-x', action='store_true',
|
| 588 |
+
help='Allow custom lexers and formatters to be loaded from a .py file '
|
| 589 |
+
'relative to the current working directory. For example, '
|
| 590 |
+
'`-l ./customlexer.py -x`. By default, this option expects a file '
|
| 591 |
+
'with a class named CustomLexer or CustomFormatter; you can also '
|
| 592 |
+
'specify your own class name with a colon (`-l ./lexer.py:MyLexer`). '
|
| 593 |
+
'Users should be very careful not to use this option with untrusted '
|
| 594 |
+
'files, because it will import and run them.')
|
| 595 |
+
flags.add_argument('--json', help='Output as JSON. This can '
|
| 596 |
+
'be only used in conjunction with -L.',
|
| 597 |
+
default=False,
|
| 598 |
+
action='store_true')
|
| 599 |
+
|
| 600 |
+
special_modes_group = parser.add_argument_group(
|
| 601 |
+
'Special modes - do not do any highlighting')
|
| 602 |
+
special_modes = special_modes_group.add_mutually_exclusive_group()
|
| 603 |
+
special_modes.add_argument(
|
| 604 |
+
'-S', metavar='STYLE -f formatter',
|
| 605 |
+
help='Print style definitions for STYLE for a formatter '
|
| 606 |
+
'given with -f. The argument given by -a is formatter '
|
| 607 |
+
'dependent.')
|
| 608 |
+
special_modes.add_argument(
|
| 609 |
+
'-L', nargs='*', metavar='WHAT',
|
| 610 |
+
help='List lexers, formatters, styles or filters -- '
|
| 611 |
+
'give additional arguments for the thing(s) you want to list '
|
| 612 |
+
'(e.g. "styles"), or omit them to list everything.')
|
| 613 |
+
special_modes.add_argument(
|
| 614 |
+
'-N', metavar='FILENAME',
|
| 615 |
+
help='Guess and print out a lexer name based solely on the given '
|
| 616 |
+
'filename. Does not take input or highlight anything. If no specific '
|
| 617 |
+
'lexer can be determined, "text" is printed.')
|
| 618 |
+
special_modes.add_argument(
|
| 619 |
+
'-C', action='store_true',
|
| 620 |
+
help='Like -N, but print out a lexer name based solely on '
|
| 621 |
+
'a given content from standard input.')
|
| 622 |
+
special_modes.add_argument(
|
| 623 |
+
'-H', action='store', nargs=2, metavar=('NAME', 'TYPE'),
|
| 624 |
+
help='Print detailed help for the object <name> of type <type>, '
|
| 625 |
+
'where <type> is one of "lexer", "formatter" or "filter".')
|
| 626 |
+
special_modes.add_argument(
|
| 627 |
+
'-V', action='store_true',
|
| 628 |
+
help='Print the package version.')
|
| 629 |
+
special_modes.add_argument(
|
| 630 |
+
'-h', '--help', action='store_true',
|
| 631 |
+
help='Print this help.')
|
| 632 |
+
special_modes_group.add_argument(
|
| 633 |
+
'-a', metavar='ARG',
|
| 634 |
+
help='Formatter-specific additional argument for the -S (print '
|
| 635 |
+
'style sheet) mode.')
|
| 636 |
+
|
| 637 |
+
argns = parser.parse_args(args[1:])
|
| 638 |
+
|
| 639 |
+
try:
|
| 640 |
+
return main_inner(parser, argns)
|
| 641 |
+
except BrokenPipeError:
|
| 642 |
+
# someone closed our stdout, e.g. by quitting a pager.
|
| 643 |
+
return 0
|
| 644 |
+
except Exception:
|
| 645 |
+
if argns.v:
|
| 646 |
+
print(file=sys.stderr)
|
| 647 |
+
print('*' * 65, file=sys.stderr)
|
| 648 |
+
print('An unhandled exception occurred while highlighting.',
|
| 649 |
+
file=sys.stderr)
|
| 650 |
+
print('Please report the whole traceback to the issue tracker at',
|
| 651 |
+
file=sys.stderr)
|
| 652 |
+
print('<https://github.com/pygments/pygments/issues>.',
|
| 653 |
+
file=sys.stderr)
|
| 654 |
+
print('*' * 65, file=sys.stderr)
|
| 655 |
+
print(file=sys.stderr)
|
| 656 |
+
raise
|
| 657 |
+
import traceback
|
| 658 |
+
info = traceback.format_exception(*sys.exc_info())
|
| 659 |
+
msg = info[-1].strip()
|
| 660 |
+
if len(info) >= 3:
|
| 661 |
+
# extract relevant file and position info
|
| 662 |
+
msg += '\n (f{})'.format(info[-2].split('\n')[0].strip()[1:])
|
| 663 |
+
print(file=sys.stderr)
|
| 664 |
+
print('*** Error while highlighting:', file=sys.stderr)
|
| 665 |
+
print(msg, file=sys.stderr)
|
| 666 |
+
print('*** If this is a bug you want to report, please rerun with -v.',
|
| 667 |
+
file=sys.stderr)
|
| 668 |
+
return 1
|