Add loan-advisor-agent
Browse files- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/INSTALLER +1 -0
- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/METADATA +168 -0
- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/RECORD +16 -0
- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/REQUESTED +0 -0
- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/WHEEL +5 -0
- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/licenses/LICENSE +24 -0
- loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/top_level.txt +1 -0
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
uv
|
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/METADATA
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: wrapt
|
| 3 |
+
Version: 1.17.3
|
| 4 |
+
Summary: Module for decorators, wrappers and monkey patching.
|
| 5 |
+
Home-page: https://github.com/GrahamDumpleton/wrapt
|
| 6 |
+
Author: Graham Dumpleton
|
| 7 |
+
Author-email: Graham.Dumpleton@gmail.com
|
| 8 |
+
License: BSD
|
| 9 |
+
Project-URL: Bug Tracker, https://github.com/GrahamDumpleton/wrapt/issues/
|
| 10 |
+
Project-URL: Changelog, https://wrapt.readthedocs.io/en/latest/changes.html
|
| 11 |
+
Project-URL: Documentation, https://wrapt.readthedocs.io/
|
| 12 |
+
Keywords: wrapper,proxy,decorator
|
| 13 |
+
Platform: any
|
| 14 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 15 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 16 |
+
Classifier: Programming Language :: Python :: 3
|
| 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: Programming Language :: Python :: 3.13
|
| 23 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 24 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
| 25 |
+
Requires-Python: >=3.8
|
| 26 |
+
Description-Content-Type: text/x-rst
|
| 27 |
+
License-File: LICENSE
|
| 28 |
+
Dynamic: license-file
|
| 29 |
+
|
| 30 |
+
wrapt
|
| 31 |
+
=====
|
| 32 |
+
|
| 33 |
+
|PyPI|
|
| 34 |
+
|
| 35 |
+
The aim of the **wrapt** module is to provide a transparent object proxy
|
| 36 |
+
for Python, which can be used as the basis for the construction of function
|
| 37 |
+
wrappers and decorator functions.
|
| 38 |
+
|
| 39 |
+
The **wrapt** module focuses very much on correctness. It therefore goes
|
| 40 |
+
way beyond existing mechanisms such as ``functools.wraps()`` to ensure that
|
| 41 |
+
decorators preserve introspectability, signatures, type checking abilities
|
| 42 |
+
etc. The decorators that can be constructed using this module will work in
|
| 43 |
+
far more scenarios than typical decorators and provide more predictable and
|
| 44 |
+
consistent behaviour.
|
| 45 |
+
|
| 46 |
+
To ensure that the overhead is as minimal as possible, a C extension module
|
| 47 |
+
is used for performance critical components. An automatic fallback to a
|
| 48 |
+
pure Python implementation is also provided where a target system does not
|
| 49 |
+
have a compiler to allow the C extension to be compiled.
|
| 50 |
+
|
| 51 |
+
Documentation
|
| 52 |
+
-------------
|
| 53 |
+
|
| 54 |
+
For further information on the **wrapt** module see:
|
| 55 |
+
|
| 56 |
+
* http://wrapt.readthedocs.org/
|
| 57 |
+
|
| 58 |
+
Quick Start
|
| 59 |
+
-----------
|
| 60 |
+
|
| 61 |
+
To implement your decorator you need to first define a wrapper function.
|
| 62 |
+
This will be called each time a decorated function is called. The wrapper
|
| 63 |
+
function needs to take four positional arguments:
|
| 64 |
+
|
| 65 |
+
* ``wrapped`` - The wrapped function which in turns needs to be called by your wrapper function.
|
| 66 |
+
* ``instance`` - The object to which the wrapped function was bound when it was called.
|
| 67 |
+
* ``args`` - The list of positional arguments supplied when the decorated function was called.
|
| 68 |
+
* ``kwargs`` - The dictionary of keyword arguments supplied when the decorated function was called.
|
| 69 |
+
|
| 70 |
+
The wrapper function would do whatever it needs to, but would usually in
|
| 71 |
+
turn call the wrapped function that is passed in via the ``wrapped``
|
| 72 |
+
argument.
|
| 73 |
+
|
| 74 |
+
The decorator ``@wrapt.decorator`` then needs to be applied to the wrapper
|
| 75 |
+
function to convert it into a decorator which can in turn be applied to
|
| 76 |
+
other functions.
|
| 77 |
+
|
| 78 |
+
.. code-block:: python
|
| 79 |
+
|
| 80 |
+
import wrapt
|
| 81 |
+
|
| 82 |
+
@wrapt.decorator
|
| 83 |
+
def pass_through(wrapped, instance, args, kwargs):
|
| 84 |
+
return wrapped(*args, **kwargs)
|
| 85 |
+
|
| 86 |
+
@pass_through
|
| 87 |
+
def function():
|
| 88 |
+
pass
|
| 89 |
+
|
| 90 |
+
If you wish to implement a decorator which accepts arguments, then wrap the
|
| 91 |
+
definition of the decorator in a function closure. Any arguments supplied
|
| 92 |
+
to the outer function when the decorator is applied, will be available to
|
| 93 |
+
the inner wrapper when the wrapped function is called.
|
| 94 |
+
|
| 95 |
+
.. code-block:: python
|
| 96 |
+
|
| 97 |
+
import wrapt
|
| 98 |
+
|
| 99 |
+
def with_arguments(myarg1, myarg2):
|
| 100 |
+
@wrapt.decorator
|
| 101 |
+
def wrapper(wrapped, instance, args, kwargs):
|
| 102 |
+
return wrapped(*args, **kwargs)
|
| 103 |
+
return wrapper
|
| 104 |
+
|
| 105 |
+
@with_arguments(1, 2)
|
| 106 |
+
def function():
|
| 107 |
+
pass
|
| 108 |
+
|
| 109 |
+
When applied to a normal function or static method, the wrapper function
|
| 110 |
+
when called will be passed ``None`` as the ``instance`` argument.
|
| 111 |
+
|
| 112 |
+
When applied to an instance method, the wrapper function when called will
|
| 113 |
+
be passed the instance of the class the method is being called on as the
|
| 114 |
+
``instance`` argument. This will be the case even when the instance method
|
| 115 |
+
was called explicitly via the class and the instance passed as the first
|
| 116 |
+
argument. That is, the instance will never be passed as part of ``args``.
|
| 117 |
+
|
| 118 |
+
When applied to a class method, the wrapper function when called will be
|
| 119 |
+
passed the class type as the ``instance`` argument.
|
| 120 |
+
|
| 121 |
+
When applied to a class, the wrapper function when called will be passed
|
| 122 |
+
``None`` as the ``instance`` argument. The ``wrapped`` argument in this
|
| 123 |
+
case will be the class.
|
| 124 |
+
|
| 125 |
+
The above rules can be summarised with the following example.
|
| 126 |
+
|
| 127 |
+
.. code-block:: python
|
| 128 |
+
|
| 129 |
+
import inspect
|
| 130 |
+
|
| 131 |
+
@wrapt.decorator
|
| 132 |
+
def universal(wrapped, instance, args, kwargs):
|
| 133 |
+
if instance is None:
|
| 134 |
+
if inspect.isclass(wrapped):
|
| 135 |
+
# Decorator was applied to a class.
|
| 136 |
+
return wrapped(*args, **kwargs)
|
| 137 |
+
else:
|
| 138 |
+
# Decorator was applied to a function or staticmethod.
|
| 139 |
+
return wrapped(*args, **kwargs)
|
| 140 |
+
else:
|
| 141 |
+
if inspect.isclass(instance):
|
| 142 |
+
# Decorator was applied to a classmethod.
|
| 143 |
+
return wrapped(*args, **kwargs)
|
| 144 |
+
else:
|
| 145 |
+
# Decorator was applied to an instancemethod.
|
| 146 |
+
return wrapped(*args, **kwargs)
|
| 147 |
+
|
| 148 |
+
Using these checks it is therefore possible to create a universal decorator
|
| 149 |
+
that can be applied in all situations. It is no longer necessary to create
|
| 150 |
+
different variants of decorators for normal functions and instance methods,
|
| 151 |
+
or use additional wrappers to convert a function decorator into one that
|
| 152 |
+
will work for instance methods.
|
| 153 |
+
|
| 154 |
+
In all cases, the wrapped function passed to the wrapper function is called
|
| 155 |
+
in the same way, with ``args`` and ``kwargs`` being passed. The
|
| 156 |
+
``instance`` argument doesn't need to be used in calling the wrapped
|
| 157 |
+
function.
|
| 158 |
+
|
| 159 |
+
Repository
|
| 160 |
+
----------
|
| 161 |
+
|
| 162 |
+
Full source code for the **wrapt** module, including documentation files
|
| 163 |
+
and unit tests, can be obtained from github.
|
| 164 |
+
|
| 165 |
+
* https://github.com/GrahamDumpleton/wrapt
|
| 166 |
+
|
| 167 |
+
.. |PyPI| image:: https://img.shields.io/pypi/v/wrapt.svg?logo=python&cacheSeconds=3600
|
| 168 |
+
:target: https://pypi.python.org/pypi/wrapt
|
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/RECORD
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
wrapt-1.17.3.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2
|
| 2 |
+
wrapt-1.17.3.dist-info/METADATA,sha256=RpxkwIpJ5f2i_8KPO-FKYOsRJeP20GamzXyGFuPI4nQ,6541
|
| 3 |
+
wrapt-1.17.3.dist-info/RECORD,,
|
| 4 |
+
wrapt-1.17.3.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 5 |
+
wrapt-1.17.3.dist-info/WHEEL,sha256=8UP9x9puWI0P1V_d7K2oMTBqfeLNm21CTzZ_Ptr0NXU,101
|
| 6 |
+
wrapt-1.17.3.dist-info/licenses/LICENSE,sha256=Ln8pMK_DpiOx8-ddw59mZXtKu4wt9KA_w3v0HT0uATs,1328
|
| 7 |
+
wrapt-1.17.3.dist-info/top_level.txt,sha256=Jf7kcuXtwjUJMwOL0QzALDg2WiSiXiH9ThKMjN64DW0,6
|
| 8 |
+
wrapt/__init__.py,sha256=UUV6iQum26IvbzCIN8w5_CsNL8i0cJmMrD3w_0cBbEw,1268
|
| 9 |
+
wrapt/__wrapt__.py,sha256=dhbByYT7DVYsvK2AfNJTtemioSNl_WtGnv9ru8Nd0PM,457
|
| 10 |
+
wrapt/_wrappers.cp312-win_amd64.pyd,sha256=V1JquVjvonaPYtBmjucGjMVMhZSnEeUE7gAE8SUu19s,38912
|
| 11 |
+
wrapt/arguments.py,sha256=kpKf0NoqI8lDqxiQundnzx3TqK_w6dbrxHCsUiQiqpI,1783
|
| 12 |
+
wrapt/decorators.py,sha256=2pmcg42AT2vSx9xdHVC3Hu_kBAASVNGkU6rXBIAGW68,21874
|
| 13 |
+
wrapt/importer.py,sha256=0ysXXeNMeXeuhcww7eb8EPe-IFpfbm3bZKdS2homCeo,11292
|
| 14 |
+
wrapt/patches.py,sha256=Pd2QGEDwsjA2lBnCmyxmXT7hrRx7E2Dw-zOgICuoCy8,5345
|
| 15 |
+
wrapt/weakrefs.py,sha256=yBb_rAydgW4GPny-2S3Xhoh1oDibsTsWWxebpcSipi4,3979
|
| 16 |
+
wrapt/wrappers.py,sha256=MbBzFpMXSz4tJtxbTK0WoPzeOGdv6OSTgUMpJozvMDY,29508
|
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/REQUESTED
ADDED
|
File without changes
|
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (80.9.0)
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp312-cp312-win_amd64
|
| 5 |
+
|
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/licenses/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2013-2023, Graham Dumpleton
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Redistribution and use in source and binary forms, with or without
|
| 5 |
+
modification, are permitted provided that the following conditions are met:
|
| 6 |
+
|
| 7 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 8 |
+
list of conditions and the following disclaimer.
|
| 9 |
+
|
| 10 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 11 |
+
this list of conditions and the following disclaimer in the documentation
|
| 12 |
+
and/or other materials provided with the distribution.
|
| 13 |
+
|
| 14 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 15 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 16 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 17 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
| 18 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 19 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 20 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 21 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 22 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 23 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 24 |
+
POSSIBILITY OF SUCH DAMAGE.
|
loan-advisor-agent/.venv/Lib/site-packages/wrapt-1.17.3.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
wrapt
|