devanagari-fonts
devanagari-fonts provides Devanagari font discovery, a small Python API for locating installed font files, and a command-line installer for downloading font families on demand.
The PyPI package is intentionally small. It includes the Python API, command-line tool, font registry metadata, and the Shobhika font family as a default bundled font. Other font families are downloaded into a user cache directory when requested.
Installation
Install from PyPI:
pip install devanagari-fonts
Install from GitHub:
pip install git+https://github.com/nishantaMishra/devanagari-fonts.git
Usage
List available bundles and font families:
devanagari-fonts list
Install a bundle:
devanagari-fonts install core
devanagari-fonts install noto
devanagari-fonts install display
devanagari-fonts install full
Install a single font family:
devanagari-fonts install hind
devanagari-fonts install akshar
devanagari-fonts install noto-sans-devanagari
Use installed fonts from Python:
from devanagari_fonts import available_families, families, font_path, fonts
print(available_families()) # all registry fonts
print(families()) # installed fonts
print(fonts("Hind"))
path = font_path("Hind", style="Regular")
print(path)
Downloaded fonts are stored in the user cache directory. To see the active cache directory:
devanagari-fonts cache-dir
Each font family keeps its upstream license file alongside the downloaded font files.
Available Fonts
Show registry font families
- Akshar
- Alkatra
- Amiko
- Amita
- Anek Devanagari
- Annapurna SIL
- Arya
- Asar
- Bakbak One
- Baloo 2
- Bhavuka
- Biryani
- Cambay
- Dekko
- Eczar
- Ek Mukta
- Gajraj One
- Glegoo
- Gotu
- Halant
- Hind
- IBM Plex Sans Devanagari
- Inknut Antiqua
- Jaini
- Jaini Purva
- Jaldi
- Kadwa
- Kalam
- Karma
- Khand
- Khula
- Kurale
- Laila
- Lohit Devanagari
- Martel
- Martel Sans
- Matangi
- Modak
- Mukta
- Noto Sans
- Noto Sans Devanagari
- Noto Sans Devanagari UI
- Noto Serif Devanagari
- Palanquin
- Palanquin Dark
- Playpen Sans Deva
- Poppins
- Pragati Narrow
- Rajdhani
- Ranga
- Rhodium Libre
- Rozha One
- Sahitya
- Sarala
- Sarpanch
- Shobhika-1.05
- Sitara
- Sumana
- Sura
- Teko
- Tillana
- Tiro Devanagari Hindi
- Tiro Devanagari Marathi
- Tiro Devanagari Sanskrit
- Vesper Libre
- Yantramanav
- Yatra One
API
available_families(): return all registry font family names.families(): return installed font family names.fonts(family=None): return installedFontrecords for all fonts, or for one family.font_files(family=None): return filesystem paths for installed font files.get_font(family, name=None, style=None): return a single matching installedFont.font_path(family, name=None, style=None): return the filesystem path for a single matching installed font.cache_dir(): return the font download cache directory.
License
The Python package code is distributed under the MIT License. Bundled fonts are distributed under their own upstream licenses, included beside each font family.
Metadata
Release files for devanagari-fonts 0.2.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 |
|---|---|---|---|---|
| devanagari_fonts-0.2.0.tar.gz | 551.8 kB | With provenance | Details for devanagari_fonts-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devanagari_fonts-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for devanagari_fonts-0.2.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / devanagari_fonts-0.2.0.tar.gz
| Download URL | devanagari_fonts-0.2.0.tar.gz |
|---|---|
| Size | 551.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
743e18a15f102e3677b9486469731083a1309b3315857c0ae24491e0dfdb2324
|
|
BLAKE2b-256 checksum How to use checksums |
753a41406b31b2da910b4d793c5b31dee9a23c64a554e6b5c03bdd445dd8087f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 22, 2026.
Transparency logRelease files / devanagari_fonts-0.2.0-py3-none-any.whl
| Download URL | devanagari_fonts-0.2.0-py3-none-any.whl |
|---|---|
| Size | 548.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53c5aa128559a61d62a0c106da9022d6b6cca0b6671420c47499abe999e1442a
|
|
BLAKE2b-256 checksum How to use checksums |
d268d39f8aa84f1e95f8d1dccb9a421328093416fa4f87b30a38b8051e49d527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 22, 2026.
Transparency logSecurity for devanagari-fonts 0.2.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 devanagari_fonts-0.2.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 May 22, 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.