Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suvash/lakh-crore-numbers
A collection(Python, Rust) of libraries for formatting numbers into the "Lakh Crore" (...हजार, लाख, करोड, अर्ब...) system.
https://github.com/suvash/lakh-crore-numbers
crore internationalization lakh localization nepali numbering python-library python3 rust rust-lang rust-library system
Last synced: 6 days ago
JSON representation
A collection(Python, Rust) of libraries for formatting numbers into the "Lakh Crore" (...हजार, लाख, करोड, अर्ब...) system.
- Host: GitHub
- URL: https://github.com/suvash/lakh-crore-numbers
- Owner: suvash
- License: isc
- Created: 2021-02-22T22:58:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T19:06:43.000Z (almost 4 years ago)
- Last Synced: 2024-12-30T00:05:04.670Z (9 days ago)
- Topics: crore, internationalization, lakh, localization, nepali, numbering, python-library, python3, rust, rust-lang, rust-library, system
- Language: Rust
- Homepage:
- Size: 67.4 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lakh Crore Numbers
[![Build Status](https://github.com/suvash/lakh-crore-numbers/actions/workflows/.github/workflows/run-python-tests.yml/badge.svg)](https://github.com/suvash/lakh-crore-numbers/actions/workflows/run-python-tests.yml)
[![Build Status](https://github.com/suvash/lakh-crore-numbers/actions/workflows/.github/workflows/run-rust-tests.yml/badge.svg)](https://github.com/suvash/lakh-crore-numbers/actions/workflows/run-rust-tests.yml)A collection of libraries in various programming languages for formatting numbers into the "Lakh Crore" (...हजार, लाख, करोड, अर्ब...) system.
This numbering system (also known as Indian numbering system) is widely used in the subcontinent, including Bangladesh, Bhutan, India, Maldives, Nepal, Pakistan and Sri Lanka [to express large numbers](https://en.wikipedia.org/wiki/Indian_numbering_system). The terms `lakh` and `crore` are commonly used in everyday scenarios. The library currently supports formatting all the way up to `sankha`.
## Supported Language(s)
As of now, the library is written for the following languages. Support for more subcontinental languages across other programming languages will be added over time. Please feel free to open a PR for a language you want this library to support.
### Programming Languages
- [Python (3.6 and up)](python)
- [Rust (edition 2018)](rust)### Spoken Languages
- Nepali / नेपाली
## Documentation
The current goal of the library is to be format numbers into two types of representation.
- Number expressed as numeral in the target language
- Number expressed as words in the target languageA handful of functions are made available to facilitate this. Please take a look at the individual language documentation (as mentioned above) for more details.
## License
Copyright © 2021, Suvash Thapaliya
Distributed under the [ISC License](https://github.com/suvash/lakh-crore-numbers/blob/main/LICENSE).