{"id":46710,"library":"types-itsdangerous","title":"types-itsdangerous","description":"Typing stubs for itsdangerous, providing type annotations for secure data serialization. Current version 1.1.6, updated as part of typeshed releases.","status":"active","version":"1.1.6","language":"python","source_language":"en","source_url":"https://github.com/python/typeshed","tags":["typing","stubs","itsdangerous","type-hints"],"install":[{"cmd":"pip install types-itsdangerous","lang":"bash","label":"Install typing stubs for itsdangerous"}],"dependencies":[{"reason":"Runtime library for which stubs are provided","package":"itsdangerous","optional":false}],"imports":[{"wrong":"from itsdangerous.signer import Signer","symbol":"Signer","correct":"from itsdangerous_stubs import Signer"}],"quickstart":{"code":"from itsdangerous import URLSafeTimedSerializer\ns = URLSafeTimedSerializer('secret-key')\ntoken = s.dumps({\"user_id\": 1})\ndata = s.loads(token, max_age=3600)\nprint(data)","lang":"python","description":"Basic usage of URLSafeTimedSerializer with type stubs."},"warnings":[{"fix":"Install both: pip install itsdangerous types-itsdangerous","message":"types-itsdangerous does not provide runtime functionality; it only supplies type hints. Ensure itsdangerous itself is installed separately.","severity":"gotcha","affected_versions":"all"},{"fix":"Check itsdangerous version and typeshed stub version match; update both if needed.","message":"As part of typeshed, stubs may lag behind the latest itsdangerous release. Check compatibility if using newer versions.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.1.6':17 'annot':10 'current':15 'data':13 'hint':29 'itsdanger':3,7,26 'part':20 'provid':8 'releas':23 'secur':12 'serial':14 'stub':5,25 'type':2,4,9,24,28 'type-hint':27 'types-itsdanger':1 'typesh':22 'updat':18 'version':16","created_at":"2026-06-07T13:01:15.439537+00:00","updated_at":"2026-06-07T13:01:15.439537+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'itsdangerous_stubs'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/python/typeshed","github":"https://github.com/python/typeshed","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}