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.0

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.0
File Size Uploaded Provenance Actions
bijoy_unicode-1.0.0.tar.gz 52.9 kB With provenance Details for bijoy_unicode-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 94.3 kB

Release files / bijoy_unicode-1.0.0.tar.gz

Download URL bijoy_unicode-1.0.0.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
349bcdb204bb71e446157a74a153e2e2e270a2d25c6f1b0556a1aa207096f9a4
BLAKE2b-256 checksum
How to use checksums
361a76bb3da6ef5bf762b6b1e436ce6adc5431e9645a6fbfb2a1ddf0feeb5ca4
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.0-py3-none-any.whl

Download URL bijoy_unicode-1.0.0-py3-none-any.whl
Size 41.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ebc273efb478d515e86e1646c8fc2f60c69b99ef713729e0b22be52b209e9c8
BLAKE2b-256 checksum
How to use checksums
23af20863347090e27fa137be88dc65f47ebbab78e5a45a504bae8d6982704b4
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.0

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.0.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.0 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