{"library":"resourcebundle","title":"ResourceBundle","description":"ResourceBundle is an i18n module for managing string resources in Python, supporting .properties, JSON, and YAML formats. Current version is 2.2.0, requiring Python >=3.5. It follows Java ResourceBundle patterns with locale fallback.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install resourcebundle"],"cli":null},"imports":["from resourcebundle import ResourceBundle","from resourcebundle import ResourceBundleError"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from resourcebundle import ResourceBundle\nimport os\n# Create a bundle with base name 'messages' in current directory\nbundle = ResourceBundle('messages', base_path='.', locale='en')\nprint(bundle.get('greeting', default='Hello'))\n# Output: Hello (or translated value if 'messages_en.properties' exists)","lang":"python","description":"Create a ResourceBundle with base name 'messages', locale 'en', and get a string 'greeting'.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}