Installatie
Installatie
Installatie
Installeer Aspose.PDF FOSS voor Python met het onderstaande commando. Het pakket richt zich op Python 3.11 en later en levert type-informatie voor autocompletie in editors.
Vereisten
| Vereiste | Detail |
|---|---|
| Python | 3.11 of nieuwer |
| OS | Windows, Linux of macOS |
| Runtime-afhankelijkheden | cryptography>=42, asn1crypto>=1.5 (automatisch geïnstalleerd) |
| Optionele extra's | images (Pillow), woff2 (Brotli), text-layout (uharfbuzz, python-bidi, fonttools) |
API wijziging: De Document klasse is bijgewerkt (API_MODIFIED).
1. Installeer het pakket
git clone https://github.com/aspose-pdf-foss/Aspose-PDF-FOSS-for-Python.git
cd Aspose-PDF-FOSS-for-Python
pip install -e .2. Installeer optionele extra’s (indien nodig)
Voeg de images, woff2 of text-layout extra toe wanneer je Pillow-gebaseerde rasterafbeeldingsverwerking, Brotli-gebaseerde WOFF2-lettertypedecodering, of HarfBuzz-gebaseerde complexe tekstvormgeving nodig hebt:
git clone https://github.com/aspose-pdf-foss/Aspose-PDF-FOSS-for-Python.git
cd Aspose-PDF-FOSS-for-Python
pip install -e .Volgende stappen
- Snelstart — bouw, sla op en laad een PDF opnieuw
- License — MIT-licentievoorwaarden
- Ontwikkelaarsgids — documentatie op functieniveau