GotoUsuke commited on
Commit
ab4488b
·
verified ·
1 Parent(s): 8334cee

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +45 -0
  2. graphrag-ollama/bin/fonttools +8 -0
  3. graphrag-ollama/bin/futurize +8 -0
  4. graphrag-ollama/bin/jsonschema +8 -0
  5. graphrag-ollama/bin/nltk +8 -0
  6. graphrag-ollama/bin/numba +8 -0
  7. graphrag-ollama/bin/pasteurize +8 -0
  8. graphrag-ollama/bin/pyftmerge +8 -0
  9. graphrag-ollama/bin/pyftsubset +8 -0
  10. graphrag-ollama/bin/ttx +8 -0
  11. graphrag-ollama/lib/python3.12/site-packages/CHANGELOG.md +55 -0
  12. graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/INSTALLER +1 -0
  13. graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/LICENSE +21 -0
  14. graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/METADATA +445 -0
  15. graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/RECORD +106 -0
  16. graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/WHEEL +6 -0
  17. graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/top_level.txt +1 -0
  18. graphrag-ollama/lib/python3.12/site-packages/POT.libs/libgomp-a34b3233.so.1.0.0 +0 -0
  19. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/AUTHORS.rst +7 -0
  20. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/INSTALLER +1 -0
  21. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/LICENSE +21 -0
  22. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/METADATA +97 -0
  23. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/RECORD +32 -0
  24. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/WHEEL +5 -0
  25. graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/top_level.txt +1 -0
  26. graphrag-ollama/lib/python3.12/site-packages/__pycache__/decorator.cpython-312.pyc +0 -0
  27. graphrag-ollama/lib/python3.12/site-packages/__pycache__/deprecation.cpython-312.pyc +0 -0
  28. graphrag-ollama/lib/python3.12/site-packages/__pycache__/pylab.cpython-312.pyc +0 -0
  29. graphrag-ollama/lib/python3.12/site-packages/__pycache__/threadpoolctl.cpython-312.pyc +0 -0
  30. graphrag-ollama/lib/python3.12/site-packages/_cffi_backend.cpython-312-x86_64-linux-gnu.so +3 -0
  31. graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/INSTALLER +1 -0
  32. graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/METADATA +318 -0
  33. graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/RECORD +26 -0
  34. graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/WHEEL +4 -0
  35. graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/licenses/LICENSE +202 -0
  36. graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/licenses/NOTICE +2 -0
  37. graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/__init__.cpython-312.pyc +0 -0
  38. graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/base.cpython-312.pyc +0 -0
  39. graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/os.cpython-312.pyc +0 -0
  40. graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/ospath.cpython-312.pyc +0 -0
  41. graphrag-ollama/lib/python3.12/site-packages/aiofiles/base.py +9 -53
  42. graphrag-ollama/lib/python3.12/site-packages/aiofiles/os.py +11 -4
  43. graphrag-ollama/lib/python3.12/site-packages/aiofiles/ospath.py +2 -0
  44. graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/__init__.cpython-312.pyc +0 -0
  45. graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/temptypes.cpython-312.pyc +0 -0
  46. graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__init__.py +2 -4
  47. graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/__init__.cpython-312.pyc +0 -0
  48. graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/binary.cpython-312.pyc +0 -0
  49. graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/text.cpython-312.pyc +0 -0
  50. graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/utils.cpython-312.pyc +0 -0
.gitattributes CHANGED
@@ -76,3 +76,48 @@ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_flight.so.1800 fil
76
  graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_python.so filter=lfs diff=lfs merge=lfs -text
77
  graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_substrait.so.1800 filter=lfs diff=lfs merge=lfs -text
78
  graphrag-ollama/lib/python3.12/site-packages/pyarrow/libparquet.so.1800 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_python.so filter=lfs diff=lfs merge=lfs -text
77
  graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_substrait.so.1800 filter=lfs diff=lfs merge=lfs -text
78
  graphrag-ollama/lib/python3.12/site-packages/pyarrow/libparquet.so.1800 filter=lfs diff=lfs merge=lfs -text
79
+ graphrag-ollama/lib/python3.12/site-packages/_cffi_backend.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
80
+ graphrag-ollama/lib/python3.12/site-packages/cryptography/hazmat/bindings/_rust.abi3.so filter=lfs diff=lfs merge=lfs -text
81
+ graphrag-ollama/lib/python3.12/site-packages/fontTools/cu2qu/cu2qu.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
82
+ graphrag-ollama/lib/python3.12/site-packages/fontTools/feaLib/lexer.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
83
+ graphrag-ollama/lib/python3.12/site-packages/fontTools/misc/bezierTools.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
84
+ graphrag-ollama/lib/python3.12/site-packages/fontTools/pens/momentsPen.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
85
+ graphrag-ollama/lib/python3.12/site-packages/fontTools/qu2cu/qu2cu.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
86
+ graphrag-ollama/lib/python3.12/site-packages/fontTools/varLib/iup.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
87
+ graphrag-ollama/lib/python3.12/site-packages/gensim/_matutils.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
88
+ graphrag-ollama/lib/python3.12/site-packages/gensim/models/nmf_pgd.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
89
+ graphrag-ollama/lib/python3.12/site-packages/gensim/models/word2vec_corpusfile.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
90
+ graphrag-ollama/lib/python3.12/site-packages/gensim/test/test_data/doc2vec_old filter=lfs diff=lfs merge=lfs -text
91
+ graphrag-ollama/lib/python3.12/site-packages/gensim/test/test_data/doc2vec_old_sep filter=lfs diff=lfs merge=lfs -text
92
+ graphrag-ollama/lib/python3.12/site-packages/gensim/test/test_data/ft_model_2.3.0 filter=lfs diff=lfs merge=lfs -text
93
+ graphrag-ollama/lib/python3.12/site-packages/gensim/test/test_data/large_tag_doc_10_iter50 filter=lfs diff=lfs merge=lfs -text
94
+ graphrag-ollama/lib/python3.12/site-packages/gensim/test/test_data/lee_fasttext filter=lfs diff=lfs merge=lfs -text
95
+ graphrag-ollama/lib/python3.12/site-packages/gensim/test/test_data/small_tag_doc_5_iter50 filter=lfs diff=lfs merge=lfs -text
96
+ graphrag-ollama/lib/python3.12/site-packages/graspologic_native/graspologic_native.abi3.so filter=lfs diff=lfs merge=lfs -text
97
+ graphrag-ollama/lib/python3.12/site-packages/kiwisolver/_cext.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
98
+ graphrag-ollama/lib/python3.12/site-packages/lance/lance.abi3.so filter=lfs diff=lfs merge=lfs -text
99
+ graphrag-ollama/lib/python3.12/site-packages/lancedb/_lancedb.abi3.so filter=lfs diff=lfs merge=lfs -text
100
+ graphrag-ollama/lib/python3.12/site-packages/llvmlite/binding/libllvmlite.so filter=lfs diff=lfs merge=lfs -text
101
+ graphrag-ollama/lib/python3.12/site-packages/numba/np/ufunc/tbbpool.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
102
+ graphrag-ollama/lib/python3.12/site-packages/ot/lp/emd_wrap.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
103
+ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow.so.1500 filter=lfs diff=lfs merge=lfs -text
104
+ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_acero.so.1500 filter=lfs diff=lfs merge=lfs -text
105
+ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_dataset.so.1500 filter=lfs diff=lfs merge=lfs -text
106
+ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_flight.so.1500 filter=lfs diff=lfs merge=lfs -text
107
+ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libarrow_substrait.so.1500 filter=lfs diff=lfs merge=lfs -text
108
+ graphrag-ollama/lib/python3.12/site-packages/pyarrow/libparquet.so.1500 filter=lfs diff=lfs merge=lfs -text
109
+ graphrag-ollama/lib/python3.12/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
110
+ graphrag-ollama/lib/python3.12/site-packages/scipy/io/_fast_matrix_market/_fmm_core.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
111
+ graphrag-ollama/lib/python3.12/site-packages/scipy/linalg/_flapack.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
112
+ graphrag-ollama/lib/python3.12/site-packages/scipy/misc/face.dat filter=lfs diff=lfs merge=lfs -text
113
+ graphrag-ollama/lib/python3.12/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
114
+ graphrag-ollama/lib/python3.12/site-packages/scipy/sparse/_sparsetools.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
115
+ graphrag-ollama/lib/python3.12/site-packages/scipy/spatial/_qhull.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
116
+ graphrag-ollama/lib/python3.12/site-packages/scipy/special/_ufuncs.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
117
+ graphrag-ollama/lib/python3.12/site-packages/scipy/special/cython_special.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
118
+ graphrag-ollama/lib/python3.12/site-packages/scipy/stats/_unuran/unuran_wrapper.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
119
+ graphrag-ollama/lib/python3.12/site-packages/scipy.libs/libgfortran-040039e1.so.5.0.0 filter=lfs diff=lfs merge=lfs -text
120
+ graphrag-ollama/lib/python3.12/site-packages/scipy.libs/libopenblasp-r0-23e5df77.3.21.dev.so filter=lfs diff=lfs merge=lfs -text
121
+ graphrag-ollama/lib/python3.12/site-packages/sklearn/_loss/_loss.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
122
+ graphrag-ollama/lib/python3.12/site-packages/statsmodels/tsa/statespace/_kalman_filter.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
123
+ graphrag-ollama/lib/python3.12/site-packages/statsmodels/tsa/statespace/_representation.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
graphrag-ollama/bin/fonttools ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from fontTools.__main__ import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/bin/futurize ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from libfuturize.main import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/bin/jsonschema ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from jsonschema.cli import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/bin/nltk ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from nltk.cli import cli
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(cli())
graphrag-ollama/bin/numba ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: UTF-8 -*-
3
+ from __future__ import print_function, division, absolute_import
4
+
5
+ from numba.misc.numba_entry import main
6
+
7
+ if __name__ == "__main__":
8
+ main()
graphrag-ollama/bin/pasteurize ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from libpasteurize.main import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/bin/pyftmerge ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from fontTools.merge import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/bin/pyftsubset ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from fontTools.subset import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/bin/ttx ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/home/ryo_goto/GraphRAG-Ollama-UI/graphrag-ollama/bin/python3
2
+ # -*- coding: utf-8 -*-
3
+ import re
4
+ import sys
5
+ from fontTools.ttx import main
6
+ if __name__ == '__main__':
7
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8
+ sys.exit(main())
graphrag-ollama/lib/python3.12/site-packages/CHANGELOG.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ <!--
4
+ You should *NOT* be adding new change log entries to this file, this
5
+ file is managed by towncrier. You *may* edit previous change logs to
6
+ fix problems like typo corrections or such.
7
+ To add a new change log entry, please see
8
+ https://pip.pypa.io/en/latest/development/contributing/#news-entries
9
+ we named the news folder "changelog.d", and use Markdown to format
10
+ entries.
11
+
12
+ WARNING: Don't drop the next directive!
13
+ -->
14
+
15
+ <!-- Towncrier release notes start -->
16
+
17
+ ## Aiolimiter 1.1.0 (2023-05-08)
18
+
19
+
20
+
21
+ ### Features
22
+
23
+ - Add ``__slots__`` to the ``AsyncLimiter`` class, reducing memory requirements. ([#85](https://github.com/mjpieters/aiolimiter/issues/85))
24
+
25
+
26
+
27
+ ### Deprecations and Removals
28
+
29
+ - Dropped support for Python 3.6 ([#62](https://github.com/mjpieters/aiolimiter/issues/62))
30
+
31
+
32
+
33
+ ### Misc
34
+
35
+ - [#95](https://github.com/mjpieters/aiolimiter/issues/95)
36
+
37
+
38
+ ## Aiolimiter 1.0.0 (2021-10-15)
39
+
40
+ ### Bugfixes
41
+
42
+ - Avoid warnings on Python 3.8 and up by not passing in the loop to
43
+ ``asyncio.wait_for()``. ([#46](https://github.com/mjpieters/aiolimiter/issues/46))
44
+
45
+
46
+ ## Aiolimiter 1.0.0b1 (2019-12-01)
47
+
48
+ ### Improved Documentation
49
+
50
+ - Corrected build process to ensure CHANGELOG.md is updated on release. ([#4](https://github.com/mjpieters/aiolimiter/issues/4))
51
+
52
+
53
+ ## Aiolimiter 1.0.0b0 (2019-11-30)
54
+
55
+ _No significant changes_.
graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2016-2023 POT contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/METADATA ADDED
@@ -0,0 +1,445 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: POT
3
+ Version: 0.9.4
4
+ Summary: Python Optimal Transport Library
5
+ Home-page: https://github.com/PythonOT/POT
6
+ Download-URL: https://github.com/PythonOT/POT/archive/0.9.4.tar.gz
7
+ Author: Remi Flamary, Nicolas Courty, POT Contributors
8
9
+ License: MIT
10
+ Platform: linux
11
+ Platform: macosx
12
+ Platform: windows
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Education
16
+ Classifier: Intended Audience :: Science/Research
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Environment :: Console
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Operating System :: POSIX :: Linux
21
+ Classifier: Operating System :: MacOS
22
+ Classifier: Operating System :: POSIX
23
+ Classifier: Operating System :: Microsoft :: Windows
24
+ Classifier: Programming Language :: Python
25
+ Classifier: Programming Language :: C++
26
+ Classifier: Programming Language :: C
27
+ Classifier: Programming Language :: Cython
28
+ Classifier: Topic :: Utilities
29
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
30
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
31
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
32
+ Classifier: Programming Language :: Python :: 3
33
+ Classifier: Programming Language :: Python :: 3.7
34
+ Classifier: Programming Language :: Python :: 3.8
35
+ Classifier: Programming Language :: Python :: 3.9
36
+ Classifier: Programming Language :: Python :: 3.10
37
+ Classifier: Programming Language :: Python :: 3.11
38
+ Classifier: Programming Language :: Python :: 3.12
39
+ Requires-Python: >=3.7
40
+ Description-Content-Type: text/markdown
41
+ License-File: LICENSE
42
+ Requires-Dist: numpy >=1.16
43
+ Requires-Dist: scipy >=1.6
44
+ Provides-Extra: all
45
+ Requires-Dist: jax ; extra == 'all'
46
+ Requires-Dist: jaxlib ; extra == 'all'
47
+ Requires-Dist: tensorflow ; extra == 'all'
48
+ Requires-Dist: torch ; extra == 'all'
49
+ Requires-Dist: cvxopt ; extra == 'all'
50
+ Requires-Dist: scikit-learn ; extra == 'all'
51
+ Requires-Dist: pymanopt ; extra == 'all'
52
+ Requires-Dist: autograd ; extra == 'all'
53
+ Requires-Dist: torch-geometric ; extra == 'all'
54
+ Requires-Dist: matplotlib ; extra == 'all'
55
+ Provides-Extra: backend-cupy
56
+ Provides-Extra: backend-jax
57
+ Requires-Dist: jax ; extra == 'backend-jax'
58
+ Requires-Dist: jaxlib ; extra == 'backend-jax'
59
+ Provides-Extra: backend-numpy
60
+ Provides-Extra: backend-tf
61
+ Requires-Dist: tensorflow ; extra == 'backend-tf'
62
+ Provides-Extra: backend-torch
63
+ Requires-Dist: torch ; extra == 'backend-torch'
64
+ Provides-Extra: cvxopt
65
+ Requires-Dist: cvxopt ; extra == 'cvxopt'
66
+ Provides-Extra: dr
67
+ Requires-Dist: scikit-learn ; extra == 'dr'
68
+ Requires-Dist: pymanopt ; extra == 'dr'
69
+ Requires-Dist: autograd ; extra == 'dr'
70
+ Provides-Extra: gnn
71
+ Requires-Dist: torch ; extra == 'gnn'
72
+ Requires-Dist: torch-geometric ; extra == 'gnn'
73
+ Provides-Extra: plot
74
+ Requires-Dist: matplotlib ; extra == 'plot'
75
+
76
+ # POT: Python Optimal Transport
77
+
78
+ [![PyPI version](https://badge.fury.io/py/POT.svg)](https://badge.fury.io/py/POT)
79
+ [![Anaconda Cloud](https://anaconda.org/conda-forge/pot/badges/version.svg)](https://anaconda.org/conda-forge/pot)
80
+ [![Build Status](https://github.com/PythonOT/POT/actions/workflows/build_tests.yml/badge.svg)](https://github.com/PythonOT/POT/actions)
81
+ [![Codecov Status](https://codecov.io/gh/PythonOT/POT/branch/master/graph/badge.svg)](https://codecov.io/gh/PythonOT/POT)
82
+ [![Downloads](https://static.pepy.tech/badge/pot)](https://pepy.tech/project/pot)
83
+ [![Anaconda downloads](https://anaconda.org/conda-forge/pot/badges/downloads.svg)](https://anaconda.org/conda-forge/pot)
84
+ [![License](https://anaconda.org/conda-forge/pot/badges/license.svg)](https://github.com/PythonOT/POT/blob/master/LICENSE)
85
+
86
+ This open source Python library provides several solvers for optimization
87
+ problems related to Optimal Transport for signal, image processing and machine
88
+ learning.
89
+
90
+ Website and documentation: [https://PythonOT.github.io/](https://PythonOT.github.io/)
91
+
92
+ Source Code (MIT): [https://github.com/PythonOT/POT](https://github.com/PythonOT/POT)
93
+
94
+ POT provides the following generic OT solvers (links to examples):
95
+
96
+ * [OT Network Simplex solver](https://pythonot.github.io/auto_examples/plot_OT_1D.html) for the linear program/ Earth Movers Distance [1] .
97
+ * [Conditional gradient](https://pythonot.github.io/auto_examples/plot_optim_OTreg.html) [6] and [Generalized conditional gradient](https://pythonot.github.io/auto_examples/plot_optim_OTreg.html) for regularized OT [7].
98
+ * Entropic regularization OT solver with [Sinkhorn Knopp
99
+ Algorithm](https://pythonot.github.io/auto_examples/plot_OT_1D.html) [2] ,
100
+ stabilized version [9] [10] [34], lazy CPU/GPU solver from geomloss [60] [61], greedy Sinkhorn [22] and [Screening
101
+ Sinkhorn [26]
102
+ ](https://pythonot.github.io/auto_examples/plot_screenkhorn_1D.html).
103
+ * Bregman projections for [Wasserstein barycenter](https://pythonot.github.io/auto_examples/barycenters/plot_barycenter_lp_vs_entropic.html) [3], [convolutional barycenter](https://pythonot.github.io/auto_examples/barycenters/plot_convolutional_barycenter.html) [21] and unmixing [4].
104
+ * Sinkhorn divergence [23] and entropic regularization OT from empirical data.
105
+ * Debiased Sinkhorn barycenters [Sinkhorn divergence barycenter](https://pythonot.github.io/auto_examples/barycenters/plot_debiased_barycenter.html) [37]
106
+ * [Smooth optimal transport solvers](https://pythonot.github.io/auto_examples/plot_OT_1D_smooth.html) (dual and semi-dual) for KL and squared L2 regularizations [17].
107
+ * Weak OT solver between empirical distributions [39]
108
+ * Non regularized [Wasserstein barycenters [16] ](https://pythonot.github.io/auto_examples/barycenters/plot_barycenter_lp_vs_entropic.html) with LP solver (only small scale).
109
+ * [Gromov-Wasserstein distances](https://pythonot.github.io/auto_examples/gromov/plot_gromov.html) and [GW barycenters](https://pythonot.github.io/auto_examples/gromov/plot_gromov_barycenter.html) (exact [13] and regularized [12,51]), differentiable using gradients from Graph Dictionary Learning [38]
110
+ * [Fused-Gromov-Wasserstein distances solver](https://pythonot.github.io/auto_examples/gromov/plot_fgw.html#sphx-glr-auto-examples-plot-fgw-py) and [FGW barycenters](https://pythonot.github.io/auto_examples/gromov/plot_barycenter_fgw.html) (exact [24] and regularized [12,51]).
111
+ * [Stochastic
112
+ solver](https://pythonot.github.io/auto_examples/others/plot_stochastic.html) and
113
+ [differentiable losses](https://pythonot.github.io/auto_examples/backends/plot_stoch_continuous_ot_pytorch.html) for
114
+ Large-scale Optimal Transport (semi-dual problem [18] and dual problem [19])
115
+ * [Sampled solver of Gromov Wasserstein](https://pythonot.github.io/auto_examples/gromov/plot_gromov.html) for large-scale problem with any loss functions [33]
116
+ * Non regularized [free support Wasserstein barycenters](https://pythonot.github.io/auto_examples/barycenters/plot_free_support_barycenter.html) [20].
117
+ * [One dimensional Unbalanced OT](https://pythonot.github.io/auto_examples/unbalanced-partial/plot_UOT_1D.html) with KL relaxation and [barycenter](https://pythonot.github.io/auto_examples/unbalanced-partial/plot_UOT_barycenter_1D.html) [10, 25]. Also [exact unbalanced OT](https://pythonot.github.io/auto_examples/unbalanced-partial/plot_unbalanced_ot.html) with KL and quadratic regularization and the [regularization path of UOT](https://pythonot.github.io/auto_examples/unbalanced-partial/plot_regpath.html) [41]
118
+ * [Partial Wasserstein and Gromov-Wasserstein](https://pythonot.github.io/auto_examples/unbalanced-partial/plot_partial_wass_and_gromov.html) (exact [29] and entropic [3]
119
+ formulations).
120
+ * [Sliced Wasserstein](https://pythonot.github.io/auto_examples/sliced-wasserstein/plot_variance.html) [31, 32] and Max-sliced Wasserstein [35] that can be used for gradient flows [36].
121
+ * [Wasserstein distance on the circle](https://pythonot.github.io/auto_examples/plot_compute_wasserstein_circle.html) [44, 45]
122
+ * [Spherical Sliced Wasserstein](https://pythonot.github.io/auto_examples/sliced-wasserstein/plot_variance_ssw.html) [46]
123
+ * [Graph Dictionary Learning solvers](https://pythonot.github.io/auto_examples/gromov/plot_gromov_wasserstein_dictionary_learning.html) [38].
124
+ * [Semi-relaxed (Fused) Gromov-Wasserstein divergences](https://pythonot.github.io/auto_examples/gromov/plot_semirelaxed_fgw.html) (exact and regularized [48]).
125
+ * [Quantized (Fused) Gromov-Wasserstein distances](https://pythonot.github.io/auto_examples/gromov/plot_quantized_gromov_wasserstein.html) [68].
126
+ * [Efficient Discrete Multi Marginal Optimal Transport Regularization](https://pythonot.github.io/auto_examples/others/plot_demd_gradient_minimize.html) [50].
127
+ * [Several backends](https://pythonot.github.io/quickstart.html#solving-ot-with-multiple-backends) for easy use of POT with [Pytorch](https://pytorch.org/)/[jax](https://github.com/google/jax)/[Numpy](https://numpy.org/)/[Cupy](https://cupy.dev/)/[Tensorflow](https://www.tensorflow.org/) arrays.
128
+ * Smooth Strongly Convex Nearest Brenier Potentials [58], with an extension to bounding potentials using [59].
129
+
130
+ POT provides the following Machine Learning related solvers:
131
+
132
+ * [Optimal transport for domain
133
+ adaptation](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_classes.html)
134
+ with [group lasso regularization](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_classes.html), [Laplacian regularization](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_laplacian.html) [5] [30] and [semi
135
+ supervised setting](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_semi_supervised.html).
136
+ * [Linear OT mapping](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_linear_mapping.html) [14] and [Joint OT mapping estimation](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_mapping.html) [8].
137
+ * [Wasserstein Discriminant Analysis](https://pythonot.github.io/auto_examples/others/plot_WDA.html) [11] (requires autograd + pymanopt).
138
+ * [JCPOT algorithm for multi-source domain adaptation with target shift](https://pythonot.github.io/auto_examples/domain-adaptation/plot_otda_jcpot.html) [27].
139
+ * [Graph Neural Network OT layers TFGW](https://pythonot.github.io/auto_examples/gromov/plot_gnn_TFGW.html) [52] and TW (OT-GNN) [53]
140
+
141
+ Some other examples are available in the [documentation](https://pythonot.github.io/auto_examples/index.html).
142
+
143
+ #### Using and citing the toolbox
144
+
145
+ If you use this toolbox in your research and find it useful, please cite POT
146
+ using the following reference from our [JMLR paper](https://jmlr.org/papers/v22/20-451.html):
147
+
148
+ Rémi Flamary, Nicolas Courty, Alexandre Gramfort, Mokhtar Z. Alaya, Aurélie Boisbunon, Stanislas Chambon, Laetitia Chapel, Adrien Corenflos, Kilian Fatras, Nemo Fournier, Léo Gautheron, Nathalie T.H. Gayraud, Hicham Janati, Alain Rakotomamonjy, Ievgen Redko, Antoine Rolet, Antony Schutz, Vivien Seguy, Danica J. Sutherland, Romain Tavenard, Alexander Tong, Titouan Vayer,
149
+ POT Python Optimal Transport library,
150
+ Journal of Machine Learning Research, 22(78):1−8, 2021.
151
+ Website: https://pythonot.github.io/
152
+
153
+ In Bibtex format:
154
+
155
+ ```bibtex
156
+ @article{flamary2021pot,
157
+ author = {R{\'e}mi Flamary and Nicolas Courty and Alexandre Gramfort and Mokhtar Z. Alaya and Aur{\'e}lie Boisbunon and Stanislas Chambon and Laetitia Chapel and Adrien Corenflos and Kilian Fatras and Nemo Fournier and L{\'e}o Gautheron and Nathalie T.H. Gayraud and Hicham Janati and Alain Rakotomamonjy and Ievgen Redko and Antoine Rolet and Antony Schutz and Vivien Seguy and Danica J. Sutherland and Romain Tavenard and Alexander Tong and Titouan Vayer},
158
+ title = {POT: Python Optimal Transport},
159
+ journal = {Journal of Machine Learning Research},
160
+ year = {2021},
161
+ volume = {22},
162
+ number = {78},
163
+ pages = {1-8},
164
+ url = {http://jmlr.org/papers/v22/20-451.html}
165
+ }
166
+ ```
167
+
168
+ ## Installation
169
+
170
+ The library has been tested on Linux, MacOSX and Windows. It requires a C++ compiler for building/installing the EMD solver and relies on the following Python modules:
171
+
172
+ - Numpy (>=1.16)
173
+ - Scipy (>=1.0)
174
+ - Cython (>=0.23) (build only, not necessary when installing from pip or conda)
175
+
176
+ #### Pip installation
177
+
178
+
179
+ You can install the toolbox through PyPI with:
180
+
181
+ ```console
182
+ pip install POT
183
+ ```
184
+
185
+ or get the very latest version by running:
186
+
187
+ ```console
188
+ pip install -U https://github.com/PythonOT/POT/archive/master.zip # with --user for user install (no root)
189
+ ```
190
+
191
+ Optional dependencies may be installed with
192
+ ```console
193
+ pip install POT[all]
194
+ ```
195
+ Note that this installs `cvxopt`, which is licensed under GPL 3.0. Alternatively, if you cannot use GPL-licensed software, the specific optional dependencies may be installed individually, or per-submodule. The available optional installations are `backend-jax, backend-tf, backend-torch, cvxopt, dr, gnn, all`.
196
+
197
+ #### Anaconda installation with conda-forge
198
+
199
+ If you use the Anaconda python distribution, POT is available in [conda-forge](https://conda-forge.org). To install it and the required dependencies:
200
+
201
+ ```console
202
+ conda install -c conda-forge pot
203
+ ```
204
+
205
+ #### Post installation check
206
+ After a correct installation, you should be able to import the module without errors:
207
+
208
+ ```python
209
+ import ot
210
+ ```
211
+
212
+ Note that for easier access the module is named `ot` instead of `pot`.
213
+
214
+
215
+ ### Dependencies
216
+
217
+ Some sub-modules require additional dependencies which are discussed below
218
+
219
+ * **ot.dr** (Wasserstein dimensionality reduction) depends on autograd and pymanopt that can be installed with:
220
+
221
+ ```shell
222
+ pip install pymanopt autograd
223
+ ```
224
+
225
+
226
+ ## Examples
227
+
228
+ ### Short examples
229
+
230
+ * Import the toolbox
231
+
232
+ ```python
233
+ import ot
234
+ ```
235
+
236
+ * Compute Wasserstein distances
237
+
238
+ ```python
239
+ # a,b are 1D histograms (sum to 1 and positive)
240
+ # M is the ground cost matrix
241
+ Wd = ot.emd2(a, b, M) # exact linear program
242
+ Wd_reg = ot.sinkhorn2(a, b, M, reg) # entropic regularized OT
243
+ # if b is a matrix compute all distances to a and return a vector
244
+ ```
245
+
246
+ * Compute OT matrix
247
+
248
+ ```python
249
+ # a,b are 1D histograms (sum to 1 and positive)
250
+ # M is the ground cost matrix
251
+ T = ot.emd(a, b, M) # exact linear program
252
+ T_reg = ot.sinkhorn(a, b, M, reg) # entropic regularized OT
253
+ ```
254
+
255
+ * Compute Wasserstein barycenter
256
+
257
+ ```python
258
+ # A is a n*d matrix containing d 1D histograms
259
+ # M is the ground cost matrix
260
+ ba = ot.barycenter(A, M, reg) # reg is regularization parameter
261
+ ```
262
+
263
+ ### Examples and Notebooks
264
+
265
+ The examples folder contain several examples and use case for the library. The full documentation with examples and output is available on [https://PythonOT.github.io/](https://PythonOT.github.io/).
266
+
267
+
268
+ ## Acknowledgements
269
+
270
+ This toolbox has been created by
271
+
272
+ * [Rémi Flamary](https://remi.flamary.com/)
273
+ * [Nicolas Courty](http://people.irisa.fr/Nicolas.Courty/)
274
+
275
+ It is currently maintained by
276
+
277
+ * [Rémi Flamary](https://remi.flamary.com/)
278
+ * [Cédric Vincent-Cuaz](https://cedricvincentcuaz.github.io/)
279
+
280
+ The numerous contributors to this library are listed [here](CONTRIBUTORS.md).
281
+
282
+ POT has benefited from the financing or manpower from the following partners:
283
+
284
+ <img src="https://pythonot.github.io/master/_static/images/logo_anr.jpg" alt="ANR" style="height:60px;"/><img src="https://pythonot.github.io/master/_static/images/logo_cnrs.jpg" alt="CNRS" style="height:60px;"/><img src="https://pythonot.github.io/master/_static/images/logo_3ia.jpg" alt="3IA" style="height:60px;"/><img src="https://pythonot.github.io/master/_static/images/logo_hiparis.png" alt="Hi!PARIS" style="height:60px;"/>
285
+
286
+
287
+
288
+ ## Contributions and code of conduct
289
+
290
+ Every contribution is welcome and should respect the [contribution guidelines](https://pythonot.github.io/master/contributing.html). Each member of the project is expected to follow the [code of conduct](https://pythonot.github.io/master/code_of_conduct.html).
291
+
292
+ ## Support
293
+
294
+ You can ask questions and join the development discussion:
295
+
296
+ * On the POT [slack channel](https://pot-toolbox.slack.com)
297
+ * On the POT [gitter channel](https://gitter.im/PythonOT/community)
298
+ * On the POT [mailing list](https://mail.python.org/mm3/mailman3/lists/pot.python.org/)
299
+
300
+ You can also post bug reports and feature requests in Github issues. Make sure to read our [guidelines](.github/CONTRIBUTING.md) first.
301
+
302
+ ## References
303
+
304
+ [1] Bonneel, N., Van De Panne, M., Paris, S., & Heidrich, W. (2011, December). [Displacement interpolation using Lagrangian mass transport](https://people.csail.mit.edu/sparis/publi/2011/sigasia/Bonneel_11_Displacement_Interpolation.pdf). In ACM Transactions on Graphics (TOG) (Vol. 30, No. 6, p. 158). ACM.
305
+
306
+ [2] Cuturi, M. (2013). [Sinkhorn distances: Lightspeed computation of optimal transport](https://arxiv.org/pdf/1306.0895.pdf). In Advances in Neural Information Processing Systems (pp. 2292-2300).
307
+
308
+ [3] Benamou, J. D., Carlier, G., Cuturi, M., Nenna, L., & Peyré, G. (2015). [Iterative Bregman projections for regularized transportation problems](https://arxiv.org/pdf/1412.5154.pdf). SIAM Journal on Scientific Computing, 37(2), A1111-A1138.
309
+
310
+ [4] S. Nakhostin, N. Courty, R. Flamary, D. Tuia, T. Corpetti, [Supervised planetary unmixing with optimal transport](https://hal.archives-ouvertes.fr/hal-01377236/document), Workshop on Hyperspectral Image and Signal Processing : Evolution in Remote Sensing (WHISPERS), 2016.
311
+
312
+ [5] N. Courty; R. Flamary; D. Tuia; A. Rakotomamonjy, [Optimal Transport for Domain Adaptation](https://arxiv.org/pdf/1507.00504.pdf), in IEEE Transactions on Pattern Analysis and Machine Intelligence , vol.PP, no.99, pp.1-1
313
+
314
+ [6] Ferradans, S., Papadakis, N., Peyré, G., & Aujol, J. F. (2014). [Regularized discrete optimal transport](https://arxiv.org/pdf/1307.5551.pdf). SIAM Journal on Imaging Sciences, 7(3), 1853-1882.
315
+
316
+ [7] Rakotomamonjy, A., Flamary, R., & Courty, N. (2015). [Generalized conditional gradient: analysis of convergence and applications](https://arxiv.org/pdf/1510.06567.pdf). arXiv preprint arXiv:1510.06567.
317
+
318
+ [8] M. Perrot, N. Courty, R. Flamary, A. Habrard (2016), [Mapping estimation for discrete optimal transport](http://remi.flamary.com/biblio/perrot2016mapping.pdf), Neural Information Processing Systems (NIPS).
319
+
320
+ [9] Schmitzer, B. (2016). [Stabilized Sparse Scaling Algorithms for Entropy Regularized Transport Problems](https://arxiv.org/pdf/1610.06519.pdf). arXiv preprint arXiv:1610.06519.
321
+
322
+ [10] Chizat, L., Peyré, G., Schmitzer, B., & Vialard, F. X. (2016). [Scaling algorithms for unbalanced transport problems](https://arxiv.org/pdf/1607.05816.pdf). arXiv preprint arXiv:1607.05816.
323
+
324
+ [11] Flamary, R., Cuturi, M., Courty, N., & Rakotomamonjy, A. (2016). [Wasserstein Discriminant Analysis](https://arxiv.org/pdf/1608.08063.pdf). arXiv preprint arXiv:1608.08063.
325
+
326
+ [12] Gabriel Peyré, Marco Cuturi, and Justin Solomon (2016), [Gromov-Wasserstein averaging of kernel and distance matrices](http://proceedings.mlr.press/v48/peyre16.html) International Conference on Machine Learning (ICML).
327
+
328
+ [13] Mémoli, Facundo (2011). [Gromov–Wasserstein distances and the metric approach to object matching](https://media.adelaide.edu.au/acvt/Publications/2011/2011-Gromov%E2%80%93Wasserstein%20Distances%20and%20the%20Metric%20Approach%20to%20Object%20Matching.pdf). Foundations of computational mathematics 11.4 : 417-487.
329
+
330
+ [14] Knott, M. and Smith, C. S. (1984).[On the optimal mapping of distributions](https://link.springer.com/article/10.1007/BF00934745), Journal of Optimization Theory and Applications Vol 43.
331
+
332
+ [15] Peyré, G., & Cuturi, M. (2018). [Computational Optimal Transport](https://arxiv.org/pdf/1803.00567.pdf) .
333
+
334
+ [16] Agueh, M., & Carlier, G. (2011). [Barycenters in the Wasserstein space](https://hal.archives-ouvertes.fr/hal-00637399/document). SIAM Journal on Mathematical Analysis, 43(2), 904-924.
335
+
336
+ [17] Blondel, M., Seguy, V., & Rolet, A. (2018). [Smooth and Sparse Optimal Transport](https://arxiv.org/abs/1710.06276). Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics (AISTATS).
337
+
338
+ [18] Genevay, A., Cuturi, M., Peyré, G. & Bach, F. (2016) [Stochastic Optimization for Large-scale Optimal Transport](https://arxiv.org/abs/1605.08527). Advances in Neural Information Processing Systems (2016).
339
+
340
+ [19] Seguy, V., Bhushan Damodaran, B., Flamary, R., Courty, N., Rolet, A.& Blondel, M. [Large-scale Optimal Transport and Mapping Estimation](https://arxiv.org/pdf/1711.02283.pdf). International Conference on Learning Representation (2018)
341
+
342
+ [20] Cuturi, M. and Doucet, A. (2014) [Fast Computation of Wasserstein Barycenters](http://proceedings.mlr.press/v32/cuturi14.html). International Conference in Machine Learning
343
+
344
+ [21] Solomon, J., De Goes, F., Peyré, G., Cuturi, M., Butscher, A., Nguyen, A. & Guibas, L. (2015). [Convolutional wasserstein distances: Efficient optimal transportation on geometric domains](https://dl.acm.org/citation.cfm?id=2766963). ACM Transactions on Graphics (TOG), 34(4), 66.
345
+
346
+ [22] J. Altschuler, J.Weed, P. Rigollet, (2017) [Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration](https://papers.nips.cc/paper/6792-near-linear-time-approximation-algorithms-for-optimal-transport-via-sinkhorn-iteration.pdf), Advances in Neural Information Processing Systems (NIPS) 31
347
+
348
+ [23] Aude, G., Peyré, G., Cuturi, M., [Learning Generative Models with Sinkhorn Divergences](https://arxiv.org/abs/1706.00292), Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics, (AISTATS) 21, 2018
349
+
350
+ [24] Vayer, T., Chapel, L., Flamary, R., Tavenard, R. and Courty, N. (2019). [Optimal Transport for structured data with application on graphs](http://proceedings.mlr.press/v97/titouan19a.html) Proceedings of the 36th International Conference on Machine Learning (ICML).
351
+
352
+ [25] Frogner C., Zhang C., Mobahi H., Araya-Polo M., Poggio T. (2015). [Learning with a Wasserstein Loss](http://cbcl.mit.edu/wasserstein/) Advances in Neural Information Processing Systems (NIPS).
353
+
354
+ [26] Alaya M. Z., Bérar M., Gasso G., Rakotomamonjy A. (2019). [Screening Sinkhorn Algorithm for Regularized Optimal Transport](https://papers.nips.cc/paper/9386-screening-sinkhorn-algorithm-for-regularized-optimal-transport), Advances in Neural Information Processing Systems 33 (NeurIPS).
355
+
356
+ [27] Redko I., Courty N., Flamary R., Tuia D. (2019). [Optimal Transport for Multi-source Domain Adaptation under Target Shift](http://proceedings.mlr.press/v89/redko19a.html), Proceedings of the Twenty-Second International Conference on Artificial Intelligence and Statistics (AISTATS) 22, 2019.
357
+
358
+ [28] Caffarelli, L. A., McCann, R. J. (2010). [Free boundaries in optimal transport and Monge-Ampere obstacle problems](http://www.math.toronto.edu/~mccann/papers/annals2010.pdf), Annals of mathematics, 673-730.
359
+
360
+ [29] Chapel, L., Alaya, M., Gasso, G. (2020). [Partial Optimal Transport with Applications on Positive-Unlabeled Learning](https://arxiv.org/abs/2002.08276), Advances in Neural Information Processing Systems (NeurIPS), 2020.
361
+
362
+ [30] Flamary R., Courty N., Tuia D., Rakotomamonjy A. (2014). [Optimal transport with Laplacian regularization: Applications to domain adaptation and shape matching](https://remi.flamary.com/biblio/flamary2014optlaplace.pdf), NIPS Workshop on Optimal Transport and Machine Learning OTML, 2014.
363
+
364
+ [31] Bonneel, Nicolas, et al. [Sliced and radon wasserstein barycenters of measures](https://perso.liris.cnrs.fr/nicolas.bonneel/WassersteinSliced-JMIV.pdf), Journal of Mathematical Imaging and Vision 51.1 (2015): 22-45
365
+
366
+ [32] Huang, M., Ma S., Lai, L. (2021). [A Riemannian Block Coordinate Descent Method for Computing the Projection Robust Wasserstein Distance](http://proceedings.mlr.press/v139/huang21e.html), Proceedings of the 38th International Conference on Machine Learning (ICML).
367
+
368
+ [33] Kerdoncuff T., Emonet R., Marc S. [Sampled Gromov Wasserstein](https://hal.archives-ouvertes.fr/hal-03232509/document), Machine Learning Journal (MJL), 2021
369
+
370
+ [34] Feydy, J., Séjourné, T., Vialard, F. X., Amari, S. I., Trouvé, A., & Peyré, G. (2019, April). [Interpolating between optimal transport and MMD using Sinkhorn divergences](http://proceedings.mlr.press/v89/feydy19a/feydy19a.pdf). In The 22nd International Conference on Artificial Intelligence and Statistics (pp. 2681-2690). PMLR.
371
+
372
+ [35] Deshpande, I., Hu, Y. T., Sun, R., Pyrros, A., Siddiqui, N., Koyejo, S., ... & Schwing, A. G. (2019). [Max-sliced wasserstein distance and its use for gans](https://openaccess.thecvf.com/content_CVPR_2019/papers/Deshpande_Max-Sliced_Wasserstein_Distance_and_Its_Use_for_GANs_CVPR_2019_paper.pdf). In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 10648-10656).
373
+
374
+ [36] Liutkus, A., Simsekli, U., Majewski, S., Durmus, A., & Stöter, F. R.
375
+ (2019, May). [Sliced-Wasserstein flows: Nonparametric generative modeling
376
+ via optimal transport and diffusions](http://proceedings.mlr.press/v97/liutkus19a/liutkus19a.pdf). In International Conference on
377
+ Machine Learning (pp. 4104-4113). PMLR.
378
+
379
+ [37] Janati, H., Cuturi, M., Gramfort, A. [Debiased sinkhorn barycenters](http://proceedings.mlr.press/v119/janati20a/janati20a.pdf) Proceedings of the 37th International
380
+ Conference on Machine Learning, PMLR 119:4692-4701, 2020
381
+
382
+ [38] C. Vincent-Cuaz, T. Vayer, R. Flamary, M. Corneli, N. Courty, [Online Graph
383
+ Dictionary Learning](https://arxiv.org/pdf/2102.06555.pdf), International Conference on Machine Learning (ICML), 2021.
384
+
385
+ [39] Gozlan, N., Roberto, C., Samson, P. M., & Tetali, P. (2017). [Kantorovich duality for general transport costs and applications](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.712.1825&rep=rep1&type=pdf). Journal of Functional Analysis, 273(11), 3327-3405.
386
+
387
+ [40] Forrow, A., Hütter, J. C., Nitzan, M., Rigollet, P., Schiebinger, G., & Weed, J. (2019, April). [Statistical optimal transport via factored couplings](http://proceedings.mlr.press/v89/forrow19a/forrow19a.pdf). In The 22nd International Conference on Artificial Intelligence and Statistics (pp. 2454-2465). PMLR.
388
+
389
+ [41] Chapel*, L., Flamary*, R., Wu, H., Févotte, C., Gasso, G. (2021). [Unbalanced Optimal Transport through Non-negative Penalized Linear Regression](https://proceedings.neurips.cc/paper/2021/file/c3c617a9b80b3ae1ebd868b0017cc349-Paper.pdf) Advances in Neural Information Processing Systems (NeurIPS), 2020. (Two first co-authors)
390
+
391
+ [42] Delon, J., Gozlan, N., and Saint-Dizier, A. [Generalized Wasserstein barycenters between probability measures living on different subspaces](https://arxiv.org/pdf/2105.09755). arXiv preprint arXiv:2105.09755, 2021.
392
+
393
+ [43] Álvarez-Esteban, Pedro C., et al. [A fixed-point approach to barycenters in Wasserstein space.](https://arxiv.org/pdf/1511.05355.pdf) Journal of Mathematical Analysis and Applications 441.2 (2016): 744-762.
394
+
395
+ [44] Delon, Julie, Julien Salomon, and Andrei Sobolevski. [Fast transport optimization for Monge costs on the circle.](https://arxiv.org/abs/0902.3527) SIAM Journal on Applied Mathematics 70.7 (2010): 2239-2258.
396
+
397
+ [45] Hundrieser, Shayan, Marcel Klatt, and Axel Munk. [The statistics of circular optimal transport.](https://arxiv.org/abs/2103.15426) Directional Statistics for Innovative Applications: A Bicentennial Tribute to Florence Nightingale. Singapore: Springer Nature Singapore, 2022. 57-82.
398
+
399
+ [46] Bonet, C., Berg, P., Courty, N., Septier, F., Drumetz, L., & Pham, M. T. (2023). [Spherical Sliced-Wasserstein](https://openreview.net/forum?id=jXQ0ipgMdU). International Conference on Learning Representations.
400
+
401
+ [47] Chowdhury, S., & Mémoli, F. (2019). [The gromov–wasserstein distance between networks and stable network invariants](https://academic.oup.com/imaiai/article/8/4/757/5627736). Information and Inference: A Journal of the IMA, 8(4), 757-787.
402
+
403
+ [48] Cédric Vincent-Cuaz, Rémi Flamary, Marco Corneli, Titouan Vayer, Nicolas Courty (2022). [Semi-relaxed Gromov-Wasserstein divergence and applications on graphs](https://openreview.net/pdf?id=RShaMexjc-x). International Conference on Learning Representations (ICLR), 2022.
404
+
405
+ [49] Redko, I., Vayer, T., Flamary, R., and Courty, N. (2020). [CO-Optimal Transport](https://proceedings.neurips.cc/paper/2020/file/cc384c68ad503482fb24e6d1e3b512ae-Paper.pdf). Advances in Neural Information Processing Systems, 33.
406
+
407
+ [50] Liu, T., Puigcerver, J., & Blondel, M. (2023). [Sparsity-constrained optimal transport](https://openreview.net/forum?id=yHY9NbQJ5BP). Proceedings of the Eleventh International Conference on Learning Representations (ICLR).
408
+
409
+ [51] Xu, H., Luo, D., Zha, H., & Duke, L. C. (2019). [Gromov-wasserstein learning for graph matching and node embedding](http://proceedings.mlr.press/v97/xu19b.html). In International Conference on Machine Learning (ICML), 2019.
410
+
411
+ [52] Collas, A., Vayer, T., Flamary, F., & Breloy, A. (2023). [Entropic Wasserstein Component Analysis](https://arxiv.org/abs/2303.05119). ArXiv.
412
+
413
+ [53] C. Vincent-Cuaz, R. Flamary, M. Corneli, T. Vayer, N. Courty (2022). [Template based graph neural network with optimal transport distances](https://papers.nips.cc/paper_files/paper/2022/file/4d3525bc60ba1adc72336c0392d3d902-Paper-Conference.pdf). Advances in Neural Information Processing Systems, 35.
414
+
415
+ [54] Bécigneul, G., Ganea, O. E., Chen, B., Barzilay, R., & Jaakkola, T. S. (2020). [Optimal transport graph neural networks](https://arxiv.org/pdf/2006.04804).
416
+
417
+ [55] Ronak Mehta, Jeffery Kline, Vishnu Suresh Lokhande, Glenn Fung, & Vikas Singh (2023). [Efficient Discrete Multi Marginal Optimal Transport Regularization](https://openreview.net/forum?id=R98ZfMt-jE). In The Eleventh International Conference on Learning Representations (ICLR).
418
+
419
+ [56] Jeffery Kline. [Properties of the d-dimensional earth mover’s problem](https://www.sciencedirect.com/science/article/pii/S0166218X19301441). Discrete Applied Mathematics, 265: 128–141, 2019.
420
+
421
+ [57] Delon, J., Desolneux, A., & Salmona, A. (2022). [Gromov–Wasserstein
422
+ distances between Gaussian distributions](https://hal.science/hal-03197398v2/file/main.pdf). Journal of Applied Probability, 59(4),
423
+ 1178-1198.
424
+
425
+ [58] Paty F-P., d’Aspremont 1., & Cuturi M. (2020). [Regularity as regularization:Smooth and strongly convex brenier potentials in optimal transport.](http://proceedings.mlr.press/v108/paty20a/paty20a.pdf) In International Conference on Artificial Intelligence and Statistics, pages 1222–1232. PMLR, 2020.
426
+
427
+ [59] Taylor A. B. (2017). [Convex interpolation and performance estimation of first-order methods for convex optimization.](https://dial.uclouvain.be/pr/boreal/object/boreal%3A182881/datastream/PDF_01/view) PhD thesis, Catholic University of Louvain, Louvain-la-Neuve, Belgium, 2017.
428
+
429
+ [60] Feydy, J., Roussillon, P., Trouvé, A., & Gori, P. (2019). [Fast and scalable optimal transport for brain tractograms](https://arxiv.org/pdf/2107.02010.pdf). In Medical Image Computing and Computer Assisted Intervention–MICCAI 2019: 22nd International Conference, Shenzhen, China, October 13–17, 2019, Proceedings, Part III 22 (pp. 636-644). Springer International Publishing.
430
+
431
+ [61] Charlier, B., Feydy, J., Glaunes, J. A., Collin, F. D., & Durif, G. (2021). [Kernel operations on the gpu, with autodiff, without memory overflows](https://www.jmlr.org/papers/volume22/20-275/20-275.pdf). The Journal of Machine Learning Research, 22(1), 3457-3462.
432
+
433
+ [62] H. Van Assel, C. Vincent-Cuaz, T. Vayer, R. Flamary, N. Courty (2023). [Interpolating between Clustering and Dimensionality Reduction with Gromov-Wasserstein](https://arxiv.org/pdf/2310.03398.pdf). NeurIPS 2023 Workshop Optimal Transport and Machine Learning.
434
+
435
+ [63] Li, J., Tang, J., Kong, L., Liu, H., Li, J., So, A. M. C., & Blanchet, J. (2022). [A Convergent Single-Loop Algorithm for Relaxation of Gromov-Wasserstein in Graph Data](https://openreview.net/pdf?id=0jxPyVWmiiF). In The Eleventh International Conference on Learning Representations.
436
+
437
+ [64] Ma, X., Chu, X., Wang, Y., Lin, Y., Zhao, J., Ma, L., & Zhu, W. (2023). [Fused Gromov-Wasserstein Graph Mixup for Graph-level Classifications](https://openreview.net/pdf?id=uqkUguNu40). In Thirty-seventh Conference on Neural Information Processing Systems.
438
+
439
+ [65] Scetbon, M., Cuturi, M., & Peyré, G. (2021). [Low-Rank Sinkhorn Factorization](https://arxiv.org/pdf/2103.04737.pdf).
440
+
441
+ [66] Pooladian, Aram-Alexandre, and Jonathan Niles-Weed. [Entropic estimation of optimal transport maps](https://arxiv.org/pdf/2109.12004.pdf). arXiv preprint arXiv:2109.12004 (2021).
442
+
443
+ [67] Scetbon, M., Peyré, G. & Cuturi, M. (2022). [Linear-Time Gromov-Wasserstein Distances using Low Rank Couplings and Costs](https://proceedings.mlr.press/v162/scetbon22b/scetbon22b.pdf). In International Conference on Machine Learning (ICML), 2022.
444
+
445
+ [68] Chowdhury, S., Miller, D., & Needham, T. (2021). [Quantized gromov-wasserstein](https://link.springer.com/chapter/10.1007/978-3-030-86523-8_49). ECML PKDD 2021. Springer International Publishing.
graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/RECORD ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ POT-0.9.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ POT-0.9.4.dist-info/LICENSE,sha256=rb51ENXpu_OGMGgVpVg4fWJ4ID_SaIZ1_k4Nn66_tnk,1078
3
+ POT-0.9.4.dist-info/METADATA,sha256=WIbARConKJil--n4v6y6ZUiKeg9dyTzDkIOZMZhobKk,32852
4
+ POT-0.9.4.dist-info/RECORD,,
5
+ POT-0.9.4.dist-info/WHEEL,sha256=8rKWvyfdp5CD7ik_vuL5S1M1g1E-Wv5v_Zlm5fMeHkw,151
6
+ POT-0.9.4.dist-info/top_level.txt,sha256=uNNUQOP8QHoEsVooWtyIcldjOE9Q7OkR-5yExOS_068,3
7
+ POT.libs/libgomp-a34b3233.so.1.0.0,sha256=On6uznIxkRvi-7Gz58tMtcLg-E4MK7c3OUcrWh_uyME,168193
8
+ ot/__init__.py,sha256=n9dbV1-aofwRX18CXSuw7qFJqvGdaHcZX10VGEKpRKE,3165
9
+ ot/__pycache__/__init__.cpython-312.pyc,,
10
+ ot/__pycache__/backend.cpython-312.pyc,,
11
+ ot/__pycache__/coot.cpython-312.pyc,,
12
+ ot/__pycache__/da.cpython-312.pyc,,
13
+ ot/__pycache__/datasets.cpython-312.pyc,,
14
+ ot/__pycache__/dr.cpython-312.pyc,,
15
+ ot/__pycache__/factored.cpython-312.pyc,,
16
+ ot/__pycache__/gaussian.cpython-312.pyc,,
17
+ ot/__pycache__/lowrank.cpython-312.pyc,,
18
+ ot/__pycache__/mapping.cpython-312.pyc,,
19
+ ot/__pycache__/optim.cpython-312.pyc,,
20
+ ot/__pycache__/partial.cpython-312.pyc,,
21
+ ot/__pycache__/plot.cpython-312.pyc,,
22
+ ot/__pycache__/regpath.cpython-312.pyc,,
23
+ ot/__pycache__/sliced.cpython-312.pyc,,
24
+ ot/__pycache__/smooth.cpython-312.pyc,,
25
+ ot/__pycache__/solvers.cpython-312.pyc,,
26
+ ot/__pycache__/stochastic.cpython-312.pyc,,
27
+ ot/__pycache__/unbalanced.cpython-312.pyc,,
28
+ ot/__pycache__/utils.cpython-312.pyc,,
29
+ ot/__pycache__/weak.cpython-312.pyc,,
30
+ ot/backend.py,sha256=tQtIWKbw8B-bWsnCBGeFNlUKXCqDxSntiFqmaoaJs5k,96568
31
+ ot/bregman/__init__.py,sha256=V66TUMWerGADhDpA-5aH13s5ny9W94esS4QQKB_WyA8,1989
32
+ ot/bregman/__pycache__/__init__.cpython-312.pyc,,
33
+ ot/bregman/__pycache__/_barycenter.cpython-312.pyc,,
34
+ ot/bregman/__pycache__/_convolutional.cpython-312.pyc,,
35
+ ot/bregman/__pycache__/_dictionary.cpython-312.pyc,,
36
+ ot/bregman/__pycache__/_empirical.cpython-312.pyc,,
37
+ ot/bregman/__pycache__/_geomloss.cpython-312.pyc,,
38
+ ot/bregman/__pycache__/_screenkhorn.cpython-312.pyc,,
39
+ ot/bregman/__pycache__/_sinkhorn.cpython-312.pyc,,
40
+ ot/bregman/__pycache__/_utils.cpython-312.pyc,,
41
+ ot/bregman/_barycenter.py,sha256=JBqa41qkU_n9TQKJInAe5ZGclMiHn48JxKxxv4tQnqE,32252
42
+ ot/bregman/_convolutional.py,sha256=UAcKV6Ppyf-wPcj4UhKIeBY4hA-gh1BxELmHLoihmqU,17157
43
+ ot/bregman/_dictionary.py,sha256=49p-Q3MxunbHWQV4dHkOJFM9KAOy6XPrZWjpG5R5RNY,4781
44
+ ot/bregman/_empirical.py,sha256=Oi20pGdczYpxJr4oaYC4QT5xKc0ucMM-ou7Pyx6kK4k,22431
45
+ ot/bregman/_geomloss.py,sha256=giJ0dv1zCHqbtk9Mw00glBJf8xR7l0DVWPx9kTmy2pc,7059
46
+ ot/bregman/_screenkhorn.py,sha256=ZHIETgPcRreE79F2kjXiAZ_evE3VOOjBkgcHX3J2VEg,13609
47
+ ot/bregman/_sinkhorn.py,sha256=4TkO1D1Igf9Pq6eEx5E8-kpkyz956aMrJWAav9YNSdI,46797
48
+ ot/bregman/_utils.py,sha256=t5YCvF1y9UqJDAYi8K_09HDmyAYA6YrBj-J-Xso8KUU,1272
49
+ ot/coot.py,sha256=iVWYGIFwPu2HoLettEYLOfSdzNIQfMw_w9U5lNzg1uM,20836
50
+ ot/da.py,sha256=9eJi6-i8PyeT4j5-77a7eeV1ClrA-GSc4iOQ0W4UGRI,97682
51
+ ot/datasets.py,sha256=zHklIG3_mzmuK2D1TItgF26YqNPt9VEiBHCX_cGFUD4,5311
52
+ ot/dr.py,sha256=UU2W4p6N-HsuK2Fto8SqdKnZf7nKhPO6Nzc1eHx2_0A,16742
53
+ ot/factored.py,sha256=hnB_TFD1ofko35GUsbTZK5sNmErn14KJVCeg38LMnmI,4236
54
+ ot/gaussian.py,sha256=B6bb3G9VxaXE49YTHBruMbSa9CbR276HsgLE37dbSWY,24946
55
+ ot/gnn/__init__.py,sha256=3Z3JGipw6ly2gGQbpF0V2RT9xE9TL9cFvJTAPxdlm74,743
56
+ ot/gnn/__pycache__/__init__.cpython-312.pyc,,
57
+ ot/gnn/__pycache__/_layers.cpython-312.pyc,,
58
+ ot/gnn/__pycache__/_utils.cpython-312.pyc,,
59
+ ot/gnn/_layers.py,sha256=Kw6jiALWoQzUX__QDssPJNSfOTFh8mAxQRbQsFyD400,10641
60
+ ot/gnn/_utils.py,sha256=wKqSQywZuwtCFrYI-LIH9AWg8eeM4IozkMmH0VpVkQo,8965
61
+ ot/gromov/__init__.py,sha256=HFk8lC9xpx0ZJwkUsWyvDwnOfUGfdtKuGPhfgdfhgKo,4605
62
+ ot/gromov/__pycache__/__init__.cpython-312.pyc,,
63
+ ot/gromov/__pycache__/_bregman.cpython-312.pyc,,
64
+ ot/gromov/__pycache__/_dictionary.cpython-312.pyc,,
65
+ ot/gromov/__pycache__/_estimators.cpython-312.pyc,,
66
+ ot/gromov/__pycache__/_gw.cpython-312.pyc,,
67
+ ot/gromov/__pycache__/_lowrank.cpython-312.pyc,,
68
+ ot/gromov/__pycache__/_quantized.cpython-312.pyc,,
69
+ ot/gromov/__pycache__/_semirelaxed.cpython-312.pyc,,
70
+ ot/gromov/__pycache__/_utils.cpython-312.pyc,,
71
+ ot/gromov/_bregman.py,sha256=rqWVYUpf9YPNy70XFUbH_eHiz3jUG5tKJo9vgaOhSbM,70276
72
+ ot/gromov/_dictionary.py,sha256=n4_6QrTbuZFWWSlVhHttqJCqvusbmtKCnZ9xxnNbPak,49402
73
+ ot/gromov/_estimators.py,sha256=-N4UWVSIBAp4w5w3SIUw05qpxj6f_4kBVZbAcyWXABo,16058
74
+ ot/gromov/_gw.py,sha256=Qutfkep8L6w_bPAtPxaKhLO_1ILqErwQn1EbLaznZOY,48146
75
+ ot/gromov/_lowrank.py,sha256=5FgGqvw_QiPwb6GNdKcNjN84fox2R3S3dw15TRYxgw8,11661
76
+ ot/gromov/_quantized.py,sha256=MhcWscQZwUprNnmIq5T9At2METXsP2AAnfH4BekcI2Y,44075
77
+ ot/gromov/_semirelaxed.py,sha256=R0zRTbYodvCBo2EpgsGSA9FIr5QHS_tASmQSjCoMgHI,43925
78
+ ot/gromov/_utils.py,sha256=CAnNfdLFfqFHr2lXxf-Rp6YimEjIjWwX68HE6yG-eRQ,16026
79
+ ot/helpers/__init__.py,sha256=y9mgC3PTDCZsZEgLzjFehVKisEJ-nCT1jro4AX9RU8Y,72
80
+ ot/helpers/__pycache__/__init__.cpython-312.pyc,,
81
+ ot/helpers/__pycache__/openmp_helpers.cpython-312.pyc,,
82
+ ot/helpers/__pycache__/pre_build_helpers.cpython-312.pyc,,
83
+ ot/helpers/openmp_helpers.py,sha256=vlX4m-slUe4Z2MFhAOFkFSEZOcQMT8scSJLFFqqr4Hw,2664
84
+ ot/helpers/pre_build_helpers.py,sha256=q7GTJa_ypSVbA8H0y_lhizoe6LcNzbj3pQY0QsJX1YE,2194
85
+ ot/lowrank.py,sha256=PxvJnQwdP02QtogJZWzVCyJeDL1Zv0OHdUZuFD_o9gM,17428
86
+ ot/lp/__init__.py,sha256=vMP4JI5yhZTNUg_pAwVxZHO4q0vhihEgrVSi5bAfDTE,30217
87
+ ot/lp/__pycache__/__init__.cpython-312.pyc,,
88
+ ot/lp/__pycache__/cvx.cpython-312.pyc,,
89
+ ot/lp/__pycache__/dmmot.cpython-312.pyc,,
90
+ ot/lp/__pycache__/solver_1d.cpython-312.pyc,,
91
+ ot/lp/cvx.py,sha256=2lL-uZzssxnsrK00_KTl9qcaj9jLdoySMyA2Mapl6QQ,4280
92
+ ot/lp/dmmot.py,sha256=VPhwJXnxARqXySzAXQ0UUMoPVQFfpd4PGITpDT1M5O0,11808
93
+ ot/lp/emd_wrap.cpython-312-x86_64-linux-gnu.so,sha256=nITP0ohxbNVW759KLP38V-ZSs5tyPx6bwqjw-44FT0M,2074953
94
+ ot/lp/solver_1d.py,sha256=r5DyiFfpv1Vetd_iIX0lDvFrPy6Uci8ircHBKlg4LE0,35679
95
+ ot/mapping.py,sha256=wIchoxuqQaFG7x32cPMsfW7v7hlmtuYs7eBleGp7H9g,27859
96
+ ot/optim.py,sha256=xJLHw4QfJ_6Vu5Tc6vPLOnl2WKDL6OQBlpOftCsz6sw,20160
97
+ ot/partial.py,sha256=_2qpK8fTlJkVfpuuQ1DYotEzNA1pXhpQ6frPGLFzG18,38642
98
+ ot/plot.py,sha256=332-PHpQNa6f-URhKqUHjTCRpslunRqToB8dUlfxGls,2597
99
+ ot/regpath.py,sha256=Bd7fV-YPFpNwvxactzqwnlUQkaXIPhdmVtbbDIOEC78,32656
100
+ ot/sliced.py,sha256=mCijal98o7-7cc4axGRuPARzhrSfzPGqYa7et1O-CQs,15582
101
+ ot/smooth.py,sha256=iCM4YOQLqlmp7oeSwQ5Rhd8nqkdXEEFK4SPLpsFrfto,23136
102
+ ot/solvers.py,sha256=OOHb5rJnPHQ_mnRw8-JKHuoaZhz02uO_TlGWU05-rk8,55856
103
+ ot/stochastic.py,sha256=adBNMQt7XlZN5tF2F_CBFDpwT1wYBSM_wqksu_yVkKg,26191
104
+ ot/unbalanced.py,sha256=4ZF0L1mMuOvzJ1Pd5MRGkaXyOQZiIJh5-5ZjDXr4V1s,59955
105
+ ot/utils.py,sha256=FwXmZyh6ShErof907VGJyLQO6PW3kjVSKYXVL6OeZCU,42661
106
+ ot/weak.py,sha256=uIWiVPg-RROUJgkIMMF1B_ul4MySWd0ntFy7xRvox00,3757
graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/WHEEL ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (70.1.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp312-cp312-manylinux_2_17_x86_64
5
+ Tag: cp312-cp312-manylinux2014_x86_64
6
+
graphrag-ollama/lib/python3.12/site-packages/POT-0.9.4.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ ot
graphrag-ollama/lib/python3.12/site-packages/POT.libs/libgomp-a34b3233.so.1.0.0 ADDED
Binary file (168 kB). View file
 
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/AUTHORS.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Authors
2
+ =======
3
+
4
+ ``pyjwt`` is currently written and maintained by `Jose Padilla <https://github.com/jpadilla>`_.
5
+ Originally written and maintained by `Jeff Lindsay <https://github.com/progrium>`_.
6
+
7
+ A full list of contributors can be found on GitHub’s `overview <https://github.com/jpadilla/pyjwt/graphs/contributors>`_.
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-2022 José Padilla
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/METADATA ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: PyJWT
3
+ Version: 2.9.0
4
+ Summary: JSON Web Token implementation in Python
5
+ Home-page: https://github.com/jpadilla/pyjwt
6
+ Author: Jose Padilla
7
+ Author-email: [email protected]
8
+ License: MIT
9
+ Keywords: json,jwt,security,signing,token,web
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Natural Language :: English
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Utilities
23
+ Requires-Python: >=3.8
24
+ Description-Content-Type: text/x-rst
25
+ License-File: LICENSE
26
+ License-File: AUTHORS.rst
27
+ Provides-Extra: crypto
28
+ Requires-Dist: cryptography >=3.4.0 ; extra == 'crypto'
29
+ Provides-Extra: dev
30
+ Requires-Dist: sphinx ; extra == 'dev'
31
+ Requires-Dist: sphinx-rtd-theme ; extra == 'dev'
32
+ Requires-Dist: zope.interface ; extra == 'dev'
33
+ Requires-Dist: cryptography >=3.4.0 ; extra == 'dev'
34
+ Requires-Dist: pytest <7.0.0,>=6.0.0 ; extra == 'dev'
35
+ Requires-Dist: coverage[toml] ==5.0.4 ; extra == 'dev'
36
+ Requires-Dist: pre-commit ; extra == 'dev'
37
+ Provides-Extra: docs
38
+ Requires-Dist: sphinx ; extra == 'docs'
39
+ Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
40
+ Requires-Dist: zope.interface ; extra == 'docs'
41
+ Provides-Extra: tests
42
+ Requires-Dist: pytest <7.0.0,>=6.0.0 ; extra == 'tests'
43
+ Requires-Dist: coverage[toml] ==5.0.4 ; extra == 'tests'
44
+
45
+ PyJWT
46
+ =====
47
+
48
+ .. image:: https://github.com/jpadilla/pyjwt/workflows/CI/badge.svg
49
+ :target: https://github.com/jpadilla/pyjwt/actions?query=workflow%3ACI
50
+
51
+ .. image:: https://img.shields.io/pypi/v/pyjwt.svg
52
+ :target: https://pypi.python.org/pypi/pyjwt
53
+
54
+ .. image:: https://codecov.io/gh/jpadilla/pyjwt/branch/master/graph/badge.svg
55
+ :target: https://codecov.io/gh/jpadilla/pyjwt
56
+
57
+ .. image:: https://readthedocs.org/projects/pyjwt/badge/?version=stable
58
+ :target: https://pyjwt.readthedocs.io/en/stable/
59
+
60
+ A Python implementation of `RFC 7519 <https://tools.ietf.org/html/rfc7519>`_. Original implementation was written by `@progrium <https://github.com/progrium>`_.
61
+
62
+ Installing
63
+ ----------
64
+
65
+ Install with **pip**:
66
+
67
+ .. code-block:: console
68
+
69
+ $ pip install PyJWT
70
+
71
+
72
+ Usage
73
+ -----
74
+
75
+ .. code-block:: pycon
76
+
77
+ >>> import jwt
78
+ >>> encoded = jwt.encode({"some": "payload"}, "secret", algorithm="HS256")
79
+ >>> print(encoded)
80
+ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg
81
+ >>> jwt.decode(encoded, "secret", algorithms=["HS256"])
82
+ {'some': 'payload'}
83
+
84
+ Documentation
85
+ -------------
86
+
87
+ View the full docs online at https://pyjwt.readthedocs.io/en/stable/
88
+
89
+
90
+ Tests
91
+ -----
92
+
93
+ You can run tests from the project root after cloning with:
94
+
95
+ .. code-block:: console
96
+
97
+ $ tox
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/RECORD ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PyJWT-2.9.0.dist-info/AUTHORS.rst,sha256=klzkNGECnu2_VY7At89_xLBF3vUSDruXk3xwgUBxzwc,322
2
+ PyJWT-2.9.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ PyJWT-2.9.0.dist-info/LICENSE,sha256=eXp6ICMdTEM-nxkR2xcx0GtYKLmPSZgZoDT3wPVvXOU,1085
4
+ PyJWT-2.9.0.dist-info/METADATA,sha256=YRmm4Pcq065Rja5Gzuh80YA2groQSgOR8I1Cx0MF8EM,3048
5
+ PyJWT-2.9.0.dist-info/RECORD,,
6
+ PyJWT-2.9.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
7
+ PyJWT-2.9.0.dist-info/top_level.txt,sha256=RP5DHNyJbMq2ka0FmfTgoSaQzh7e3r5XuCWCO8a00k8,4
8
+ jwt/__init__.py,sha256=TlvdnR8JPnAKjXE3Yt4qSA4AApcb0_9fh4RppJfnMcU,1670
9
+ jwt/__pycache__/__init__.cpython-312.pyc,,
10
+ jwt/__pycache__/algorithms.cpython-312.pyc,,
11
+ jwt/__pycache__/api_jwk.cpython-312.pyc,,
12
+ jwt/__pycache__/api_jws.cpython-312.pyc,,
13
+ jwt/__pycache__/api_jwt.cpython-312.pyc,,
14
+ jwt/__pycache__/exceptions.cpython-312.pyc,,
15
+ jwt/__pycache__/help.cpython-312.pyc,,
16
+ jwt/__pycache__/jwk_set_cache.cpython-312.pyc,,
17
+ jwt/__pycache__/jwks_client.cpython-312.pyc,,
18
+ jwt/__pycache__/types.cpython-312.pyc,,
19
+ jwt/__pycache__/utils.cpython-312.pyc,,
20
+ jwt/__pycache__/warnings.cpython-312.pyc,,
21
+ jwt/algorithms.py,sha256=5MLQ2WIhHPiN--67afLk4yXOLsYfx2OiNeLVORZT3G8,29851
22
+ jwt/api_jwk.py,sha256=6F1r7rmm8V5qEnBKA_xMjS9R7VoANe1_BL1oD2FrAjE,4451
23
+ jwt/api_jws.py,sha256=1cBVJuYxo6UrDU6UH4VTA2EqctBj1x7mNlnNb-Ocn4g,11425
24
+ jwt/api_jwt.py,sha256=gsmF7wVxKFfsDBjrMq-M2UiyUBzl6U6YwaEqNdN1zkM,12875
25
+ jwt/exceptions.py,sha256=xaWnosa-cREyXMyb7PYmLfQv9weZ7Q9XUYMiLJvN0hA,1101
26
+ jwt/help.py,sha256=Jrp84fG43sCwmSIaDtY08I6ZR2VE7NhrTff89tYSE40,1749
27
+ jwt/jwk_set_cache.py,sha256=hBKmN-giU7-G37L_XKgc_OZu2ah4wdbj1ZNG_GkoSE8,959
28
+ jwt/jwks_client.py,sha256=9W8JVyGByQgoLbBN1u5iY1_jlgfnnukeOBTpqaM_9SE,4222
29
+ jwt/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ jwt/types.py,sha256=VnhGv_VFu5a7_mrPoSCB7HaNLrJdhM8Sq1sSfEg0gLU,99
31
+ jwt/utils.py,sha256=efS6RKCALEBeBw-uZj8VtzfZFFcECTd28q9ndNn9huw,3544
32
+ jwt/warnings.py,sha256=50XWOnyNsIaqzUJTk6XHNiIDykiL763GYA92MjTKmok,59
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (72.1.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
graphrag-ollama/lib/python3.12/site-packages/PyJWT-2.9.0.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ jwt
graphrag-ollama/lib/python3.12/site-packages/__pycache__/decorator.cpython-312.pyc ADDED
Binary file (20.9 kB). View file
 
graphrag-ollama/lib/python3.12/site-packages/__pycache__/deprecation.cpython-312.pyc ADDED
Binary file (10.7 kB). View file
 
graphrag-ollama/lib/python3.12/site-packages/__pycache__/pylab.cpython-312.pyc ADDED
Binary file (322 Bytes). View file
 
graphrag-ollama/lib/python3.12/site-packages/__pycache__/threadpoolctl.cpython-312.pyc ADDED
Binary file (58.2 kB). View file
 
graphrag-ollama/lib/python3.12/site-packages/_cffi_backend.cpython-312-x86_64-linux-gnu.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9f2bad1b902b9dafab63007b78740df1fc21da396815b3f2dbd89d0918edcfa
3
+ size 1114632
graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/METADATA ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.3
2
+ Name: aiofiles
3
+ Version: 24.1.0
4
+ Summary: File support for asyncio.
5
+ Project-URL: Changelog, https://github.com/Tinche/aiofiles#history
6
+ Project-URL: Bug Tracker, https://github.com/Tinche/aiofiles/issues
7
+ Project-URL: repository, https://github.com/Tinche/aiofiles
8
+ Author-email: Tin Tvrtkovic <[email protected]>
9
+ License: Apache-2.0
10
+ License-File: LICENSE
11
+ License-File: NOTICE
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Framework :: AsyncIO
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: Implementation :: CPython
23
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
24
+ Requires-Python: >=3.8
25
+ Description-Content-Type: text/markdown
26
+
27
+ # aiofiles: file support for asyncio
28
+
29
+ [![PyPI](https://img.shields.io/pypi/v/aiofiles.svg)](https://pypi.python.org/pypi/aiofiles)
30
+ [![Build](https://github.com/Tinche/aiofiles/workflows/CI/badge.svg)](https://github.com/Tinche/aiofiles/actions)
31
+ [![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/Tinche/882f02e3df32136c847ba90d2688f06e/raw/covbadge.json)](https://github.com/Tinche/aiofiles/actions/workflows/main.yml)
32
+ [![Supported Python versions](https://img.shields.io/pypi/pyversions/aiofiles.svg)](https://github.com/Tinche/aiofiles)
33
+ [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
34
+
35
+ **aiofiles** is an Apache2 licensed library, written in Python, for handling local
36
+ disk files in asyncio applications.
37
+
38
+ Ordinary local file IO is blocking, and cannot easily and portably be made
39
+ asynchronous. This means doing file IO may interfere with asyncio applications,
40
+ which shouldn't block the executing thread. aiofiles helps with this by
41
+ introducing asynchronous versions of files that support delegating operations to
42
+ a separate thread pool.
43
+
44
+ ```python
45
+ async with aiofiles.open('filename', mode='r') as f:
46
+ contents = await f.read()
47
+ print(contents)
48
+ 'My file contents'
49
+ ```
50
+
51
+ Asynchronous iteration is also supported.
52
+
53
+ ```python
54
+ async with aiofiles.open('filename') as f:
55
+ async for line in f:
56
+ ...
57
+ ```
58
+
59
+ Asynchronous interface to tempfile module.
60
+
61
+ ```python
62
+ async with aiofiles.tempfile.TemporaryFile('wb') as f:
63
+ await f.write(b'Hello, World!')
64
+ ```
65
+
66
+ ## Features
67
+
68
+ - a file API very similar to Python's standard, blocking API
69
+ - support for buffered and unbuffered binary files, and buffered text files
70
+ - support for `async`/`await` ([PEP 492](https://peps.python.org/pep-0492/)) constructs
71
+ - async interface to tempfile module
72
+
73
+ ## Installation
74
+
75
+ To install aiofiles, simply:
76
+
77
+ ```bash
78
+ $ pip install aiofiles
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ Files are opened using the `aiofiles.open()` coroutine, which in addition to
84
+ mirroring the builtin `open` accepts optional `loop` and `executor`
85
+ arguments. If `loop` is absent, the default loop will be used, as per the
86
+ set asyncio policy. If `executor` is not specified, the default event loop
87
+ executor will be used.
88
+
89
+ In case of success, an asynchronous file object is returned with an
90
+ API identical to an ordinary file, except the following methods are coroutines
91
+ and delegate to an executor:
92
+
93
+ - `close`
94
+ - `flush`
95
+ - `isatty`
96
+ - `read`
97
+ - `readall`
98
+ - `read1`
99
+ - `readinto`
100
+ - `readline`
101
+ - `readlines`
102
+ - `seek`
103
+ - `seekable`
104
+ - `tell`
105
+ - `truncate`
106
+ - `writable`
107
+ - `write`
108
+ - `writelines`
109
+
110
+ In case of failure, one of the usual exceptions will be raised.
111
+
112
+ `aiofiles.stdin`, `aiofiles.stdout`, `aiofiles.stderr`,
113
+ `aiofiles.stdin_bytes`, `aiofiles.stdout_bytes`, and
114
+ `aiofiles.stderr_bytes` provide async access to `sys.stdin`,
115
+ `sys.stdout`, `sys.stderr`, and their corresponding `.buffer` properties.
116
+
117
+ The `aiofiles.os` module contains executor-enabled coroutine versions of
118
+ several useful `os` functions that deal with files:
119
+
120
+ - `stat`
121
+ - `statvfs`
122
+ - `sendfile`
123
+ - `rename`
124
+ - `renames`
125
+ - `replace`
126
+ - `remove`
127
+ - `unlink`
128
+ - `mkdir`
129
+ - `makedirs`
130
+ - `rmdir`
131
+ - `removedirs`
132
+ - `link`
133
+ - `symlink`
134
+ - `readlink`
135
+ - `listdir`
136
+ - `scandir`
137
+ - `access`
138
+ - `getcwd`
139
+ - `path.abspath`
140
+ - `path.exists`
141
+ - `path.isfile`
142
+ - `path.isdir`
143
+ - `path.islink`
144
+ - `path.ismount`
145
+ - `path.getsize`
146
+ - `path.getatime`
147
+ - `path.getctime`
148
+ - `path.samefile`
149
+ - `path.sameopenfile`
150
+
151
+ ### Tempfile
152
+
153
+ **aiofiles.tempfile** implements the following interfaces:
154
+
155
+ - TemporaryFile
156
+ - NamedTemporaryFile
157
+ - SpooledTemporaryFile
158
+ - TemporaryDirectory
159
+
160
+ Results return wrapped with a context manager allowing use with async with and async for.
161
+
162
+ ```python
163
+ async with aiofiles.tempfile.NamedTemporaryFile('wb+') as f:
164
+ await f.write(b'Line1\n Line2')
165
+ await f.seek(0)
166
+ async for line in f:
167
+ print(line)
168
+
169
+ async with aiofiles.tempfile.TemporaryDirectory() as d:
170
+ filename = os.path.join(d, "file.ext")
171
+ ```
172
+
173
+ ### Writing tests for aiofiles
174
+
175
+ Real file IO can be mocked by patching `aiofiles.threadpool.sync_open`
176
+ as desired. The return type also needs to be registered with the
177
+ `aiofiles.threadpool.wrap` dispatcher:
178
+
179
+ ```python
180
+ aiofiles.threadpool.wrap.register(mock.MagicMock)(
181
+ lambda *args, **kwargs: aiofiles.threadpool.AsyncBufferedIOBase(*args, **kwargs)
182
+ )
183
+
184
+ async def test_stuff():
185
+ write_data = 'data'
186
+ read_file_chunks = [
187
+ b'file chunks 1',
188
+ b'file chunks 2',
189
+ b'file chunks 3',
190
+ b'',
191
+ ]
192
+ file_chunks_iter = iter(read_file_chunks)
193
+
194
+ mock_file_stream = mock.MagicMock(
195
+ read=lambda *args, **kwargs: next(file_chunks_iter)
196
+ )
197
+
198
+ with mock.patch('aiofiles.threadpool.sync_open', return_value=mock_file_stream) as mock_open:
199
+ async with aiofiles.open('filename', 'w') as f:
200
+ await f.write(write_data)
201
+ assert f.read() == b'file chunks 1'
202
+
203
+ mock_file_stream.write.assert_called_once_with(write_data)
204
+ ```
205
+
206
+ ### History
207
+
208
+ #### 24.1.0 (2024-06-24)
209
+
210
+ - Import `os.link` conditionally to fix importing on android.
211
+ [#175](https://github.com/Tinche/aiofiles/issues/175)
212
+ - Remove spurious items from `aiofiles.os.__all__` when running on Windows.
213
+ - Switch to more modern async idioms: Remove types.coroutine and make AiofilesContextManager an awaitable instead a coroutine.
214
+ - Add `aiofiles.os.path.abspath` and `aiofiles.os.getcwd`.
215
+ [#174](https://github.com/Tinche/aiofiles/issues/181)
216
+ - _aiofiles_ is now tested on Python 3.13 too.
217
+ [#184](https://github.com/Tinche/aiofiles/pull/184)
218
+ - Dropped Python 3.7 support. If you require it, use version 23.2.1.
219
+
220
+ #### 23.2.1 (2023-08-09)
221
+
222
+ - Import `os.statvfs` conditionally to fix importing on non-UNIX systems.
223
+ [#171](https://github.com/Tinche/aiofiles/issues/171) [#172](https://github.com/Tinche/aiofiles/pull/172)
224
+ - aiofiles is now also tested on Windows.
225
+
226
+ #### 23.2.0 (2023-08-09)
227
+
228
+ - aiofiles is now tested on Python 3.12 too.
229
+ [#166](https://github.com/Tinche/aiofiles/issues/166) [#168](https://github.com/Tinche/aiofiles/pull/168)
230
+ - On Python 3.12, `aiofiles.tempfile.NamedTemporaryFile` now accepts a `delete_on_close` argument, just like the stdlib version.
231
+ - On Python 3.12, `aiofiles.tempfile.NamedTemporaryFile` no longer exposes a `delete` attribute, just like the stdlib version.
232
+ - Added `aiofiles.os.statvfs` and `aiofiles.os.path.ismount`.
233
+ [#162](https://github.com/Tinche/aiofiles/pull/162)
234
+ - Use [PDM](https://pdm.fming.dev/latest/) instead of Poetry.
235
+ [#169](https://github.com/Tinche/aiofiles/pull/169)
236
+
237
+ #### 23.1.0 (2023-02-09)
238
+
239
+ - Added `aiofiles.os.access`.
240
+ [#146](https://github.com/Tinche/aiofiles/pull/146)
241
+ - Removed `aiofiles.tempfile.temptypes.AsyncSpooledTemporaryFile.softspace`.
242
+ [#151](https://github.com/Tinche/aiofiles/pull/151)
243
+ - Added `aiofiles.stdin`, `aiofiles.stdin_bytes`, and other stdio streams.
244
+ [#154](https://github.com/Tinche/aiofiles/pull/154)
245
+ - Transition to `asyncio.get_running_loop` (vs `asyncio.get_event_loop`) internally.
246
+
247
+ #### 22.1.0 (2022-09-04)
248
+
249
+ - Added `aiofiles.os.path.islink`.
250
+ [#126](https://github.com/Tinche/aiofiles/pull/126)
251
+ - Added `aiofiles.os.readlink`.
252
+ [#125](https://github.com/Tinche/aiofiles/pull/125)
253
+ - Added `aiofiles.os.symlink`.
254
+ [#124](https://github.com/Tinche/aiofiles/pull/124)
255
+ - Added `aiofiles.os.unlink`.
256
+ [#123](https://github.com/Tinche/aiofiles/pull/123)
257
+ - Added `aiofiles.os.link`.
258
+ [#121](https://github.com/Tinche/aiofiles/pull/121)
259
+ - Added `aiofiles.os.renames`.
260
+ [#120](https://github.com/Tinche/aiofiles/pull/120)
261
+ - Added `aiofiles.os.{listdir, scandir}`.
262
+ [#143](https://github.com/Tinche/aiofiles/pull/143)
263
+ - Switched to CalVer.
264
+ - Dropped Python 3.6 support. If you require it, use version 0.8.0.
265
+ - aiofiles is now tested on Python 3.11.
266
+
267
+ #### 0.8.0 (2021-11-27)
268
+
269
+ - aiofiles is now tested on Python 3.10.
270
+ - Added `aiofiles.os.replace`.
271
+ [#107](https://github.com/Tinche/aiofiles/pull/107)
272
+ - Added `aiofiles.os.{makedirs, removedirs}`.
273
+ - Added `aiofiles.os.path.{exists, isfile, isdir, getsize, getatime, getctime, samefile, sameopenfile}`.
274
+ [#63](https://github.com/Tinche/aiofiles/pull/63)
275
+ - Added `suffix`, `prefix`, `dir` args to `aiofiles.tempfile.TemporaryDirectory`.
276
+ [#116](https://github.com/Tinche/aiofiles/pull/116)
277
+
278
+ #### 0.7.0 (2021-05-17)
279
+
280
+ - Added the `aiofiles.tempfile` module for async temporary files.
281
+ [#56](https://github.com/Tinche/aiofiles/pull/56)
282
+ - Switched to Poetry and GitHub actions.
283
+ - Dropped 3.5 support.
284
+
285
+ #### 0.6.0 (2020-10-27)
286
+
287
+ - `aiofiles` is now tested on ppc64le.
288
+ - Added `name` and `mode` properties to async file objects.
289
+ [#82](https://github.com/Tinche/aiofiles/pull/82)
290
+ - Fixed a DeprecationWarning internally.
291
+ [#75](https://github.com/Tinche/aiofiles/pull/75)
292
+ - Python 3.9 support and tests.
293
+
294
+ #### 0.5.0 (2020-04-12)
295
+
296
+ - Python 3.8 support. Code base modernization (using `async/await` instead of `asyncio.coroutine`/`yield from`).
297
+ - Added `aiofiles.os.remove`, `aiofiles.os.rename`, `aiofiles.os.mkdir`, `aiofiles.os.rmdir`.
298
+ [#62](https://github.com/Tinche/aiofiles/pull/62)
299
+
300
+ #### 0.4.0 (2018-08-11)
301
+
302
+ - Python 3.7 support.
303
+ - Removed Python 3.3/3.4 support. If you use these versions, stick to aiofiles 0.3.x.
304
+
305
+ #### 0.3.2 (2017-09-23)
306
+
307
+ - The LICENSE is now included in the sdist.
308
+ [#31](https://github.com/Tinche/aiofiles/pull/31)
309
+
310
+ #### 0.3.1 (2017-03-10)
311
+
312
+ - Introduced a changelog.
313
+ - `aiofiles.os.sendfile` will now work if the standard `os` module contains a `sendfile` function.
314
+
315
+ ### Contributing
316
+
317
+ Contributions are very welcome. Tests can be run with `tox`, please ensure
318
+ the coverage at least stays the same before you submit a pull request.
graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/RECORD ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aiofiles-24.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ aiofiles-24.1.0.dist-info/METADATA,sha256=CvUJx21XclgI1Lp5Bt_4AyJesRYg0xCSx4exJZVmaSA,10708
3
+ aiofiles-24.1.0.dist-info/RECORD,,
4
+ aiofiles-24.1.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
5
+ aiofiles-24.1.0.dist-info/licenses/LICENSE,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
6
+ aiofiles-24.1.0.dist-info/licenses/NOTICE,sha256=EExY0dRQvWR0wJ2LZLwBgnM6YKw9jCU-M0zegpRSD_E,55
7
+ aiofiles/__init__.py,sha256=1iAMJQyJtX3LGIS0AoFTJeO1aJ_RK2jpBSBhg0VoIrE,344
8
+ aiofiles/__pycache__/__init__.cpython-312.pyc,,
9
+ aiofiles/__pycache__/base.cpython-312.pyc,,
10
+ aiofiles/__pycache__/os.cpython-312.pyc,,
11
+ aiofiles/__pycache__/ospath.cpython-312.pyc,,
12
+ aiofiles/base.py,sha256=zo0FgkCqZ5aosjvxqIvDf2t-RFg1Lc6X8P6rZ56p6fQ,1784
13
+ aiofiles/os.py,sha256=0DrsG-eH4h7xRzglv9pIWsQuzqe7ZhVYw5FQS18fIys,1153
14
+ aiofiles/ospath.py,sha256=WaYelz_k6ykAFRLStr4bqYIfCVQ-5GGzIqIizykbY2Q,794
15
+ aiofiles/tempfile/__init__.py,sha256=hFSNTOjOUv371Ozdfy6FIxeln46Nm3xOVh4ZR3Q94V0,10244
16
+ aiofiles/tempfile/__pycache__/__init__.cpython-312.pyc,,
17
+ aiofiles/tempfile/__pycache__/temptypes.cpython-312.pyc,,
18
+ aiofiles/tempfile/temptypes.py,sha256=ddEvNjMLVlr7WUILCe6ypTqw77yREeIonTk16Uw_NVs,2093
19
+ aiofiles/threadpool/__init__.py,sha256=kt0hwwx3bLiYtnA1SORhW8mJ6z4W9Xr7MbY80UIJJrI,3133
20
+ aiofiles/threadpool/__pycache__/__init__.cpython-312.pyc,,
21
+ aiofiles/threadpool/__pycache__/binary.cpython-312.pyc,,
22
+ aiofiles/threadpool/__pycache__/text.cpython-312.pyc,,
23
+ aiofiles/threadpool/__pycache__/utils.cpython-312.pyc,,
24
+ aiofiles/threadpool/binary.py,sha256=hp-km9VCRu0MLz_wAEUfbCz7OL7xtn9iGAawabpnp5U,2315
25
+ aiofiles/threadpool/text.py,sha256=fNmpw2PEkj0BZSldipJXAgZqVGLxALcfOMiuDQ54Eas,1223
26
+ aiofiles/threadpool/utils.py,sha256=B59dSZwO_WZs2dFFycKeA91iD2Xq2nNw1EFF8YMBI5k,1868
graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.25.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/licenses/LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.
202
+
graphrag-ollama/lib/python3.12/site-packages/aiofiles-24.1.0.dist-info/licenses/NOTICE ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Asyncio support for files
2
+ Copyright 2016 Tin Tvrtkovic
graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/__init__.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/__init__.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/__init__.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/base.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/base.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/base.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/os.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/os.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/os.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/ospath.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/ospath.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/__pycache__/ospath.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/base.py CHANGED
@@ -1,6 +1,6 @@
1
  """Various base classes."""
2
- from types import coroutine
3
- from collections.abc import Coroutine
4
  from asyncio import get_running_loop
5
 
6
 
@@ -45,66 +45,22 @@ class AsyncIndirectBase(AsyncBase):
45
  pass # discard writes
46
 
47
 
48
- class _ContextManager(Coroutine):
 
 
49
  __slots__ = ("_coro", "_obj")
50
 
51
  def __init__(self, coro):
52
  self._coro = coro
53
  self._obj = None
54
 
55
- def send(self, value):
56
- return self._coro.send(value)
57
-
58
- def throw(self, typ, val=None, tb=None):
59
- if val is None:
60
- return self._coro.throw(typ)
61
- elif tb is None:
62
- return self._coro.throw(typ, val)
63
- else:
64
- return self._coro.throw(typ, val, tb)
65
-
66
- def close(self):
67
- return self._coro.close()
68
-
69
- @property
70
- def gi_frame(self):
71
- return self._coro.gi_frame
72
-
73
- @property
74
- def gi_running(self):
75
- return self._coro.gi_running
76
-
77
- @property
78
- def gi_code(self):
79
- return self._coro.gi_code
80
-
81
- def __next__(self):
82
- return self.send(None)
83
-
84
- @coroutine
85
- def __iter__(self):
86
- resp = yield from self._coro
87
- return resp
88
-
89
  def __await__(self):
90
- resp = yield from self._coro
91
- return resp
92
-
93
- async def __anext__(self):
94
- resp = await self._coro
95
- return resp
96
-
97
- async def __aenter__(self):
98
- self._obj = await self._coro
99
  return self._obj
100
 
101
- async def __aexit__(self, exc_type, exc, tb):
102
- self._obj.close()
103
- self._obj = None
104
-
105
-
106
- class AiofilesContextManager(_ContextManager):
107
- """An adjusted async context manager for aiofiles."""
108
 
109
  async def __aexit__(self, exc_type, exc_val, exc_tb):
110
  await get_running_loop().run_in_executor(
 
1
  """Various base classes."""
2
+ from collections.abc import Awaitable
3
+ from contextlib import AbstractAsyncContextManager
4
  from asyncio import get_running_loop
5
 
6
 
 
45
  pass # discard writes
46
 
47
 
48
+ class AiofilesContextManager(Awaitable, AbstractAsyncContextManager):
49
+ """An adjusted async context manager for aiofiles."""
50
+
51
  __slots__ = ("_coro", "_obj")
52
 
53
  def __init__(self, coro):
54
  self._coro = coro
55
  self._obj = None
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  def __await__(self):
58
+ if self._obj is None:
59
+ self._obj = yield from self._coro.__await__()
 
 
 
 
 
 
 
60
  return self._obj
61
 
62
+ async def __aenter__(self):
63
+ return await self
 
 
 
 
 
64
 
65
  async def __aexit__(self, exc_type, exc_val, exc_tb):
66
  await get_running_loop().run_in_executor(
graphrag-ollama/lib/python3.12/site-packages/aiofiles/os.py CHANGED
@@ -1,4 +1,5 @@
1
  """Async executor versions of file functions from the os module."""
 
2
  import os
3
 
4
  from . import ospath as path
@@ -7,7 +8,6 @@ from .ospath import wrap
7
  __all__ = [
8
  "path",
9
  "stat",
10
- "statvfs",
11
  "rename",
12
  "renames",
13
  "replace",
@@ -17,15 +17,20 @@ __all__ = [
17
  "makedirs",
18
  "rmdir",
19
  "removedirs",
20
- "link",
21
  "symlink",
22
  "readlink",
23
  "listdir",
24
  "scandir",
25
  "access",
26
- "sendfile",
27
  "wrap",
 
28
  ]
 
 
 
 
 
 
29
 
30
 
31
  stat = wrap(os.stat)
@@ -38,13 +43,15 @@ mkdir = wrap(os.mkdir)
38
  makedirs = wrap(os.makedirs)
39
  rmdir = wrap(os.rmdir)
40
  removedirs = wrap(os.removedirs)
41
- link = wrap(os.link)
42
  symlink = wrap(os.symlink)
43
  readlink = wrap(os.readlink)
44
  listdir = wrap(os.listdir)
45
  scandir = wrap(os.scandir)
46
  access = wrap(os.access)
 
47
 
 
 
48
  if hasattr(os, "sendfile"):
49
  sendfile = wrap(os.sendfile)
50
  if hasattr(os, "statvfs"):
 
1
  """Async executor versions of file functions from the os module."""
2
+
3
  import os
4
 
5
  from . import ospath as path
 
8
  __all__ = [
9
  "path",
10
  "stat",
 
11
  "rename",
12
  "renames",
13
  "replace",
 
17
  "makedirs",
18
  "rmdir",
19
  "removedirs",
 
20
  "symlink",
21
  "readlink",
22
  "listdir",
23
  "scandir",
24
  "access",
 
25
  "wrap",
26
+ "getcwd",
27
  ]
28
+ if hasattr(os, "link"):
29
+ __all__ += ["link"]
30
+ if hasattr(os, "sendfile"):
31
+ __all__ += ["sendfile"]
32
+ if hasattr(os, "statvfs"):
33
+ __all__ += ["statvfs"]
34
 
35
 
36
  stat = wrap(os.stat)
 
43
  makedirs = wrap(os.makedirs)
44
  rmdir = wrap(os.rmdir)
45
  removedirs = wrap(os.removedirs)
 
46
  symlink = wrap(os.symlink)
47
  readlink = wrap(os.readlink)
48
  listdir = wrap(os.listdir)
49
  scandir = wrap(os.scandir)
50
  access = wrap(os.access)
51
+ getcwd = wrap(os.getcwd)
52
 
53
+ if hasattr(os, "link"):
54
+ link = wrap(os.link)
55
  if hasattr(os, "sendfile"):
56
  sendfile = wrap(os.sendfile)
57
  if hasattr(os, "statvfs"):
graphrag-ollama/lib/python3.12/site-packages/aiofiles/ospath.py CHANGED
@@ -1,4 +1,5 @@
1
  """Async executor versions of file functions from the os.path module."""
 
2
  import asyncio
3
  from functools import partial, wraps
4
  from os import path
@@ -26,3 +27,4 @@ getatime = wrap(path.getatime)
26
  getctime = wrap(path.getctime)
27
  samefile = wrap(path.samefile)
28
  sameopenfile = wrap(path.sameopenfile)
 
 
1
  """Async executor versions of file functions from the os.path module."""
2
+
3
  import asyncio
4
  from functools import partial, wraps
5
  from os import path
 
27
  getctime = wrap(path.getctime)
28
  samefile = wrap(path.samefile)
29
  sameopenfile = wrap(path.sameopenfile)
30
+ abspath = wrap(path.abspath)
graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/__init__.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/__init__.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/__init__.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/temptypes.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/temptypes.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/tempfile/__pycache__/temptypes.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__init__.py CHANGED
@@ -10,7 +10,6 @@ from io import (
10
  FileIO,
11
  TextIOBase,
12
  )
13
- from types import coroutine
14
 
15
  from ..base import AiofilesContextManager
16
  from .binary import (
@@ -63,8 +62,7 @@ def open(
63
  )
64
 
65
 
66
- @coroutine
67
- def _open(
68
  file,
69
  mode="r",
70
  buffering=-1,
@@ -91,7 +89,7 @@ def _open(
91
  closefd=closefd,
92
  opener=opener,
93
  )
94
- f = yield from loop.run_in_executor(executor, cb)
95
 
96
  return wrap(f, loop=loop, executor=executor)
97
 
 
10
  FileIO,
11
  TextIOBase,
12
  )
 
13
 
14
  from ..base import AiofilesContextManager
15
  from .binary import (
 
62
  )
63
 
64
 
65
+ async def _open(
 
66
  file,
67
  mode="r",
68
  buffering=-1,
 
89
  closefd=closefd,
90
  opener=opener,
91
  )
92
+ f = await loop.run_in_executor(executor, cb)
93
 
94
  return wrap(f, loop=loop, executor=executor)
95
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/__init__.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/__init__.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/__init__.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/binary.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/binary.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/binary.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/text.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/text.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/text.cpython-312.pyc differ
 
graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/utils.cpython-312.pyc CHANGED
Binary files a/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/utils.cpython-312.pyc and b/graphrag-ollama/lib/python3.12/site-packages/aiofiles/threadpool/__pycache__/utils.cpython-312.pyc differ