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
| Krav | Detalj |
|---|---|
| Python | 3.11 eller senare |
| OS | Windows, Linux eller macOS |
| Körningsberoenden | cryptography>=42, asn1crypto>=1.5 (installeras automatiskt) |
| Valfria extrafunktioner | images (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
- Snabbstart — bygg, spara och ladda om en PDF
- License — MIT-licensvillkor
- Utvecklarhandbok — funktionsnivå-dokumentation