Registry / security / pymultirole-plugins

pymultirole-plugins

JSON →
library1.8.33pypypi✓ verified 82d ago

Sherpa multirole plugins library for managing role-based access control in multi-role systems. Current version 1.8.33, requires Python >=3.12. Released under MIT license.

pip install pymultirole-plugins
INSTALL
IMPORT
SIG · PYMULTIROLE-PLUGIN
P
pymultirole-plugins
securitypythonv1.8.33
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RoleManager
import pymultirole_plugins
from pymultirole_plugins import RoleManager

Initialize RoleManager with API key and fetch roles.

import os from pymultirole_plugins import RoleManager manager = RoleManager(api_key=os.environ.get('SHERPA_API_KEY', '')) roles = manager.get_roles() print(roles)
Debug
Known issues
breakingIn version 2.0, the import path for RoleManager changed from pymultirole_plugins.core to pymultirole_plugins
fix
Update imports: from pymultirole_plugins import RoleManager
affects: >=2.0
gotchaAPI key must be passed as named argument 'api_key', not positional
fix
RoleManager(api_key='...') not RoleManager('...')
affects: all
deprecatedThe 'get_all_roles' method is deprecated; use 'get_roles' instead
fix
Replace .get_all_roles() with .get_roles()
affects: >=1.5, <2.0
Upgrade
Version history
1.8.33latest on PyPI · released May 6, 2026
Audit
Dependencies
sherpa-ai-clientrequiredCore dependency for Sherpa AI integration
pydanticrequiredUsed for data validation
Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources

No resource links recorded.

pymultirole-plugins — pip install pymultirole-plugins · libregistry