├── testing
├── bin
│ ├── python
│ ├── python3.10
│ ├── python3
│ ├── dotenv
│ ├── nosetests
│ ├── nosetests-3.4
│ ├── pip
│ ├── pip3
│ ├── pip3.10
│ ├── normalizer
│ └── activate.csh
├── lib
│ └── python3.10
│ │ └── site-packages
│ │ ├── Crypto
│ │ ├── py.typed
│ │ ├── Cipher
│ │ │ ├── __init__.pyi
│ │ │ ├── _ARC4.abi3.so
│ │ │ ├── _Salsa20.abi3.so
│ │ │ ├── _chacha20.abi3.so
│ │ │ ├── _raw_aes.abi3.so
│ │ │ ├── _raw_arc2.abi3.so
│ │ │ ├── _raw_cast.abi3.so
│ │ │ ├── _raw_cbc.abi3.so
│ │ │ ├── _raw_cfb.abi3.so
│ │ │ ├── _raw_ctr.abi3.so
│ │ │ ├── _raw_des.abi3.so
│ │ │ ├── _raw_des3.abi3.so
│ │ │ ├── _raw_ecb.abi3.so
│ │ │ ├── _raw_ocb.abi3.so
│ │ │ ├── _raw_ofb.abi3.so
│ │ │ ├── _pkcs1_decode.abi3.so
│ │ │ ├── _raw_blowfish.abi3.so
│ │ │ ├── _raw_eksblowfish.abi3.so
│ │ │ ├── _EKSBlowfish.pyi
│ │ │ ├── ARC4.pyi
│ │ │ ├── _mode_openpgp.pyi
│ │ │ ├── _mode_ecb.pyi
│ │ │ ├── PKCS1_v1_5.pyi
│ │ │ ├── _mode_cbc.pyi
│ │ │ ├── _mode_ofb.pyi
│ │ │ ├── _mode_cfb.pyi
│ │ │ ├── Salsa20.pyi
│ │ │ ├── ChaCha20.pyi
│ │ │ ├── _mode_ctr.pyi
│ │ │ ├── DES.pyi
│ │ │ ├── ARC2.pyi
│ │ │ ├── CAST.pyi
│ │ │ ├── Blowfish.pyi
│ │ │ ├── DES3.pyi
│ │ │ └── ChaCha20_Poly1305.pyi
│ │ ├── Hash
│ │ │ ├── __init__.pyi
│ │ │ ├── RIPEMD.pyi
│ │ │ ├── _MD2.abi3.so
│ │ │ ├── _MD4.abi3.so
│ │ │ ├── _MD5.abi3.so
│ │ │ ├── _SHA1.abi3.so
│ │ │ ├── _BLAKE2b.abi3.so
│ │ │ ├── _BLAKE2s.abi3.so
│ │ │ ├── _SHA224.abi3.so
│ │ │ ├── _SHA256.abi3.so
│ │ │ ├── _SHA384.abi3.so
│ │ │ ├── _SHA512.abi3.so
│ │ │ ├── _keccak.abi3.so
│ │ │ ├── _RIPEMD160.abi3.so
│ │ │ ├── _poly1305.abi3.so
│ │ │ ├── _ghash_portable.abi3.so
│ │ │ ├── SHA.pyi
│ │ │ ├── TupleHash256.pyi
│ │ │ ├── cSHAKE256.pyi
│ │ │ ├── KMAC256.pyi
│ │ │ ├── SHAKE128.pyi
│ │ │ ├── SHAKE256.pyi
│ │ │ ├── cSHAKE128.pyi
│ │ │ ├── MD2.pyi
│ │ │ ├── MD5.pyi
│ │ │ ├── RIPEMD160.pyi
│ │ │ ├── MD4.pyi
│ │ │ ├── SHA1.pyi
│ │ │ ├── SHA224.pyi
│ │ │ ├── SHA384.pyi
│ │ │ ├── KangarooTwelve.pyi
│ │ │ ├── SHA256.pyi
│ │ │ ├── SHA3_224.pyi
│ │ │ ├── SHA3_256.pyi
│ │ │ ├── SHA3_384.pyi
│ │ │ ├── SHA3_512.pyi
│ │ │ ├── SHA512.pyi
│ │ │ ├── HMAC.pyi
│ │ │ ├── TupleHash128.pyi
│ │ │ ├── Poly1305.pyi
│ │ │ ├── keccak.pyi
│ │ │ ├── BLAKE2s.pyi
│ │ │ ├── CMAC.pyi
│ │ │ ├── BLAKE2b.pyi
│ │ │ ├── KMAC128.pyi
│ │ │ └── SHA.py
│ │ ├── Math
│ │ │ ├── __init__.py
│ │ │ ├── _IntegerGMP.pyi
│ │ │ ├── Numbers.pyi
│ │ │ ├── _IntegerNative.pyi
│ │ │ ├── _modexp.abi3.so
│ │ │ ├── _IntegerCustom.pyi
│ │ │ └── Primality.pyi
│ │ ├── PublicKey
│ │ │ ├── __init__.pyi
│ │ │ ├── _ec_ws.abi3.so
│ │ │ ├── _openssh.pyi
│ │ │ └── ElGamal.pyi
│ │ ├── Protocol
│ │ │ ├── __init__.pyi
│ │ │ ├── _scrypt.abi3.so
│ │ │ └── SecretSharing.pyi
│ │ ├── Util
│ │ │ ├── _cpu_features.pyi
│ │ │ ├── _file_system.pyi
│ │ │ ├── _cpuid_c.abi3.so
│ │ │ ├── _strxor.abi3.so
│ │ │ ├── RFC1751.pyi
│ │ │ ├── Padding.pyi
│ │ │ ├── strxor.pyi
│ │ │ ├── Counter.pyi
│ │ │ ├── py3compat.pyi
│ │ │ ├── _raw_api.pyi
│ │ │ └── number.pyi
│ │ ├── __init__.pyi
│ │ ├── Signature
│ │ │ ├── PKCS1_v1_5.pyi
│ │ │ ├── PKCS1_PSS.pyi
│ │ │ ├── pkcs1_15.pyi
│ │ │ ├── pss.pyi
│ │ │ └── DSS.pyi
│ │ ├── __init__.py
│ │ ├── IO
│ │ │ ├── PEM.pyi
│ │ │ ├── PKCS8.pyi
│ │ │ └── _PBES.pyi
│ │ └── Random
│ │ │ ├── __init__.pyi
│ │ │ └── random.pyi
│ │ ├── idna
│ │ ├── py.typed
│ │ ├── package_data.py
│ │ ├── compat.py
│ │ └── __init__.py
│ │ ├── charset_normalizer
│ │ ├── py.typed
│ │ ├── cli
│ │ │ └── __init__.py
│ │ └── version.py
│ │ ├── idna-3.3.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ └── WHEEL
│ │ ├── mock-5.1.0.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── WHEEL
│ │ └── RECORD
│ │ ├── nose-1.3.7.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── WHEEL
│ │ ├── entry_points.txt
│ │ ├── DESCRIPTION.rst
│ │ └── metadata.json
│ │ ├── pip-22.3.1.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── WHEEL
│ │ ├── entry_points.txt
│ │ └── LICENSE.txt
│ │ ├── pip
│ │ ├── _internal
│ │ │ ├── utils
│ │ │ │ ├── __init__.py
│ │ │ │ ├── datetime.py
│ │ │ │ ├── filetypes.py
│ │ │ │ ├── inject_securetransport.py
│ │ │ │ └── _log.py
│ │ │ ├── operations
│ │ │ │ ├── __init__.py
│ │ │ │ └── install
│ │ │ │ │ └── __init__.py
│ │ │ ├── resolution
│ │ │ │ ├── __init__.py
│ │ │ │ ├── legacy
│ │ │ │ │ └── __init__.py
│ │ │ │ ├── resolvelib
│ │ │ │ │ └── __init__.py
│ │ │ │ └── base.py
│ │ │ ├── index
│ │ │ │ └── __init__.py
│ │ │ ├── network
│ │ │ │ └── __init__.py
│ │ │ ├── models
│ │ │ │ ├── __init__.py
│ │ │ │ ├── scheme.py
│ │ │ │ ├── candidate.py
│ │ │ │ └── index.py
│ │ │ ├── metadata
│ │ │ │ └── importlib
│ │ │ │ │ └── __init__.py
│ │ │ ├── cli
│ │ │ │ ├── status_codes.py
│ │ │ │ ├── __init__.py
│ │ │ │ └── command_context.py
│ │ │ ├── main.py
│ │ │ ├── __init__.py
│ │ │ ├── vcs
│ │ │ │ └── __init__.py
│ │ │ └── distributions
│ │ │ │ ├── installed.py
│ │ │ │ └── __init__.py
│ │ ├── _vendor
│ │ │ ├── chardet
│ │ │ │ ├── cli
│ │ │ │ │ └── __init__.py
│ │ │ │ ├── metadata
│ │ │ │ │ └── __init__.py
│ │ │ │ └── version.py
│ │ │ ├── resolvelib
│ │ │ │ ├── compat
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ └── collections_abc.py
│ │ │ │ └── __init__.py
│ │ │ ├── urllib3
│ │ │ │ ├── contrib
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── _securetransport
│ │ │ │ │ │ └── __init__.py
│ │ │ │ │ └── _appengine_environ.py
│ │ │ │ ├── packages
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ └── backports
│ │ │ │ │ │ └── __init__.py
│ │ │ │ ├── _version.py
│ │ │ │ └── util
│ │ │ │ │ └── queue.py
│ │ │ ├── idna
│ │ │ │ ├── package_data.py
│ │ │ │ ├── compat.py
│ │ │ │ └── __init__.py
│ │ │ ├── distro
│ │ │ │ ├── __main__.py
│ │ │ │ └── __init__.py
│ │ │ ├── platformdirs
│ │ │ │ └── version.py
│ │ │ ├── certifi
│ │ │ │ ├── __init__.py
│ │ │ │ └── __main__.py
│ │ │ ├── distlib
│ │ │ │ ├── t32.exe
│ │ │ │ ├── t64.exe
│ │ │ │ ├── w32.exe
│ │ │ │ ├── w64.exe
│ │ │ │ ├── t64-arm.exe
│ │ │ │ ├── w64-arm.exe
│ │ │ │ └── __init__.py
│ │ │ ├── rich
│ │ │ │ ├── themes.py
│ │ │ │ ├── region.py
│ │ │ │ ├── _extension.py
│ │ │ │ ├── _stack.py
│ │ │ │ ├── _pick.py
│ │ │ │ ├── _timer.py
│ │ │ │ ├── errors.py
│ │ │ │ ├── pager.py
│ │ │ │ ├── abc.py
│ │ │ │ ├── diagnose.py
│ │ │ │ ├── _emoji_replace.py
│ │ │ │ └── color_triplet.py
│ │ │ ├── pep517
│ │ │ │ ├── __init__.py
│ │ │ │ ├── _compat.py
│ │ │ │ ├── dirtools.py
│ │ │ │ └── in_process
│ │ │ │ │ └── __init__.py
│ │ │ ├── colorama
│ │ │ │ └── __init__.py
│ │ │ ├── cachecontrol
│ │ │ │ ├── caches
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ └── redis_cache.py
│ │ │ │ ├── __init__.py
│ │ │ │ ├── compat.py
│ │ │ │ └── wrapper.py
│ │ │ ├── tomli
│ │ │ │ ├── _types.py
│ │ │ │ └── __init__.py
│ │ │ ├── pygments
│ │ │ │ ├── __main__.py
│ │ │ │ └── modeline.py
│ │ │ ├── requests
│ │ │ │ ├── __version__.py
│ │ │ │ ├── certs.py
│ │ │ │ ├── packages.py
│ │ │ │ └── hooks.py
│ │ │ ├── vendor.txt
│ │ │ ├── packaging
│ │ │ │ ├── __init__.py
│ │ │ │ └── __about__.py
│ │ │ └── pkg_resources
│ │ │ │ └── py31compat.py
│ │ ├── py.typed
│ │ └── __init__.py
│ │ ├── setuptools
│ │ ├── _vendor
│ │ │ ├── __init__.py
│ │ │ ├── jaraco
│ │ │ │ └── __init__.py
│ │ │ ├── more_itertools
│ │ │ │ └── __init__.py
│ │ │ ├── tomli
│ │ │ │ ├── _types.py
│ │ │ │ └── __init__.py
│ │ │ ├── packaging
│ │ │ │ ├── __init__.py
│ │ │ │ └── __about__.py
│ │ │ ├── importlib_resources
│ │ │ │ ├── __init__.py
│ │ │ │ └── _itertools.py
│ │ │ └── importlib_metadata
│ │ │ │ └── _collections.py
│ │ ├── cli.exe
│ │ ├── gui.exe
│ │ ├── cli-32.exe
│ │ ├── cli-64.exe
│ │ ├── gui-32.exe
│ │ ├── gui-64.exe
│ │ ├── cli-arm64.exe
│ │ ├── gui-arm64.exe
│ │ ├── script.tmpl
│ │ ├── _distutils
│ │ │ ├── debug.py
│ │ │ ├── py38compat.py
│ │ │ ├── _macos_compat.py
│ │ │ ├── _functools.py
│ │ │ ├── command
│ │ │ │ ├── __init__.py
│ │ │ │ └── py37compat.py
│ │ │ ├── __init__.py
│ │ │ └── py39compat.py
│ │ ├── version.py
│ │ ├── script (dev).tmpl
│ │ ├── _deprecation_warning.py
│ │ ├── py34compat.py
│ │ ├── command
│ │ │ ├── __init__.py
│ │ │ ├── upload.py
│ │ │ ├── register.py
│ │ │ ├── launcher manifest.xml
│ │ │ └── saveopts.py
│ │ ├── _reqs.py
│ │ ├── _itertools.py
│ │ ├── windows_support.py
│ │ ├── _path.py
│ │ ├── launch.py
│ │ ├── dep_util.py
│ │ ├── unicode_utils.py
│ │ └── config
│ │ │ ├── _validate_pyproject
│ │ │ └── __init__.py
│ │ │ └── __init__.py
│ │ ├── tomli-2.0.1.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── WHEEL
│ │ ├── RECORD
│ │ └── LICENSE
│ │ ├── urllib3
│ │ ├── contrib
│ │ │ ├── __init__.py
│ │ │ ├── _securetransport
│ │ │ │ └── __init__.py
│ │ │ └── _appengine_environ.py
│ │ ├── packages
│ │ │ ├── __init__.py
│ │ │ └── backports
│ │ │ │ └── __init__.py
│ │ ├── _version.py
│ │ └── util
│ │ │ └── queue.py
│ │ ├── nose
│ │ ├── sphinx
│ │ │ └── __init__.py
│ │ ├── ext
│ │ │ └── __init__.py
│ │ ├── __main__.py
│ │ ├── exc.py
│ │ ├── __init__.py
│ │ ├── tools
│ │ │ └── __init__.py
│ │ └── plugins
│ │ │ └── builtin.py
│ │ ├── pkg_resources
│ │ └── _vendor
│ │ │ ├── __init__.py
│ │ │ ├── jaraco
│ │ │ └── __init__.py
│ │ │ ├── more_itertools
│ │ │ └── __init__.py
│ │ │ ├── packaging
│ │ │ ├── __init__.py
│ │ │ └── __about__.py
│ │ │ └── importlib_resources
│ │ │ ├── __init__.py
│ │ │ └── _itertools.py
│ │ ├── requests-2.31.0.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ └── WHEEL
│ │ ├── urllib3-1.26.9.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── WHEEL
│ │ └── LICENSE.txt
│ │ ├── certifi-2021.10.8.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── WHEEL
│ │ ├── RECORD
│ │ └── LICENSE
│ │ ├── python_dotenv-0.21.1.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── entry_points.txt
│ │ └── WHEEL
│ │ ├── setuptools-65.5.0.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── WHEEL
│ │ └── LICENSE
│ │ ├── charset_normalizer-2.0.12.dist-info
│ │ ├── REQUESTED
│ │ ├── INSTALLER
│ │ ├── top_level.txt
│ │ ├── entry_points.txt
│ │ ├── WHEEL
│ │ └── LICENSE
│ │ ├── dotenv
│ │ ├── py.typed
│ │ ├── version.py
│ │ └── __main__.py
│ │ ├── tomli
│ │ ├── py.typed
│ │ ├── _types.py
│ │ └── __init__.py
│ │ ├── pycryptodome-3.14.1-py3.10.egg-info
│ │ ├── not-zip-safe
│ │ ├── dependency_links.txt
│ │ └── top_level.txt
│ │ ├── _distutils_hack
│ │ └── override.py
│ │ ├── certifi
│ │ ├── __init__.py
│ │ └── __main__.py
│ │ ├── distutils-precedence.pth
│ │ ├── mock
│ │ └── __init__.py
│ │ └── requests
│ │ ├── __version__.py
│ │ ├── certs.py
│ │ ├── hooks.py
│ │ └── packages.py
└── pyvenv.cfg
├── .DS_Store
├── rave_python
├── .DS_Store
└── __init__.py
├── requirements.txt
├── .github
├── ISSUE_TEMPLATE
│ └── config.yml
└── workflows
│ └── security-scan.yml
├── .gitignore
├── CHANGELOG.MD
├── LICENSE
└── setup.py
/testing/bin/python:
--------------------------------------------------------------------------------
1 | python3
--------------------------------------------------------------------------------
/testing/bin/python3.10:
--------------------------------------------------------------------------------
1 | python3
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/py.typed:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna/py.typed:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/__init__.pyi:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/__init__.pyi:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/PublicKey/__init__.pyi:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer/py.typed:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna-3.3.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/mock-5.1.0.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip-22.3.1.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/utils/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli-2.0.1.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/contrib/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/packages/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna-3.3.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/sphinx/__init__.py:
--------------------------------------------------------------------------------
1 | pass
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/operations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/resolution/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests-2.31.0.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3-1.26.9.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/.DS_Store
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi-2021.10.8.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna-3.3.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | idna
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/mock-5.1.0.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip-22.3.1.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/python_dotenv-0.21.1.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools-65.5.0.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/jaraco/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli-2.0.1.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/packages/backports/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/bin/python3:
--------------------------------------------------------------------------------
1 | /Library/Frameworks/Python.framework/Versions/3.10/bin/python3
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi-2021.10.8.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer-2.0.12.dist-info/REQUESTED:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/dotenv/py.typed:
--------------------------------------------------------------------------------
1 | # Marker file for PEP 561
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/dotenv/version.py:
--------------------------------------------------------------------------------
1 | __version__ = "0.21.1"
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/mock-5.1.0.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | mock
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | nose
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip-22.3.1.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/resolution/legacy/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests-2.31.0.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools-65.5.0.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli/py.typed:
--------------------------------------------------------------------------------
1 | # Marker file for PEP 561
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3-1.26.9.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/contrib/_securetransport/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna/package_data.py:
--------------------------------------------------------------------------------
1 | __version__ = '3.3'
2 |
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/python_dotenv-0.21.1.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3-1.26.9.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | urllib3
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi-2021.10.8.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | certifi
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer-2.0.12.dist-info/INSTALLER:
--------------------------------------------------------------------------------
1 | pip
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pycryptodome-3.14.1-py3.10.egg-info/not-zip-safe:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/python_dotenv-0.21.1.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | dotenv
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests-2.31.0.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | requests
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py:
--------------------------------------------------------------------------------
1 | __version__ = '3.4'
2 |
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pycryptodome-3.14.1-py3.10.egg-info/dependency_links.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pycryptodome-3.14.1-py3.10.egg-info/top_level.txt:
--------------------------------------------------------------------------------
1 | Crypto
2 |
--------------------------------------------------------------------------------
/rave_python/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/rave_python/.DS_Store
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/ext/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | External or vendor files
3 | """
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/index/__init__.py:
--------------------------------------------------------------------------------
1 | """Index interaction code
2 | """
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Protocol/__init__.pyi:
--------------------------------------------------------------------------------
1 | __all__ = ['KDF.pyi', 'SecretSharing.pyi']
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/_distutils_hack/override.py:
--------------------------------------------------------------------------------
1 | __import__('_distutils_hack').do_override()
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer-2.0.12.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | charset_normalizer
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/network/__init__.py:
--------------------------------------------------------------------------------
1 | """Contains purely network-related utilities.
2 | """
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/_version.py:
--------------------------------------------------------------------------------
1 | # This file is protected via CODEOWNERS
2 | __version__ = "1.26.9"
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/_cpu_features.pyi:
--------------------------------------------------------------------------------
1 | def have_aes_ni() -> int: ...
2 | def have_clmul() -> int: ...
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi/__init__.py:
--------------------------------------------------------------------------------
1 | from .core import contents, where
2 |
3 | __version__ = "2021.10.08"
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools-65.5.0.dist-info/top_level.txt:
--------------------------------------------------------------------------------
1 | _distutils_hack
2 | pkg_resources
3 | setuptools
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/models/__init__.py:
--------------------------------------------------------------------------------
1 | """A package that contains models that represent entities.
2 | """
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py:
--------------------------------------------------------------------------------
1 | """For modules related to installing packages.
2 | """
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py:
--------------------------------------------------------------------------------
1 | # This file is protected via CODEOWNERS
2 | __version__ = "1.26.12"
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/python_dotenv-0.21.1.dist-info/entry_points.txt:
--------------------------------------------------------------------------------
1 | [console_scripts]
2 | dotenv = dotenv.__main__:cli
3 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distro/__main__.py:
--------------------------------------------------------------------------------
1 | from .distro import main
2 |
3 | if __name__ == "__main__":
4 | main()
5 |
--------------------------------------------------------------------------------
/testing/pyvenv.cfg:
--------------------------------------------------------------------------------
1 | home = /Library/Frameworks/Python.framework/Versions/3.10/bin
2 | include-system-site-packages = false
3 | version = 3.10.10
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/_IntegerGMP.pyi:
--------------------------------------------------------------------------------
1 | from ._IntegerBase import IntegerBase
2 | class IntegerGMP(IntegerBase):
3 | pass
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/Numbers.pyi:
--------------------------------------------------------------------------------
1 | from Crypto.Math._IntegerBase import IntegerBase
2 |
3 | class Integer(IntegerBase):
4 | pass
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/_IntegerNative.pyi:
--------------------------------------------------------------------------------
1 | from ._IntegerBase import IntegerBase
2 | class IntegerNative(IntegerBase):
3 | pass
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli-2.0.1.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: flit 3.6.0
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/RIPEMD.pyi:
--------------------------------------------------------------------------------
1 | # This file exists for backward compatibility with old code that refers to
2 | # Crypto.Hash.SHA
3 |
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py:
--------------------------------------------------------------------------------
1 | """Version information"""
2 |
3 | __version__ = "2.5.2"
4 | __version_info__ = (2, 5, 2)
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/cli.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/cli.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/gui.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/gui.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/__init__.pyi:
--------------------------------------------------------------------------------
1 | from typing import Tuple, Union
2 |
3 | version_info : Tuple[int, int, Union[int, str]]
4 | __version__ : str
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer/version.py:
--------------------------------------------------------------------------------
1 | """
2 | Expose version
3 | """
4 |
5 | __version__ = "2.0.12"
6 | VERSION = __version__.split(".")
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna-3.3.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.37.0)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/cli-32.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/cli-32.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/cli-64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/cli-64.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/gui-32.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/gui-32.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/gui-64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/gui-64.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/_file_system.pyi:
--------------------------------------------------------------------------------
1 | from typing import List
2 |
3 |
4 | def pycryptodome_filename(dir_comps: List[str], filename: str) -> str: ...
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer-2.0.12.dist-info/entry_points.txt:
--------------------------------------------------------------------------------
1 | [console_scripts]
2 | normalizer = charset_normalizer.cli.normalizer:cli_detect
3 |
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/mock-5.1.0.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.40.0)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.24.0)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip-22.3.1.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.37.1)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py:
--------------------------------------------------------------------------------
1 | from .core import contents, where
2 |
3 | __all__ = ["contents", "where"]
4 | __version__ = "2022.09.24"
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_MD2.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_MD2.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_MD4.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_MD4.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_MD5.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_MD5.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA1.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA1.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests-2.31.0.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.40.0)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools-65.5.0.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.37.1)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py:
--------------------------------------------------------------------------------
1 | from .more import * # noqa
2 | from .recipes import * # noqa
3 |
4 | __version__ = '8.8.0'
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/cli-arm64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/cli-arm64.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/gui-arm64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/setuptools/gui-arm64.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_ARC4.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_ARC4.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_BLAKE2b.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_BLAKE2b.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_BLAKE2s.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_BLAKE2s.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA224.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA224.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA256.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA256.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA384.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA384.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA512.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_SHA512.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_keccak.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_keccak.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/_modexp.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Math/_modexp.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/_cpuid_c.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Util/_cpuid_c.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/_strxor.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Util/_strxor.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/t32.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/pip/_vendor/distlib/t32.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/t64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/pip/_vendor/distlib/t64.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/w32.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/pip/_vendor/distlib/w32.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/w64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/pip/_vendor/distlib/w64.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/themes.py:
--------------------------------------------------------------------------------
1 | from .default_styles import DEFAULT_STYLES
2 | from .theme import Theme
3 |
4 |
5 | DEFAULT = Theme(DEFAULT_STYLES)
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/__init__.py:
--------------------------------------------------------------------------------
1 | from .more import * # noqa
2 | from .recipes import * # noqa
3 |
4 | __version__ = '8.12.0'
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/python_dotenv-0.21.1.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.38.4)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_Salsa20.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_Salsa20.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_chacha20.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_chacha20.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_aes.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_aes.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_arc2.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_arc2.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_cast.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_cast.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_cbc.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_cbc.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_cfb.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_cfb.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ctr.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ctr.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_des.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_des.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_des3.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_des3.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ecb.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ecb.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ocb.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ocb.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ofb.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_ofb.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_RIPEMD160.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_RIPEMD160.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_poly1305.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_poly1305.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Protocol/_scrypt.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Protocol/_scrypt.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/PublicKey/_ec_ws.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/PublicKey/_ec_ws.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer-2.0.12.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.37.1)
3 | Root-Is-Purelib: true
4 | Tag: py3-none-any
5 |
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/t64-arm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/pip/_vendor/distlib/t64-arm.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/w64-arm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/pip/_vendor/distlib/w64-arm.exe
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_pkcs1_decode.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_pkcs1_decode.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_blowfish.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_blowfish.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/_ghash_portable.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Hash/_ghash_portable.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3-1.26.9.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.37.1)
3 | Root-Is-Purelib: true
4 | Tag: py2-none-any
5 | Tag: py3-none-any
6 |
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_eksblowfish.abi3.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Flutterwave/Python-v2/HEAD/testing/lib/python3.10/site-packages/Crypto/Cipher/_raw_eksblowfish.abi3.so
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi-2021.10.8.dist-info/WHEEL:
--------------------------------------------------------------------------------
1 | Wheel-Version: 1.0
2 | Generator: bdist_wheel (0.35.1)
3 | Root-Is-Purelib: true
4 | Tag: py2-none-any
5 | Tag: py3-none-any
6 |
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/dotenv/__main__.py:
--------------------------------------------------------------------------------
1 | """Entry point for cli, enables execution with `python -m dotenv`"""
2 |
3 | from .cli import cli
4 |
5 | if __name__ == "__main__":
6 | cli()
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/metadata/importlib/__init__.py:
--------------------------------------------------------------------------------
1 | from ._dists import Distribution
2 | from ._envs import Environment
3 |
4 | __all__ = ["Distribution", "Environment"]
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py:
--------------------------------------------------------------------------------
1 | SUCCESS = 0
2 | ERROR = 1
3 | UNKNOWN_ERROR = 2
4 | VIRTUALENV_NOT_FOUND = 3
5 | PREVIOUS_BUILD_DIR_ERROR = 4
6 | NO_MATCHES_FOUND = 23
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/script.tmpl:
--------------------------------------------------------------------------------
1 | # EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r
2 | __requires__ = %(spec)r
3 | __import__('pkg_resources').run_script(%(spec)r, %(script_name)r)
4 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/distutils-precedence.pth:
--------------------------------------------------------------------------------
1 | import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get(var, 'local') == 'local'; enabled and __import__('_distutils_hack').add_shim();
2 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip-22.3.1.dist-info/entry_points.txt:
--------------------------------------------------------------------------------
1 | [console_scripts]
2 | pip = pip._internal.cli.main:main
3 | pip3 = pip._internal.cli.main:main
4 | pip3.10 = pip._internal.cli.main:main
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/cli/__init__.py:
--------------------------------------------------------------------------------
1 | """Subpackage containing all of pip's command line interface related code
2 | """
3 |
4 | # This file intentionally does not import submodules
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py:
--------------------------------------------------------------------------------
1 | """Wrappers to build Python packages using PEP 517 hooks
2 | """
3 |
4 | __version__ = '0.13.0'
5 |
6 | from .wrappers import * # noqa: F401, F403
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/debug.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 | # If DISTUTILS_DEBUG is anything other than the empty string, we run in
4 | # debug mode.
5 | DEBUG = os.environ.get('DISTUTILS_DEBUG')
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/version.py:
--------------------------------------------------------------------------------
1 | import pkg_resources
2 |
3 | try:
4 | __version__ = pkg_resources.get_distribution('setuptools').version
5 | except Exception:
6 | __version__ = 'unknown'
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA.pyi:
--------------------------------------------------------------------------------
1 | # This file exists for backward compatibility with old code that refers to
2 | # Crypto.Hash.SHA
3 |
4 | from Crypto.Hash.SHA1 import __doc__, new, block_size, digest_size
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/TupleHash256.pyi:
--------------------------------------------------------------------------------
1 | from .TupleHash128 import TupleHash
2 |
3 | def new(digest_bytes: int = ...,
4 | digest_bits: int = ...,
5 | custom: int = ...) -> TupleHash: ...
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/__main__.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | from nose.core import run_exit
4 |
5 | if sys.argv[0].endswith('__main__.py'):
6 | sys.argv[0] = '%s -m nose' % sys.executable
7 |
8 | run_exit()
9 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | certifi==2024.7.4
2 | charset-normalizer==2.0.12
3 | idna==3.7
4 | pycryptodome==3.19.1
5 | requests==2.32.0
6 | tomli==2.0.1
7 | urllib3==1.26.19
8 | python-dotenv==0.21.1
9 | nose==1.3.7
10 | mock==3.0.5
11 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/_IntegerCustom.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any
2 |
3 | from ._IntegerNative import IntegerNative
4 |
5 | _raw_montgomery = Any
6 |
7 | class IntegerCustom(IntegerNative):
8 | pass
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Signature/PKCS1_v1_5.pyi:
--------------------------------------------------------------------------------
1 | from Crypto.PublicKey.RSA import RsaKey
2 |
3 | from Crypto.Signature.pkcs1_15 import PKCS115_SigScheme
4 |
5 |
6 | def new(rsa_key: RsaKey) -> PKCS115_SigScheme: ...
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/entry_points.txt:
--------------------------------------------------------------------------------
1 | [console_scripts]
2 | nosetests = nose:run_exit
3 | nosetests-3.4 = nose:run_exit
4 |
5 | [distutils.commands]
6 | nosetests = nose.commands:nosetests
7 |
8 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pep517/_compat.py:
--------------------------------------------------------------------------------
1 | __all__ = ("tomllib",)
2 |
3 | import sys
4 |
5 | if sys.version_info >= (3, 11):
6 | import tomllib
7 | else:
8 | from pip._vendor import tomli as tomllib
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/RFC1751.pyi:
--------------------------------------------------------------------------------
1 | from typing import Dict, List
2 |
3 | binary: Dict[int, str]
4 | wordlist: List[str]
5 |
6 | def key_to_english(key: bytes) -> str: ...
7 | def english_to_key(s: str) -> bytes: ...
8 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/__init__.py:
--------------------------------------------------------------------------------
1 | __all__ = ['Cipher', 'Hash', 'Protocol', 'PublicKey', 'Util', 'Signature',
2 | 'IO', 'Math']
3 |
4 | version_info = (3, 14, '1')
5 |
6 | __version__ = ".".join([str(x) for x in version_info])
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py:
--------------------------------------------------------------------------------
1 | __all__ = ["Mapping", "Sequence"]
2 |
3 | try:
4 | from collections.abc import Mapping, Sequence
5 | except ImportError:
6 | from collections import Mapping, Sequence
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/region.py:
--------------------------------------------------------------------------------
1 | from typing import NamedTuple
2 |
3 |
4 | class Region(NamedTuple):
5 | """Defines a rectangular region of the screen."""
6 |
7 | x: int
8 | y: int
9 | width: int
10 | height: int
11 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: false
2 | contact_links:
3 | - name: Integration Support
4 | url: https://flutterwave.com/ng/support/submit-request
5 | about: For help with this package, contact our support team and select "Integrations" in the support form.
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/script (dev).tmpl:
--------------------------------------------------------------------------------
1 | # EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r
2 | __requires__ = %(spec)r
3 | __import__('pkg_resources').require(%(spec)r)
4 | __file__ = %(dev_path)r
5 | with open(__file__) as f:
6 | exec(compile(f.read(), __file__, 'exec'))
7 |
--------------------------------------------------------------------------------
/rave_python/__init__.py:
--------------------------------------------------------------------------------
1 | import rave_python.rave_exceptions as RaveExceptions
2 | import rave_python.rave_misc as Misc
3 | from rave_python.rave import Rave
4 | name = "rave_python"
5 | __version__ = '1.0.1'
6 | __author__ = "Flutterwave"
7 | __license__ = 'MIT'
8 | __copyright__ = 'Copyright 2019. Flutterwave'
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/Padding.pyi:
--------------------------------------------------------------------------------
1 | from typing import Optional
2 |
3 | __all__ = [ 'pad', 'unpad' ]
4 |
5 | def pad(data_to_pad: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...
6 | def unpad(padded_data: bytes, block_size: int, style: Optional[str]='pkcs7') -> bytes: ...
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_deprecation_warning.py:
--------------------------------------------------------------------------------
1 | class SetuptoolsDeprecationWarning(Warning):
2 | """
3 | Base class for warning deprecations in ``setuptools``
4 |
5 | This class is not derived from ``DeprecationWarning``, and as such is
6 | visible by default.
7 | """
8 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py:
--------------------------------------------------------------------------------
1 | def aix_platform(osname, version, release):
2 | try:
3 | import _aix_support
4 |
5 | return _aix_support.aix_platform()
6 | except ImportError:
7 | pass
8 | return "{}-{}.{}".format(osname, version, release)
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/cSHAKE256.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | from Crypto.Hash.cSHAKE128 import cSHAKE_XOF
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | def new(data: Optional[Buffer] = ...,
8 | custom: Optional[Buffer] = ...) -> cSHAKE_XOF: ...
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/strxor.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | def strxor(term1: bytes, term2: bytes, output: Optional[Buffer]=...) -> bytes: ...
6 | def strxor_c(term: bytes, c: int, output: Optional[Buffer]=...) -> bytes: ...
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.
2 | from .initialise import init, deinit, reinit, colorama_text
3 | from .ansi import Fore, Back, Style, Cursor
4 | from .ansitowin32 import AnsiToWin32
5 |
6 | __version__ = '0.4.5'
7 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/KMAC256.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union
2 |
3 | from .KMAC128 import KMAC_Hash
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | def new(key: Buffer,
8 | data: Buffer = ...,
9 | mac_len: int = ...,
10 | custom: Buffer = ...) -> KMAC_Hash: ...
11 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/py.typed:
--------------------------------------------------------------------------------
1 | pip is a command line program. While it is implemented in Python, and so is
2 | available for import, you must not use pip's internal APIs in this way. Typing
3 | information is provided as a convenience only and is not a guarantee. Expect
4 | unannounced changes to the API and types in releases.
5 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/chardet/version.py:
--------------------------------------------------------------------------------
1 | """
2 | This module exists only to simplify retrieving the version number of chardet
3 | from within setup.py and from chardet subpackages.
4 |
5 | :author: Dan Blanchard (dan.blanchard@gmail.com)
6 | """
7 |
8 | __version__ = "5.0.0"
9 | VERSION = __version__.split(".")
10 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli/_types.py:
--------------------------------------------------------------------------------
1 | # SPDX-License-Identifier: MIT
2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen
3 | # Licensed to PSF under a Contributor Agreement.
4 |
5 | from typing import Any, Callable, Tuple
6 |
7 | # Type annotations
8 | ParseFloat = Callable[[str], Any]
9 | Key = Tuple[str, ...]
10 | Pos = int
11 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi/__main__.py:
--------------------------------------------------------------------------------
1 | import argparse
2 |
3 | from certifi import contents, where
4 |
5 | parser = argparse.ArgumentParser()
6 | parser.add_argument("-c", "--contents", action="store_true")
7 | args = parser.parse_args()
8 |
9 | if args.contents:
10 | print(contents())
11 | else:
12 | print(where())
13 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Signature/PKCS1_PSS.pyi:
--------------------------------------------------------------------------------
1 | from typing import Optional, Callable
2 |
3 | from Crypto.PublicKey.RSA import RsaKey
4 | from Crypto.Signature.pss import PSS_SigScheme
5 |
6 |
7 | def new(rsa_key: RsaKey, mgfunc: Optional[Callable]=None, saltLen: Optional[int]=None, randfunc: Optional[Callable]=None) -> PSS_SigScheme: ...
8 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/utils/datetime.py:
--------------------------------------------------------------------------------
1 | """For when pip wants to check the date or time.
2 | """
3 |
4 | import datetime
5 |
6 |
7 | def today_is_later_than(year: int, month: int, day: int) -> bool:
8 | today = datetime.date.today()
9 | given = datetime.date(year, month, day)
10 |
11 | return today > given
12 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2015 Eric Larson
2 | #
3 | # SPDX-License-Identifier: Apache-2.0
4 |
5 | from .file_cache import FileCache, SeparateBodyFileCache
6 | from .redis_cache import RedisCache
7 |
8 |
9 | __all__ = ["FileCache", "SeparateBodyFileCache", "RedisCache"]
10 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/Counter.pyi:
--------------------------------------------------------------------------------
1 | from typing import Optional, Union, Dict
2 |
3 | def new(nbits: int, prefix: Optional[bytes]=..., suffix: Optional[bytes]=..., initial_value: Optional[int]=1,
4 | little_endian: Optional[bool]=False, allow_wraparound: Optional[bool]=False) -> \
5 | Dict[str, Union[int, bytes, bool]]: ...
6 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/tomli/_types.py:
--------------------------------------------------------------------------------
1 | # SPDX-License-Identifier: MIT
2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen
3 | # Licensed to PSF under a Contributor Agreement.
4 |
5 | from typing import Any, Callable, Tuple
6 |
7 | # Type annotations
8 | ParseFloat = Callable[[str], Any]
9 | Key = Tuple[str, ...]
10 | Pos = int
11 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/py34compat.py:
--------------------------------------------------------------------------------
1 | import importlib
2 |
3 | try:
4 | import importlib.util
5 | except ImportError:
6 | pass
7 |
8 |
9 | try:
10 | module_from_spec = importlib.util.module_from_spec
11 | except AttributeError:
12 | def module_from_spec(spec):
13 | return spec.loader.load_module(spec.name)
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/_macos_compat.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import importlib
3 |
4 |
5 | def bypass_compiler_fixup(cmd, args):
6 | return cmd
7 |
8 |
9 | if sys.platform == 'darwin':
10 | compiler_fixup = importlib.import_module('_osx_support').compiler_fixup
11 | else:
12 | compiler_fixup = bypass_compiler_fixup
13 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/tomli/_types.py:
--------------------------------------------------------------------------------
1 | # SPDX-License-Identifier: MIT
2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen
3 | # Licensed to PSF under a Contributor Agreement.
4 |
5 | from typing import Any, Callable, Tuple
6 |
7 | # Type annotations
8 | ParseFloat = Callable[[str], Any]
9 | Key = Tuple[str, ...]
10 | Pos = int
11 |
--------------------------------------------------------------------------------
/testing/bin/dotenv:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from dotenv.__main__ import cli
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(cli())
9 |
--------------------------------------------------------------------------------
/testing/bin/nosetests:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from nose import run_exit
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(run_exit())
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py:
--------------------------------------------------------------------------------
1 | from typing import Any
2 |
3 |
4 | def load_ipython_extension(ip: Any) -> None: # pragma: no cover
5 | # prevent circular import
6 | from pip._vendor.rich.pretty import install
7 | from pip._vendor.rich.traceback import install as tr_install
8 |
9 | install()
10 | tr_install()
11 |
--------------------------------------------------------------------------------
/testing/bin/nosetests-3.4:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from nose import run_exit
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(run_exit())
9 |
--------------------------------------------------------------------------------
/testing/bin/pip:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from pip._internal.cli.main import main
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(main())
9 |
--------------------------------------------------------------------------------
/testing/bin/pip3:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from pip._internal.cli.main import main
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(main())
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py:
--------------------------------------------------------------------------------
1 | import argparse
2 |
3 | from pip._vendor.certifi import contents, where
4 |
5 | parser = argparse.ArgumentParser()
6 | parser.add_argument("-c", "--contents", action="store_true")
7 | args = parser.parse_args()
8 |
9 | if args.contents:
10 | print(contents())
11 | else:
12 | print(where())
13 |
--------------------------------------------------------------------------------
/testing/bin/pip3.10:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from pip._internal.cli.main import main
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(main())
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/IO/PEM.pyi:
--------------------------------------------------------------------------------
1 | from typing import Tuple, Optional, Callable
2 |
3 | def encode(data: bytes,
4 | marke: str,
5 | passphrase: Optional[bytes] = ...,
6 | randfunc: Optional[Callable[[int],bytes]] = ...) -> str: ...
7 |
8 |
9 | def decode(pem_data: str,
10 | passphrase: Optional[bytes] = ...) -> Tuple[bytes, str, bool]: ...
11 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_EKSBlowfish.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Iterable
2 |
3 | from Crypto.Cipher._mode_ecb import EcbMode
4 |
5 | MODE_ECB: int
6 |
7 | Buffer = Union[bytes, bytearray, memoryview]
8 |
9 | def new(key: Buffer,
10 | mode: int,
11 | salt: Buffer,
12 | cost: int) -> EcbMode: ...
13 |
14 | block_size: int
15 | key_size: Iterable[int]
16 |
--------------------------------------------------------------------------------
/testing/bin/normalizer:
--------------------------------------------------------------------------------
1 | #!/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import re
4 | import sys
5 | from charset_normalizer.cli.normalizer import cli_detect
6 | if __name__ == '__main__':
7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 | sys.exit(cli_detect())
9 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/PublicKey/_openssh.pyi:
--------------------------------------------------------------------------------
1 | from typing import Tuple
2 |
3 | def read_int4(data: bytes) -> Tuple[int, bytes]: ...
4 | def read_bytes(data: bytes) -> Tuple[bytes, bytes]: ...
5 | def read_string(data: bytes) -> Tuple[str, bytes]: ...
6 | def check_padding(pad: bytes) -> None: ...
7 | def import_openssh_private_generic(data: bytes, password: bytes) -> Tuple[str, bytes]: ...
8 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna/compat.py:
--------------------------------------------------------------------------------
1 | from .core import *
2 | from .codec import *
3 | from typing import Any, Union
4 |
5 | def ToASCII(label: str) -> bytes:
6 | return encode(label)
7 |
8 | def ToUnicode(label: Union[bytes, bytearray]) -> str:
9 | return decode(label)
10 |
11 | def nameprep(s: Any) -> None:
12 | raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
13 |
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/idna/compat.py:
--------------------------------------------------------------------------------
1 | from .core import *
2 | from .codec import *
3 | from typing import Any, Union
4 |
5 | def ToASCII(label: str) -> bytes:
6 | return encode(label)
7 |
8 | def ToUnicode(label: Union[bytes, bytearray]) -> str:
9 | return decode(label)
10 |
11 | def nameprep(s: Any) -> None:
12 | raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
13 |
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/mock/__init__.py:
--------------------------------------------------------------------------------
1 | from __future__ import absolute_import
2 |
3 | import re, sys
4 |
5 | IS_PYPY = 'PyPy' in sys.version
6 |
7 | import mock.mock as _mock
8 | from mock.mock import *
9 |
10 | __version__ = '5.1.0'
11 | version_info = tuple(int(p) for p in
12 | re.match(r'(\d+).(\d+).(\d+)', __version__).groups())
13 |
14 |
15 | __all__ = ('__version__', 'version_info') + _mock.__all__
16 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/main.py:
--------------------------------------------------------------------------------
1 | from typing import List, Optional
2 |
3 |
4 | def main(args: Optional[List[str]] = None) -> int:
5 | """This is preserved for old console scripts that may still be referencing
6 | it.
7 |
8 | For additional details, see https://github.com/pypa/pip/issues/7498.
9 | """
10 | from pip._internal.utils.entrypoints import _wrapper
11 |
12 | return _wrapper(args)
13 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 | .vscode
3 | account.py
4 | card.py
5 | preauth.py
6 | ghmobile.py
7 | mpesa.py
8 | subaccount.py
9 | subscription.py
10 | transfer.py
11 | ussd.py
12 | uganda.py
13 | zambia.py
14 | test_tokenized.py
15 | payment_plan.py
16 | virtualCardTest.py
17 | charge_saved_card.py
18 | rwanda.py
19 | franc_test.py
20 | .env
21 | build/
22 | dist/
23 | rave_python.egg-info/
24 | staging
25 | zero
26 | .coverage
27 | example.py
28 | randomTester.py
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/exc.py:
--------------------------------------------------------------------------------
1 | """Exceptions for marking tests as skipped or deprecated.
2 |
3 | This module exists to provide backwards compatibility with previous
4 | versions of nose where skipped and deprecated tests were core
5 | functionality, rather than being provided by plugins. It may be
6 | removed in a future release.
7 | """
8 | from nose.plugins.skip import SkipTest
9 | from nose.plugins.deprecated import DeprecatedTest
10 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/__init__.py:
--------------------------------------------------------------------------------
1 | from typing import List, Optional
2 |
3 | __version__ = "22.3.1"
4 |
5 |
6 | def main(args: Optional[List[str]] = None) -> int:
7 | """This is an internal API only meant for use by pip's own console scripts.
8 |
9 | For additional details, see https://github.com/pypa/pip/issues/7498.
10 | """
11 | from pip._internal.utils.entrypoints import _wrapper
12 |
13 | return _wrapper(args)
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py:
--------------------------------------------------------------------------------
1 | from typing import List, TypeVar
2 |
3 | T = TypeVar("T")
4 |
5 |
6 | class Stack(List[T]):
7 | """A small shim over builtin list."""
8 |
9 | @property
10 | def top(self) -> T:
11 | """Get top of stack."""
12 | return self[-1]
13 |
14 | def push(self, item: T) -> None:
15 | """Push an item on to the stack (append in stack nomenclature)."""
16 | self.append(item)
17 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py:
--------------------------------------------------------------------------------
1 | """
2 | pygments.__main__
3 | ~~~~~~~~~~~~~~~~~
4 |
5 | Main entry point for ``python -m pygments``.
6 |
7 | :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
8 | :license: BSD, see LICENSE for details.
9 | """
10 |
11 | import sys
12 | from pip._vendor.pygments.cmdline import main
13 |
14 | try:
15 | sys.exit(main(sys.argv))
16 | except KeyboardInterrupt:
17 | sys.exit(1)
18 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli/__init__.py:
--------------------------------------------------------------------------------
1 | # SPDX-License-Identifier: MIT
2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen
3 | # Licensed to PSF under a Contributor Agreement.
4 |
5 | __all__ = ("loads", "load", "TOMLDecodeError")
6 | __version__ = "2.0.1" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
7 |
8 | from ._parser import TOMLDecodeError, load, loads
9 |
10 | # Pretend this exception was created here.
11 | TOMLDecodeError.__module__ = __name__
12 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py:
--------------------------------------------------------------------------------
1 | # SPDX-License-Identifier: MIT
2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen
3 | # Licensed to PSF under a Contributor Agreement.
4 |
5 | __all__ = ("loads", "load", "TOMLDecodeError")
6 | __version__ = "2.0.1" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
7 |
8 | from ._parser import TOMLDecodeError, load, loads
9 |
10 | # Pretend this exception was created here.
11 | TOMLDecodeError.__module__ = __name__
12 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Random/__init__.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any
2 |
3 | __all__ = ['new', 'get_random_bytes']
4 |
5 | from os import urandom
6 |
7 | class _UrandomRNG(object):
8 |
9 | def read(self, n: int) -> bytes:...
10 | def flush(self) -> None: ...
11 | def reinit(self) -> None: ...
12 | def close(self) -> None: ...
13 |
14 | def new(*args: Any, **kwargs: Any) -> _UrandomRNG: ...
15 |
16 | def atfork() -> None: ...
17 |
18 | get_random_bytes = urandom
19 |
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/tomli/__init__.py:
--------------------------------------------------------------------------------
1 | # SPDX-License-Identifier: MIT
2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen
3 | # Licensed to PSF under a Contributor Agreement.
4 |
5 | __all__ = ("loads", "load", "TOMLDecodeError")
6 | __version__ = "2.0.1" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
7 |
8 | from ._parser import TOMLDecodeError, load, loads
9 |
10 | # Pretend this exception was created here.
11 | TOMLDecodeError.__module__ = __name__
12 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/command/__init__.py:
--------------------------------------------------------------------------------
1 | from distutils.command.bdist import bdist
2 | import sys
3 |
4 | if 'egg' not in bdist.format_commands:
5 | try:
6 | bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file")
7 | except TypeError:
8 | # For backward compatibility with older distutils (stdlib)
9 | bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
10 | bdist.format_commands.append('egg')
11 |
12 | del bdist, sys
13 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/__init__.py:
--------------------------------------------------------------------------------
1 | from nose.core import collector, main, run, run_exit, runmodule
2 | # backwards compatibility
3 | from nose.exc import SkipTest, DeprecatedTest
4 | from nose.tools import with_setup
5 |
6 | __author__ = 'Jason Pellerin'
7 | __versioninfo__ = (1, 3, 7)
8 | __version__ = '.'.join(map(str, __versioninfo__))
9 |
10 | __all__ = [
11 | 'main', 'run', 'run_exit', 'runmodule', 'with_setup',
12 | 'SkipTest', 'DeprecatedTest', 'collector'
13 | ]
14 |
15 |
16 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHAKE128.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHAKE128_XOF(object):
6 | oid: str
7 | def __init__(self,
8 | data: Optional[Buffer] = ...) -> None: ...
9 | def update(self, data: Buffer) -> SHAKE128_XOF: ...
10 | def read(self, length: int) -> bytes: ...
11 | def new(self, data: Optional[Buffer] = ...) -> SHAKE128_XOF: ...
12 |
13 | def new(data: Optional[Buffer] = ...) -> SHAKE128_XOF: ...
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHAKE256.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHAKE256_XOF(object):
6 | oid: str
7 | def __init__(self,
8 | data: Optional[Buffer] = ...) -> None: ...
9 | def update(self, data: Buffer) -> SHAKE256_XOF: ...
10 | def read(self, length: int) -> bytes: ...
11 | def new(self, data: Optional[Buffer] = ...) -> SHAKE256_XOF: ...
12 |
13 | def new(data: Optional[Buffer] = ...) -> SHAKE256_XOF: ...
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests/__version__.py:
--------------------------------------------------------------------------------
1 | # .-. .-. .-. . . .-. .-. .-. .-.
2 | # |( |- |.| | | |- `-. | `-.
3 | # ' ' `-' `-`.`-' `-' `-' ' `-'
4 |
5 | __title__ = "requests"
6 | __description__ = "Python HTTP for Humans."
7 | __url__ = "https://requests.readthedocs.io"
8 | __version__ = "2.31.0"
9 | __build__ = 0x023100
10 | __author__ = "Kenneth Reitz"
11 | __author_email__ = "me@kennethreitz.org"
12 | __license__ = "Apache 2.0"
13 | __copyright__ = "Copyright Kenneth Reitz"
14 | __cake__ = "\u2728 \U0001f370 \u2728"
15 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests/certs.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | """
4 | requests.certs
5 | ~~~~~~~~~~~~~~
6 |
7 | This module returns the preferred default CA certificate bundle. There is
8 | only one — the one from the certifi package.
9 |
10 | If you are packaging Requests, e.g., for a Linux distribution or a managed
11 | environment, you can change the definition of where() to return a separately
12 | packaged CA bundle.
13 | """
14 | from certifi import where
15 |
16 | if __name__ == "__main__":
17 | print(where())
18 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/ARC4.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any, Union, Iterable
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class ARC4Cipher:
6 | block_size: int
7 | key_size: int
8 |
9 | def __init__(self, key: Buffer, *args: Any, **kwargs: Any) -> None: ...
10 | def encrypt(self, plaintext: Buffer) -> bytes: ...
11 | def decrypt(self, ciphertext: Buffer) -> bytes: ...
12 |
13 | def new(key: Buffer, drop : int = ...) -> ARC4Cipher: ...
14 |
15 | block_size: int
16 | key_size: Iterable[int]
17 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/tools/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Tools for testing
3 | -----------------
4 |
5 | nose.tools provides a few convenience functions to make writing tests
6 | easier. You don't have to use them; nothing in the rest of nose depends
7 | on any of these methods.
8 |
9 | """
10 | from nose.tools.nontrivial import *
11 | from nose.tools.nontrivial import __all__ as nontrivial_all
12 | from nose.tools.trivial import *
13 | from nose.tools.trivial import __all__ as trivial_all
14 |
15 | __all__ = trivial_all + nontrivial_all
16 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py:
--------------------------------------------------------------------------------
1 | from typing import Optional
2 |
3 |
4 | def pick_bool(*values: Optional[bool]) -> bool:
5 | """Pick the first non-none bool or return the last value.
6 |
7 | Args:
8 | *values (bool): Any number of boolean or None values.
9 |
10 | Returns:
11 | bool: First non-none boolean.
12 | """
13 | assert values, "1 or more values required"
14 | for value in values:
15 | if value is not None:
16 | return value
17 | return bool(value)
18 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py:
--------------------------------------------------------------------------------
1 | """
2 | Timer context manager, only used in debug.
3 |
4 | """
5 |
6 | from time import time
7 |
8 | import contextlib
9 | from typing import Generator
10 |
11 |
12 | @contextlib.contextmanager
13 | def timer(subject: str = "time") -> Generator[None, None, None]:
14 | """print the elapsed time. (only used in debugging)"""
15 | start = time()
16 | yield
17 | elapsed = time() - start
18 | elapsed_ms = elapsed * 1000
19 | print(f"{subject} elapsed {elapsed_ms:.1f}ms")
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py:
--------------------------------------------------------------------------------
1 | # .-. .-. .-. . . .-. .-. .-. .-.
2 | # |( |- |.| | | |- `-. | `-.
3 | # ' ' `-' `-`.`-' `-' `-' ' `-'
4 |
5 | __title__ = "requests"
6 | __description__ = "Python HTTP for Humans."
7 | __url__ = "https://requests.readthedocs.io"
8 | __version__ = "2.28.1"
9 | __build__ = 0x022801
10 | __author__ = "Kenneth Reitz"
11 | __author_email__ = "me@kennethreitz.org"
12 | __license__ = "Apache 2.0"
13 | __copyright__ = "Copyright 2022 Kenneth Reitz"
14 | __cake__ = "\u2728 \U0001f370 \u2728"
15 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/_functools.py:
--------------------------------------------------------------------------------
1 | import functools
2 |
3 |
4 | # from jaraco.functools 3.5
5 | def pass_none(func):
6 | """
7 | Wrap func so it's not called if its first param is None
8 |
9 | >>> print_text = pass_none(print)
10 | >>> print_text('text')
11 | text
12 | >>> print_text(None)
13 | """
14 |
15 | @functools.wraps(func)
16 | def wrapper(param, *args, **kwargs):
17 | if param is not None:
18 | return func(param, *args, **kwargs)
19 |
20 | return wrapper
21 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/IO/PKCS8.pyi:
--------------------------------------------------------------------------------
1 | from typing import Dict, Tuple, Optional, Union, Callable
2 |
3 | from Crypto.Util.asn1 import DerObject
4 |
5 | def wrap(private_key: bytes,
6 | key_oid: str,
7 | passphrase: Union[bytes, str] = ...,
8 | protection: str = ...,
9 | prot_params: Dict = ...,
10 | key_params: DerObject = ...,
11 | randfunc: Optional[Callable[[int],str]] = ...) -> bytes: ...
12 |
13 |
14 | def unwrap(p8_private_key: bytes, passphrase: Optional[Union[bytes, str]] = ...) -> Tuple[str, bytes, Optional[bytes]]: ...
15 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/command/upload.py:
--------------------------------------------------------------------------------
1 | from distutils import log
2 | from distutils.command import upload as orig
3 |
4 | from setuptools.errors import RemovedCommandError
5 |
6 |
7 | class upload(orig.upload):
8 | """Formerly used to upload packages to PyPI."""
9 |
10 | def run(self):
11 | msg = (
12 | "The upload command has been removed, use twine to upload "
13 | + "instead (https://pypi.org/p/twine)"
14 | )
15 |
16 | self.announce("ERROR: " + msg, log.ERROR)
17 | raise RemovedCommandError(msg)
18 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/command/register.py:
--------------------------------------------------------------------------------
1 | from distutils import log
2 | import distutils.command.register as orig
3 |
4 | from setuptools.errors import RemovedCommandError
5 |
6 |
7 | class register(orig.register):
8 | """Formerly used to register packages on PyPI."""
9 |
10 | def run(self):
11 | msg = (
12 | "The register command has been removed, use twine to upload "
13 | + "instead (https://pypi.org/p/twine)"
14 | )
15 |
16 | self.announce("ERROR: " + msg, log.ERROR)
17 |
18 | raise RemovedCommandError(msg)
19 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/cSHAKE128.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class cSHAKE_XOF(object):
6 | def __init__(self,
7 | data: Optional[Buffer] = ...,
8 | function: Optional[bytes] = ...,
9 | custom: Optional[bytes] = ...) -> None: ...
10 | def update(self, data: Buffer) -> cSHAKE_XOF: ...
11 | def read(self, length: int) -> bytes: ...
12 |
13 | def new(data: Optional[Buffer] = ...,
14 | custom: Optional[Buffer] = ...) -> cSHAKE_XOF: ...
15 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2015 Eric Larson
2 | #
3 | # SPDX-License-Identifier: Apache-2.0
4 |
5 | """CacheControl import Interface.
6 |
7 | Make it easy to import from cachecontrol without long namespaces.
8 | """
9 | __author__ = "Eric Larson"
10 | __email__ = "eric@ionrock.org"
11 | __version__ = "0.12.11"
12 |
13 | from .wrapper import CacheControl
14 | from .adapter import CacheControlAdapter
15 | from .controller import CacheController
16 |
17 | import logging
18 | logging.getLogger(__name__).addHandler(logging.NullHandler())
19 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py:
--------------------------------------------------------------------------------
1 | """distutils.command
2 |
3 | Package containing implementation of all the standard Distutils
4 | commands."""
5 |
6 | __all__ = [ # noqa: F822
7 | 'build',
8 | 'build_py',
9 | 'build_ext',
10 | 'build_clib',
11 | 'build_scripts',
12 | 'clean',
13 | 'install',
14 | 'install_lib',
15 | 'install_headers',
16 | 'install_scripts',
17 | 'install_data',
18 | 'sdist',
19 | 'register',
20 | 'bdist',
21 | 'bdist_dumb',
22 | 'bdist_rpm',
23 | 'check',
24 | 'upload',
25 | ]
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/IO/_PBES.pyi:
--------------------------------------------------------------------------------
1 | from typing import Dict, Optional, Callable
2 |
3 | class PbesError(ValueError):
4 | ...
5 |
6 | class PBES1(object):
7 | @staticmethod
8 | def decrypt(data: bytes, passphrase: bytes) -> bytes: ...
9 |
10 | class PBES2(object):
11 | @staticmethod
12 | def encrypt(data: bytes,
13 | passphrase: bytes,
14 | protection: str,
15 | prot_params: Optional[Dict] = ...,
16 | randfunc: Optional[Callable[[int],bytes]] = ...) -> bytes: ...
17 |
18 | @staticmethod
19 | def decrypt(data:bytes, passphrase: bytes) -> bytes: ...
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/MD2.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class MD4Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Buffer = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> MD4Hash: ...
15 | def new(self, data: Buffer = ...) -> MD4Hash: ...
16 |
17 | def new(data: Buffer = ...) -> MD4Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/MD5.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class MD5Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Buffer = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> MD5Hash: ...
15 | def new(self, data: Buffer = ...) -> MD5Hash: ...
16 |
17 | def new(data: Buffer = ...) -> MD5Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/vendor.txt:
--------------------------------------------------------------------------------
1 | CacheControl==0.12.11 # Make sure to update the license in pyproject.toml for this.
2 | colorama==0.4.5
3 | distlib==0.3.6
4 | distro==1.7.0
5 | msgpack==1.0.4
6 | packaging==21.3
7 | pep517==0.13.0
8 | platformdirs==2.5.2
9 | pyparsing==3.0.9
10 | requests==2.28.1
11 | certifi==2022.09.24
12 | chardet==5.0.0
13 | idna==3.4
14 | urllib3==1.26.12
15 | rich==12.5.1
16 | pygments==2.13.0
17 | typing_extensions==4.4.0
18 | resolvelib==0.8.1
19 | setuptools==44.0.0
20 | six==1.16.0
21 | tenacity==8.1.0
22 | tomli==2.0.1
23 | webencodings==0.5.1
24 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_reqs.py:
--------------------------------------------------------------------------------
1 | import setuptools.extern.jaraco.text as text
2 |
3 | from pkg_resources import Requirement
4 |
5 |
6 | def parse_strings(strs):
7 | """
8 | Yield requirement strings for each specification in `strs`.
9 |
10 | `strs` must be a string, or a (possibly-nested) iterable thereof.
11 | """
12 | return text.join_continuation(map(text.drop_comment, text.yield_lines(strs)))
13 |
14 |
15 | def parse(strs):
16 | """
17 | Deprecated drop-in replacement for pkg_resources.parse_requirements.
18 | """
19 | return map(Requirement, parse_strings(strs))
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/util/queue.py:
--------------------------------------------------------------------------------
1 | import collections
2 |
3 | from ..packages import six
4 | from ..packages.six.moves import queue
5 |
6 | if six.PY2:
7 | # Queue is imported for side effects on MS Windows. See issue #229.
8 | import Queue as _unused_module_Queue # noqa: F401
9 |
10 |
11 | class LifoQueue(queue.Queue):
12 | def _init(self, _):
13 | self.queue = collections.deque()
14 |
15 | def _qsize(self, len=len):
16 | return len(self.queue)
17 |
18 | def _put(self, item):
19 | self.queue.append(item)
20 |
21 | def _get(self):
22 | return self.queue.pop()
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/RIPEMD160.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class RIPEMD160Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Buffer = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> RIPEMD160Hash: ...
15 | def new(self, data: Buffer = ...) -> RIPEMD160Hash: ...
16 |
17 | def new(data: Buffer = ...) -> RIPEMD160Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py:
--------------------------------------------------------------------------------
1 | import collections
2 |
3 | from ..packages import six
4 | from ..packages.six.moves import queue
5 |
6 | if six.PY2:
7 | # Queue is imported for side effects on MS Windows. See issue #229.
8 | import Queue as _unused_module_Queue # noqa: F401
9 |
10 |
11 | class LifoQueue(queue.Queue):
12 | def _init(self, _):
13 | self.queue = collections.deque()
14 |
15 | def _qsize(self, len=len):
16 | return len(self.queue)
17 |
18 | def _put(self, item):
19 | self.queue.append(item)
20 |
21 | def _get(self):
22 | return self.queue.pop()
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/MD4.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class MD4Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Optional[Buffer] = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> MD4Hash: ...
15 | def new(self, data: Optional[Buffer] = ...) -> MD4Hash: ...
16 |
17 | def new(data: Optional[Buffer] = ...) -> MD4Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA1.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA1Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Optional[Buffer] = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> SHA1Hash: ...
15 | def new(self, data: Optional[Buffer] = ...) -> SHA1Hash: ...
16 |
17 | def new(data: Optional[Buffer] = ...) -> SHA1Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py:
--------------------------------------------------------------------------------
1 | # This file is dual licensed under the terms of the Apache License, Version
2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 | # for complete details.
4 |
5 | from .__about__ import (
6 | __author__,
7 | __copyright__,
8 | __email__,
9 | __license__,
10 | __summary__,
11 | __title__,
12 | __uri__,
13 | __version__,
14 | )
15 |
16 | __all__ = [
17 | "__title__",
18 | "__summary__",
19 | "__uri__",
20 | "__version__",
21 | "__author__",
22 | "__email__",
23 | "__license__",
24 | "__copyright__",
25 | ]
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA224.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA224Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Optional[Buffer] = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> SHA224Hash: ...
15 | def new(self, data: Optional[Buffer] = ...) -> SHA224Hash: ...
16 |
17 | def new(data: Optional[Buffer] = ...) -> SHA224Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA384.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA384Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self, data: Optional[Buffer] = ...) -> None: ...
11 | def update(self, data: Buffer) -> None: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def copy(self) -> SHA384Hash: ...
15 | def new(self, data: Optional[Buffer] = ...) -> SHA384Hash: ...
16 |
17 | def new(data: Optional[Buffer] = ...) -> SHA384Hash: ...
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py:
--------------------------------------------------------------------------------
1 | # This file is dual licensed under the terms of the Apache License, Version
2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 | # for complete details.
4 |
5 | from .__about__ import (
6 | __author__,
7 | __copyright__,
8 | __email__,
9 | __license__,
10 | __summary__,
11 | __title__,
12 | __uri__,
13 | __version__,
14 | )
15 |
16 | __all__ = [
17 | "__title__",
18 | "__summary__",
19 | "__uri__",
20 | "__version__",
21 | "__author__",
22 | "__email__",
23 | "__license__",
24 | "__copyright__",
25 | ]
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py:
--------------------------------------------------------------------------------
1 | # This file is dual licensed under the terms of the Apache License, Version
2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 | # for complete details.
4 |
5 | from .__about__ import (
6 | __author__,
7 | __copyright__,
8 | __email__,
9 | __license__,
10 | __summary__,
11 | __title__,
12 | __uri__,
13 | __version__,
14 | )
15 |
16 | __all__ = [
17 | "__title__",
18 | "__summary__",
19 | "__uri__",
20 | "__version__",
21 | "__author__",
22 | "__email__",
23 | "__license__",
24 | "__copyright__",
25 | ]
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Signature/pkcs1_15.pyi:
--------------------------------------------------------------------------------
1 | from typing import Optional
2 | from typing_extensions import Protocol
3 |
4 | from Crypto.PublicKey.RSA import RsaKey
5 |
6 | class Hash(Protocol):
7 | def digest(self) -> bytes: ...
8 |
9 | class PKCS115_SigScheme:
10 | def __init__(self, rsa_key: RsaKey) -> None: ...
11 | def can_sign(self) -> bool: ...
12 | def sign(self, msg_hash: Hash) -> bytes: ...
13 | def verify(self, msg_hash: Hash, signature: bytes) -> None: ...
14 |
15 | def _EMSA_PKCS1_V1_5_ENCODE(msg_hash: Hash, emLen: int, with_hash_parameters: Optional[bool]=True) -> bytes: ...
16 |
17 | def new(rsa_key: RsaKey) -> PKCS115_SigScheme: ...
18 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/KangarooTwelve.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class K12_XOF(object):
6 | def __init__(self,
7 | data: Optional[Buffer] = ...,
8 | custom: Optional[bytes] = ...) -> None: ...
9 | def update(self, data: Buffer) -> K12_XOF: ...
10 | def read(self, length: int) -> bytes: ...
11 | def new(self,
12 | data: Optional[Buffer] = ...,
13 | custom: Optional[bytes] = ...) -> None: ...
14 |
15 | def new(data: Optional[Buffer] = ...,
16 | custom: Optional[Buffer] = ...) -> K12_XOF: ...
17 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_mode_openpgp.pyi:
--------------------------------------------------------------------------------
1 | from types import ModuleType
2 | from typing import Union, Dict
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | __all__ = ['OpenPgpMode']
7 |
8 | class OpenPgpMode(object):
9 | block_size: int
10 | iv: Union[bytes, bytearray, memoryview]
11 | IV: Union[bytes, bytearray, memoryview]
12 |
13 | def __init__(self,
14 | factory: ModuleType,
15 | key: Buffer,
16 | iv: Buffer,
17 | cipher_params: Dict) -> None: ...
18 | def encrypt(self, plaintext: Buffer) -> bytes: ...
19 | def decrypt(self, plaintext: Buffer) -> bytes: ...
20 |
21 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/__init__.py:
--------------------------------------------------------------------------------
1 | """distutils
2 |
3 | The main package for the Python Module Distribution Utilities. Normally
4 | used from a setup script as
5 |
6 | from distutils.core import setup
7 |
8 | setup (...)
9 | """
10 |
11 | import sys
12 | import importlib
13 |
14 | __version__ = sys.version[: sys.version.index(' ')]
15 |
16 |
17 | try:
18 | # Allow Debian and pkgsrc (only) to customize system
19 | # behavior. Ref pypa/distutils#2 and pypa/distutils#16.
20 | # This hook is deprecated and no other environments
21 | # should use it.
22 | importlib.import_module('_distutils_system_mod')
23 | except ImportError:
24 | pass
25 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/__init__.py:
--------------------------------------------------------------------------------
1 | from typing import List, Optional
2 |
3 | import pip._internal.utils.inject_securetransport # noqa
4 | from pip._internal.utils import _log
5 |
6 | # init_logging() must be called before any call to logging.getLogger()
7 | # which happens at import of most modules.
8 | _log.init_logging()
9 |
10 |
11 | def main(args: (Optional[List[str]]) = None) -> int:
12 | """This is preserved for old console scripts that may still be referencing
13 | it.
14 |
15 | For additional details, see https://github.com/pypa/pip/issues/7498.
16 | """
17 | from pip._internal.utils.entrypoints import _wrapper
18 |
19 | return _wrapper(args)
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py:
--------------------------------------------------------------------------------
1 | # Expose a limited set of classes and functions so callers outside of
2 | # the vcs package don't need to import deeper than `pip._internal.vcs`.
3 | # (The test directory may still need to import from a vcs sub-package.)
4 | # Import all vcs modules to register each VCS in the VcsSupport object.
5 | import pip._internal.vcs.bazaar
6 | import pip._internal.vcs.git
7 | import pip._internal.vcs.mercurial
8 | import pip._internal.vcs.subversion # noqa: F401
9 | from pip._internal.vcs.versioncontrol import ( # noqa: F401
10 | RemoteNotFoundError,
11 | RemoteNotValidError,
12 | is_url,
13 | make_vcs_requirement_url,
14 | vcs,
15 | )
16 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py:
--------------------------------------------------------------------------------
1 | __all__ = [
2 | "__version__",
3 | "AbstractProvider",
4 | "AbstractResolver",
5 | "BaseReporter",
6 | "InconsistentCandidate",
7 | "Resolver",
8 | "RequirementsConflicted",
9 | "ResolutionError",
10 | "ResolutionImpossible",
11 | "ResolutionTooDeep",
12 | ]
13 |
14 | __version__ = "0.8.1"
15 |
16 |
17 | from .providers import AbstractProvider, AbstractResolver
18 | from .reporters import BaseReporter
19 | from .resolvers import (
20 | InconsistentCandidate,
21 | RequirementsConflicted,
22 | ResolutionError,
23 | ResolutionImpossible,
24 | ResolutionTooDeep,
25 | Resolver,
26 | )
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_mode_ecb.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, overload
2 |
3 | from Crypto.Util._raw_api import SmartPointer
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | __all__ = [ 'EcbMode' ]
8 |
9 | class EcbMode(object):
10 | def __init__(self, block_cipher: SmartPointer) -> None: ...
11 | @overload
12 | def encrypt(self, plaintext: Buffer) -> bytes: ...
13 | @overload
14 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
15 | @overload
16 | def decrypt(self, plaintext: Buffer) -> bytes: ...
17 | @overload
18 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
19 |
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/resolution/base.py:
--------------------------------------------------------------------------------
1 | from typing import Callable, List, Optional
2 |
3 | from pip._internal.req.req_install import InstallRequirement
4 | from pip._internal.req.req_set import RequirementSet
5 |
6 | InstallRequirementProvider = Callable[
7 | [str, Optional[InstallRequirement]], InstallRequirement
8 | ]
9 |
10 |
11 | class BaseResolver:
12 | def resolve(
13 | self, root_reqs: List[InstallRequirement], check_supported_wheels: bool
14 | ) -> RequirementSet:
15 | raise NotImplementedError()
16 |
17 | def get_installation_order(
18 | self, req_set: RequirementSet
19 | ) -> List[InstallRequirement]:
20 | raise NotImplementedError()
21 |
--------------------------------------------------------------------------------
/CHANGELOG.MD:
--------------------------------------------------------------------------------
1 | # Changelog
2 | ## 1.4.2 | 2025-08-01
3 | Bugfixes and optimizations to Payment classes.
4 | ## Version changes.
5 | - [FIXED] Response structure for Francophone Mobile Money Payments.
6 | - [FIXED] Code clean-up
7 |
8 | ## 1.4.1 | 2024-08-15
9 | Update Virtual Account.
10 | ## Version changes.
11 | - [FIXED] Update virtual account creation call.
12 | - [FIXED] Code clean-up
13 |
14 | ## 1.4.0 | 2023-07-21
15 | Updated payment methods.
16 | ### Version changes.
17 | - [FIXED] Update "Pay with Bank (NG)" endpoint.
18 | - [ADDED] eNaira payment method.
19 | - [ADDED] Pay with Bank Transfer payment method.
20 | - [ADDED] Tanzania mobile money payment method.
21 | - [ADDED] Support for EUR and GBP on pay with Bank method.
22 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py:
--------------------------------------------------------------------------------
1 | import os
2 | import errno
3 | import sys
4 |
5 | from pip._vendor import six
6 |
7 |
8 | def _makedirs_31(path, exist_ok=False):
9 | try:
10 | os.makedirs(path)
11 | except OSError as exc:
12 | if not exist_ok or exc.errno != errno.EEXIST:
13 | raise
14 |
15 |
16 | # rely on compatibility behavior until mode considerations
17 | # and exists_ok considerations are disentangled.
18 | # See https://github.com/pypa/setuptools/pull/1083#issuecomment-315168663
19 | needs_makedirs = (
20 | six.PY2 or
21 | (3, 4) <= sys.version_info < (3, 4, 1)
22 | )
23 | makedirs = _makedirs_31 if needs_makedirs else os.makedirs
24 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA256.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 |
4 | class SHA256Hash(object):
5 | digest_size: int
6 | block_size: int
7 | oid: str
8 | def __init__(self, data: Optional[Union[bytes, bytearray, memoryview]]=None) -> None: ...
9 | def update(self, data: Union[bytes, bytearray, memoryview]) -> None: ...
10 | def digest(self) -> bytes: ...
11 | def hexdigest(self) -> str: ...
12 | def copy(self) -> SHA256Hash: ...
13 | def new(self, data: Optional[Union[bytes, bytearray, memoryview]]=None) -> SHA256Hash: ...
14 |
15 | def new(data: Optional[Union[bytes, bytearray, memoryview]]=None) -> SHA256Hash: ...
16 |
17 | digest_size: int
18 | block_size: int
19 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA3_224.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA3_224_Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 | def __init__(self, data: Optional[Buffer], update_after_digest: bool) -> None: ...
10 | def update(self, data: Buffer) -> SHA3_224_Hash: ...
11 | def digest(self) -> bytes: ...
12 | def hexdigest(self) -> str: ...
13 | def copy(self) -> SHA3_224_Hash: ...
14 | def new(self, data: Optional[Buffer]) -> SHA3_224_Hash: ...
15 |
16 | def new(__data: Buffer = ..., update_after_digest: bool = ...) -> SHA3_224_Hash: ...
17 |
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA3_256.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA3_256_Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 | def __init__(self, data: Optional[Buffer], update_after_digest: bool) -> None: ...
10 | def update(self, data: Buffer) -> SHA3_256_Hash: ...
11 | def digest(self) -> bytes: ...
12 | def hexdigest(self) -> str: ...
13 | def copy(self) -> SHA3_256_Hash: ...
14 | def new(self, data: Optional[Buffer]) -> SHA3_256_Hash: ...
15 |
16 | def new(__data: Buffer = ..., update_after_digest: bool = ...) -> SHA3_256_Hash: ...
17 |
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA3_384.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA3_384_Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 | def __init__(self, data: Optional[Buffer], update_after_digest: bool) -> None: ...
10 | def update(self, data: Buffer) -> SHA3_384_Hash: ...
11 | def digest(self) -> bytes: ...
12 | def hexdigest(self) -> str: ...
13 | def copy(self) -> SHA3_384_Hash: ...
14 | def new(self, data: Optional[Buffer]) -> SHA3_384_Hash: ...
15 |
16 | def new(__data: Buffer = ..., update_after_digest: bool = ...) -> SHA3_384_Hash: ...
17 |
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA3_512.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA3_512_Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 | def __init__(self, data: Optional[Buffer], update_after_digest: bool) -> None: ...
10 | def update(self, data: Buffer) -> SHA3_512_Hash: ...
11 | def digest(self) -> bytes: ...
12 | def hexdigest(self) -> str: ...
13 | def copy(self) -> SHA3_512_Hash: ...
14 | def new(self, data: Optional[Buffer]) -> SHA3_512_Hash: ...
15 |
16 | def new(__data: Buffer = ..., update_after_digest: bool = ...) -> SHA3_512_Hash: ...
17 |
18 | digest_size: int
19 | block_size: int
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/requests/certs.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | """
4 | requests.certs
5 | ~~~~~~~~~~~~~~
6 |
7 | This module returns the preferred default CA certificate bundle. There is
8 | only one — the one from the certifi package.
9 |
10 | If you are packaging Requests, e.g., for a Linux distribution or a managed
11 | environment, you can change the definition of where() to return a separately
12 | packaged CA bundle.
13 | """
14 |
15 | import os
16 |
17 | if "_PIP_STANDALONE_CERT" not in os.environ:
18 | from pip._vendor.certifi import where
19 | else:
20 | def where():
21 | return os.environ["_PIP_STANDALONE_CERT"]
22 |
23 | if __name__ == "__main__":
24 | print(where())
25 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | #
3 | # Copyright (C) 2012-2022 Vinay Sajip.
4 | # Licensed to the Python Software Foundation under a contributor agreement.
5 | # See LICENSE.txt and CONTRIBUTORS.txt.
6 | #
7 | import logging
8 |
9 | __version__ = '0.3.6'
10 |
11 | class DistlibException(Exception):
12 | pass
13 |
14 | try:
15 | from logging import NullHandler
16 | except ImportError: # pragma: no cover
17 | class NullHandler(logging.Handler):
18 | def handle(self, record): pass
19 | def emit(self, record): pass
20 | def createLock(self): self.lock = None
21 |
22 | logger = logging.getLogger(__name__)
23 | logger.addHandler(NullHandler())
24 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py:
--------------------------------------------------------------------------------
1 | import io
2 | import os
3 | import zipfile
4 |
5 |
6 | def dir_to_zipfile(root):
7 | """Construct an in-memory zip file for a directory."""
8 | buffer = io.BytesIO()
9 | zip_file = zipfile.ZipFile(buffer, 'w')
10 | for root, dirs, files in os.walk(root):
11 | for path in dirs:
12 | fs_path = os.path.join(root, path)
13 | rel_path = os.path.relpath(fs_path, root)
14 | zip_file.writestr(rel_path + '/', '')
15 | for path in files:
16 | fs_path = os.path.join(root, path)
17 | rel_path = os.path.relpath(fs_path, root)
18 | zip_file.write(fs_path, rel_path)
19 | return zip_file
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/importlib_resources/__init__.py:
--------------------------------------------------------------------------------
1 | """Read resources contained within a package."""
2 |
3 | from ._common import (
4 | as_file,
5 | files,
6 | Package,
7 | )
8 |
9 | from ._legacy import (
10 | contents,
11 | open_binary,
12 | read_binary,
13 | open_text,
14 | read_text,
15 | is_resource,
16 | path,
17 | Resource,
18 | )
19 |
20 | from .abc import ResourceReader
21 |
22 |
23 | __all__ = [
24 | 'Package',
25 | 'Resource',
26 | 'ResourceReader',
27 | 'as_file',
28 | 'contents',
29 | 'files',
30 | 'is_resource',
31 | 'open_binary',
32 | 'open_text',
33 | 'path',
34 | 'read_binary',
35 | 'read_text',
36 | ]
37 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/__init__.py:
--------------------------------------------------------------------------------
1 | """Read resources contained within a package."""
2 |
3 | from ._common import (
4 | as_file,
5 | files,
6 | Package,
7 | )
8 |
9 | from ._legacy import (
10 | contents,
11 | open_binary,
12 | read_binary,
13 | open_text,
14 | read_text,
15 | is_resource,
16 | path,
17 | Resource,
18 | )
19 |
20 | from .abc import ResourceReader
21 |
22 |
23 | __all__ = [
24 | 'Package',
25 | 'Resource',
26 | 'ResourceReader',
27 | 'as_file',
28 | 'contents',
29 | 'files',
30 | 'is_resource',
31 | 'open_binary',
32 | 'open_text',
33 | 'path',
34 | 'read_binary',
35 | 'read_text',
36 | ]
37 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA512.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class SHA512Hash(object):
6 | digest_size: int
7 | block_size: int
8 | oid: str
9 |
10 | def __init__(self,
11 | data: Optional[Buffer],
12 | truncate: Optional[str]) -> None: ...
13 | def update(self, data: Buffer) -> None: ...
14 | def digest(self) -> bytes: ...
15 | def hexdigest(self) -> str: ...
16 | def copy(self) -> SHA512Hash: ...
17 | def new(self, data: Optional[Buffer] = ...) -> SHA512Hash: ...
18 |
19 | def new(data: Optional[Buffer] = ...,
20 | truncate: Optional[str] = ...) -> SHA512Hash: ...
21 | digest_size: int
22 | block_size: int
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/HMAC.pyi:
--------------------------------------------------------------------------------
1 | from types import ModuleType
2 | from typing import Union, Dict
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | digest_size: int
7 |
8 | class HMAC(object):
9 | digest_size: int
10 |
11 | def __init__(self,
12 | key: Buffer,
13 | msg: Buffer,
14 | digestmod: ModuleType) -> None: ...
15 | def update(self, msg: Buffer) -> HMAC: ...
16 | def copy(self) -> HMAC: ...
17 | def digest(self) -> bytes: ...
18 | def hexdigest(self) -> str: ...
19 | def verify(self, mac_tag: Buffer) -> None: ...
20 | def hexverify(self, hex_mac_tag: str) -> None: ...
21 |
22 |
23 | def new(key: Buffer,
24 | msg: Buffer = ...,
25 | digestmod: ModuleType = ...) -> HMAC: ...
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/py39compat.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import platform
3 |
4 |
5 | def add_ext_suffix_39(vars):
6 | """
7 | Ensure vars contains 'EXT_SUFFIX'. pypa/distutils#130
8 | """
9 | import _imp
10 |
11 | ext_suffix = _imp.extension_suffixes()[0]
12 | vars.update(
13 | EXT_SUFFIX=ext_suffix,
14 | # sysconfig sets SO to match EXT_SUFFIX, so maintain
15 | # that expectation.
16 | # https://github.com/python/cpython/blob/785cc6770588de087d09e89a69110af2542be208/Lib/sysconfig.py#L671-L673
17 | SO=ext_suffix,
18 | )
19 |
20 |
21 | needs_ext_suffix = sys.version_info < (3, 10) and platform.system() == 'Windows'
22 | add_ext_suffix = add_ext_suffix_39 if needs_ext_suffix else lambda vars: None
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/TupleHash128.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any, Union
2 | from types import ModuleType
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | class TupleHash(object):
7 | digest_size: int
8 | def __init__(self,
9 | custom: bytes,
10 | cshake: ModuleType,
11 | digest_size: int) -> None: ...
12 | def update(self, data: Buffer) -> TupleHash: ...
13 | def digest(self) -> bytes: ...
14 | def hexdigest(self) -> str: ...
15 | def new(self,
16 | digest_bytes: int = ...,
17 | digest_bits: int = ...,
18 | custom: int = ...) -> TupleHash: ...
19 |
20 | def new(digest_bytes: int = ...,
21 | digest_bits: int = ...,
22 | custom: int = ...) -> TupleHash: ...
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/PublicKey/ElGamal.pyi:
--------------------------------------------------------------------------------
1 | from typing import Callable, Union, Tuple, Optional
2 |
3 | __all__ = ['generate', 'construct', 'ElGamalKey']
4 |
5 | RNG = Callable[[int], bytes]
6 |
7 | def generate(bits: int, randfunc: RNG) -> ElGamalKey: ...
8 | def construct(tup: Union[Tuple[int, int, int], Tuple[int, int, int, int]]) -> ElGamalKey: ...
9 |
10 | class ElGamalKey(object):
11 | def __init__(self, randfunc: Optional[RNG]=None) -> None: ...
12 | def has_private(self) -> bool: ...
13 | def can_encrypt(self) -> bool: ...
14 | def can_sign(self) -> bool: ...
15 | def publickey(self) -> ElGamalKey: ...
16 | def __eq__(self, other: object) -> bool: ...
17 | def __ne__(self, other: object) -> bool: ...
18 | def __getstate__(self) -> None: ...
19 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/command/saveopts.py:
--------------------------------------------------------------------------------
1 | from setuptools.command.setopt import edit_config, option_base
2 |
3 |
4 | class saveopts(option_base):
5 | """Save command-line options to a file"""
6 |
7 | description = "save supplied options to setup.cfg or other config file"
8 |
9 | def run(self):
10 | dist = self.distribution
11 | settings = {}
12 |
13 | for cmd in dist.command_options:
14 |
15 | if cmd == 'saveopts':
16 | continue # don't save our own options!
17 |
18 | for opt, (src, val) in dist.get_option_dict(cmd).items():
19 | if src == "command line":
20 | settings.setdefault(cmd, {})[opt] = val
21 |
22 | edit_config(self.filename, settings, self.dry_run)
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/Poly1305.pyi:
--------------------------------------------------------------------------------
1 | from types import ModuleType
2 | from typing import Union
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | class Poly1305_MAC(object):
7 | block_size: int
8 | digest_size: int
9 | oid: str
10 |
11 | def __init__(self,
12 | r : int,
13 | s : int,
14 | data : Buffer) -> None: ...
15 | def update(self, data: Buffer) -> Poly1305_MAC: ...
16 | def digest(self) -> bytes: ...
17 | def hexdigest(self) -> str: ...
18 | def verify(self, mac_tag: Buffer) -> None: ...
19 | def hexverify(self, hex_mac_tag: str) -> None: ...
20 |
21 | def new(key: Buffer,
22 | cipher: ModuleType,
23 | nonce: Buffer = ...,
24 | data: Buffer = ...) -> Poly1305_MAC: ...
25 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/requests/packages.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | # This code exists for backwards compatibility reasons.
4 | # I don't like it either. Just look the other way. :)
5 |
6 | for package in ('urllib3', 'idna', 'chardet'):
7 | vendored_package = "pip._vendor." + package
8 | locals()[package] = __import__(vendored_package)
9 | # This traversal is apparently necessary such that the identities are
10 | # preserved (requests.packages.urllib3.* is urllib3.*)
11 | for mod in list(sys.modules):
12 | if mod == vendored_package or mod.startswith(vendored_package + '.'):
13 | unprefixed_mod = mod[len("pip._vendor."):]
14 | sys.modules['pip._vendor.requests.packages.' + unprefixed_mod] = sys.modules[mod]
15 |
16 | # Kinda cool, though, right?
17 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/PKCS1_v1_5.pyi:
--------------------------------------------------------------------------------
1 | from typing import Callable, Union, Any, Optional, TypeVar
2 |
3 | from Crypto.PublicKey.RSA import RsaKey
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 | T = TypeVar('T')
7 |
8 | class PKCS115_Cipher:
9 | def __init__(self,
10 | key: RsaKey,
11 | randfunc: Callable[[int], bytes]) -> None: ...
12 | def can_encrypt(self) -> bool: ...
13 | def can_decrypt(self) -> bool: ...
14 | def encrypt(self, message: Buffer) -> bytes: ...
15 | def decrypt(self, ciphertext: Buffer,
16 | sentinel: T,
17 | expected_pt_len: Optional[int] = ...) -> Union[bytes, T]: ...
18 |
19 | def new(key: RsaKey,
20 | randfunc: Optional[Callable[[int], bytes]] = ...) -> PKCS115_Cipher: ...
21 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_itertools.py:
--------------------------------------------------------------------------------
1 | from setuptools.extern.more_itertools import consume # noqa: F401
2 |
3 |
4 | # copied from jaraco.itertools 6.1
5 | def ensure_unique(iterable, key=lambda x: x):
6 | """
7 | Wrap an iterable to raise a ValueError if non-unique values are encountered.
8 |
9 | >>> list(ensure_unique('abc'))
10 | ['a', 'b', 'c']
11 | >>> consume(ensure_unique('abca'))
12 | Traceback (most recent call last):
13 | ...
14 | ValueError: Duplicate element 'a' encountered.
15 | """
16 | seen = set()
17 | seen_add = seen.add
18 | for element in iterable:
19 | k = key(element)
20 | if k in seen:
21 | raise ValueError(f"Duplicate element {element!r} encountered.")
22 | seen_add(k)
23 | yield element
24 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py:
--------------------------------------------------------------------------------
1 | # This file is dual licensed under the terms of the Apache License, Version
2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 | # for complete details.
4 |
5 | __all__ = [
6 | "__title__",
7 | "__summary__",
8 | "__uri__",
9 | "__version__",
10 | "__author__",
11 | "__email__",
12 | "__license__",
13 | "__copyright__",
14 | ]
15 |
16 | __title__ = "packaging"
17 | __summary__ = "Core utilities for Python packages"
18 | __uri__ = "https://github.com/pypa/packaging"
19 |
20 | __version__ = "21.3"
21 |
22 | __author__ = "Donald Stufft and individual contributors"
23 | __email__ = "donald@stufft.io"
24 |
25 | __license__ = "BSD-2-Clause or Apache-2.0"
26 | __copyright__ = "2014-2019 %s" % __author__
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py:
--------------------------------------------------------------------------------
1 | # This file is dual licensed under the terms of the Apache License, Version
2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 | # for complete details.
4 |
5 | __all__ = [
6 | "__title__",
7 | "__summary__",
8 | "__uri__",
9 | "__version__",
10 | "__author__",
11 | "__email__",
12 | "__license__",
13 | "__copyright__",
14 | ]
15 |
16 | __title__ = "packaging"
17 | __summary__ = "Core utilities for Python packages"
18 | __uri__ = "https://github.com/pypa/packaging"
19 |
20 | __version__ = "21.3"
21 |
22 | __author__ = "Donald Stufft and individual contributors"
23 | __email__ = "donald@stufft.io"
24 |
25 | __license__ = "BSD-2-Clause or Apache-2.0"
26 | __copyright__ = "2014-2019 %s" % __author__
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py:
--------------------------------------------------------------------------------
1 | # This file is dual licensed under the terms of the Apache License, Version
2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3 | # for complete details.
4 |
5 | __all__ = [
6 | "__title__",
7 | "__summary__",
8 | "__uri__",
9 | "__version__",
10 | "__author__",
11 | "__email__",
12 | "__license__",
13 | "__copyright__",
14 | ]
15 |
16 | __title__ = "packaging"
17 | __summary__ = "Core utilities for Python packages"
18 | __uri__ = "https://github.com/pypa/packaging"
19 |
20 | __version__ = "21.3"
21 |
22 | __author__ = "Donald Stufft and individual contributors"
23 | __email__ = "donald@stufft.io"
24 |
25 | __license__ = "BSD-2-Clause or Apache-2.0"
26 | __copyright__ = "2014-2019 %s" % __author__
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_mode_cbc.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, overload
2 |
3 | from Crypto.Util._raw_api import SmartPointer
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | __all__ = ['CbcMode']
8 |
9 | class CbcMode(object):
10 | block_size: int
11 | iv: Buffer
12 | IV: Buffer
13 |
14 | def __init__(self,
15 | block_cipher: SmartPointer,
16 | iv: Buffer) -> None: ...
17 | @overload
18 | def encrypt(self, plaintext: Buffer) -> bytes: ...
19 | @overload
20 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
21 | @overload
22 | def decrypt(self, plaintext: Buffer) -> bytes: ...
23 | @overload
24 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
25 |
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/errors.py:
--------------------------------------------------------------------------------
1 | class ConsoleError(Exception):
2 | """An error in console operation."""
3 |
4 |
5 | class StyleError(Exception):
6 | """An error in styles."""
7 |
8 |
9 | class StyleSyntaxError(ConsoleError):
10 | """Style was badly formatted."""
11 |
12 |
13 | class MissingStyle(StyleError):
14 | """No such style."""
15 |
16 |
17 | class StyleStackError(ConsoleError):
18 | """Style stack is invalid."""
19 |
20 |
21 | class NotRenderableError(ConsoleError):
22 | """Object is not renderable."""
23 |
24 |
25 | class MarkupError(ConsoleError):
26 | """Markup was badly formatted."""
27 |
28 |
29 | class LiveError(ConsoleError):
30 | """Error related to Live display."""
31 |
32 |
33 | class NoAltScreen(ConsoleError):
34 | """Alt screen mode was required."""
35 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_mode_ofb.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, overload
2 |
3 | from Crypto.Util._raw_api import SmartPointer
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | __all__ = ['OfbMode']
8 |
9 | class OfbMode(object):
10 | block_size: int
11 | iv: Buffer
12 | IV: Buffer
13 |
14 | def __init__(self,
15 | block_cipher: SmartPointer,
16 | iv: Buffer) -> None: ...
17 | @overload
18 | def encrypt(self, plaintext: Buffer) -> bytes: ...
19 | @overload
20 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
21 | @overload
22 | def decrypt(self, plaintext: Buffer) -> bytes: ...
23 | @overload
24 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
25 |
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 |
4 | def _pythonlib_compat():
5 | """
6 | On Python 3.7 and earlier, distutils would include the Python
7 | library. See pypa/distutils#9.
8 | """
9 | from distutils import sysconfig
10 |
11 | if not sysconfig.get_config_var('Py_ENABLED_SHARED'):
12 | return
13 |
14 | yield 'python{}.{}{}'.format(
15 | sys.hexversion >> 24,
16 | (sys.hexversion >> 16) & 0xFF,
17 | sysconfig.get_config_var('ABIFLAGS'),
18 | )
19 |
20 |
21 | def compose(f1, f2):
22 | return lambda *args, **kwargs: f1(f2(*args, **kwargs))
23 |
24 |
25 | pythonlib = (
26 | compose(list, _pythonlib_compat)
27 | if sys.version_info < (3, 8)
28 | and sys.platform != 'darwin'
29 | and sys.platform[:3] != 'aix'
30 | else list
31 | )
32 |
--------------------------------------------------------------------------------
/.github/workflows/security-scan.yml:
--------------------------------------------------------------------------------
1 | name: Security scan on all changes (Commits/PRs)
2 |
3 | on:
4 | push:
5 | branches: ['main', 'master', 'pilot', 'dev']
6 | pull_request:
7 | types:
8 | - opened
9 |
10 | jobs:
11 | code-check:
12 | runs-on: ubuntu-latest
13 | env:
14 | OS: ubuntu-latest
15 | PYTHON: '3.8'
16 | steps:
17 | - name: checkout code
18 | uses: actions/checkout@v4
19 |
20 |
21 | - name: Checkmarx One ClI Action
22 | uses: checkmarx/ast-github-action@main
23 | with:
24 | project_name: Python-v2
25 | cx_tenant: Flutterwave
26 | base_uri: https://eu.ast.checkmarx.net/
27 | cx_client_id: ${{ secrets.CX_CLIENT_ID }}
28 | cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
29 | additional_params: --scan-types sast,iac-security,api-security,sca,container-security
30 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/keccak.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Any
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class Keccak_Hash(object):
6 | digest_size: int
7 | def __init__(self,
8 | data: Buffer,
9 | digest_bytes: int,
10 | update_after_digest: bool) -> None: ...
11 | def update(self, data: Buffer) -> Keccak_Hash: ...
12 | def digest(self) -> bytes: ...
13 | def hexdigest(self) -> str: ...
14 | def new(self,
15 | data: Buffer = ...,
16 | digest_bytes: int = ...,
17 | digest_bits: int = ...,
18 | update_after_digest: bool = ...) -> Keccak_Hash: ...
19 |
20 | def new(data: Buffer = ...,
21 | digest_bytes: int = ...,
22 | digest_bits: int = ...,
23 | update_after_digest: bool = ...) -> Keccak_Hash: ...
24 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_mode_cfb.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, overload
2 |
3 | from Crypto.Util._raw_api import SmartPointer
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | __all__ = ['CfbMode']
8 |
9 |
10 | class CfbMode(object):
11 | block_size: int
12 | iv: Buffer
13 | IV: Buffer
14 |
15 | def __init__(self,
16 | block_cipher: SmartPointer,
17 | iv: Buffer,
18 | segment_size: int) -> None: ...
19 | @overload
20 | def encrypt(self, plaintext: Buffer) -> bytes: ...
21 | @overload
22 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
23 | @overload
24 | def decrypt(self, plaintext: Buffer) -> bytes: ...
25 | @overload
26 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/distributions/installed.py:
--------------------------------------------------------------------------------
1 | from pip._internal.distributions.base import AbstractDistribution
2 | from pip._internal.index.package_finder import PackageFinder
3 | from pip._internal.metadata import BaseDistribution
4 |
5 |
6 | class InstalledDistribution(AbstractDistribution):
7 | """Represents an installed package.
8 |
9 | This does not need any preparation as the required information has already
10 | been computed.
11 | """
12 |
13 | def get_metadata_distribution(self) -> BaseDistribution:
14 | assert self.req.satisfied_by is not None, "not actually installed"
15 | return self.req.satisfied_by
16 |
17 | def prepare_distribution_metadata(
18 | self,
19 | finder: PackageFinder,
20 | build_isolation: bool,
21 | check_build_deps: bool,
22 | ) -> None:
23 | pass
24 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py:
--------------------------------------------------------------------------------
1 | """Filetype information.
2 | """
3 |
4 | from typing import Tuple
5 |
6 | from pip._internal.utils.misc import splitext
7 |
8 | WHEEL_EXTENSION = ".whl"
9 | BZ2_EXTENSIONS: Tuple[str, ...] = (".tar.bz2", ".tbz")
10 | XZ_EXTENSIONS: Tuple[str, ...] = (
11 | ".tar.xz",
12 | ".txz",
13 | ".tlz",
14 | ".tar.lz",
15 | ".tar.lzma",
16 | )
17 | ZIP_EXTENSIONS: Tuple[str, ...] = (".zip", WHEEL_EXTENSION)
18 | TAR_EXTENSIONS: Tuple[str, ...] = (".tar.gz", ".tgz", ".tar")
19 | ARCHIVE_EXTENSIONS = ZIP_EXTENSIONS + BZ2_EXTENSIONS + TAR_EXTENSIONS + XZ_EXTENSIONS
20 |
21 |
22 | def is_archive_file(name: str) -> bool:
23 | """Return True if `name` is a considered as an archive file."""
24 | ext = splitext(name)[1].lower()
25 | if ext in ARCHIVE_EXTENSIONS:
26 | return True
27 | return False
28 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/BLAKE2s.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any, Union
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class BLAKE2s_Hash(object):
6 | block_size: int
7 | digest_size: int
8 | oid: str
9 |
10 | def __init__(self,
11 | data: Buffer,
12 | key: Buffer,
13 | digest_bytes: bytes,
14 | update_after_digest: bool) -> None: ...
15 | def update(self, data: Buffer) -> BLAKE2s_Hash: ...
16 | def digest(self) -> bytes: ...
17 | def hexdigest(self) -> str: ...
18 | def verify(self, mac_tag: Buffer) -> None: ...
19 | def hexverify(self, hex_mac_tag: str) -> None: ...
20 | def new(self, **kwargs: Any) -> BLAKE2s_Hash: ...
21 |
22 | def new(data: Buffer = ...,
23 | digest_bytes: int = ...,
24 | digest_bits: int = ...,
25 | key: Buffer = ...,
26 | update_after_digest: bool = ...) -> BLAKE2s_Hash: ...
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/windows_support.py:
--------------------------------------------------------------------------------
1 | import platform
2 |
3 |
4 | def windows_only(func):
5 | if platform.system() != 'Windows':
6 | return lambda *args, **kwargs: None
7 | return func
8 |
9 |
10 | @windows_only
11 | def hide_file(path):
12 | """
13 | Set the hidden attribute on a file or directory.
14 |
15 | From http://stackoverflow.com/questions/19622133/
16 |
17 | `path` must be text.
18 | """
19 | import ctypes
20 | __import__('ctypes.wintypes')
21 | SetFileAttributes = ctypes.windll.kernel32.SetFileAttributesW
22 | SetFileAttributes.argtypes = ctypes.wintypes.LPWSTR, ctypes.wintypes.DWORD
23 | SetFileAttributes.restype = ctypes.wintypes.BOOL
24 |
25 | FILE_ATTRIBUTE_HIDDEN = 0x02
26 |
27 | ret = SetFileAttributes(path, FILE_ATTRIBUTE_HIDDEN)
28 | if not ret:
29 | raise ctypes.WinError()
30 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/Salsa20.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Tuple, Optional, overload
2 |
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | class Salsa20Cipher:
7 | nonce: bytes
8 | block_size: int
9 | key_size: int
10 |
11 | def __init__(self,
12 | key: Buffer,
13 | nonce: Buffer) -> None: ...
14 | @overload
15 | def encrypt(self, plaintext: Buffer) -> bytes: ...
16 | @overload
17 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
18 | @overload
19 | def decrypt(self, plaintext: Buffer) -> bytes: ...
20 | @overload
21 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
22 |
23 | def new(key: Buffer, nonce: Optional[Buffer] = ...) -> Salsa20Cipher: ...
24 |
25 | block_size: int
26 | key_size: Tuple[int, int]
27 |
28 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/ChaCha20.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, overload
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | def _HChaCha20(key: Buffer, nonce: Buffer) -> bytearray: ...
6 |
7 | class ChaCha20Cipher:
8 | block_size: int
9 | nonce: bytes
10 |
11 | def __init__(self, key: Buffer, nonce: Buffer) -> None: ...
12 | @overload
13 | def encrypt(self, plaintext: Buffer) -> bytes: ...
14 | @overload
15 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
16 | @overload
17 | def decrypt(self, plaintext: Buffer) -> bytes: ...
18 | @overload
19 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
20 | def seek(self, position: int) -> None: ...
21 |
22 | def new(key: Buffer, nonce: Buffer = ...) -> ChaCha20Cipher: ...
23 |
24 | block_size: int
25 | key_size: int
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests/hooks.py:
--------------------------------------------------------------------------------
1 | """
2 | requests.hooks
3 | ~~~~~~~~~~~~~~
4 |
5 | This module provides the capabilities for the Requests hooks system.
6 |
7 | Available hooks:
8 |
9 | ``response``:
10 | The response generated from a Request.
11 | """
12 | HOOKS = ["response"]
13 |
14 |
15 | def default_hooks():
16 | return {event: [] for event in HOOKS}
17 |
18 |
19 | # TODO: response is the only one
20 |
21 |
22 | def dispatch_hook(key, hooks, hook_data, **kwargs):
23 | """Dispatches a hook dictionary on a given piece of data."""
24 | hooks = hooks or {}
25 | hooks = hooks.get(key)
26 | if hooks:
27 | if hasattr(hooks, "__call__"):
28 | hooks = [hooks]
29 | for hook in hooks:
30 | _hook_data = hook(hook_data, **kwargs)
31 | if _hook_data is not None:
32 | hook_data = _hook_data
33 | return hook_data
34 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_path.py:
--------------------------------------------------------------------------------
1 | import os
2 | from typing import Union
3 |
4 | _Path = Union[str, os.PathLike]
5 |
6 |
7 | def ensure_directory(path):
8 | """Ensure that the parent directory of `path` exists"""
9 | dirname = os.path.dirname(path)
10 | os.makedirs(dirname, exist_ok=True)
11 |
12 |
13 | def same_path(p1: _Path, p2: _Path) -> bool:
14 | """Differs from os.path.samefile because it does not require paths to exist.
15 | Purely string based (no comparison between i-nodes).
16 | >>> same_path("a/b", "./a/b")
17 | True
18 | >>> same_path("a/b", "a/./b")
19 | True
20 | >>> same_path("a/b", "././a/b")
21 | True
22 | >>> same_path("a/b", "./a/b/c/..")
23 | True
24 | >>> same_path("a/b", "../a/b/c")
25 | False
26 | >>> same_path("a", "a/b")
27 | False
28 | """
29 | return os.path.normpath(p1) == os.path.normpath(p2)
30 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/models/scheme.py:
--------------------------------------------------------------------------------
1 | """
2 | For types associated with installation schemes.
3 |
4 | For a general overview of available schemes and their context, see
5 | https://docs.python.org/3/install/index.html#alternate-installation.
6 | """
7 |
8 |
9 | SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"]
10 |
11 |
12 | class Scheme:
13 | """A Scheme holds paths which are used as the base directories for
14 | artifacts associated with a Python package.
15 | """
16 |
17 | __slots__ = SCHEME_KEYS
18 |
19 | def __init__(
20 | self,
21 | platlib: str,
22 | purelib: str,
23 | headers: str,
24 | scripts: str,
25 | data: str,
26 | ) -> None:
27 | self.platlib = platlib
28 | self.purelib = purelib
29 | self.headers = headers
30 | self.scripts = scripts
31 | self.data = data
32 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py:
--------------------------------------------------------------------------------
1 | """
2 | requests.hooks
3 | ~~~~~~~~~~~~~~
4 |
5 | This module provides the capabilities for the Requests hooks system.
6 |
7 | Available hooks:
8 |
9 | ``response``:
10 | The response generated from a Request.
11 | """
12 | HOOKS = ["response"]
13 |
14 |
15 | def default_hooks():
16 | return {event: [] for event in HOOKS}
17 |
18 |
19 | # TODO: response is the only one
20 |
21 |
22 | def dispatch_hook(key, hooks, hook_data, **kwargs):
23 | """Dispatches a hook dictionary on a given piece of data."""
24 | hooks = hooks or {}
25 | hooks = hooks.get(key)
26 | if hooks:
27 | if hasattr(hooks, "__call__"):
28 | hooks = [hooks]
29 | for hook in hooks:
30 | _hook_data = hook(hook_data, **kwargs)
31 | if _hook_data is not None:
32 | hook_data = _hook_data
33 | return hook_data
34 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Random/random.pyi:
--------------------------------------------------------------------------------
1 | from typing import Callable, Tuple, Union, Sequence, Any, Optional
2 |
3 | __all__ = ['StrongRandom', 'getrandbits', 'randrange', 'randint', 'choice', 'shuffle', 'sample']
4 |
5 | class StrongRandom(object):
6 | def __init__(self, rng: Optional[Any]=None, randfunc: Optional[Callable]=None) -> None: ... # TODO What is rng?
7 | def getrandbits(self, k: int) -> int: ...
8 | def randrange(self, start: int, stop: int = ..., step: int = ...) -> int: ...
9 | def randint(self, a: int, b: int) -> int: ...
10 | def choice(self, seq: Sequence) -> object: ...
11 | def shuffle(self, x: Sequence) -> None: ...
12 | def sample(self, population: Sequence, k: int) -> list: ...
13 |
14 | _r = StrongRandom()
15 | getrandbits = _r.getrandbits
16 | randrange = _r.randrange
17 | randint = _r.randint
18 | choice = _r.choice
19 | shuffle = _r.shuffle
20 | sample = _r.sample
21 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Math/Primality.pyi:
--------------------------------------------------------------------------------
1 | from typing import Callable, Optional, Union, Set
2 |
3 | PrimeResult = int
4 |
5 | COMPOSITE: PrimeResult
6 | PROBABLY_PRIME: PrimeResult
7 |
8 | def miller_rabin_test(candidate: int, iterations: int, randfunc: Optional[Callable[[int],bytes]]=None) -> PrimeResult: ...
9 | def lucas_test(candidate: int) -> PrimeResult: ...
10 | _sieve_base: Set[int]
11 | def test_probable_prime(candidate: int, randfunc: Optional[Callable[[int],bytes]]=None) -> PrimeResult: ...
12 | def generate_probable_prime(*,
13 | exact_bits: int = ...,
14 | randfunc: Callable[[int],bytes] = ...,
15 | prime_filter: Callable[[int],bool] = ...) -> int: ...
16 | def generate_probable_safe_prime(*,
17 | exact_bits: int = ...,
18 | randfunc: Callable[[int],bytes] = ...) -> int: ...
19 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Protocol/SecretSharing.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, List, Tuple, Optional
2 |
3 | def _mult_gf2(f1: int, f2: int) -> int : ...
4 | def _div_gf2(a: int, b: int) -> int : ...
5 |
6 | class _Element(object):
7 | irr_poly: int
8 | def __init__(self, encoded_value: Union[int, bytes]) -> None: ...
9 | def __eq__(self, other) -> bool: ...
10 | def __int__(self) -> int: ...
11 | def encode(self) -> bytes: ...
12 | def __mul__(self, factor: int) -> _Element: ...
13 | def __add__(self, term: _Element) -> _Element: ...
14 | def inverse(self) -> _Element: ...
15 | def __pow__(self, exponent) -> _Element: ...
16 |
17 | class Shamir(object):
18 | @staticmethod
19 | def split(k: int, n: int, secret: bytes, ssss: Optional[bool]) -> List[Tuple[int, bytes]]: ...
20 | @staticmethod
21 | def combine(shares: List[Tuple[int, bytes]], ssss: Optional[bool]) -> bytes: ...
22 |
23 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/cli/command_context.py:
--------------------------------------------------------------------------------
1 | from contextlib import ExitStack, contextmanager
2 | from typing import ContextManager, Generator, TypeVar
3 |
4 | _T = TypeVar("_T", covariant=True)
5 |
6 |
7 | class CommandContextMixIn:
8 | def __init__(self) -> None:
9 | super().__init__()
10 | self._in_main_context = False
11 | self._main_context = ExitStack()
12 |
13 | @contextmanager
14 | def main_context(self) -> Generator[None, None, None]:
15 | assert not self._in_main_context
16 |
17 | self._in_main_context = True
18 | try:
19 | with self._main_context:
20 | yield
21 | finally:
22 | self._in_main_context = False
23 |
24 | def enter_context(self, context_provider: ContextManager[_T]) -> _T:
25 | assert self._in_main_context
26 |
27 | return self._main_context.enter_context(context_provider)
28 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/importlib_metadata/_collections.py:
--------------------------------------------------------------------------------
1 | import collections
2 |
3 |
4 | # from jaraco.collections 3.3
5 | class FreezableDefaultDict(collections.defaultdict):
6 | """
7 | Often it is desirable to prevent the mutation of
8 | a default dict after its initial construction, such
9 | as to prevent mutation during iteration.
10 |
11 | >>> dd = FreezableDefaultDict(list)
12 | >>> dd[0].append('1')
13 | >>> dd.freeze()
14 | >>> dd[1]
15 | []
16 | >>> len(dd)
17 | 1
18 | """
19 |
20 | def __missing__(self, key):
21 | return getattr(self, '_frozen', super().__missing__)(key)
22 |
23 | def freeze(self):
24 | self._frozen = lambda key: self.default_factory()
25 |
26 |
27 | class Pair(collections.namedtuple('Pair', 'name value')):
28 | @classmethod
29 | def parse(cls, text):
30 | return cls(*map(str.strip, text.split("=", 1)))
31 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/_mode_ctr.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, overload
2 |
3 | from Crypto.Util._raw_api import SmartPointer
4 |
5 | Buffer = Union[bytes, bytearray, memoryview]
6 |
7 | __all__ = ['CtrMode']
8 |
9 | class CtrMode(object):
10 | block_size: int
11 | nonce: bytes
12 |
13 | def __init__(self,
14 | block_cipher: SmartPointer,
15 | initial_counter_block: Buffer,
16 | prefix_len: int,
17 | counter_len: int,
18 | little_endian: bool) -> None: ...
19 | @overload
20 | def encrypt(self, plaintext: Buffer) -> bytes: ...
21 | @overload
22 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
23 | @overload
24 | def decrypt(self, plaintext: Buffer) -> bytes: ...
25 | @overload
26 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
27 |
28 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2015 Eric Larson
2 | #
3 | # SPDX-License-Identifier: Apache-2.0
4 |
5 | try:
6 | from urllib.parse import urljoin
7 | except ImportError:
8 | from urlparse import urljoin
9 |
10 |
11 | try:
12 | import cPickle as pickle
13 | except ImportError:
14 | import pickle
15 |
16 | # Handle the case where the requests module has been patched to not have
17 | # urllib3 bundled as part of its source.
18 | try:
19 | from pip._vendor.requests.packages.urllib3.response import HTTPResponse
20 | except ImportError:
21 | from pip._vendor.urllib3.response import HTTPResponse
22 |
23 | try:
24 | from pip._vendor.requests.packages.urllib3.util import is_fp_closed
25 | except ImportError:
26 | from pip._vendor.urllib3.util import is_fp_closed
27 |
28 | # Replicate some six behaviour
29 | try:
30 | text_type = unicode
31 | except NameError:
32 | text_type = str
33 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2015 Eric Larson
2 | #
3 | # SPDX-License-Identifier: Apache-2.0
4 |
5 | from .adapter import CacheControlAdapter
6 | from .cache import DictCache
7 |
8 |
9 | def CacheControl(
10 | sess,
11 | cache=None,
12 | cache_etags=True,
13 | serializer=None,
14 | heuristic=None,
15 | controller_class=None,
16 | adapter_class=None,
17 | cacheable_methods=None,
18 | ):
19 |
20 | cache = DictCache() if cache is None else cache
21 | adapter_class = adapter_class or CacheControlAdapter
22 | adapter = adapter_class(
23 | cache,
24 | cache_etags=cache_etags,
25 | serializer=serializer,
26 | heuristic=heuristic,
27 | controller_class=controller_class,
28 | cacheable_methods=cacheable_methods,
29 | )
30 | sess.mount("http://", adapter)
31 | sess.mount("https://", adapter)
32 |
33 | return sess
34 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/py3compat.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Any, Optional, IO
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | import sys
6 |
7 | def b(s: str) -> bytes: ...
8 | def bchr(s: int) -> bytes: ...
9 | def bord(s: bytes) -> int: ...
10 | def tobytes(s: Union[bytes, str]) -> bytes: ...
11 | def tostr(b: bytes) -> str: ...
12 | def bytestring(x: Any) -> bool: ...
13 |
14 | def is_native_int(s: Any) -> bool: ...
15 | def is_string(x: Any) -> bool: ...
16 |
17 | def BytesIO(b: bytes) -> IO[bytes]: ...
18 | def StringIO(s: str) -> IO[str]: ...
19 |
20 | if sys.version_info[0] == 2:
21 | from sys import maxint
22 | iter_range = xrange
23 |
24 | else:
25 | from sys import maxsize as maxint
26 | iter_range = range
27 |
28 | class FileNotFoundError:
29 | def __init__(self, err: int, msg: str, filename: str) -> None:
30 | pass
31 |
32 | def _copy_bytes(start: Optional[int], end: Optional[int], seq: Buffer) -> bytes: ...
33 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/CMAC.pyi:
--------------------------------------------------------------------------------
1 | from types import ModuleType
2 | from typing import Union, Dict, Any
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | digest_size: int
7 |
8 | class CMAC(object):
9 | digest_size: int
10 |
11 | def __init__(self,
12 | key: Buffer,
13 | msg: Buffer,
14 | ciphermod: ModuleType,
15 | cipher_params: Dict[str, Any],
16 | mac_len: int, update_after_digest: bool) -> None: ...
17 | def update(self, data: Buffer) -> CMAC: ...
18 | def copy(self) -> CMAC: ...
19 | def digest(self) -> bytes: ...
20 | def hexdigest(self) -> str: ...
21 | def verify(self, mac_tag: Buffer) -> None: ...
22 | def hexverify(self, hex_mac_tag: str) -> None: ...
23 |
24 |
25 | def new(key: Buffer,
26 | msg: Buffer = ...,
27 | ciphermod: ModuleType = ...,
28 | cipher_params: Dict[str, Any] = ...,
29 | mac_len: int = ...,
30 | update_after_digest: bool = ...) -> CMAC: ...
31 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/mock-5.1.0.dist-info/RECORD:
--------------------------------------------------------------------------------
1 | mock-5.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2 | mock-5.1.0.dist-info/LICENSE.txt,sha256=WDHuFJ04ULKN-P8C-3vQfOzagehcyENcIIJ9OSIgLTQ,1342
3 | mock-5.1.0.dist-info/METADATA,sha256=Iicx5nRT5scGjfpkiK-fn5XdZ5WLvD65RfWMPH_mIqY,3019
4 | mock-5.1.0.dist-info/RECORD,,
5 | mock-5.1.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6 | mock-5.1.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
7 | mock-5.1.0.dist-info/top_level.txt,sha256=YbGUYXa21gMdoMrELg81nnfkfBId5JGAm7K8bMU8hWQ,5
8 | mock/__init__.py,sha256=BS2JIiTBFBFcvF-m-XOXhUMQox-UP0yyLGrVlIphqWc,334
9 | mock/__pycache__/__init__.cpython-310.pyc,,
10 | mock/__pycache__/backports.cpython-310.pyc,,
11 | mock/__pycache__/mock.cpython-310.pyc,,
12 | mock/backports.py,sha256=zxu3FnFkPFT-vy9LTYcER-dhDYcQSwHtbGIYavET3q8,2808
13 | mock/mock.py,sha256=Tio5teqGbCUrNoyyO6E6KjoFbiatDpNEwjuI7wJ_ji8,110383
14 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py:
--------------------------------------------------------------------------------
1 | from pip._internal.distributions.base import AbstractDistribution
2 | from pip._internal.distributions.sdist import SourceDistribution
3 | from pip._internal.distributions.wheel import WheelDistribution
4 | from pip._internal.req.req_install import InstallRequirement
5 |
6 |
7 | def make_distribution_for_install_requirement(
8 | install_req: InstallRequirement,
9 | ) -> AbstractDistribution:
10 | """Returns a Distribution for the given InstallRequirement"""
11 | # Editable requirements will always be source distributions. They use the
12 | # legacy logic until we create a modern standard for them.
13 | if install_req.editable:
14 | return SourceDistribution(install_req)
15 |
16 | # If it's a wheel, it's a WheelDistribution
17 | if install_req.is_wheel:
18 | return WheelDistribution(install_req)
19 |
20 | # Otherwise, a SourceDistribution
21 | return SourceDistribution(install_req)
22 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py:
--------------------------------------------------------------------------------
1 | """A helper module that injects SecureTransport, on import.
2 |
3 | The import should be done as early as possible, to ensure all requests and
4 | sessions (or whatever) are created after injecting SecureTransport.
5 |
6 | Note that we only do the injection on macOS, when the linked OpenSSL is too
7 | old to handle TLSv1.2.
8 | """
9 |
10 | import sys
11 |
12 |
13 | def inject_securetransport() -> None:
14 | # Only relevant on macOS
15 | if sys.platform != "darwin":
16 | return
17 |
18 | try:
19 | import ssl
20 | except ImportError:
21 | return
22 |
23 | # Checks for OpenSSL 1.0.1
24 | if ssl.OPENSSL_VERSION_NUMBER >= 0x1000100F:
25 | return
26 |
27 | try:
28 | from pip._vendor.urllib3.contrib import securetransport
29 | except (ImportError, OSError):
30 | return
31 |
32 | securetransport.inject_into_urllib3()
33 |
34 |
35 | inject_securetransport()
36 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/launch.py:
--------------------------------------------------------------------------------
1 | """
2 | Launch the Python script on the command line after
3 | setuptools is bootstrapped via import.
4 | """
5 |
6 | # Note that setuptools gets imported implicitly by the
7 | # invocation of this script using python -m setuptools.launch
8 |
9 | import tokenize
10 | import sys
11 |
12 |
13 | def run():
14 | """
15 | Run the script in sys.argv[1] as if it had
16 | been invoked naturally.
17 | """
18 | __builtins__
19 | script_name = sys.argv[1]
20 | namespace = dict(
21 | __file__=script_name,
22 | __name__='__main__',
23 | __doc__=None,
24 | )
25 | sys.argv[:] = sys.argv[1:]
26 |
27 | open_ = getattr(tokenize, 'open', open)
28 | with open_(script_name) as fid:
29 | script = fid.read()
30 | norm_script = script.replace('\\r\\n', '\\n')
31 | code = compile(norm_script, script_name, 'exec')
32 | exec(code, namespace)
33 |
34 |
35 | if __name__ == '__main__':
36 | run()
37 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/pager.py:
--------------------------------------------------------------------------------
1 | from abc import ABC, abstractmethod
2 | from typing import Any
3 |
4 |
5 | class Pager(ABC):
6 | """Base class for a pager."""
7 |
8 | @abstractmethod
9 | def show(self, content: str) -> None:
10 | """Show content in pager.
11 |
12 | Args:
13 | content (str): Content to be displayed.
14 | """
15 |
16 |
17 | class SystemPager(Pager):
18 | """Uses the pager installed on the system."""
19 |
20 | def _pager(self, content: str) -> Any: # pragma: no cover
21 | return __import__("pydoc").pager(content)
22 |
23 | def show(self, content: str) -> None:
24 | """Use the same pager used by pydoc."""
25 | self._pager(content)
26 |
27 |
28 | if __name__ == "__main__": # pragma: no cover
29 | from .__main__ import make_test_card
30 | from .console import Console
31 |
32 | console = Console()
33 | with console.pager(styles=True):
34 | console.print(make_test_card())
35 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py:
--------------------------------------------------------------------------------
1 | """This is a subpackage because the directory is on sys.path for _in_process.py
2 |
3 | The subpackage should stay as empty as possible to avoid shadowing modules that
4 | the backend might import.
5 | """
6 | from contextlib import contextmanager
7 | from os.path import abspath, dirname
8 | from os.path import join as pjoin
9 |
10 | try:
11 | import importlib.resources as resources
12 | try:
13 | resources.files
14 | except AttributeError:
15 | # Python 3.8 compatibility
16 | def _in_proc_script_path():
17 | return resources.path(__package__, '_in_process.py')
18 | else:
19 | def _in_proc_script_path():
20 | return resources.as_file(
21 | resources.files(__package__).joinpath('_in_process.py'))
22 | except ImportError:
23 | # Python 3.6 compatibility
24 | @contextmanager
25 | def _in_proc_script_path():
26 | yield pjoin(dirname(abspath(__file__)), '_in_process.py')
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/_raw_api.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any, Optional, Union
2 |
3 | def load_lib(name: str, cdecl: str) -> Any : ...
4 | def c_ulong(x: int ) -> Any : ...
5 | def c_ulonglong(x: int ) -> Any : ...
6 | def c_size_t(x: int) -> Any : ...
7 | def create_string_buffer(init_or_size: Union[bytes,int], size: Optional[int]) -> Any : ...
8 | def get_c_string(c_string: Any) -> bytes : ...
9 | def get_raw_buffer(buf: Any) -> bytes : ...
10 | def c_uint8_ptr(data: Union[bytes, memoryview, bytearray]) -> Any : ...
11 |
12 | class VoidPointer(object):
13 | def get(self) -> Any : ...
14 | def address_of(self) -> Any : ...
15 |
16 | class SmartPointer(object):
17 | def __init__(self, raw_pointer: Any, destructor: Any) -> None : ...
18 | def get(self) -> Any : ...
19 | def release(self) -> Any : ...
20 |
21 | backend : str
22 | null_pointer : Any
23 | ffi: Any
24 |
25 | def load_pycryptodome_raw_lib(name: str, cdecl: str) -> Any : ...
26 | def is_buffer(x: Any) -> bool : ...
27 | def is_writeable_buffer(x: Any) -> bool : ...
28 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/abc.py:
--------------------------------------------------------------------------------
1 | from abc import ABC
2 |
3 |
4 | class RichRenderable(ABC):
5 | """An abstract base class for Rich renderables.
6 |
7 | Note that there is no need to extend this class, the intended use is to check if an
8 | object supports the Rich renderable protocol. For example::
9 |
10 | if isinstance(my_object, RichRenderable):
11 | console.print(my_object)
12 |
13 | """
14 |
15 | @classmethod
16 | def __subclasshook__(cls, other: type) -> bool:
17 | """Check if this class supports the rich render protocol."""
18 | return hasattr(other, "__rich_console__") or hasattr(other, "__rich__")
19 |
20 |
21 | if __name__ == "__main__": # pragma: no cover
22 | from pip._vendor.rich.text import Text
23 |
24 | t = Text()
25 | print(isinstance(Text, RichRenderable))
26 | print(isinstance(t, RichRenderable))
27 |
28 | class Foo:
29 | pass
30 |
31 | f = Foo()
32 | print(isinstance(f, RichRenderable))
33 | print(isinstance("", RichRenderable))
34 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/idna/__init__.py:
--------------------------------------------------------------------------------
1 | from .package_data import __version__
2 | from .core import (
3 | IDNABidiError,
4 | IDNAError,
5 | InvalidCodepoint,
6 | InvalidCodepointContext,
7 | alabel,
8 | check_bidi,
9 | check_hyphen_ok,
10 | check_initial_combiner,
11 | check_label,
12 | check_nfc,
13 | decode,
14 | encode,
15 | ulabel,
16 | uts46_remap,
17 | valid_contextj,
18 | valid_contexto,
19 | valid_label_length,
20 | valid_string_length,
21 | )
22 | from .intranges import intranges_contain
23 |
24 | __all__ = [
25 | "IDNABidiError",
26 | "IDNAError",
27 | "InvalidCodepoint",
28 | "InvalidCodepointContext",
29 | "alabel",
30 | "check_bidi",
31 | "check_hyphen_ok",
32 | "check_initial_combiner",
33 | "check_label",
34 | "check_nfc",
35 | "decode",
36 | "encode",
37 | "intranges_contain",
38 | "ulabel",
39 | "uts46_remap",
40 | "valid_contextj",
41 | "valid_contexto",
42 | "valid_label_length",
43 | "valid_string_length",
44 | ]
45 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/BLAKE2b.pyi:
--------------------------------------------------------------------------------
1 | from typing import Any, Union
2 | from types import ModuleType
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | class BLAKE2b_Hash(object):
7 | block_size: int
8 | digest_size: int
9 | oid: str
10 |
11 | def __init__(self,
12 | data: Buffer,
13 | key: Buffer,
14 | digest_bytes: bytes,
15 | update_after_digest: bool) -> None: ...
16 | def update(self, data: Buffer) -> BLAKE2b_Hash: ...
17 | def digest(self) -> bytes: ...
18 | def hexdigest(self) -> str: ...
19 | def verify(self, mac_tag: Buffer) -> None: ...
20 | def hexverify(self, hex_mac_tag: str) -> None: ...
21 | def new(self,
22 | data: Buffer = ...,
23 | digest_bytes: int = ...,
24 | digest_bits: int = ...,
25 | key: Buffer = ...,
26 | update_after_digest: bool = ...) -> BLAKE2b_Hash: ...
27 |
28 | def new(data: Buffer = ...,
29 | digest_bytes: int = ...,
30 | digest_bits: int = ...,
31 | key: Buffer = ...,
32 | update_after_digest: bool = ...) -> BLAKE2b_Hash: ...
33 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/KMAC128.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union
2 | from types import ModuleType
3 |
4 | Buffer = Union[bytes, bytearray, memoryview]
5 |
6 | class KMAC_Hash(object):
7 |
8 | def __init__(self,
9 | data: Buffer,
10 | key: Buffer,
11 | mac_len: int,
12 | custom: Buffer,
13 | oid_variant: str,
14 | cshake: ModuleType,
15 | rate: int) -> None: ...
16 |
17 | def update(self, data: Buffer) -> KMAC_Hash: ...
18 |
19 | def digest(self) -> bytes: ...
20 | def hexdigest(self) -> str: ...
21 | def verify(self, mac_tag: Buffer) -> None: ...
22 | def hexverify(self, hex_mac_tag: str) -> None: ...
23 | def new(self,
24 | data: Buffer = ...,
25 | mac_len: int = ...,
26 | key: Buffer = ...,
27 | custom: Buffer = ...) -> KMAC_Hash: ...
28 |
29 |
30 | def new(key: Buffer,
31 | data: Buffer = ...,
32 | mac_len: int = ...,
33 | custom: Buffer = ...) -> KMAC_Hash: ...
34 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Util/number.pyi:
--------------------------------------------------------------------------------
1 | from typing import List, Optional, Callable
2 |
3 |
4 | def ceil_div(n: int, d: int) -> int: ...
5 | def size (N: int) -> int: ...
6 | def getRandomInteger(N: int, randfunc: Optional[Callable]=None) -> int: ...
7 | def getRandomRange(a: int, b: int, randfunc: Optional[Callable]=None) -> int: ...
8 | def getRandomNBitInteger(N: int, randfunc: Optional[Callable]=None) -> int: ...
9 | def GCD(x: int,y: int) -> int: ...
10 | def inverse(u: int, v: int) -> int: ...
11 | def getPrime(N: int, randfunc: Optional[Callable]=None) -> int: ...
12 | def getStrongPrime(N: int, e: Optional[int]=0, false_positive_prob: Optional[float]=1e-6, randfunc: Optional[Callable]=None) -> int: ...
13 | def isPrime(N: int, false_positive_prob: Optional[float]=1e-6, randfunc: Optional[Callable]=None) -> bool: ...
14 | def long_to_bytes(n: int, blocksize: Optional[int]=0) -> bytes: ...
15 | def bytes_to_long(s: bytes) -> int: ...
16 | def long2str(n: int, blocksize: Optional[int]=0) -> bytes: ...
17 | def str2long(s: bytes) -> int: ...
18 |
19 | sieve_base: List[int]
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py:
--------------------------------------------------------------------------------
1 | from .package_data import __version__
2 | from .core import (
3 | IDNABidiError,
4 | IDNAError,
5 | InvalidCodepoint,
6 | InvalidCodepointContext,
7 | alabel,
8 | check_bidi,
9 | check_hyphen_ok,
10 | check_initial_combiner,
11 | check_label,
12 | check_nfc,
13 | decode,
14 | encode,
15 | ulabel,
16 | uts46_remap,
17 | valid_contextj,
18 | valid_contexto,
19 | valid_label_length,
20 | valid_string_length,
21 | )
22 | from .intranges import intranges_contain
23 |
24 | __all__ = [
25 | "IDNABidiError",
26 | "IDNAError",
27 | "InvalidCodepoint",
28 | "InvalidCodepointContext",
29 | "alabel",
30 | "check_bidi",
31 | "check_hyphen_ok",
32 | "check_initial_combiner",
33 | "check_label",
34 | "check_nfc",
35 | "decode",
36 | "encode",
37 | "intranges_contain",
38 | "ulabel",
39 | "uts46_remap",
40 | "valid_contextj",
41 | "valid_contexto",
42 | "valid_label_length",
43 | "valid_string_length",
44 | ]
45 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/dep_util.py:
--------------------------------------------------------------------------------
1 | from distutils.dep_util import newer_group
2 |
3 |
4 | # yes, this is was almost entirely copy-pasted from
5 | # 'newer_pairwise()', this is just another convenience
6 | # function.
7 | def newer_pairwise_group(sources_groups, targets):
8 | """Walk both arguments in parallel, testing if each source group is newer
9 | than its corresponding target. Returns a pair of lists (sources_groups,
10 | targets) where sources is newer than target, according to the semantics
11 | of 'newer_group()'.
12 | """
13 | if len(sources_groups) != len(targets):
14 | raise ValueError(
15 | "'sources_group' and 'targets' must be the same length")
16 |
17 | # build a pair of lists (sources_groups, targets) where source is newer
18 | n_sources = []
19 | n_targets = []
20 | for i in range(len(sources_groups)):
21 | if newer_group(sources_groups[i], targets[i]):
22 | n_sources.append(sources_groups[i])
23 | n_targets.append(targets[i])
24 |
25 | return n_sources, n_targets
26 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli-2.0.1.dist-info/RECORD:
--------------------------------------------------------------------------------
1 | tomli-2.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2 | tomli-2.0.1.dist-info/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
3 | tomli-2.0.1.dist-info/METADATA,sha256=zPDceKmPwJGLWtZykrHixL7WVXWmJGzZ1jyRT5lCoPI,8875
4 | tomli-2.0.1.dist-info/RECORD,,
5 | tomli-2.0.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6 | tomli-2.0.1.dist-info/WHEEL,sha256=jPMR_Dzkc4X4icQtmz81lnNY_kAsfog7ry7qoRvYLXw,81
7 | tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396
8 | tomli/__pycache__/__init__.cpython-310.pyc,,
9 | tomli/__pycache__/_parser.cpython-310.pyc,,
10 | tomli/__pycache__/_re.cpython-310.pyc,,
11 | tomli/__pycache__/_types.cpython-310.pyc,,
12 | tomli/_parser.py,sha256=g9-ENaALS-B8dokYpCuzUFalWlog7T-SIYMjLZSWrtM,22633
13 | tomli/_re.py,sha256=dbjg5ChZT23Ka9z9DHOXfdtSpPwUfdgMXnj8NOoly-w,2943
14 | tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
15 | tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
16 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pkg_resources/_vendor/importlib_resources/_itertools.py:
--------------------------------------------------------------------------------
1 | from itertools import filterfalse
2 |
3 | from typing import (
4 | Callable,
5 | Iterable,
6 | Iterator,
7 | Optional,
8 | Set,
9 | TypeVar,
10 | Union,
11 | )
12 |
13 | # Type and type variable definitions
14 | _T = TypeVar('_T')
15 | _U = TypeVar('_U')
16 |
17 |
18 | def unique_everseen(
19 | iterable: Iterable[_T], key: Optional[Callable[[_T], _U]] = None
20 | ) -> Iterator[_T]:
21 | "List unique elements, preserving order. Remember all elements ever seen."
22 | # unique_everseen('AAAABBBCCDAABBB') --> A B C D
23 | # unique_everseen('ABBCcAD', str.lower) --> A B C D
24 | seen: Set[Union[_T, _U]] = set()
25 | seen_add = seen.add
26 | if key is None:
27 | for element in filterfalse(seen.__contains__, iterable):
28 | seen_add(element)
29 | yield element
30 | else:
31 | for element in iterable:
32 | k = key(element)
33 | if k not in seen:
34 | seen_add(k)
35 | yield element
36 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/_vendor/importlib_resources/_itertools.py:
--------------------------------------------------------------------------------
1 | from itertools import filterfalse
2 |
3 | from typing import (
4 | Callable,
5 | Iterable,
6 | Iterator,
7 | Optional,
8 | Set,
9 | TypeVar,
10 | Union,
11 | )
12 |
13 | # Type and type variable definitions
14 | _T = TypeVar('_T')
15 | _U = TypeVar('_U')
16 |
17 |
18 | def unique_everseen(
19 | iterable: Iterable[_T], key: Optional[Callable[[_T], _U]] = None
20 | ) -> Iterator[_T]:
21 | "List unique elements, preserving order. Remember all elements ever seen."
22 | # unique_everseen('AAAABBBCCDAABBB') --> A B C D
23 | # unique_everseen('ABBCcAD', str.lower) --> A B C D
24 | seen: Set[Union[_T, _U]] = set()
25 | seen_add = seen.add
26 | if key is None:
27 | for element in filterfalse(seen.__contains__, iterable):
28 | seen_add(element)
29 | yield element
30 | else:
31 | for element in iterable:
32 | k = key(element)
33 | if k not in seen:
34 | seen_add(k)
35 | yield element
36 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/requests/packages.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | try:
4 | import chardet
5 | except ImportError:
6 | import warnings
7 |
8 | import charset_normalizer as chardet
9 |
10 | warnings.filterwarnings("ignore", "Trying to detect", module="charset_normalizer")
11 |
12 | # This code exists for backwards compatibility reasons.
13 | # I don't like it either. Just look the other way. :)
14 |
15 | for package in ("urllib3", "idna"):
16 | locals()[package] = __import__(package)
17 | # This traversal is apparently necessary such that the identities are
18 | # preserved (requests.packages.urllib3.* is urllib3.*)
19 | for mod in list(sys.modules):
20 | if mod == package or mod.startswith(f"{package}."):
21 | sys.modules[f"requests.packages.{mod}"] = sys.modules[mod]
22 |
23 | target = chardet.__name__
24 | for mod in list(sys.modules):
25 | if mod == target or mod.startswith(f"{target}."):
26 | target = target.replace(target, "chardet")
27 | sys.modules[f"requests.packages.{target}"] = sys.modules[mod]
28 | # Kinda cool, though, right?
29 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/DES.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Dict, Iterable
2 |
3 | from Crypto.Cipher._mode_ecb import EcbMode
4 | from Crypto.Cipher._mode_cbc import CbcMode
5 | from Crypto.Cipher._mode_cfb import CfbMode
6 | from Crypto.Cipher._mode_ofb import OfbMode
7 | from Crypto.Cipher._mode_ctr import CtrMode
8 | from Crypto.Cipher._mode_openpgp import OpenPgpMode
9 | from Crypto.Cipher._mode_eax import EaxMode
10 |
11 | DESMode = int
12 |
13 | MODE_ECB: DESMode
14 | MODE_CBC: DESMode
15 | MODE_CFB: DESMode
16 | MODE_OFB: DESMode
17 | MODE_CTR: DESMode
18 | MODE_OPENPGP: DESMode
19 | MODE_EAX: DESMode
20 |
21 | Buffer = Union[bytes, bytearray, memoryview]
22 |
23 | def new(key: Buffer,
24 | mode: DESMode,
25 | iv : Buffer = ...,
26 | IV : Buffer = ...,
27 | nonce : Buffer = ...,
28 | segment_size : int = ...,
29 | mac_len : int = ...,
30 | initial_value : Union[int, Buffer] = ...,
31 | counter : Dict = ...) -> \
32 | Union[EcbMode, CbcMode, CfbMode, OfbMode, CtrMode, OpenPgpMode]: ...
33 |
34 | block_size: int
35 | key_size: int
36 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Flutterwave
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.
--------------------------------------------------------------------------------
/testing/bin/activate.csh:
--------------------------------------------------------------------------------
1 | # This file must be used with "source bin/activate.csh" *from csh*.
2 | # You cannot run it directly.
3 | # Created by Davide Di Blasi .
4 | # Ported to Python 3.3 venv by Andrew Svetlov
5 |
6 | alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate'
7 |
8 | # Unset irrelevant variables.
9 | deactivate nondestructive
10 |
11 | setenv VIRTUAL_ENV "/Users/corneliusashley-osuzoka/Documents/Engineering/Developer_Experience/SDK_and_Integration_Libraries/rave-python/testing"
12 |
13 | set _OLD_VIRTUAL_PATH="$PATH"
14 | setenv PATH "$VIRTUAL_ENV/bin:$PATH"
15 |
16 |
17 | set _OLD_VIRTUAL_PROMPT="$prompt"
18 |
19 | if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
20 | set prompt = "(testing) $prompt"
21 | setenv VIRTUAL_ENV_PROMPT "(testing) "
22 | endif
23 |
24 | alias pydoc python -m pydoc
25 |
26 | rehash
27 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi-2021.10.8.dist-info/RECORD:
--------------------------------------------------------------------------------
1 | certifi-2021.10.8.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2 | certifi-2021.10.8.dist-info/LICENSE,sha256=vp2C82ES-Hp_HXTs1Ih-FGe7roh4qEAEoAEXseR1o-I,1049
3 | certifi-2021.10.8.dist-info/METADATA,sha256=iB_zbT1uX_8_NC7iGv0YEB-9b3idhQwHrFTSq8R1kD8,2994
4 | certifi-2021.10.8.dist-info/RECORD,,
5 | certifi-2021.10.8.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6 | certifi-2021.10.8.dist-info/WHEEL,sha256=ADKeyaGyKF5DwBNE0sRE5pvW-bSkFMJfBuhzZ3rceP4,110
7 | certifi-2021.10.8.dist-info/top_level.txt,sha256=KMu4vUCfsjLrkPbSNdgdekS-pVJzBAJFO__nI8NF6-U,8
8 | certifi/__init__.py,sha256=xWdRgntT3j1V95zkRipGOg_A1UfEju2FcpujhysZLRI,62
9 | certifi/__main__.py,sha256=xBBoj905TUWBLRGANOcf7oi6e-3dMP4cEoG9OyMs11g,243
10 | certifi/__pycache__/__init__.cpython-310.pyc,,
11 | certifi/__pycache__/__main__.cpython-310.pyc,,
12 | certifi/__pycache__/core.cpython-310.pyc,,
13 | certifi/cacert.pem,sha256=-og4Keu4zSpgL5shwfhd4kz0eUnVILzrGCi0zRy2kGw,265969
14 | certifi/core.py,sha256=V0uyxKOYdz6ulDSusclrLmjbPgOXsD0BnEf0SQ7OnoE,2303
15 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/ARC2.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Dict, Iterable
2 |
3 | from Crypto.Cipher._mode_ecb import EcbMode
4 | from Crypto.Cipher._mode_cbc import CbcMode
5 | from Crypto.Cipher._mode_cfb import CfbMode
6 | from Crypto.Cipher._mode_ofb import OfbMode
7 | from Crypto.Cipher._mode_ctr import CtrMode
8 | from Crypto.Cipher._mode_openpgp import OpenPgpMode
9 | from Crypto.Cipher._mode_eax import EaxMode
10 |
11 | ARC2Mode = int
12 |
13 | MODE_ECB: ARC2Mode
14 | MODE_CBC: ARC2Mode
15 | MODE_CFB: ARC2Mode
16 | MODE_OFB: ARC2Mode
17 | MODE_CTR: ARC2Mode
18 | MODE_OPENPGP: ARC2Mode
19 | MODE_EAX: ARC2Mode
20 |
21 | Buffer = Union[bytes, bytearray, memoryview]
22 |
23 | def new(key: Buffer,
24 | mode: ARC2Mode,
25 | iv : Buffer = ...,
26 | IV : Buffer = ...,
27 | nonce : Buffer = ...,
28 | segment_size : int = ...,
29 | mac_len : int = ...,
30 | initial_value : Union[int, Buffer] = ...,
31 | counter : Dict = ...) -> \
32 | Union[EcbMode, CbcMode, CfbMode, OfbMode, CtrMode, OpenPgpMode]: ...
33 |
34 | block_size: int
35 | key_size: Iterable[int]
36 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/CAST.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Dict, Iterable
2 |
3 | from Crypto.Cipher._mode_ecb import EcbMode
4 | from Crypto.Cipher._mode_cbc import CbcMode
5 | from Crypto.Cipher._mode_cfb import CfbMode
6 | from Crypto.Cipher._mode_ofb import OfbMode
7 | from Crypto.Cipher._mode_ctr import CtrMode
8 | from Crypto.Cipher._mode_openpgp import OpenPgpMode
9 | from Crypto.Cipher._mode_eax import EaxMode
10 |
11 | CASTMode = int
12 |
13 | MODE_ECB: CASTMode
14 | MODE_CBC: CASTMode
15 | MODE_CFB: CASTMode
16 | MODE_OFB: CASTMode
17 | MODE_CTR: CASTMode
18 | MODE_OPENPGP: CASTMode
19 | MODE_EAX: CASTMode
20 |
21 | Buffer = Union[bytes, bytearray, memoryview]
22 |
23 | def new(key: Buffer,
24 | mode: CASTMode,
25 | iv : Buffer = ...,
26 | IV : Buffer = ...,
27 | nonce : Buffer = ...,
28 | segment_size : int = ...,
29 | mac_len : int = ...,
30 | initial_value : Union[int, Buffer] = ...,
31 | counter : Dict = ...) -> \
32 | Union[EcbMode, CbcMode, CfbMode, OfbMode, CtrMode, OpenPgpMode]: ...
33 |
34 | block_size: int
35 | key_size : Iterable[int]
36 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/DESCRIPTION.rst:
--------------------------------------------------------------------------------
1 | nose extends the test loading and running features of unittest, making
2 | it easier to write, find and run tests.
3 |
4 | By default, nose will run tests in files or directories under the current
5 | working directory whose names include "test" or "Test" at a word boundary
6 | (like "test_this" or "functional_test" or "TestClass" but not
7 | "libtest"). Test output is similar to that of unittest, but also includes
8 | captured stdout output from failing tests, for easy print-style debugging.
9 |
10 | These features, and many more, are customizable through the use of
11 | plugins. Plugins included with nose provide support for doctest, code
12 | coverage and profiling, flexible attribute-based test selection,
13 | output capture and more. More information about writing plugins may be
14 | found on in the nose API documentation, here:
15 | http://readthedocs.org/docs/nose/
16 |
17 | If you have recently reported a bug marked as fixed, or have a craving for
18 | the very latest, you may want the development version instead:
19 | https://github.com/nose-devs/nose/tarball/master#egg=nose-dev
20 |
21 |
22 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose-1.3.7.dist-info/metadata.json:
--------------------------------------------------------------------------------
1 | {"keywords": ["test", "unittest", "doctest", "automatic", "discovery"], "metadata_version": "2.0", "classifiers": ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Testing"], "version": "1.3.7", "license": "GNU LGPL", "extensions": {"python.details": {"document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "http://readthedocs.org/docs/nose/"}, "contacts": [{"role": "author", "name": "Jason Pellerin", "email": "jpellerin+nose@gmail.com"}]}, "python.commands": {"wrap_console": {"nosetests-3.4": "nose:run_exit", "nosetests": "nose:run_exit"}}, "python.exports": {"distutils.commands": {"nosetests": "nose.commands:nosetests"}, "console_scripts": {"nosetests-3.4": "nose:run_exit", "nosetests": "nose:run_exit"}}}, "generator": "bdist_wheel (0.24.0)", "summary": "nose extends unittest to make testing easier", "name": "nose"}
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3/contrib/_appengine_environ.py:
--------------------------------------------------------------------------------
1 | """
2 | This module provides means to detect the App Engine environment.
3 | """
4 |
5 | import os
6 |
7 |
8 | def is_appengine():
9 | return is_local_appengine() or is_prod_appengine()
10 |
11 |
12 | def is_appengine_sandbox():
13 | """Reports if the app is running in the first generation sandbox.
14 |
15 | The second generation runtimes are technically still in a sandbox, but it
16 | is much less restrictive, so generally you shouldn't need to check for it.
17 | see https://cloud.google.com/appengine/docs/standard/runtimes
18 | """
19 | return is_appengine() and os.environ["APPENGINE_RUNTIME"] == "python27"
20 |
21 |
22 | def is_local_appengine():
23 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get(
24 | "SERVER_SOFTWARE", ""
25 | ).startswith("Development/")
26 |
27 |
28 | def is_prod_appengine():
29 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get(
30 | "SERVER_SOFTWARE", ""
31 | ).startswith("Google App Engine/")
32 |
33 |
34 | def is_prod_appengine_mvms():
35 | """Deprecated."""
36 | return False
37 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools-65.5.0.dist-info/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright Jason R. Coombs
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to
5 | deal in the Software without restriction, including without limitation the
6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7 | sell copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19 | IN THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/unicode_utils.py:
--------------------------------------------------------------------------------
1 | import unicodedata
2 | import sys
3 |
4 |
5 | # HFS Plus uses decomposed UTF-8
6 | def decompose(path):
7 | if isinstance(path, str):
8 | return unicodedata.normalize('NFD', path)
9 | try:
10 | path = path.decode('utf-8')
11 | path = unicodedata.normalize('NFD', path)
12 | path = path.encode('utf-8')
13 | except UnicodeError:
14 | pass # Not UTF-8
15 | return path
16 |
17 |
18 | def filesys_decode(path):
19 | """
20 | Ensure that the given path is decoded,
21 | NONE when no expected encoding works
22 | """
23 |
24 | if isinstance(path, str):
25 | return path
26 |
27 | fs_enc = sys.getfilesystemencoding() or 'utf-8'
28 | candidates = fs_enc, 'utf-8'
29 |
30 | for enc in candidates:
31 | try:
32 | return path.decode(enc)
33 | except UnicodeDecodeError:
34 | continue
35 |
36 |
37 | def try_encode(string, enc):
38 | "turn unicode encoding into a functional routine"
39 | try:
40 | return string.encode(enc)
41 | except UnicodeEncodeError:
42 | return None
43 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py:
--------------------------------------------------------------------------------
1 | import os
2 | import platform
3 |
4 | from pip._vendor.rich import inspect
5 | from pip._vendor.rich.console import Console, get_windows_console_features
6 | from pip._vendor.rich.panel import Panel
7 | from pip._vendor.rich.pretty import Pretty
8 |
9 |
10 | def report() -> None: # pragma: no cover
11 | """Print a report to the terminal with debugging information"""
12 | console = Console()
13 | inspect(console)
14 | features = get_windows_console_features()
15 | inspect(features)
16 |
17 | env_names = (
18 | "TERM",
19 | "COLORTERM",
20 | "CLICOLOR",
21 | "NO_COLOR",
22 | "TERM_PROGRAM",
23 | "COLUMNS",
24 | "LINES",
25 | "JUPYTER_COLUMNS",
26 | "JUPYTER_LINES",
27 | "JPY_PARENT_PID",
28 | "VSCODE_VERBOSE_LOGGING",
29 | )
30 | env = {name: os.getenv(name) for name in env_names}
31 | console.print(Panel.fit((Pretty(env)), title="[b]Environment Variables"))
32 |
33 | console.print(f'platform="{platform.system()}"')
34 |
35 |
36 | if __name__ == "__main__": # pragma: no cover
37 | report()
38 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/certifi-2021.10.8.dist-info/LICENSE:
--------------------------------------------------------------------------------
1 | This package contains a modified version of ca-bundle.crt:
2 |
3 | ca-bundle.crt -- Bundle of CA Root Certificates
4 |
5 | Certificate data from Mozilla as of: Thu Nov 3 19:04:19 2011#
6 | This is a bundle of X.509 certificates of public Certificate Authorities
7 | (CA). These were automatically extracted from Mozilla's root certificates
8 | file (certdata.txt). This file can be found in the mozilla source tree:
9 | http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1#
10 | It contains the certificates in PEM format and therefore
11 | can be directly used with curl / libcurl / php_curl, or with
12 | an Apache+mod_ssl webserver for SSL client authentication.
13 | Just configure this file as the SSLCACertificateFile.#
14 |
15 | ***** BEGIN LICENSE BLOCK *****
16 | This Source Code Form is subject to the terms of the Mozilla Public License,
17 | v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
18 | one at http://mozilla.org/MPL/2.0/.
19 |
20 | ***** END LICENSE BLOCK *****
21 | @(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $
22 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py:
--------------------------------------------------------------------------------
1 | """
2 | This module provides means to detect the App Engine environment.
3 | """
4 |
5 | import os
6 |
7 |
8 | def is_appengine():
9 | return is_local_appengine() or is_prod_appengine()
10 |
11 |
12 | def is_appengine_sandbox():
13 | """Reports if the app is running in the first generation sandbox.
14 |
15 | The second generation runtimes are technically still in a sandbox, but it
16 | is much less restrictive, so generally you shouldn't need to check for it.
17 | see https://cloud.google.com/appengine/docs/standard/runtimes
18 | """
19 | return is_appengine() and os.environ["APPENGINE_RUNTIME"] == "python27"
20 |
21 |
22 | def is_local_appengine():
23 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get(
24 | "SERVER_SOFTWARE", ""
25 | ).startswith("Development/")
26 |
27 |
28 | def is_prod_appengine():
29 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get(
30 | "SERVER_SOFTWARE", ""
31 | ).startswith("Google App Engine/")
32 |
33 |
34 | def is_prod_appengine_mvms():
35 | """Deprecated."""
36 | return False
37 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/Blowfish.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Dict, Iterable
2 |
3 | from Crypto.Cipher._mode_ecb import EcbMode
4 | from Crypto.Cipher._mode_cbc import CbcMode
5 | from Crypto.Cipher._mode_cfb import CfbMode
6 | from Crypto.Cipher._mode_ofb import OfbMode
7 | from Crypto.Cipher._mode_ctr import CtrMode
8 | from Crypto.Cipher._mode_openpgp import OpenPgpMode
9 | from Crypto.Cipher._mode_eax import EaxMode
10 |
11 | BlowfishMode = int
12 |
13 | MODE_ECB: BlowfishMode
14 | MODE_CBC: BlowfishMode
15 | MODE_CFB: BlowfishMode
16 | MODE_OFB: BlowfishMode
17 | MODE_CTR: BlowfishMode
18 | MODE_OPENPGP: BlowfishMode
19 | MODE_EAX: BlowfishMode
20 |
21 | Buffer = Union[bytes, bytearray, memoryview]
22 |
23 | def new(key: Buffer,
24 | mode: BlowfishMode,
25 | iv : Buffer = ...,
26 | IV : Buffer = ...,
27 | nonce : Buffer = ...,
28 | segment_size : int = ...,
29 | mac_len : int = ...,
30 | initial_value : Union[int, Buffer] = ...,
31 | counter : Dict = ...) -> \
32 | Union[EcbMode, CbcMode, CfbMode, OfbMode, CtrMode, OpenPgpMode]: ...
33 |
34 | block_size: int
35 | key_size: Iterable[int]
36 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/models/candidate.py:
--------------------------------------------------------------------------------
1 | from pip._vendor.packaging.version import parse as parse_version
2 |
3 | from pip._internal.models.link import Link
4 | from pip._internal.utils.models import KeyBasedCompareMixin
5 |
6 |
7 | class InstallationCandidate(KeyBasedCompareMixin):
8 | """Represents a potential "candidate" for installation."""
9 |
10 | __slots__ = ["name", "version", "link"]
11 |
12 | def __init__(self, name: str, version: str, link: Link) -> None:
13 | self.name = name
14 | self.version = parse_version(version)
15 | self.link = link
16 |
17 | super().__init__(
18 | key=(self.name, self.version, self.link),
19 | defining_class=InstallationCandidate,
20 | )
21 |
22 | def __repr__(self) -> str:
23 | return "".format(
24 | self.name,
25 | self.version,
26 | self.link,
27 | )
28 |
29 | def __str__(self) -> str:
30 | return "{!r} candidate (version {} at {})".format(
31 | self.name,
32 | self.version,
33 | self.link,
34 | )
35 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/models/index.py:
--------------------------------------------------------------------------------
1 | import urllib.parse
2 |
3 |
4 | class PackageIndex:
5 | """Represents a Package Index and provides easier access to endpoints"""
6 |
7 | __slots__ = ["url", "netloc", "simple_url", "pypi_url", "file_storage_domain"]
8 |
9 | def __init__(self, url: str, file_storage_domain: str) -> None:
10 | super().__init__()
11 | self.url = url
12 | self.netloc = urllib.parse.urlsplit(url).netloc
13 | self.simple_url = self._url_for_path("simple")
14 | self.pypi_url = self._url_for_path("pypi")
15 |
16 | # This is part of a temporary hack used to block installs of PyPI
17 | # packages which depend on external urls only necessary until PyPI can
18 | # block such packages themselves
19 | self.file_storage_domain = file_storage_domain
20 |
21 | def _url_for_path(self, path: str) -> str:
22 | return urllib.parse.urljoin(self.url, path)
23 |
24 |
25 | PyPI = PackageIndex("https://pypi.org/", file_storage_domain="files.pythonhosted.org")
26 | TestPyPI = PackageIndex(
27 | "https://test.pypi.org/", file_storage_domain="test-files.pythonhosted.org"
28 | )
29 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/tomli-2.0.1.dist-info/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Taneli Hukkinen
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.
22 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/DES3.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Dict, Tuple
2 |
3 | from Crypto.Cipher._mode_ecb import EcbMode
4 | from Crypto.Cipher._mode_cbc import CbcMode
5 | from Crypto.Cipher._mode_cfb import CfbMode
6 | from Crypto.Cipher._mode_ofb import OfbMode
7 | from Crypto.Cipher._mode_ctr import CtrMode
8 | from Crypto.Cipher._mode_openpgp import OpenPgpMode
9 | from Crypto.Cipher._mode_eax import EaxMode
10 |
11 | def adjust_key_parity(key_in: bytes) -> bytes: ...
12 |
13 | DES3Mode = int
14 |
15 | MODE_ECB: DES3Mode
16 | MODE_CBC: DES3Mode
17 | MODE_CFB: DES3Mode
18 | MODE_OFB: DES3Mode
19 | MODE_CTR: DES3Mode
20 | MODE_OPENPGP: DES3Mode
21 | MODE_EAX: DES3Mode
22 |
23 | Buffer = Union[bytes, bytearray, memoryview]
24 |
25 | def new(key: Buffer,
26 | mode: DES3Mode,
27 | iv : Buffer = ...,
28 | IV : Buffer = ...,
29 | nonce : Buffer = ...,
30 | segment_size : int = ...,
31 | mac_len : int = ...,
32 | initial_value : Union[int, Buffer] = ...,
33 | counter : Dict = ...) -> \
34 | Union[EcbMode, CbcMode, CfbMode, OfbMode, CtrMode, OpenPgpMode]: ...
35 |
36 | block_size: int
37 | key_size: Tuple[int, int]
38 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Signature/pss.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Callable, Optional
2 | from typing_extensions import Protocol
3 |
4 | from Crypto.PublicKey.RSA import RsaKey
5 |
6 |
7 | class Hash(Protocol):
8 | def digest(self) -> bytes: ...
9 | def update(self, bytes) -> None: ...
10 |
11 |
12 | class HashModule(Protocol):
13 | @staticmethod
14 | def new(data: Optional[bytes]) -> Hash: ...
15 |
16 |
17 | MaskFunction = Callable[[bytes, int, Union[Hash, HashModule]], bytes]
18 | RndFunction = Callable[[int], bytes]
19 |
20 | class PSS_SigScheme:
21 | def __init__(self, key: RsaKey, mgfunc: RndFunction, saltLen: int, randfunc: RndFunction) -> None: ...
22 | def can_sign(self) -> bool: ...
23 | def sign(self, msg_hash: Hash) -> bytes: ...
24 | def verify(self, msg_hash: Hash, signature: bytes) -> None: ...
25 |
26 |
27 | MGF1 : MaskFunction
28 | def _EMSA_PSS_ENCODE(mhash: Hash, emBits: int, randFunc: RndFunction, mgf:MaskFunction, sLen: int) -> str: ...
29 | def _EMSA_PSS_VERIFY(mhash: Hash, em: str, emBits: int, mgf: MaskFunction, sLen: int) -> None: ...
30 | def new(rsa_key: RsaKey, **kwargs: Union[MaskFunction, RndFunction, int]) -> PSS_SigScheme: ...
31 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/charset_normalizer-2.0.12.dist-info/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 TAHRI Ahmed R.
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.
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/nose/plugins/builtin.py:
--------------------------------------------------------------------------------
1 | """
2 | Lists builtin plugins.
3 | """
4 | plugins = []
5 | builtins = (
6 | ('nose.plugins.attrib', 'AttributeSelector'),
7 | ('nose.plugins.capture', 'Capture'),
8 | ('nose.plugins.logcapture', 'LogCapture'),
9 | ('nose.plugins.cover', 'Coverage'),
10 | ('nose.plugins.debug', 'Pdb'),
11 | ('nose.plugins.deprecated', 'Deprecated'),
12 | ('nose.plugins.doctests', 'Doctest'),
13 | ('nose.plugins.isolate', 'IsolationPlugin'),
14 | ('nose.plugins.failuredetail', 'FailureDetail'),
15 | ('nose.plugins.prof', 'Profile'),
16 | ('nose.plugins.skip', 'Skip'),
17 | ('nose.plugins.testid', 'TestId'),
18 | ('nose.plugins.multiprocess', 'MultiProcess'),
19 | ('nose.plugins.xunit', 'Xunit'),
20 | ('nose.plugins.allmodules', 'AllModules'),
21 | ('nose.plugins.collect', 'CollectOnly'),
22 | )
23 |
24 | for module, cls in builtins:
25 | try:
26 | plugmod = __import__(module, globals(), locals(), [cls])
27 | except KeyboardInterrupt:
28 | raise
29 | except:
30 | continue
31 | plug = getattr(plugmod, cls)
32 | plugins.append(plug)
33 | globals()[cls] = plug
34 |
35 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip-22.3.1.dist-info/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2008-present The pip developers (see AUTHORS.txt file)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_internal/utils/_log.py:
--------------------------------------------------------------------------------
1 | """Customize logging
2 |
3 | Defines custom logger class for the `logger.verbose(...)` method.
4 |
5 | init_logging() must be called before any other modules that call logging.getLogger.
6 | """
7 |
8 | import logging
9 | from typing import Any, cast
10 |
11 | # custom log level for `--verbose` output
12 | # between DEBUG and INFO
13 | VERBOSE = 15
14 |
15 |
16 | class VerboseLogger(logging.Logger):
17 | """Custom Logger, defining a verbose log-level
18 |
19 | VERBOSE is between INFO and DEBUG.
20 | """
21 |
22 | def verbose(self, msg: str, *args: Any, **kwargs: Any) -> None:
23 | return self.log(VERBOSE, msg, *args, **kwargs)
24 |
25 |
26 | def getLogger(name: str) -> VerboseLogger:
27 | """logging.getLogger, but ensures our VerboseLogger class is returned"""
28 | return cast(VerboseLogger, logging.getLogger(name))
29 |
30 |
31 | def init_logging() -> None:
32 | """Register our VerboseLogger and VERBOSE log level.
33 |
34 | Should be called before any calls to getLogger(),
35 | i.e. in pip._internal.__init__
36 | """
37 | logging.setLoggerClass(VerboseLogger)
38 | logging.addLevelName(VERBOSE, "VERBOSE")
39 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py:
--------------------------------------------------------------------------------
1 | """
2 | pygments.modeline
3 | ~~~~~~~~~~~~~~~~~
4 |
5 | A simple modeline parser (based on pymodeline).
6 |
7 | :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
8 | :license: BSD, see LICENSE for details.
9 | """
10 |
11 | import re
12 |
13 | __all__ = ['get_filetype_from_buffer']
14 |
15 |
16 | modeline_re = re.compile(r'''
17 | (?: vi | vim | ex ) (?: [<=>]? \d* )? :
18 | .* (?: ft | filetype | syn | syntax ) = ( [^:\s]+ )
19 | ''', re.VERBOSE)
20 |
21 |
22 | def get_filetype_from_line(l):
23 | m = modeline_re.search(l)
24 | if m:
25 | return m.group(1)
26 |
27 |
28 | def get_filetype_from_buffer(buf, max_lines=5):
29 | """
30 | Scan the buffer for modelines and return filetype if one is found.
31 | """
32 | lines = buf.splitlines()
33 | for l in lines[-1:-max_lines-1:-1]:
34 | ret = get_filetype_from_line(l)
35 | if ret:
36 | return ret
37 | for i in range(max_lines, -1, -1):
38 | if i < len(lines):
39 | ret = get_filetype_from_line(lines[i])
40 | if ret:
41 | return ret
42 |
43 | return None
44 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Cipher/ChaCha20_Poly1305.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Tuple, overload
2 |
3 | Buffer = Union[bytes, bytearray, memoryview]
4 |
5 | class ChaCha20Poly1305Cipher:
6 | nonce: bytes
7 |
8 | def __init__(self, key: Buffer, nonce: Buffer) -> None: ...
9 | def update(self, data: Buffer) -> None: ...
10 | @overload
11 | def encrypt(self, plaintext: Buffer) -> bytes: ...
12 | @overload
13 | def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
14 | @overload
15 | def decrypt(self, plaintext: Buffer) -> bytes: ...
16 | @overload
17 | def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
18 | def digest(self) -> bytes: ...
19 | def hexdigest(self) -> str: ...
20 | def verify(self, received_mac_tag: Buffer) -> None: ...
21 | def hexverify(self, received_mac_tag: str) -> None: ...
22 | def encrypt_and_digest(self, plaintext: Buffer) -> Tuple[bytes, bytes]: ...
23 | def decrypt_and_verify(self, ciphertext: Buffer, received_mac_tag: Buffer) -> bytes: ...
24 |
25 | def new(key: Buffer, nonce: Buffer = ...) -> ChaCha20Poly1305Cipher: ...
26 |
27 | block_size: int
28 | key_size: int
29 |
--------------------------------------------------------------------------------
/setup.py:
--------------------------------------------------------------------------------
1 | import setuptools
2 |
3 | with open("README.md", "r") as fh:
4 | long_description = fh.read()
5 |
6 | setuptools.setup(
7 | name="rave_python",
8 | version="1.4.2",
9 | author="Flutterwave",
10 | author_email="developers@flutterwavego.com",
11 | description="Python library for Flutterwave for Business (F4B) v2 APIs.",
12 | long_description=long_description,
13 | long_description_content_type="text/markdown",
14 | url="https://github.com/Flutterwave/rave-python",
15 | license="MIT",
16 | packages=setuptools.find_packages(),
17 | python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
18 | classifiers=(
19 | "Programming Language :: Python :: 2",
20 | "Programming Language :: Python :: 2.7",
21 | "Programming Language :: Python :: 3",
22 | "Programming Language :: Python :: 3.5",
23 | "Programming Language :: Python :: 3.6",
24 | "Programming Language :: Python :: 3.7",
25 | "Programming Language :: Python :: 3.8",
26 | "License :: OSI Approved :: MIT License",
27 | "Operating System :: OS Independent",
28 | ),
29 | install_requires=[
30 | 'pycryptodome',
31 | 'requests'
32 | ]
33 | )
34 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Signature/DSS.pyi:
--------------------------------------------------------------------------------
1 | from typing import Union, Optional, Callable
2 | from typing_extensions import Protocol
3 |
4 | from Crypto.PublicKey.DSA import DsaKey
5 | from Crypto.PublicKey.ECC import EccKey
6 |
7 | class Hash(Protocol):
8 | def digest(self) -> bytes: ...
9 |
10 | __all__ = ['new']
11 |
12 | class DssSigScheme:
13 | def __init__(self, key: Union[DsaKey, EccKey], encoding: str, order: int) -> None: ...
14 | def can_sign(self) -> bool: ...
15 | def sign(self, msg_hash: Hash) -> bytes: ...
16 | def verify(self, msg_hash: Hash, signature: bytes) -> bool: ...
17 |
18 | class DeterministicDsaSigScheme(DssSigScheme):
19 | def __init__(self, key, encoding, order, private_key) -> None: ...
20 |
21 | class FipsDsaSigScheme(DssSigScheme):
22 | def __init__(self, key: DsaKey, encoding: str, order: int, randfunc: Callable) -> None: ...
23 |
24 | class FipsEcDsaSigScheme(DssSigScheme):
25 | def __init__(self, key: EccKey, encoding: str, order: int, randfunc: Callable) -> None: ...
26 |
27 | def new(key: Union[DsaKey, EccKey], mode: str, encoding: Optional[str]='binary', randfunc: Optional[Callable]=None) -> Union[DeterministicDsaSigScheme, FipsDsaSigScheme, FipsEcDsaSigScheme]: ...
28 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py:
--------------------------------------------------------------------------------
1 | from typing import Callable, Match, Optional
2 | import re
3 |
4 | from ._emoji_codes import EMOJI
5 |
6 |
7 | _ReStringMatch = Match[str] # regex match object
8 | _ReSubCallable = Callable[[_ReStringMatch], str] # Callable invoked by re.sub
9 | _EmojiSubMethod = Callable[[_ReSubCallable, str], str] # Sub method of a compiled re
10 |
11 |
12 | def _emoji_replace(
13 | text: str,
14 | default_variant: Optional[str] = None,
15 | _emoji_sub: _EmojiSubMethod = re.compile(r"(:(\S*?)(?:(?:\-)(emoji|text))?:)").sub,
16 | ) -> str:
17 | """Replace emoji code in text."""
18 | get_emoji = EMOJI.__getitem__
19 | variants = {"text": "\uFE0E", "emoji": "\uFE0F"}
20 | get_variant = variants.get
21 | default_variant_code = variants.get(default_variant, "") if default_variant else ""
22 |
23 | def do_replace(match: Match[str]) -> str:
24 | emoji_code, emoji_name, variant = match.groups()
25 | try:
26 | return get_emoji(emoji_name.lower()) + get_variant(
27 | variant, default_variant_code
28 | )
29 | except KeyError:
30 | return emoji_code
31 |
32 | return _emoji_sub(do_replace, text)
33 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/__init__.py:
--------------------------------------------------------------------------------
1 | from functools import reduce
2 | from typing import Any, Callable, Dict
3 |
4 | from . import formats
5 | from .error_reporting import detailed_errors, ValidationError
6 | from .extra_validations import EXTRA_VALIDATIONS
7 | from .fastjsonschema_exceptions import JsonSchemaException, JsonSchemaValueException
8 | from .fastjsonschema_validations import validate as _validate
9 |
10 | __all__ = [
11 | "validate",
12 | "FORMAT_FUNCTIONS",
13 | "EXTRA_VALIDATIONS",
14 | "ValidationError",
15 | "JsonSchemaException",
16 | "JsonSchemaValueException",
17 | ]
18 |
19 |
20 | FORMAT_FUNCTIONS: Dict[str, Callable[[str], bool]] = {
21 | fn.__name__.replace("_", "-"): fn
22 | for fn in formats.__dict__.values()
23 | if callable(fn) and not fn.__name__.startswith("_")
24 | }
25 |
26 |
27 | def validate(data: Any) -> bool:
28 | """Validate the given ``data`` object using JSON Schema
29 | This function raises ``ValidationError`` if ``data`` is invalid.
30 | """
31 | with detailed_errors():
32 | _validate(data, custom_formats=FORMAT_FUNCTIONS)
33 | reduce(lambda acc, fn: fn(acc), EXTRA_VALIDATIONS, data)
34 | return True
35 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/urllib3-1.26.9.dist-info/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2008-2020 Andrey Petrov and contributors (see CONTRIBUTORS.txt)
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.
22 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py:
--------------------------------------------------------------------------------
1 | # SPDX-FileCopyrightText: 2015 Eric Larson
2 | #
3 | # SPDX-License-Identifier: Apache-2.0
4 |
5 | from __future__ import division
6 |
7 | from datetime import datetime
8 | from pip._vendor.cachecontrol.cache import BaseCache
9 |
10 |
11 | class RedisCache(BaseCache):
12 |
13 | def __init__(self, conn):
14 | self.conn = conn
15 |
16 | def get(self, key):
17 | return self.conn.get(key)
18 |
19 | def set(self, key, value, expires=None):
20 | if not expires:
21 | self.conn.set(key, value)
22 | elif isinstance(expires, datetime):
23 | expires = expires - datetime.utcnow()
24 | self.conn.setex(key, int(expires.total_seconds()), value)
25 | else:
26 | self.conn.setex(key, expires, value)
27 |
28 | def delete(self, key):
29 | self.conn.delete(key)
30 |
31 | def clear(self):
32 | """Helper for clearing all the keys in a database. Use with
33 | caution!"""
34 | for key in self.conn.keys():
35 | self.conn.delete(key)
36 |
37 | def close(self):
38 | """Redis uses connection pooling, no need to close the connection."""
39 | pass
40 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py:
--------------------------------------------------------------------------------
1 | from typing import NamedTuple, Tuple
2 |
3 |
4 | class ColorTriplet(NamedTuple):
5 | """The red, green, and blue components of a color."""
6 |
7 | red: int
8 | """Red component in 0 to 255 range."""
9 | green: int
10 | """Green component in 0 to 255 range."""
11 | blue: int
12 | """Blue component in 0 to 255 range."""
13 |
14 | @property
15 | def hex(self) -> str:
16 | """get the color triplet in CSS style."""
17 | red, green, blue = self
18 | return f"#{red:02x}{green:02x}{blue:02x}"
19 |
20 | @property
21 | def rgb(self) -> str:
22 | """The color in RGB format.
23 |
24 | Returns:
25 | str: An rgb color, e.g. ``"rgb(100,23,255)"``.
26 | """
27 | red, green, blue = self
28 | return f"rgb({red},{green},{blue})"
29 |
30 | @property
31 | def normalized(self) -> Tuple[float, float, float]:
32 | """Convert components into floats between 0 and 1.
33 |
34 | Returns:
35 | Tuple[float, float, float]: A tuple of three normalized colour components.
36 | """
37 | red, green, blue = self
38 | return red / 255.0, green / 255.0, blue / 255.0
39 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/pip/_vendor/distro/__init__.py:
--------------------------------------------------------------------------------
1 | from .distro import (
2 | NORMALIZED_DISTRO_ID,
3 | NORMALIZED_LSB_ID,
4 | NORMALIZED_OS_ID,
5 | LinuxDistribution,
6 | __version__,
7 | build_number,
8 | codename,
9 | distro_release_attr,
10 | distro_release_info,
11 | id,
12 | info,
13 | like,
14 | linux_distribution,
15 | lsb_release_attr,
16 | lsb_release_info,
17 | major_version,
18 | minor_version,
19 | name,
20 | os_release_attr,
21 | os_release_info,
22 | uname_attr,
23 | uname_info,
24 | version,
25 | version_parts,
26 | )
27 |
28 | __all__ = [
29 | "NORMALIZED_DISTRO_ID",
30 | "NORMALIZED_LSB_ID",
31 | "NORMALIZED_OS_ID",
32 | "LinuxDistribution",
33 | "build_number",
34 | "codename",
35 | "distro_release_attr",
36 | "distro_release_info",
37 | "id",
38 | "info",
39 | "like",
40 | "linux_distribution",
41 | "lsb_release_attr",
42 | "lsb_release_info",
43 | "major_version",
44 | "minor_version",
45 | "name",
46 | "os_release_attr",
47 | "os_release_info",
48 | "uname_attr",
49 | "uname_info",
50 | "version",
51 | "version_parts",
52 | ]
53 |
54 | __version__ = __version__
55 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/Crypto/Hash/SHA.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | #
3 | # ===================================================================
4 | # The contents of this file are dedicated to the public domain. To
5 | # the extent that dedication to the public domain is not available,
6 | # everyone is granted a worldwide, perpetual, royalty-free,
7 | # non-exclusive license to exercise all rights associated with the
8 | # contents of this file for any purpose whatsoever.
9 | # No rights are reserved.
10 | #
11 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
12 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
13 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14 | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
15 | # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
16 | # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17 | # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18 | # SOFTWARE.
19 | # ===================================================================
20 |
21 | # This file exists for backward compatibility with old code that refers to
22 | # Crypto.Hash.SHA
23 |
24 | from Crypto.Hash.SHA1 import __doc__, new, block_size, digest_size
25 |
--------------------------------------------------------------------------------
/testing/lib/python3.10/site-packages/setuptools/config/__init__.py:
--------------------------------------------------------------------------------
1 | """For backward compatibility, expose main functions from
2 | ``setuptools.config.setupcfg``
3 | """
4 | import warnings
5 | from functools import wraps
6 | from textwrap import dedent
7 | from typing import Callable, TypeVar, cast
8 |
9 | from .._deprecation_warning import SetuptoolsDeprecationWarning
10 | from . import setupcfg
11 |
12 | Fn = TypeVar("Fn", bound=Callable)
13 |
14 | __all__ = ('parse_configuration', 'read_configuration')
15 |
16 |
17 | def _deprecation_notice(fn: Fn) -> Fn:
18 | @wraps(fn)
19 | def _wrapper(*args, **kwargs):
20 | msg = f"""\
21 | As setuptools moves its configuration towards `pyproject.toml`,
22 | `{__name__}.{fn.__name__}` became deprecated.
23 |
24 | For the time being, you can use the `{setupcfg.__name__}` module
25 | to access a backward compatible API, but this module is provisional
26 | and might be removed in the future.
27 | """
28 | warnings.warn(dedent(msg), SetuptoolsDeprecationWarning, stacklevel=2)
29 | return fn(*args, **kwargs)
30 |
31 | return cast(Fn, _wrapper)
32 |
33 |
34 | read_configuration = _deprecation_notice(setupcfg.read_configuration)
35 | parse_configuration = _deprecation_notice(setupcfg.parse_configuration)
36 |
--------------------------------------------------------------------------------