Installation

Instalasi

Instal Aspose.PDF FOSS untuk Python dengan perintah di bawah ini. Paket ini menargetkan Python 3.11 dan yang lebih baru serta menyertakan informasi tipe untuk pelengkapan otomatis editor.


Prasyarat

PersyaratanDetail
Python3.11 atau lebih baru
OSWindows, Linux, atau macOS
Dependensi runtimecryptography>=42, asn1crypto>=1.5 (dipasang secara otomatis)
Ekstra opsionalimages (Pillow), woff2 (Brotli), text-layout (uharfbuzz, python-bidi, fonttools)

API perubahan: The Document kelas telah diperbarui (API_MODIFIED).


1. Instal paket

git clone https://github.com/aspose-pdf-foss/Aspose-PDF-FOSS-for-Python.git
cd Aspose-PDF-FOSS-for-Python
pip install -e .

2. Instal tambahan opsional (jika diperlukan)

Tambahkan images, woff2, atau text-layout ekstra ketika Anda membutuhkan penanganan gambar raster berbasis Pillow, dekoding font WOFF2 berbasis Brotli, atau penataan teks kompleks berbasis HarfBuzz:

git clone https://github.com/aspose-pdf-foss/Aspose-PDF-FOSS-for-Python.git
cd Aspose-PDF-FOSS-for-Python
pip install -e .

Langkah Selanjutnya

Lihat Juga

 Bahasa Indonesia