{"id":24226,"library":"peopledatalabs","title":"People Data Labs Python Client","description":"Official Python client for the People Data Labs API. Provides access to person, company, job, school, and other enrichment datasets. As of version 6.4.13, the library supports Python 3.8+ and is actively maintained with frequent dependency updates.","status":"active","version":"6.4.13","language":"python","source_language":"en","source_url":"https://github.com/peopledatalabs/peopledatalabs-python","tags":["api-client","data-enrichment","people-data"],"install":[{"cmd":"pip install peopledatalabs","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"PDLClient is exported from the top-level package, not from a submodule.","wrong":"from peopledatalabs.client import PDLClient","symbol":"PDLClient","correct":"from peopledatalabs import PDLClient"}],"quickstart":{"code":"from peopledatalabs import PDLClient\n\nclient = PDLClient(api_key=os.environ.get('PDL_API_KEY', ''))\nresponse = client.person.enrichment(\n    email='test@example.com',\n    pretty=True\n)\nprint(response)","lang":"python","description":"Initialize the client with your API key and perform a person enrichment query by email."},"warnings":[{"fix":"Set the PDL_API_KEY environment variable or pass api_key='your_key' to the constructor.","message":"API key is required and must be passed as a string. If omitted or None, the client will raise a PdlException with message 'API key is required'.","severity":"gotcha","affected_versions":">=6.0.0"},{"fix":"Replace client.person.retrieve(...) with client.person.enrichment(...).","message":"The method 'person.retrieve' (used in older versions) is deprecated; use 'person.enrichment' instead.","severity":"deprecated","affected_versions":">=6.0.0"},{"fix":"Upgrade Python to 3.8 or later.","message":"Python 3.7 support dropped in v6.0. The library now requires Python >=3.8.","severity":"breaking","affected_versions":"6.0.0 to present"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Set the PDL_API_KEY environment variable or pass api_key to PDLClient.","cause":"No API key was provided to PDLClient.","error":"peopledatalabs.exceptions.PdlException: API key is required"},{"fix":"Use 'from peopledatalabs import PDLClient'.","cause":"User tried to import from a submodule instead of the top-level package.","error":"ImportError: cannot import name 'PDLClient' from 'peopledatalabs.client'"},{"fix":"Remove api_secret parameter; use api_key instead.","cause":"In v6, the API secret is no longer supported; only API key is used.","error":"TypeError: __init__() got an unexpected keyword argument 'api_secret'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}