A library to convert numbers to words and vice versa
Project description
NumRender Library
A simple Python library to convert numbers to their word representations and vice versa.
Installation
# Installation instructions will be added here once published
# For now, you can install it locally:
pip install NumRender
Usage
import NumRender
# Convert words to number
number = NumRender.words_to_number("three hundred and twenty five")
print(number) # Output: 325
number = NumRender.words_to_number("five thousand")
print(number) # Output: 5000
# Convert number to words
words = NumRender.number_to_words(1234)
print(words) # Output: one thousand two hundred and thirty-four (example, actual output might vary slightly based on implementation)
words = NumRender.number_to_words(5000)
print(words) # Output: five thousand
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details (if added).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file numrender-0.1.0-py3-none-any.whl.
File metadata
- Download URL: numrender-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84b1be571cd7a91ebc0fa696646e4b76f67326cb595ddc5d81ebf866018b7406
|
|
| MD5 |
093f5e93d493846925f302ffa95f4a92
|
|
| BLAKE2b-256 |
fd2ede783e5127ae16ec8dafafcf37bdbdccacf33649d7d3824a36f3ecd226ea
|