Installation
System Dependencies
macOS
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install system dependencies
brew install cairo pango pygobject3 pkg-config fontconfig
Linux (Ubuntu/Debian)
sudo apt-get update
sudo apt-get install -y \
python3-gi \
python3-gi-cairo \
gir1.2-gtk-3.0 \
libcairo2-dev \
pkg-config \
python3-dev \
libgirepository1.0-dev
Windows
Windows support is currently experimental. We recommend using WSL2 with Ubuntu for the best experience.
Python version support
This package is tested on Python 3.10, 3.11, 3.12 and 3.13. It should work on other versions of Python 3 as well.
Python Package Installation
Download and install the latest release from pypi or clone the repository and install the package from source.
From PyPI
Or to choose python 3 explicitly:
After installation, you can use the arabic-animate
command to create animations. For command reference, run arabic-animate --help
or check the quickstart guide.
From Source
-
Clone the repository:
-
Create and activate a virtual environment (recommended):
-
Install dependencies:
-
Install the package:
Font Installation
You can download any Arabic fonts from here and install them on your system. We have two fonts available in the repository:
- DecoType Thuluth II
- KFGQPC Uthman Taha Naskh
You can download these fonts from here and install them on your system.
Installing Arabic Fonts
- Download the desired Arabic fonts (e.g., DecoType Thuluth)
- Double-click the font file to open Font Book (macOS)
- Click "Install Font"
Or manually:
- macOS: Copy fonts to ~/Library/Fonts/
or /Library/Fonts/
- Linux: Copy fonts to ~/.local/share/fonts/
or /usr/local/share/fonts/
- Windows: Copy fonts to C:\Windows\Fonts\
Verify font installation: