Home / File/ certs.py — requests Source File

certs.py — requests Source File

Architecture documentation for certs.py, a python file in the requests codebase. 1 imports, 0 dependents.

File python CoreAPI VerbHandlers 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  a56d67ca_ea4d_6920_e83f_512724cbba2c["certs.py"]
  681bcc03_b9c3_1524_b038_cef2119d92cc["certifi"]
  a56d67ca_ea4d_6920_e83f_512724cbba2c --> 681bcc03_b9c3_1524_b038_cef2119d92cc
  style a56d67ca_ea4d_6920_e83f_512724cbba2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

#!/usr/bin/env python

"""
requests.certs
~~~~~~~~~~~~~~

This module returns the preferred default CA certificate bundle. There is
only one — the one from the certifi package.

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.
"""

from certifi import where

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

Domain

Subdomains

Functions

Dependencies

  • certifi

Frequently Asked Questions

What does certs.py do?
certs.py is a source file in the requests codebase, written in python. It belongs to the CoreAPI domain, VerbHandlers subdomain.
What functions are defined in certs.py?
certs.py defines 1 function(s): print.
What does certs.py depend on?
certs.py imports 1 module(s): certifi.
Where is certs.py in the architecture?
certs.py is located at src/requests/certs.py (domain: CoreAPI, subdomain: VerbHandlers, directory: src/requests).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free