Metadata-Version: 2.2
Name: digits_to_word_nepali
Version: 0.1.0
Summary: A package to convert digits into Nepali and English words.
Author-email: Nikish Subedi <nikishsubedi1@gmail.com>
License: MIT License
        
        Copyright (c) 2025
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: Nepali numbers,number conversion,digits to words
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# digits_to_word_nepali

A Python package to convert digits into Nepali and English words.

## Features
- Convert numerical digits into Nepali words.
- Convert numerical digits into English words.
- Convert Nepali Unicode numbers to English numbers.
- Supports currency formatting in both Nepali and English.
- Handles decimal numbers correctly.
- Simple and easy to use.

## Installation
You can install the package using:

```sh
pip install digits_to_word_nepali
```

## Usage

```python
from digits_to_word_nepali import digit_to_nepali_words

# Convert a number to Nepali words
result = digit_to_nepali_words(1234)
print(result)  # Output: "एक हजार दुई सय चौतीस"

# Convert a number with decimals
result = digit_to_nepali_words(1234, {'include_decimal': True})
print(result)  # Output: "एक हजार दुई सय चौतीस"
```

## Running Tests
To run the tests, navigate to the project directory and use:

```sh
pytest tests/
```

Ensure you have `pytest` installed:

```sh
pip install pytest
```

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