{"library":"py-iam-expand","title":"py-iam-expand","description":"A Python package to expand and deobfuscate AWS IAM policies. Resolves wildcards (*, ?) into the full set of matching IAM actions, can invert action sets, and handles obfuscated policies. Currently at v0.3.0, supporting Python 3.10 through 3.14. Release cadence is irregular.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install py-iam-expand"],"cli":{"name":"iam-expand","version":"sh: 1: iam-expand: not found"}},"imports":["from iam_expand import expand_policy","from iam_expand import expand_actions","from iam_expand import invert_actions"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from iam_expand import expand_policy\n\npolicy_json = '{\"Effect\":\"Allow\",\"Action\":[\"ec2:*\",\"s3:Get*\"]}'\nexpanded = expand_policy(policy_json)\nprint(expanded)","lang":"python","description":"Expand IAM policy JSON containing wildcards into the full set of actions.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}