khatt-fonts
22 more open Arabic fonts for khatt, grouped by calligraphy style, on top of the 8 khatt bundles. They live in their own package so that khatt itself stays small.
pip install khatt-fonts
khatt finds the package on its own. Use a font by its name:
import khatt
khatt.word_art("خط جميل", effect="gold", font="jomhuria").save("gold.png")
khatt.draw_text(image, (40, 40), "مرحبا", font="gulzar")
khatt "خط جميل" --effect neon --font marhey -o neon.png
| Style | Fonts |
|---|---|
kufi |
reem-kufi-fun, noto-kufi, kufam, qahiri |
naskh |
scheherazade, lateef, markazi, amiri-quran |
nastaliq |
gulzar |
display |
jomhuria, lemonada, marhey, blaka, blaka-hollow, katibeh, mirza, el-messiri, changa |
handwriting |
playpen |
modern |
tajawal, almarai, alexandria |
amiri-quran is made for Quran text and has no Persian letters. tajawal is missing
some Persian letters too.
Licences
All 22 fonts are under the SIL Open Font License 1.1 and are unmodified copies from
google/fonts. Each font's licence and copyright
notice is in src/khatt_fonts/licenses/. The code in this
package is under the MIT licence.
Metadata
Release files for khatt-fonts 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| khatt_fonts-1.0.0.tar.gz | 2.8 MB | With provenance | Details for khatt_fonts-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| khatt_fonts-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for khatt_fonts-1.0.0-py3-none-any.whl |
Total release size: 5.6 MB
Release files / khatt_fonts-1.0.0.tar.gz
| Download URL | khatt_fonts-1.0.0.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fd5c2a9a7a97c9a26f83d9b557876d7bf4901a9137d179ed4d440745163cd5e
|
|
BLAKE2b-256 checksum How to use checksums |
e4f815d7c244565ab5fe2e55a9b14282d693cb4e497f2ecbf1e22e28e892d07c
|
| 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 7, 2026.
Transparency logRelease files / khatt_fonts-1.0.0-py3-none-any.whl
| Download URL | khatt_fonts-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7d7405bd67d13b91dde3131543f2a8d7426b5df0ed6af2c4ba4abea6f0fbe10
|
|
BLAKE2b-256 checksum How to use checksums |
dd498f0711797957ce9bc049ed0ef608d28ad48e8854a1e4e8ad170d398707e4
|
| 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 7, 2026.
Transparency logSecurity for khatt-fonts 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.
Attestation for khatt_fonts-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 7, 2026.
Transparency logA 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.