PHP 8.2.30
Preview: certs.py Size: 544 B
/proc/self/root/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests/certs.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
certs.py
~~~~~~~~

This module returns the preferred default CA certificate bundle.

If you are packaging Requests, e.g., for a Linux distribution or a managed
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""

import os.path


def where():
    """Return the preferred certificate bundle."""
    # vendored bundle inside Requests
    return os.path.join(os.path.dirname(__file__), 'cacert.pem')

if __name__ == '__main__':
    print(where())

Directory Contents

Dirs: 2 × Files: 15

Name Size Perms Modified Actions
packages DIR
- drwxr-xr-x 2024-03-03 22:37:39
Edit Download
- drwxr-xr-x 2024-03-03 22:37:39
Edit Download
14.27 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
4.24 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
5.98 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
301.21 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
544 B lrw-r--r-- 2023-11-13 21:16:39
Edit Download
2.50 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
16.29 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
1.83 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
820 B lrw-r--r-- 2023-11-13 21:16:39
Edit Download
25.82 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
21.77 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
3.06 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
3.46 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
19.50 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download
1.81 KB lrw-r--r-- 2023-11-13 21:16:39
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).