How to use the certifi.contents 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 certifi / python-certifi / certifi / __main__.py View on Github external
import argparse

from certifi import contents, where

parser = argparse.ArgumentParser()
parser.add_argument("-c", "--contents", action="store_true")
args = parser.parse_args()

if args.contents:
    print(contents())
else:
    print(where())
github h3llrais3r / Auto-Subliminal / lib / certifi / __main__.py View on Github external
import argparse

from certifi import contents, where

parser = argparse.ArgumentParser()
parser.add_argument("-c", "--contents", action="store_true")
args = parser.parse_args()

if args.contents:
    print(contents())
else:
    print(where())

certifi

Python package for providing Mozilla's CA Bundle.

MPL-2.0
Latest version published 3 months ago

Package Health Score

89 / 100
Full package analysis

Similar packages