Aspose.Slides Cloud SDK for Python
Project description
Aspose.Slides Cloud SDK for Python
This repository contains Aspose.Slides Cloud SDK for Python source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your Python applications.
Key Features
- Conversion between various document-related formats (20+ formats supported), including PDF<->PowerPoint conversion
- Download slides and shapes in various formats, including PDF and SVG
- Merge and split PowerPoint presentations
- Access PowerPoint presentation metadata and statistics
- Find and replace
- Full read & write access to Document Object Model, including slides, shapes, paragraphs, portions and many others
- Support of Aspose.Storage API
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
from asposeslidescloud.models.requests.slides_api_requests import PostSlidesConvertRequest
configuration = Configuration()
configuration.app_sid = 'MyAppSid'
configuration.app_key = 'MyAppKey'
api = SlidesApi(configuration)
with open("MyPresentation.pptx", 'rb') as f:
document = f.read()
request = PostSlidesConvertRequest(ExportFormat.PDF, document)
response = api.post_slides_convert(request)
print('My PDF was saved to ' + response)
You can check more Examples of using the SDK.
Contact Us
Your feedback is very important to us. Please feel free to contact us using our Support Forums.
Resources
Website
Product Home
API Reference
Documentation
Blog
Other languages
We generate our SDKs in different languages so you may check if yours is available in our list.
If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for asposeslidescloud-20.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe3fcc9b151e07c0a6d8e439ea1c43cbf88df4ed1334f2ae47200051828be90 |
|
MD5 | b2d4676a5a8f5cb64c9305454bc03739 |
|
BLAKE2b-256 | aa30a75e9648f7b231969dc0573a9a75ba63a33077e0c7063d43b29b13a6d102 |