Skip to main content

A Function to convert a number into words in Hebrew

Project description

num2heb

Convert numbers to Hebrew words in Python and JavaScript.

Installation

Python

pip install num2heb

JavaScript/TypeScript

npm install num2heb

Usage

Python

from num2heb import number_to_words

result = number_to_words(123)
print(result)  # Output: "מאה עשרים ושלושה"

JavaScript

const numberToWords = require("num2heb");

const result = numberToWords(123);
console.log(result); // Output: "מאה עשרים ושלושה"

TypeScript

import numberToWords from "num2heb";

const result: string = numberToWords(123);
console.log(result); // Output: "מאה עשרים ושלושה"

Contributing

If you would like to contribute to this package, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

num2heb-0.1.12.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

num2heb-0.1.12-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file num2heb-0.1.12.tar.gz.

File metadata

  • Download URL: num2heb-0.1.12.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.3

File hashes

Hashes for num2heb-0.1.12.tar.gz
Algorithm Hash digest
SHA256 e4ae88ceab23e3576ac0e1ae61610e26225d7f9c4dad7279c953bc0e5e1fdccb
MD5 36f46efa7b1613cc3f1e155311b91f27
BLAKE2b-256 0ad1ca571e0738ecf5e756146a2f2b0b42293d28263f3da359344dfbb977b53a

See more details on using hashes here.

File details

Details for the file num2heb-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: num2heb-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.3

File hashes

Hashes for num2heb-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 c76a7d011c392c104baf6df27b8ff6d7c3e7afea20ac0d8685e531e3d0c0936e
MD5 9cab4757b88bc721325b8c53cb2c7d0b
BLAKE2b-256 d6844af65b06a6239e3aec270a521cbea4e37fcec05ce5c71e92145985d89c4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page