Python converting Bangla <=> Unicode (UTF-8) for Bengali to Bangla.
Project description
bnunicode
Python converting Bangla <=> Unicode (UTF-8) for Bengali to Bangla.
License
MPL 2.0
Installation
pip install bnunicode
Example
from bnunicode import UnicodeStreaming
data = UnicodeStreaming()
unicode_bangla_text = 'Avgvi ‡mvbvi evsjv, Avwg ‡Zvgvh় fv‡jvevwm| wPiw`b ‡Zvgvi AvKvk, ‡Zvgvi evZvm, Avgvi c«v‡Y evRvh় evuwk॥'
print(unicode_bangla_text)
result=data.convertBnUniCodeToDecode(unicode_bangla_text)
print(result)
# আমার সোনার বাংলা, আমি তোমায় ভালোবাসি। চিরদিন তোমার আকাশ, তোমার বাতাস, আমার প্রাণে বাজায় বাঁশি॥
toPrint=test.convertBnUniCodeToDecode(result)
print(toPrint)
References:
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
bnconverter-0.0.2.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for bnconverter-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bf677ea3ea6b1ab61cd3431dee1a3efe2505ae0eccdc06e6334ee575b60dae6 |
|
MD5 | 10ac4bd1b87e50068d27cda42096d8aa |
|
BLAKE2b-256 | 66563762c1a54e6149f4f9c692d17e37ffd688e5e0f56ca9cc277c3a32aa81ae |