certs.py 429 B

1234567891011121314151617
  1. #!/usr/bin/env python
  2. """
  3. requests.certs
  4. ~~~~~~~~~~~~~~
  5. This module returns the preferred default CA certificate bundle. There is
  6. only one — the one from the certifi package.
  7. If you are packaging Requests, e.g., for a Linux distribution or a managed
  8. environment, you can change the definition of where() to return a separately
  9. packaged CA bundle.
  10. """
  11. from certifi import where
  12. if __name__ == "__main__":
  13. print(where())