ResourceBundle
ResourceBundle is a module that manages internationalization of string resources.
Decision gist · record as of 2026-08-14
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—do 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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with low friction—a pure Python wheel with only importlib-metadata as a runtime dependency.
- The package is dormant (last release April 2024, last commit July 2024) but not archived, so it remains available; expect no active maintenance.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects that need to consume ResourceBundle files.
last release 2024-04-18 (848 days) · last repo commit 2024-07-30 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,455 downloads/mo, #14,074 on PyPI
Alternatives
Verify before relying
import ResourceBundle
bundle = ResourceBundle.get_bundle("Strings", "en")
value = bundle.get("key")- Whether the package handles Java PropertyResourceBundle format edge cases or encoding variations not documented in the excerpt.
- Performance characteristics when loading large .properties files or working with many locales.
- Whether the Converter.to_gettext() method is production-ready or primarily a migration aid.
What it is and what it does
ResourceBundle is a bridge for Python developers who need to work with Java PropertyResourceBundle files—the 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.
The 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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—do 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.
Install
resourcebundle on PyPI
Before you install
Installation is straightforward with low friction—a pure Python wheel with only importlib-metadata as a runtime dependency. The package is dormant (last release April 2024, last commit July 2024) but not archived, so it remains available; expect no active maintenance.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects that need to consume ResourceBundle files.
Quickstart
import ResourceBundle
bundle = ResourceBundle.get_bundle("Strings", "en")
value = bundle.get("key")
Verify before relying
- Whether the package handles Java PropertyResourceBundle format edge cases or encoding variations not documented in the excerpt.
- Performance characteristics when loading large .properties files or working with many locales.
- Whether the Converter.to_gettext() method is production-ready or primarily a migration aid.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageimportlib-metadata |
| Maintenance | Dormant 848 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,455 / month, #14,074 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities |
Evidence: ResourceBundle-2.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “java resourcebundle python”
- ResourceBundleResourceBundle manages internationalization and localization of…
- pyjniusPyJNIus lets Python code call Java classes and methods directly using…
- pemjaPemJa enables Python code to call Java methods and classes, and Java…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also babel · jproperties · translationstring · django-statici18n · translate-toolkit · quart_babel · weblate-language-data · flask-babel · compare-locales · oslo.i18n