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.11.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.11-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: num2heb-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 ccf0566540f0692f9abcc7345b826f0f29c82479096b737617920c6d97facf02
MD5 97f764206ef361e6769f8d68289fb433
BLAKE2b-256 34fa848d7623aaa02fc00aab25aec6d7ec3681596717854d37336dc5efe640c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: num2heb-0.1.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 bf587ad0fc75d6cfbe7625fd1fcfe6751b8cd0082575de5d40bf7234ae0396e2
MD5 c060466afb373744366adfdd7e9ee376
BLAKE2b-256 125cdabf1d003d1aea506eb2cac26cfa64fa3cfac4799328134a845bbb6005c6

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