Python REST API to Process Presentation in Cloud
This repository contains Aspose.Slides Cloud SDK for Python source code. This SDK allows you to process & manipulate PPT, PPTX, ODP, OTP using Aspose.slides Cloud REST APIs in your Python applications.
You may want to check out Aspose free Powerpoint to PDF, Powerpoint to Word, Powerpoint to JPG, Powerpoint to PNG, PDF to Powerpoint, JPG to Powerpoint, and PNG to Powerpoint converters because they are live implementations of popular conversion processes.
Presentation Processing Features
- Fetch presentation images in any of the supported file formats.
- Copy the layout side or clone the master slide from the source presentation.
- Process slides shapes, slides notes, placeholders, colors & font theme info.
- Programmatically create a presentation from HTML & export it to various formats.
- Merge multiple presentations or split the single presentation into multiple ones.
- Extract and replace text from a specific slide or an entire presentation.
Read & Write Presentation Formats
Microsoft PowerPoint: PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM OpenOffice: ODP, OTP, FODP Other: PDF, PDF/A
Save Presentation As
Fixed Layout: XPS Images: JPEG, PNG, BMP, TIFF, GIF, EMF, SVG Web: HTML/HTML5 Other: MPEG4, SWF (export whole presentations)
Enhancements in Version 26.10
- New download_paragraph and save_paragraph methods to render a paragraph to an image (JPEG, PNG, GIF, BMP or TIFF) and return it in the response or save it to a storage.
- New download_table_cell_paragraph and save_table_cell_paragraph methods to render a table cell paragraph to an image.
- Added pictures_compression property to Html5ExportOptions class. It specifies the compression level for pictures in the HTML5 output.
Enhancements in Version 26.6
- Added clone_from_slide parameter to create_shape and create_special_slide_shape methods, enabling cross-slide shape cloning.
- New import_chart_from_workbook and import_table_from_workbook methods to import charts and tables from an Excel workbook.
- Enriched SmartArt and SmartArtNode with default_paragraph_format write-only property. You can specify paragraph formatting for a smart art shape and individual nodes.
- Added compression_level property to PptxExportOptions class. It controls the ZIP compression used when saving a PPTX file.
Licensing
All Aspose.Slides Cloud SDKs are licensed under MIT License.
How to use the SDK?
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get PuPi module (recommended).
Prerequisites
To use Aspose Slides Cloud SDK for Python you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Installation
python -m pip install asposeslidescloud
Sample usage
The example code below converts a PowerPoint document to PDF format using asposeslidescloud library:
import asposeslidescloud
from asposeslidescloud.configuration import Configuration
from asposeslidescloud.apis.slides_api import SlidesApi
from asposeslidescloud.models.export_format import ExportFormat
configuration = Configuration()
configuration.app_sid = 'MyClientId'
configuration.app_key = 'MyClientSecret'
api = SlidesApi(configuration)
with open("MyPresentation.pptx", 'rb') as f:
document = f.read()
response = api.convert(document, ExportFormat.PDF)
print('My PDF was saved to ' + response)
You can check more Examples of using the SDK.
Aspose.Slides Cloud SDKs in Popular Languages
| .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift | Perl | Go |
|---|---|---|---|---|---|---|---|---|---|
| GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub |
| NuGet | Maven | Composer | PIP | GEM | NPM | Maven | Cocoapods | Meta Cpan | Go.Dev |
Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial
Metadata
Release files for asposeslidescloud 26.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asposeslidescloud-26.10.0.tar.gz | 260.1 kB | Without provenance | Details for asposeslidescloud-26.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asposeslidescloud-26.10.0-py3-none-any.whl | Python 3 | none | any | Details for asposeslidescloud-26.10.0-py3-none-any.whl |
Total release size: 944.7 kB
Release files / asposeslidescloud-26.10.0.tar.gz
| Download URL | asposeslidescloud-26.10.0.tar.gz |
|---|---|
| Size | 260.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52a9a0c83c264ce3f319a4b0749588e180a79a296f3827f43eb8c98f8c41bc85
|
|
BLAKE2b-256 checksum How to use checksums |
cdd5bef5343baf93e8a69bdcd81709375b5957480445dc942edc066ae2683a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / asposeslidescloud-26.10.0-py3-none-any.whl
| Download URL | asposeslidescloud-26.10.0-py3-none-any.whl |
|---|---|
| Size | 684.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5662c49e3e6b8c25d3e6815e6f609c56f47bedc58782215cc8c4a6e5edb7d54
|
|
BLAKE2b-256 checksum How to use checksums |
d26d0b6787c985dc70b83e44eac7e59a23ae31556da0957140b27982ee52e895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Security for asposeslidescloud 26.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.