Skip to main content

bijoy-unicode (Python)

Convert Bangla text typed in Bijoy (the SutonnyMJ family of fonts) to Unicode, and Unicode back to Bijoy. Pure Python, no dependencies, works offline.

This is a port of the conversion engine that runs the Bijoy to Unicode tool on KovaPDF. Its tables are generated from that engine, and it passes the same test vectors as the JavaScript package (@kovapdf/bijoy-unicode on npm).

Need it for whole PDF or Word files? Use KovaPDF: https://www.kovapdf.com/bijoy-to-unicode

Built by KovaPDF, https://www.kovapdf.com

pip install bijoy-unicode
from bijoy_unicode import to_unicode, to_bijoy, convert_with_report, detect_encoding, is_bijoy_font

to_unicode("Avgvi †mvbvi evsjv")                           # 'আমার সোনার বাংলা'
to_bijoy("আমার সোনার বাংলা")                               # 'Avgvi †mvbvi evsjv'
to_unicode("GB file wU download Kiæb", keep_english=True)  # 'এই file টি download করুন'
to_bijoy("শিক্ষা", flavour="classic")                      # 'wk¶v'
convert_with_report("Avwg 😀", "bijoy-to-unicode")         # dict: text, keptEnglish, unknown, stats
detect_encoding("evsjv‡`k miKvi")["kind"]                   # 'bijoy'
is_bijoy_font("SutonnyMJ")                                 # True

Command line (stdin or a file in, stdout out):

bijoy-unicode to-unicode < bijoy.txt > unicode.txt
python -m bijoy_unicode to-bijoy unicode.txt

SutonnyMJ is a Bijoy font: it draws Bangla shapes on ordinary Latin codes, so its text reads as "Avgvi" without the font. Nikosh is a Unicode font: set converted text in Nikosh (or any Unicode Bangla font). No fonts are included in this package.

Full documentation: https://github.com/KovaPDF/bijoy-unicode

The code is MIT licensed. The KovaPDF name, logo and website content are not covered by that licence.

Metadata

Release files for bijoy-unicode 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bijoy-unicode 1.0.1
File Size Uploaded Provenance Actions
bijoy_unicode-1.0.1.tar.gz 52.9 kB With provenance Details for bijoy_unicode-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bijoy-unicode 1.0.1
File Interpreter ABI Platform Actions
bijoy_unicode-1.0.1-py3-none-any.whl Python 3 none any Details for bijoy_unicode-1.0.1-py3-none-any.whl

Total release size: 94.3 kB

Release files / bijoy_unicode-1.0.1.tar.gz

Download URL bijoy_unicode-1.0.1.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
af809e48930384d6f3670b96ca96f27abfe7dc69a40971a728dfa972ea9d051c
BLAKE2b-256 checksum
How to use checksums
19ee3d83e86a838d0fd32a2863180c5157544546f0547688240256549ac7653a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / bijoy_unicode-1.0.1-py3-none-any.whl

Download URL bijoy_unicode-1.0.1-py3-none-any.whl
Size 41.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a540153a8e6f754a4f8594043f4ca797c19b8bb1609429ce43a437193b3f54cc
BLAKE2b-256 checksum
How to use checksums
acab84fcacff6abc2d6bae32b01888afec39ddfea330bd689a5017e5b947560f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for bijoy-unicode 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bijoy_unicode-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page