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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file bnconverter-0.0.3.tar.gz.

File metadata

  • Download URL: bnconverter-0.0.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for bnconverter-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e328a7781b6f5948576e15a2f9eb57f9a24790bd364e44eb426c530754e44892
MD5 ffad4298dba44c9fd6d8a662df89f673
BLAKE2b-256 2d6aec225bc5db622b370c198558a08a053712ab0cbb2bc815baa887243b3af3

See more details on using hashes here.

File details

Details for the file bnconverter-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: bnconverter-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for bnconverter-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9049afcd84541a467fdd007bcd6baf38189a78820cb4af4afabc38172df03d7a
MD5 89001cbf9c85d5d29ea0467df12baed0
BLAKE2b-256 81a1a9a9338a76ff632566dc3642be4e1e1331d3677febcbdbfd3f76a201dff9

See more details on using hashes here.

Supported by

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