Skip to main content

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:

https://github.com/sh-sabbir/UnicodeToBijoy

Project details


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)

Uploaded Source

Built Distribution

bnconverter-0.0.3-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page