Python library for converting numbers to Azerbaijani words
Project description
AzNum2Words
Purpose
AzNum2Words serves the purpose of transforming numerical data into written Azerbaijani text, addressing various needs across financial transactions, legal documentation, and statistical analyses.
Installation
You can install AzNum2Words via pip:
pip install aznum2words
Usage
from aznum2words import AzerbaijaniNumberConverter
converter = AzerbaijaniNumberConverter()
print(converter.convert(123456789)) # outputs: bir yüz iyirmi üç milyon dörd yüz əlli altı min yeddi yüz səkkiz doqquz
Testing
AzNum2Words includes comprehensive test coverage to ensure reliability and accuracy. To run the tests, you can use pytest:
pip install pytest
pytest
Contribution Guidelines
Contributions to AzNum2Words are welcome and encouraged! To contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/my-feature
). - Commit your changes (
git commit -am 'Added some feature'
). - Push your changes to your branch (
git push origin feature/my-feature
). - Submit a pull request with a clear description of your changes.
Contributors
This project is made possible by the contributions of dedicated individuals:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aznum2words-0.1.tar.gz
.
File metadata
- Download URL: aznum2words-0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef23d291dab5ca30fc43b55366be944357fe1241aa96f43d726bea06299993f |
|
MD5 | e71103b94eb3268e16b162ac07e58244 |
|
BLAKE2b-256 | fc111edbdf711f25b4ada94e6487506507474cf6bacbddfbf27b82a03a56792d |
File details
Details for the file aznum2words-0.1-py3-none-any.whl
.
File metadata
- Download URL: aznum2words-0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40c34945ad9997e7a822ad3fb4593ef71915eb2de0a4c19539ea17d7ed7c259 |
|
MD5 | dc1b8a862ca2ca9c96b001567704de4f |
|
BLAKE2b-256 | c31a8ba5932ecc9b3c8f4151fd10ec74b98dc5235e58a078311289f8ece3f74e |