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.3.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for bnconverter-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9049afcd84541a467fdd007bcd6baf38189a78820cb4af4afabc38172df03d7a |
|
MD5 | 89001cbf9c85d5d29ea0467df12baed0 |
|
BLAKE2b-256 | 81a1a9a9338a76ff632566dc3642be4e1e1331d3677febcbdbfd3f76a201dff9 |