word2number
Convert number words eg. three hundred and forty two to numbers (342).
Decision gist · record as of 2026-08-14
No—install only if you have a legacy codebase already using it. The package is abandoned (no releases since 2017, last commit August 2023), has high install friction with explicit pip-update warnings, and lacks active maintenance. For new projects, consider a maintained alternative or implement the conversion logic directly, especially given the straightforward nature of the task.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package is abandoned and may have compatibility issues with modern Python versions; explicit pip update required before installation per documentation.
- High install friction reported; the package is abandoned (last commit 2023-08-17, no releases since 2017-06-02) and explicitly requires an updated pip before installation, suggesting potential compatibility issues with modern Python environments.
License · maintenance · safety
permissive license (permissive) — MIT License (permissive) allows commercial and private use with minimal restrictions, requiring only that the original copyright notice and license text be included in distributions.
last release 2017-06-02 (3360 days) · last repo commit 2023-08-17 · 179 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,691,266 downloads/mo, #3,648 on PyPI
Alternatives
Verify before relying
pip install word2number
from word2number import w2n
print(w2n.word_to_num("two million three thousand nine hundred and eighty four"))
# Output: 2003984- Whether the package works reliably with Python 3.6+ given its abandoned status and last release in 2017.
- What specific errors or edge cases occur with the high install friction; whether this is a known environment issue.
- Whether the package handles negative numbers despite the documentation stating it works for positive numbers only.
What it is and what it does
word2number is a lightweight Python library that parses English number words and converts them to their numeric equivalents. It accepts written forms like "twenty one" or "two million three thousand" and returns the corresponding integer or decimal value. The package supports a range up to 999,999,999,999 and can handle both whole numbers and decimal points (e.g., "two point three" becomes 2.3).
The library has no runtime dependencies and is designed for straightforward text-to-number conversion tasks. However, it is no longer actively maintained—the last release was in 2017 and the repository shows no commits since August 2023. The package explicitly warns that an updated pip is required before installation, which suggests potential compatibility friction with modern Python environments. It is classified as Production/Stable but should be treated as a legacy tool.
Use it for
- Parse user input in chatbots or voice interfaces that receive spoken or typed number words and need numeric values.
- Convert written numbers in documents or forms to digits for data processing or validation workflows.
- Educational applications that teach number recognition or conversion between word and numeric representations.
- Natural language processing pipelines that need to normalize number expressions in text before analysis.
- Data cleaning tasks where legacy text records contain spelled-out numbers that must be converted to numeric format.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—install only if you have a legacy codebase already using it.
The package is abandoned (no releases since 2017, last commit August 2023), has high install friction with explicit pip-update warnings, and lacks active maintenance. For new projects, consider a maintained alternative or implement the conversion logic directly, especially given the straightforward nature of the task.
Install
word2number on PyPI
Before you install
High install friction reported; the package is abandoned (last commit 2023-08-17, no releases since 2017-06-02) and explicitly requires an updated pip before installation, suggesting potential compatibility issues with modern Python environments.
Package is abandoned and may have compatibility issues with modern Python versions; explicit pip update required before installation per documentation.
License in practice
MIT License (permissive) allows commercial and private use with minimal restrictions, requiring only that the original copyright notice and license text be included in distributions.
Quickstart
pip install word2number
from word2number import w2n
print(w2n.word_to_num("two million three thousand nine hundred and eighty four"))
# Output: 2003984
Verify before relying
- Whether the package works reliably with Python 3.6+ given its abandoned status and last release in 2017.
- What specific errors or edge cases occur with the high install friction; whether this is a known environment issue.
- Whether the package handles negative numbers despite the documentation stating it works for positive numbers only.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,360 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,691,266 / month, #3,648 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Customer ServiceIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Healthcare IndustryIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3.6Topic :: Documentation :: SphinxTopic :: EducationTopic :: Education :: Computer Aided Instruction (CAI)Topic :: Education :: TestingTopic :: Games/Entertainment :: Board GamesTopic :: Games/Entertainment :: Turn Based StrategyTopic :: Scientific/Engineering :: Human Machine InterfacesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Version Control :: GitTopic :: Utilities |
Evidence: word2number-1.1.zip
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 › “convert words to numbers”
- word2numberConverts written-out number words (like "twenty one") into numeric…
- text2digitsConverts written-out number words in text to their digit equivalents,…
- indic-numtowordsConverts non-negative integers to their word representations in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules 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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also text2digits · number-parser · text2num · unicode-rbnf · inflect · num2words · indic-numtowords · pluralizer · roman-numerals · pyx12