saikanov commited on
Commit
fc12014
1 Parent(s): 94025d5

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 +44 -0
  2. .gitignore +2 -0
  3. .venv/.gitignore +1 -0
  4. .venv/.lock +0 -0
  5. .venv/CACHEDIR.TAG +1 -0
  6. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/INSTALLER +1 -0
  7. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/LICENSE.rst +21 -0
  8. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/METADATA +181 -0
  9. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/RECORD +10 -0
  10. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/REQUESTED +0 -0
  11. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/WHEEL +6 -0
  12. .venv/Lib/site-packages/Deprecated-1.2.14.dist-info/top_level.txt +1 -0
  13. .venv/Lib/site-packages/IPython/__init__.py +163 -0
  14. .venv/Lib/site-packages/IPython/__main__.py +15 -0
  15. .venv/Lib/site-packages/IPython/__pycache__/__init__.cpython-310.pyc +0 -0
  16. .venv/Lib/site-packages/IPython/__pycache__/display.cpython-310.pyc +0 -0
  17. .venv/Lib/site-packages/IPython/__pycache__/paths.cpython-310.pyc +0 -0
  18. .venv/Lib/site-packages/IPython/conftest.py +87 -0
  19. .venv/Lib/site-packages/IPython/consoleapp.py +12 -0
  20. .venv/Lib/site-packages/IPython/core/__init__.py +0 -0
  21. .venv/Lib/site-packages/IPython/core/__pycache__/__init__.cpython-310.pyc +0 -0
  22. .venv/Lib/site-packages/IPython/core/__pycache__/alias.cpython-310.pyc +0 -0
  23. .venv/Lib/site-packages/IPython/core/__pycache__/application.cpython-310.pyc +0 -0
  24. .venv/Lib/site-packages/IPython/core/__pycache__/async_helpers.cpython-310.pyc +0 -0
  25. .venv/Lib/site-packages/IPython/core/__pycache__/autocall.cpython-310.pyc +0 -0
  26. .venv/Lib/site-packages/IPython/core/__pycache__/builtin_trap.cpython-310.pyc +0 -0
  27. .venv/Lib/site-packages/IPython/core/__pycache__/compilerop.cpython-310.pyc +0 -0
  28. .venv/Lib/site-packages/IPython/core/__pycache__/completer.cpython-310.pyc +0 -0
  29. .venv/Lib/site-packages/IPython/core/__pycache__/crashhandler.cpython-310.pyc +0 -0
  30. .venv/Lib/site-packages/IPython/core/__pycache__/debugger.cpython-310.pyc +0 -0
  31. .venv/Lib/site-packages/IPython/core/__pycache__/display.cpython-310.pyc +0 -0
  32. .venv/Lib/site-packages/IPython/core/__pycache__/display_functions.cpython-310.pyc +0 -0
  33. .venv/Lib/site-packages/IPython/core/__pycache__/display_trap.cpython-310.pyc +0 -0
  34. .venv/Lib/site-packages/IPython/core/__pycache__/displayhook.cpython-310.pyc +0 -0
  35. .venv/Lib/site-packages/IPython/core/__pycache__/displaypub.cpython-310.pyc +0 -0
  36. .venv/Lib/site-packages/IPython/core/__pycache__/error.cpython-310.pyc +0 -0
  37. .venv/Lib/site-packages/IPython/core/__pycache__/events.cpython-310.pyc +0 -0
  38. .venv/Lib/site-packages/IPython/core/__pycache__/excolors.cpython-310.pyc +0 -0
  39. .venv/Lib/site-packages/IPython/core/__pycache__/extensions.cpython-310.pyc +0 -0
  40. .venv/Lib/site-packages/IPython/core/__pycache__/formatters.cpython-310.pyc +0 -0
  41. .venv/Lib/site-packages/IPython/core/__pycache__/getipython.cpython-310.pyc +0 -0
  42. .venv/Lib/site-packages/IPython/core/__pycache__/guarded_eval.cpython-310.pyc +0 -0
  43. .venv/Lib/site-packages/IPython/core/__pycache__/history.cpython-310.pyc +0 -0
  44. .venv/Lib/site-packages/IPython/core/__pycache__/hooks.cpython-310.pyc +0 -0
  45. .venv/Lib/site-packages/IPython/core/__pycache__/inputtransformer2.cpython-310.pyc +0 -0
  46. .venv/Lib/site-packages/IPython/core/__pycache__/interactiveshell.cpython-310.pyc +0 -0
  47. .venv/Lib/site-packages/IPython/core/__pycache__/latex_symbols.cpython-310.pyc +0 -0
  48. .venv/Lib/site-packages/IPython/core/__pycache__/logger.cpython-310.pyc +0 -0
  49. .venv/Lib/site-packages/IPython/core/__pycache__/macro.cpython-310.pyc +0 -0
  50. .venv/Lib/site-packages/IPython/core/__pycache__/magic.cpython-310.pyc +0 -0
.gitattributes CHANGED
@@ -33,3 +33,47 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ .venv/Lib/site-packages/_pulsar.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
37
+ .venv/Lib/site-packages/cryptography/hazmat/bindings/_rust.pyd filter=lfs diff=lfs merge=lfs -text
38
+ .venv/Lib/site-packages/gradio/_frontend_code/lite/dist/assets/Canvas3D-B-WeHuGX.js.map filter=lfs diff=lfs merge=lfs -text
39
+ .venv/Lib/site-packages/gradio/frpc_windows_amd64_v0.3 filter=lfs diff=lfs merge=lfs -text
40
+ .venv/Lib/site-packages/gradio/templates/frontend/assets/Canvas3D-dmZ3UW-M.js.map filter=lfs diff=lfs merge=lfs -text
41
+ .venv/Lib/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/Canvas3D.ezSBJWjS.js.br filter=lfs diff=lfs merge=lfs -text
42
+ .venv/Lib/site-packages/gradio/templates/node/build/server/chunks/Canvas3D-DQQiLfH-.js.map filter=lfs diff=lfs merge=lfs -text
43
+ .venv/Lib/site-packages/gradio/templates/node/build/server/chunks/PlotlyPlot-P3y0I-J2.js.map filter=lfs diff=lfs merge=lfs -text
44
+ .venv/Lib/site-packages/grpc/_cython/cygrpc.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
45
+ .venv/Lib/site-packages/grpc_tools/_protoc_compiler.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
46
+ .venv/Lib/site-packages/lance/lance.pyd filter=lfs diff=lfs merge=lfs -text
47
+ .venv/Lib/site-packages/lancedb/_lancedb.pyd filter=lfs diff=lfs merge=lfs -text
48
+ .venv/Lib/site-packages/numpy/core/_multiarray_umath.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
49
+ .venv/Lib/site-packages/numpy/core/_simd.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
50
+ .venv/Lib/site-packages/numpy.libs/libopenblas64__v0.3.23-293-gc2f4bdbb-gcc_10_3_0-2bde3a66a51006b2b53eb373ff767a3f.dll filter=lfs diff=lfs merge=lfs -text
51
+ .venv/Lib/site-packages/onnxruntime/capi/onnxruntime.dll filter=lfs diff=lfs merge=lfs -text
52
+ .venv/Lib/site-packages/onnxruntime/capi/onnxruntime_pybind11_state.pyd filter=lfs diff=lfs merge=lfs -text
53
+ .venv/Lib/site-packages/pandas/_libs/algos.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
54
+ .venv/Lib/site-packages/pandas/_libs/groupby.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
55
+ .venv/Lib/site-packages/pandas/_libs/hashtable.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
56
+ .venv/Lib/site-packages/pandas/_libs/interval.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
57
+ .venv/Lib/site-packages/pandas/_libs/join.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
58
+ .venv/Lib/site-packages/PIL/_imaging.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
59
+ .venv/Lib/site-packages/PIL/_imagingft.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
60
+ .venv/Lib/site-packages/pyarrow/arrow.dll filter=lfs diff=lfs merge=lfs -text
61
+ .venv/Lib/site-packages/pyarrow/arrow.lib filter=lfs diff=lfs merge=lfs -text
62
+ .venv/Lib/site-packages/pyarrow/arrow_acero.dll filter=lfs diff=lfs merge=lfs -text
63
+ .venv/Lib/site-packages/pyarrow/arrow_dataset.dll filter=lfs diff=lfs merge=lfs -text
64
+ .venv/Lib/site-packages/pyarrow/arrow_flight.dll filter=lfs diff=lfs merge=lfs -text
65
+ .venv/Lib/site-packages/pyarrow/arrow_python.dll filter=lfs diff=lfs merge=lfs -text
66
+ .venv/Lib/site-packages/pyarrow/arrow_substrait.dll filter=lfs diff=lfs merge=lfs -text
67
+ .venv/Lib/site-packages/pyarrow/lib.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
68
+ .venv/Lib/site-packages/pyarrow/parquet.dll filter=lfs diff=lfs merge=lfs -text
69
+ .venv/Lib/site-packages/pydantic_core/_pydantic_core.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
70
+ .venv/Lib/site-packages/pythonwin/mfc140u.dll filter=lfs diff=lfs merge=lfs -text
71
+ .venv/Lib/site-packages/pythonwin/win32ui.pyd filter=lfs diff=lfs merge=lfs -text
72
+ .venv/Lib/site-packages/selenium/webdriver/common/linux/selenium-manager filter=lfs diff=lfs merge=lfs -text
73
+ .venv/Lib/site-packages/selenium/webdriver/common/macos/selenium-manager filter=lfs diff=lfs merge=lfs -text
74
+ .venv/Lib/site-packages/selenium/webdriver/common/windows/selenium-manager.exe filter=lfs diff=lfs merge=lfs -text
75
+ .venv/Lib/site-packages/shapely.libs/geos-23a442ac2dc21ec50035b705fec97a5a.dll filter=lfs diff=lfs merge=lfs -text
76
+ .venv/Lib/site-packages/tiktoken/_tiktoken.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
77
+ .venv/Lib/site-packages/tokenizers/tokenizers.cp310-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
78
+ .venv/Scripts/ruff.exe filter=lfs diff=lfs merge=lfs -text
79
+ .venv/Scripts/uv.exe filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ .env
2
+ __pycache__/
.venv/.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ *
.venv/.lock ADDED
File without changes
.venv/CACHEDIR.TAG ADDED
@@ -0,0 +1 @@
 
 
1
+ Signature: 8a477f597d28d172789f06886806bc55
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ uv
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/LICENSE.rst ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Laurent LAPORTE
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.
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/METADATA ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: Deprecated
3
+ Version: 1.2.14
4
+ Summary: Python @deprecated decorator to deprecate old python classes, functions or methods.
5
+ Home-page: https://github.com/tantale/deprecated
6
+ Author: Laurent LAPORTE
7
+ Author-email: tantale.solutions@gmail.com
8
+ License: MIT
9
+ Project-URL: Documentation, https://deprecated.readthedocs.io/en/latest/
10
+ Project-URL: Source, https://github.com/tantale/deprecated
11
+ Project-URL: Bug Tracker, https://github.com/tantale/deprecated/issues
12
+ Keywords: deprecate,deprecated,deprecation,warning,warn,decorator
13
+ Platform: any
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Environment :: Web Environment
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python
20
+ Classifier: Programming Language :: Python :: 2
21
+ Classifier: Programming Language :: Python :: 2.7
22
+ Classifier: Programming Language :: Python :: 3
23
+ Classifier: Programming Language :: Python :: 3.4
24
+ Classifier: Programming Language :: Python :: 3.5
25
+ Classifier: Programming Language :: Python :: 3.6
26
+ Classifier: Programming Language :: Python :: 3.7
27
+ Classifier: Programming Language :: Python :: 3.8
28
+ Classifier: Programming Language :: Python :: 3.9
29
+ Classifier: Programming Language :: Python :: 3.10
30
+ Classifier: Programming Language :: Python :: 3.11
31
+ Classifier: Programming Language :: Python :: 3.12
32
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
+ Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
34
+ Description-Content-Type: text/x-rst
35
+ License-File: LICENSE.rst
36
+ Requires-Dist: wrapt (<2,>=1.10)
37
+ Provides-Extra: dev
38
+ Requires-Dist: tox ; extra == 'dev'
39
+ Requires-Dist: PyTest ; extra == 'dev'
40
+ Requires-Dist: PyTest-Cov ; extra == 'dev'
41
+ Requires-Dist: bump2version (<1) ; extra == 'dev'
42
+ Requires-Dist: sphinx (<2) ; extra == 'dev'
43
+
44
+
45
+ Deprecated Library
46
+ ------------------
47
+
48
+ Deprecated is Easy to Use
49
+ `````````````````````````
50
+
51
+ If you need to mark a function or a method as deprecated,
52
+ you can use the ``@deprecated`` decorator:
53
+
54
+ Save in a hello.py:
55
+
56
+ .. code:: python
57
+
58
+ from deprecated import deprecated
59
+
60
+
61
+ @deprecated(version='1.2.1', reason="You should use another function")
62
+ def some_old_function(x, y):
63
+ return x + y
64
+
65
+
66
+ class SomeClass(object):
67
+ @deprecated(version='1.3.0', reason="This method is deprecated")
68
+ def some_old_method(self, x, y):
69
+ return x + y
70
+
71
+
72
+ some_old_function(12, 34)
73
+ obj = SomeClass()
74
+ obj.some_old_method(5, 8)
75
+
76
+
77
+ And Easy to Setup
78
+ `````````````````
79
+
80
+ And run it:
81
+
82
+ .. code:: bash
83
+
84
+ $ pip install Deprecated
85
+ $ python hello.py
86
+ hello.py:15: DeprecationWarning: Call to deprecated function (or staticmethod) some_old_function.
87
+ (You should use another function) -- Deprecated since version 1.2.0.
88
+ some_old_function(12, 34)
89
+ hello.py:17: DeprecationWarning: Call to deprecated method some_old_method.
90
+ (This method is deprecated) -- Deprecated since version 1.3.0.
91
+ obj.some_old_method(5, 8)
92
+
93
+
94
+ You can document your code
95
+ ``````````````````````````
96
+
97
+ Have you ever wonder how to document that some functions, classes, methods, etc. are deprecated?
98
+ This is now possible with the integrated Sphinx directives:
99
+
100
+ For instance, in hello_sphinx.py:
101
+
102
+ .. code:: python
103
+
104
+ from deprecated.sphinx import deprecated
105
+ from deprecated.sphinx import versionadded
106
+ from deprecated.sphinx import versionchanged
107
+
108
+
109
+ @versionadded(version='1.0', reason="This function is new")
110
+ def function_one():
111
+ '''This is the function one'''
112
+
113
+
114
+ @versionchanged(version='1.0', reason="This function is modified")
115
+ def function_two():
116
+ '''This is the function two'''
117
+
118
+
119
+ @deprecated(version='1.0', reason="This function will be removed soon")
120
+ def function_three():
121
+ '''This is the function three'''
122
+
123
+
124
+ function_one()
125
+ function_two()
126
+ function_three() # warns
127
+
128
+ help(function_one)
129
+ help(function_two)
130
+ help(function_three)
131
+
132
+
133
+ The result it immediate
134
+ ```````````````````````
135
+
136
+ Run it:
137
+
138
+ .. code:: bash
139
+
140
+ $ python hello_sphinx.py
141
+
142
+ hello_sphinx.py:23: DeprecationWarning: Call to deprecated function (or staticmethod) function_three.
143
+ (This function will be removed soon) -- Deprecated since version 1.0.
144
+ function_three() # warns
145
+
146
+ Help on function function_one in module __main__:
147
+
148
+ function_one()
149
+ This is the function one
150
+
151
+ .. versionadded:: 1.0
152
+ This function is new
153
+
154
+ Help on function function_two in module __main__:
155
+
156
+ function_two()
157
+ This is the function two
158
+
159
+ .. versionchanged:: 1.0
160
+ This function is modified
161
+
162
+ Help on function function_three in module __main__:
163
+
164
+ function_three()
165
+ This is the function three
166
+
167
+ .. deprecated:: 1.0
168
+ This function will be removed soon
169
+
170
+
171
+ Links
172
+ `````
173
+
174
+ * `Python package index (PyPi) <https://pypi.python.org/pypi/deprecated>`_
175
+ * `GitHub website <https://github.com/tantale/deprecated>`_
176
+ * `Read The Docs <https://readthedocs.org/projects/deprecated>`_
177
+ * `EBook on Lulu.com <http://www.lulu.com/commerce/index.php?fBuyContent=21305117>`_
178
+ * `StackOverFlow Q&A <https://stackoverflow.com/a/40301488/1513933>`_
179
+ * `Development version
180
+ <https://github.com/tantale/deprecated/zipball/master#egg=Deprecated-dev>`_
181
+
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/RECORD ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Deprecated-1.2.14.dist-info/LICENSE.rst,sha256=HoPt0VvkGbXVveNy4yXlJ_9PmRX1SOfHUxS0H2aZ6Dw,1081
2
+ Deprecated-1.2.14.dist-info/METADATA,sha256=xQYvk5nwOfnkxxRD-VHkpE-sMu0IBHRZ8ayspypfkTs,5354
3
+ Deprecated-1.2.14.dist-info/RECORD,,
4
+ Deprecated-1.2.14.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
5
+ Deprecated-1.2.14.dist-info/top_level.txt,sha256=nHbOYawKPQQE5lQl-toUB1JBRJjUyn_m_Mb8RVJ0RjA,11
6
+ Deprecated-1.2.14.dist-info\INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2
7
+ Deprecated-1.2.14.dist-info\REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ deprecated/__init__.py,sha256=ZphiULqDVrESSB0mLV2WA88JyhQxZSK44zuDGbV5k-g,349
9
+ deprecated/classic.py,sha256=QugmUi7IhBvp2nDvMtyWqFDPRR43-9nfSZG1ZJSDpFM,9880
10
+ deprecated/sphinx.py,sha256=NqQ0oKGcVn6yUe23iGbCieCgvWbEDQSPt9QelbXJnDU,10258
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/REQUESTED ADDED
File without changes
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/WHEEL ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.40.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
.venv/Lib/site-packages/Deprecated-1.2.14.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ deprecated
.venv/Lib/site-packages/IPython/__init__.py ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PYTHON_ARGCOMPLETE_OK
2
+ """
3
+ IPython: tools for interactive and parallel computing in Python.
4
+
5
+ https://ipython.org
6
+ """
7
+ #-----------------------------------------------------------------------------
8
+ # Copyright (c) 2008-2011, IPython Development Team.
9
+ # Copyright (c) 2001-2007, Fernando Perez <fernando.perez@colorado.edu>
10
+ # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>
11
+ # Copyright (c) 2001, Nathaniel Gray <n8gray@caltech.edu>
12
+ #
13
+ # Distributed under the terms of the Modified BSD License.
14
+ #
15
+ # The full license is in the file COPYING.txt, distributed with this software.
16
+ #-----------------------------------------------------------------------------
17
+
18
+ #-----------------------------------------------------------------------------
19
+ # Imports
20
+ #-----------------------------------------------------------------------------
21
+
22
+ import sys
23
+
24
+ #-----------------------------------------------------------------------------
25
+ # Setup everything
26
+ #-----------------------------------------------------------------------------
27
+
28
+ # Don't forget to also update setup.py when this changes!
29
+ if sys.version_info < (3, 10):
30
+ raise ImportError(
31
+ """
32
+ IPython 8.19+ supports Python 3.10 and above, following SPEC0.
33
+ IPython 8.13+ supports Python 3.9 and above, following NEP 29.
34
+ IPython 8.0-8.12 supports Python 3.8 and above, following NEP 29.
35
+ When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
36
+ Python 3.3 and 3.4 were supported up to IPython 6.x.
37
+ Python 3.5 was supported with IPython 7.0 to 7.9.
38
+ Python 3.6 was supported with IPython up to 7.16.
39
+ Python 3.7 was still supported with the 7.x branch.
40
+
41
+ See IPython `README.rst` file for more information:
42
+
43
+ https://github.com/ipython/ipython/blob/main/README.rst
44
+
45
+ """
46
+ )
47
+
48
+ #-----------------------------------------------------------------------------
49
+ # Setup the top level names
50
+ #-----------------------------------------------------------------------------
51
+
52
+ from .core.getipython import get_ipython
53
+ from .core import release
54
+ from .core.application import Application
55
+ from .terminal.embed import embed
56
+
57
+ from .core.interactiveshell import InteractiveShell
58
+ from .utils.sysinfo import sys_info
59
+ from .utils.frame import extract_module_locals
60
+
61
+ __all__ = ["start_ipython", "embed", "start_kernel", "embed_kernel"]
62
+
63
+ # Release data
64
+ __author__ = '%s <%s>' % (release.author, release.author_email)
65
+ __license__ = release.license
66
+ __version__ = release.version
67
+ version_info = release.version_info
68
+ # list of CVEs that should have been patched in this release.
69
+ # this is informational and should not be relied upon.
70
+ __patched_cves__ = {"CVE-2022-21699", "CVE-2023-24816"}
71
+
72
+
73
+ def embed_kernel(module=None, local_ns=None, **kwargs):
74
+ """Embed and start an IPython kernel in a given scope.
75
+
76
+ If you don't want the kernel to initialize the namespace
77
+ from the scope of the surrounding function,
78
+ and/or you want to load full IPython configuration,
79
+ you probably want `IPython.start_kernel()` instead.
80
+
81
+ Parameters
82
+ ----------
83
+ module : types.ModuleType, optional
84
+ The module to load into IPython globals (default: caller)
85
+ local_ns : dict, optional
86
+ The namespace to load into IPython user namespace (default: caller)
87
+ **kwargs : various, optional
88
+ Further keyword args are relayed to the IPKernelApp constructor,
89
+ such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`),
90
+ allowing configuration of the kernel (see :ref:`kernel_options`). Will only have an effect
91
+ on the first embed_kernel call for a given process.
92
+ """
93
+
94
+ (caller_module, caller_locals) = extract_module_locals(1)
95
+ if module is None:
96
+ module = caller_module
97
+ if local_ns is None:
98
+ local_ns = caller_locals
99
+
100
+ # Only import .zmq when we really need it
101
+ from ipykernel.embed import embed_kernel as real_embed_kernel
102
+ real_embed_kernel(module=module, local_ns=local_ns, **kwargs)
103
+
104
+ def start_ipython(argv=None, **kwargs):
105
+ """Launch a normal IPython instance (as opposed to embedded)
106
+
107
+ `IPython.embed()` puts a shell in a particular calling scope,
108
+ such as a function or method for debugging purposes,
109
+ which is often not desirable.
110
+
111
+ `start_ipython()` does full, regular IPython initialization,
112
+ including loading startup files, configuration, etc.
113
+ much of which is skipped by `embed()`.
114
+
115
+ This is a public API method, and will survive implementation changes.
116
+
117
+ Parameters
118
+ ----------
119
+ argv : list or None, optional
120
+ If unspecified or None, IPython will parse command-line options from sys.argv.
121
+ To prevent any command-line parsing, pass an empty list: `argv=[]`.
122
+ user_ns : dict, optional
123
+ specify this dictionary to initialize the IPython user namespace with particular values.
124
+ **kwargs : various, optional
125
+ Any other kwargs will be passed to the Application constructor,
126
+ such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`),
127
+ allowing configuration of the instance (see :ref:`terminal_options`).
128
+ """
129
+ from IPython.terminal.ipapp import launch_new_instance
130
+ return launch_new_instance(argv=argv, **kwargs)
131
+
132
+ def start_kernel(argv=None, **kwargs):
133
+ """Launch a normal IPython kernel instance (as opposed to embedded)
134
+
135
+ `IPython.embed_kernel()` puts a shell in a particular calling scope,
136
+ such as a function or method for debugging purposes,
137
+ which is often not desirable.
138
+
139
+ `start_kernel()` does full, regular IPython initialization,
140
+ including loading startup files, configuration, etc.
141
+ much of which is skipped by `embed_kernel()`.
142
+
143
+ Parameters
144
+ ----------
145
+ argv : list or None, optional
146
+ If unspecified or None, IPython will parse command-line options from sys.argv.
147
+ To prevent any command-line parsing, pass an empty list: `argv=[]`.
148
+ user_ns : dict, optional
149
+ specify this dictionary to initialize the IPython user namespace with particular values.
150
+ **kwargs : various, optional
151
+ Any other kwargs will be passed to the Application constructor,
152
+ such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`),
153
+ allowing configuration of the kernel (see :ref:`kernel_options`).
154
+ """
155
+ import warnings
156
+
157
+ warnings.warn(
158
+ "start_kernel is deprecated since IPython 8.0, use from `ipykernel.kernelapp.launch_new_instance`",
159
+ DeprecationWarning,
160
+ stacklevel=2,
161
+ )
162
+ from ipykernel.kernelapp import launch_new_instance
163
+ return launch_new_instance(argv=argv, **kwargs)
.venv/Lib/site-packages/IPython/__main__.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PYTHON_ARGCOMPLETE_OK
2
+ # encoding: utf-8
3
+ """Terminal-based IPython entry point.
4
+ """
5
+ # -----------------------------------------------------------------------------
6
+ # Copyright (c) 2012, IPython Development Team.
7
+ #
8
+ # Distributed under the terms of the Modified BSD License.
9
+ #
10
+ # The full license is in the file COPYING.txt, distributed with this software.
11
+ # -----------------------------------------------------------------------------
12
+
13
+ from IPython import start_ipython
14
+
15
+ start_ipython()
.venv/Lib/site-packages/IPython/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (5.52 kB). View file
 
.venv/Lib/site-packages/IPython/__pycache__/display.cpython-310.pyc ADDED
Binary file (918 Bytes). View file
 
.venv/Lib/site-packages/IPython/__pycache__/paths.cpython-310.pyc ADDED
Binary file (3.67 kB). View file
 
.venv/Lib/site-packages/IPython/conftest.py ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import builtins
2
+ import inspect
3
+ import os
4
+ import pathlib
5
+ import shutil
6
+ import sys
7
+ import types
8
+
9
+ import pytest
10
+
11
+ # Must register before it gets imported
12
+ pytest.register_assert_rewrite("IPython.testing.tools")
13
+
14
+ from .testing import tools
15
+
16
+
17
+ def pytest_collection_modifyitems(items):
18
+ """This function is automatically run by pytest passing all collected test
19
+ functions.
20
+
21
+ We use it to add asyncio marker to all async tests and assert we don't use
22
+ test functions that are async generators which wouldn't make sense.
23
+ """
24
+ for item in items:
25
+ if inspect.iscoroutinefunction(item.obj):
26
+ item.add_marker("asyncio")
27
+ assert not inspect.isasyncgenfunction(item.obj)
28
+
29
+
30
+ def get_ipython():
31
+ from .terminal.interactiveshell import TerminalInteractiveShell
32
+ if TerminalInteractiveShell._instance:
33
+ return TerminalInteractiveShell.instance()
34
+
35
+ config = tools.default_config()
36
+ config.TerminalInteractiveShell.simple_prompt = True
37
+
38
+ # Create and initialize our test-friendly IPython instance.
39
+ shell = TerminalInteractiveShell.instance(config=config)
40
+ return shell
41
+
42
+
43
+ @pytest.fixture(scope='session', autouse=True)
44
+ def work_path():
45
+ path = pathlib.Path("./tmp-ipython-pytest-profiledir")
46
+ os.environ["IPYTHONDIR"] = str(path.absolute())
47
+ if path.exists():
48
+ raise ValueError('IPython dir temporary path already exists ! Did previous test run exit successfully ?')
49
+ path.mkdir()
50
+ yield
51
+ shutil.rmtree(str(path.resolve()))
52
+
53
+
54
+ def nopage(strng, start=0, screen_lines=0, pager_cmd=None):
55
+ if isinstance(strng, dict):
56
+ strng = strng.get("text/plain", "")
57
+ print(strng)
58
+
59
+
60
+ def xsys(self, cmd):
61
+ """Replace the default system call with a capturing one for doctest.
62
+ """
63
+ # We use getoutput, but we need to strip it because pexpect captures
64
+ # the trailing newline differently from commands.getoutput
65
+ print(self.getoutput(cmd, split=False, depth=1).rstrip(), end="", file=sys.stdout)
66
+ sys.stdout.flush()
67
+
68
+
69
+ # for things to work correctly we would need this as a session fixture;
70
+ # unfortunately this will fail on some test that get executed as _collection_
71
+ # time (before the fixture run), in particular parametrized test that contain
72
+ # yields. so for now execute at import time.
73
+ #@pytest.fixture(autouse=True, scope='session')
74
+ def inject():
75
+
76
+ builtins.get_ipython = get_ipython
77
+ builtins._ip = get_ipython()
78
+ builtins.ip = get_ipython()
79
+ builtins.ip.system = types.MethodType(xsys, ip)
80
+ builtins.ip.builtin_trap.activate()
81
+ from .core import page
82
+
83
+ page.pager_page = nopage
84
+ # yield
85
+
86
+
87
+ inject()
.venv/Lib/site-packages/IPython/consoleapp.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Shim to maintain backwards compatibility with old IPython.consoleapp imports.
3
+ """
4
+ # Copyright (c) IPython Development Team.
5
+ # Distributed under the terms of the Modified BSD License.
6
+
7
+ from warnings import warn
8
+
9
+ warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0."
10
+ "You should import from jupyter_client.consoleapp instead.", stacklevel=2)
11
+
12
+ from jupyter_client.consoleapp import *
.venv/Lib/site-packages/IPython/core/__init__.py ADDED
File without changes
.venv/Lib/site-packages/IPython/core/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (194 Bytes). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/alias.cpython-310.pyc ADDED
Binary file (7.19 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/application.cpython-310.pyc ADDED
Binary file (14.2 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/async_helpers.cpython-310.pyc ADDED
Binary file (4.97 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/autocall.cpython-310.pyc ADDED
Binary file (2.12 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/builtin_trap.cpython-310.pyc ADDED
Binary file (2.89 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/compilerop.cpython-310.pyc ADDED
Binary file (5.83 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/completer.cpython-310.pyc ADDED
Binary file (92.2 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/crashhandler.cpython-310.pyc ADDED
Binary file (6.71 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/debugger.cpython-310.pyc ADDED
Binary file (29.1 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/display.cpython-310.pyc ADDED
Binary file (40.3 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/display_functions.cpython-310.pyc ADDED
Binary file (11.9 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/display_trap.cpython-310.pyc ADDED
Binary file (1.77 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/displayhook.cpython-310.pyc ADDED
Binary file (9.93 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/displaypub.cpython-310.pyc ADDED
Binary file (5.2 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/error.cpython-310.pyc ADDED
Binary file (1.66 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/events.cpython-310.pyc ADDED
Binary file (5.55 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/excolors.cpython-310.pyc ADDED
Binary file (2.69 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/extensions.cpython-310.pyc ADDED
Binary file (4.8 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/formatters.cpython-310.pyc ADDED
Binary file (30.3 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/getipython.cpython-310.pyc ADDED
Binary file (611 Bytes). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/guarded_eval.cpython-310.pyc ADDED
Binary file (22.2 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/history.cpython-310.pyc ADDED
Binary file (29.7 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/hooks.cpython-310.pyc ADDED
Binary file (5.3 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/inputtransformer2.cpython-310.pyc ADDED
Binary file (24.8 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/interactiveshell.cpython-310.pyc ADDED
Binary file (106 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/latex_symbols.cpython-310.pyc ADDED
Binary file (63.1 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/logger.cpython-310.pyc ADDED
Binary file (5.7 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/macro.cpython-310.pyc ADDED
Binary file (1.8 kB). View file
 
.venv/Lib/site-packages/IPython/core/__pycache__/magic.cpython-310.pyc ADDED
Binary file (21.7 kB). View file