{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"ResourceBundle manages internationalization and localization of string resources in Java PropertyResourceBundle format, allowing you to load locale-specific key-value pairs and fall back through parent bundles.","skillfed_tags":["i18n-l10n","java-interop"],"use_cases":["Porting a Java application to Python while preserving existing PropertyResourceBundle translation files.","Loading locale-specific strings from .properties files in a Python application that originated from Java.","Converting Java ResourceBundle files to gettext .po files as a one-time migration step.","Maintaining a shared resource bundle format across Java and Python codebases in a polyglot team.","Quick prototyping when you already have Java .properties files and need them available in Python immediately."],"what_it_does":"ResourceBundle is a bridge for Python developers who need to work with Java PropertyResourceBundle files\u2014the same key-value format Java uses for i18n. It loads locale-specific resource bundles, retrieves translated strings by key, and falls back through parent bundles (e.g., from en_US to en to a default) when a key is not found. The package also includes a converter to migrate PropertyResourceBundle files to Python's standard gettext format.\n\nThe package is explicitly not the Pythonic way to do internationalization; the author recommends using Python's built-in gettext module for new projects. ResourceBundle is intended for porting existing Java applications to Python or for teams that must maintain compatibility with Java resource files. It has a single runtime dependency (importlib-metadata) and supports Python 3.5 through 3.13.","worth_installing":"Yes, if you must work with Java PropertyResourceBundle files or are porting from Java. The package is low-friction to install and has no known vulnerabilities. However, it is dormant\u2014do not expect active maintenance or bug fixes. For new Python projects, use Python's standard gettext module instead. The package is suitable for legacy integration or one-time migration tasks."},"id":"resourcebundle","links":{"html":"https://skillfed.io/packages/resourcebundle","md":"https://skillfed.io/packages/resourcebundle.md","pypi":"https://pypi.org/project/resourcebundle/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-18","license_spdx":null,"license_treatment":"permissive","name":"ResourceBundle","python_support":"supports_current","summary":"ResourceBundle is a module that manages internationalization of string resources."},"popularity":{"monthly_downloads":83455,"position":14074,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.0"}
