Installation

Installation

Installera Aspose.PDF FOSS för Python med kommandot nedan. Paketet riktar sig mot Python 3.11 och senare och levererar typinformation för editorns autokomplettering.


Förutsättningar

KravDetalj
Python3.11 eller senare
OSWindows, Linux eller macOS
Körningsberoendencryptography>=42, asn1crypto>=1.5 (installeras automatiskt)
Valfria extrafunktionerimages (Pillow), woff2 (Brotli), text-layout (uharfbuzz, python-bidi, fonttools)

API ändring: Den Document klassen har uppdaterats (API_MODIFIED).


1. Installera paketet

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

2. Installera valfria extrafunktioner (om behövs)

Lägg till images, woff2 eller text-layout extra när du behöver Pillow-baserad rasterbildshantering, Brotli-baserad WOFF2-typsnittsdekodning eller HarfBuzz-baserad komplex textformning:

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

Nästa steg

Se även

 Svenska