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.13.tar.gz (3.0 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.13-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: num2heb-0.1.13.tar.gz
  • Upload date:
  • Size: 3.0 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.13.tar.gz
Algorithm Hash digest
SHA256 3f53013c89a3560d9d01dc0f6a0ccf124cbb81415e9b09418e3d850bb60e3424
MD5 c400fef7acec78c75fec9b2a4b047be3
BLAKE2b-256 98643de3083237a96c2477af1be79ab184927c433da4ccd4c39483ba673f3c8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: num2heb-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 b041062172f18471e6ff37b2ccd905cfddeaf1ccabb72bdc470373e825163701
MD5 f08ca06d84d8209dfedeaa9cb8639a4d
BLAKE2b-256 0a252f437756b0936d776c8790551502cebaecb886ce01d59428954ea55c885c

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