Skip to main content

Aspose.Slides for Python via .NET is a presentation file formats processing library for working with Microsoft PowerPoint files without using Microsoft PowerPoint.

Project description

Presentation Manipulation Python API

banner

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Release Notes | Temporary License

Aspose.Slides for Python via .NET is a powerful on-premise class library used for processing and working with presentations. With this API, developers and applications get to generate, modify, convert, render, print, and manipulate presentations without relying on Microsoft PowerPoint or other third-party applications and services.

Without having to install a PowerPoint program or any 3rd party component, you can use Aspose.Slides to build different types applications. For example, Aspose, using its own APIs, developed a free web application that allows people to convert their PDF documents to PowerPoint Presentation online.

Aspose.Slides for Python requires you to use python programming language. For C++, Java and .NET languages, we recommend you get Aspose.Slides for C++, Aspose.Slides for Java and Aspose.Slides for .NET, respectively.

Slides API Features

Aspose.Slides for Python via .NET provides these popular features:

  • Loading, opening, and viewing presentations
  • Editing presentations
  • Converting presentations to PDF, Word, JPG, HTML, GIF, SVG, and many other formats
  • Rendering and printing presentations
  • Encrypting and decrypting presentations; password-protecting presentations and removing passwords
  • Manipulating presentation entities, such as master slides, shapes, charts, picture frames, audio frames, video frames, OLE, VBA macros, animations, etc.

Supported File Formats

With Aspose.Slides for Python via .NET, developers and applications can load presentations in these formats (and also save files in them):

Microsoft presentation formats OpenOffice presentation formats Other file formats
Microsoft PowerPoint 97 ODP PDF
Microsoft PowerPoint 2000 OTP TIFF
Microsoft PowerPoint XP EMF
Microsoft PowerPoint 2003 XPS
Microsoft PowerPoint 2007 JPEG
Microsoft PowerPoint 2010 PNG
Microsoft PowerPoint 2013 GIF
Microsoft PowerPoint 2016 BMP
Microsoft PowerPoint 2019 SVG
Microsoft PowerPoint for MAC SWF
Office 365 XAML
HTML

Platform Independence

Aspose.Slides for Python via .NET can be used to develop 32-bit and 64-bit applications for different operating systems (such as Windows, Linux and macOS) where Python 3.5 or later is installed.

Get Started

Ready to try Aspose.Slides for Python via .NET?

Fetch the package and install Aspose.Slides. Run this command: pip install aspose-slides

If you already have Aspose.Slides installed and want to get the latest version, you have to run pip install --upgrade aspose-slides instead.

Check out Aspose.Slides for Python for .NET documentation).

MacOS and Linux Installation

On macOS/Linux, you must install libgdiplus before using this package:

  • macOS: brew install mono-libgdiplus
  • Linux: sudo apt-get install libgdiplus

For complete setup instructions, see installation guide (https://docs.aspose.com/slides/python-net/installation/)

Create a Presentation (PPTX file) from scratch in Python

import aspose.slides as slides

# Instantiate a Presentation object that represents a presentation file
with slides.Presentation() as presentation:
    slide = presentation.slides[0]
    slide.shapes.add_auto_shape(slides.ShapeType.LINE, 50, 150, 300, 0)
    presentation.save("NewPresentation_out.pptx", slides.export.SaveFormat.PPTX)

Convert a Presentation to PDF

import aspose.slides as slides

# Instantiate a Presentation object that represents a PPT file
presentation = slides.Presentation("PowerPoint.ppt")

# Save the presentation as PDF
presentation.save("PPT-to-PDF.pdf", slides.export.SaveFormat.PDF)

Import PDF and Save it as a Presentation

import aspose.slides as slides

with slides.Presentation() as pres:
    pres.slides.remove_at(0)
    pres.slides.add_from_pdf("welcome-to-powerpoint.pdf")
    pres.save("OutputPresentation.pptx", slides.export.SaveFormat.PPTX)

Product Page | Docs | Demos | API Reference | Blog | Search | Free Support | Release Notes | Temporary License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aspose_slides-26.1.0-py3-none-win_amd64.whl (73.9 MB view details)

Uploaded Python 3Windows x86-64

aspose_slides-26.1.0-py3-none-win32.whl (64.6 MB view details)

Uploaded Python 3Windows x86

aspose_slides-26.1.0-py3-none-manylinux1_x86_64.whl (105.1 MB view details)

Uploaded Python 3

aspose_slides-26.1.0-py3-none-macosx_11_0_arm64.whl (69.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aspose_slides-26.1.0-py3-none-macosx_10_14_x86_64.whl (89.4 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

File details

Details for the file aspose_slides-26.1.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_slides-26.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5361314385ab9c8de1eb38f99bdb0645c5806a3a928cb22d6cd089dc5329bf0d
MD5 1f7b5bb10b40a17bac1e78b1f6ca3796
BLAKE2b-256 fab91a43562af9c7cfa9afa018bc4c3f32f6619c511551d4d96440b78db1e049

See more details on using hashes here.

File details

Details for the file aspose_slides-26.1.0-py3-none-win32.whl.

File metadata

  • Download URL: aspose_slides-26.1.0-py3-none-win32.whl
  • Upload date:
  • Size: 64.6 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for aspose_slides-26.1.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 b34d07d61cb521c9f9c4fec4b672f1687c007ffa37dc279f15e752acd86d8994
MD5 b531354552e4c1041b025580450cdd9a
BLAKE2b-256 5e0dc87ed2d91e05fc6cb8202015d1f9f120339a5483f2293b567a2b880209d9

See more details on using hashes here.

File details

Details for the file aspose_slides-26.1.0-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aspose_slides-26.1.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 76f237be4bde4b666905436991678050e746209eed3705ef7d82117125d84f56
MD5 793fffac6beb7a369b1a75e88cf9b80a
BLAKE2b-256 dd2cf753576ab6b8b912c464cb2216ca3353982e54f156f95d3e127bbfc8e94f

See more details on using hashes here.

File details

Details for the file aspose_slides-26.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aspose_slides-26.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4cc487965ffbd5e0b19b4d2f6c196103534fdc52c33cfd81a464b2ad3e774c8
MD5 fe8c871c80d13977e8758986e1ed04d3
BLAKE2b-256 f9a8f68305e589305a83719a2f6b31a73637b1e0ba8acf3ce1ca87696c0e58b9

See more details on using hashes here.

File details

Details for the file aspose_slides-26.1.0-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for aspose_slides-26.1.0-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e3bc103e9e9f835f32d31719981344d71531cb626409857da9c9b4d3e93481b0
MD5 0f791768df0154f7246f73ac7e5651e1
BLAKE2b-256 21927e6665b6da2e9826f662c208f6c8e89ec3ef814dec7a0acb3360797cd90c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page