How to use the certifi.__path__ function in certifi

To help you get started, we’ve selected a few certifi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Oire / TheQube / src / setup.py View on Github external
def certifi_data():
 import certifi
 path = os.path.join(certifi.__path__[0], '*.pem')
 results = glob(path)
 dest_dir = os.path.join('certifi')
 return [(dest_dir, results)]

certifi

Python package for providing Mozilla's CA Bundle.

MPL-2.0
Latest version published 8 days ago

Package Health Score

91 / 100
Full package analysis

Similar packages