{"library":"python-openid","title":"python-openid","description":"Python OpenID library for server and consumer implementations. Current version is 2.2.5, released 2014. In maintenance mode with no active development; last release was over a decade ago.","language":"python","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["pip install python-openid"],"cli":null},"imports":["from openid.consumer.consumer import Consumer","from openid.store import memstore, filestore"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from openid.consumer.consumer import Consumer\nfrom openid.store.memstore import MemoryStore\nfrom openid.fetchers import setDefaultFetcher, Urllib2Fetcher\n\nstore = MemoryStore()\nconsumer = Consumer({}, store)\nsetDefaultFetcher(Urllib2Fetcher())\nreturn_to = 'http://example.com/openid/return'\n# Use consumer.begin(openid_url) to initiate authentication\n# Then handle the response in your return endpoint.","lang":"python","description":"Initialize a Consumer with a memory store and default fetcher to begin the OpenID authentication flow.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}