Aspose.Slides


NameAspose.Slides JSON
Version 24.5.0 PyPI version JSON
download
home_pagehttps://products.aspose.com/slides/python-net/
SummaryAspose.Slides for Python via .NET is a presentation file formats processing library for working with Microsoft PowerPoint files without using Microsoft PowerPoint.
upload_time2024-05-15 22:32:29
maintainerNone
docs_urlNone
authorAspose
requires_python<3.12,>=3.5
licensehttps://company.aspose.com/legal/eula
keywords ppt pptx potx pot pps ppsx odt import export convert edit pdf xps swf svg html html5 powerpoint presentation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Presentation Manipulation Python API

[![banner](https://raw.githubusercontent.com/Aspose/aspose.github.io/master/img/banners/aspose_slides-for-python-net-banner.png)](https://releases.aspose.com/slides/python-net/)

[Product Page](https://products.aspose.com/slides/python-net/) | [Docs](https://docs.aspose.com/slides/python-net/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://docs.aspose.com/slides/python-net/api-reference/) | [Blog](https://blog.aspose.com/category/slides/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/slides) | [Release Notes](https://releases.aspose.com/slides/python-net/release-notes/2024/aspose-slides-for-python-net-24-5-release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)

[Aspose.Slides for Python via .NET](https://products.aspose.com/slides/python-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](https://products.aspose.app/slides/import/pdf-to-powerpoint) 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++](https://products.aspose.com/slides/cpp/), [Aspose.Slides for Java](https://products.aspose.com/slides/java/) and [Aspose.Slides for .NET](https://products.aspose.com/slides/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](http://docs.aspose.com/slides/python-net/)).  

## Create a Presentation (PPTX file) from scratch in Python

```py
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

```py
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

```py
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](https://products.aspose.com/slides/python-net/) | [Docs](https://docs.aspose.com/slides/python-net/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://docs.aspose.com/slides/python-net/api-reference/) | [Blog](https://blog.aspose.com/category/slides/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/slides) | [Release Notes](https://releases.aspose.com/slides/python-net/release-notes/2024/aspose-slides-for-python-net-24-5-release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)


            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/slides/python-net/",
    "name": "Aspose.Slides",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.5",
    "maintainer_email": null,
    "keywords": "ppt, pptx, potx, pot, pps, ppsx, odt, import, export, convert, edit, pdf, xps, swf, svg, html, html5, powerpoint, presentation",
    "author": "Aspose",
    "author_email": null,
    "download_url": null,
    "platform": "macos_x86_64",
    "description": "# Presentation Manipulation Python API\n\n[![banner](https://raw.githubusercontent.com/Aspose/aspose.github.io/master/img/banners/aspose_slides-for-python-net-banner.png)](https://releases.aspose.com/slides/python-net/)\n\n[Product Page](https://products.aspose.com/slides/python-net/) | [Docs](https://docs.aspose.com/slides/python-net/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://docs.aspose.com/slides/python-net/api-reference/) | [Blog](https://blog.aspose.com/category/slides/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/slides) | [Release Notes](https://releases.aspose.com/slides/python-net/release-notes/2024/aspose-slides-for-python-net-24-5-release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\n[Aspose.Slides for Python via .NET](https://products.aspose.com/slides/python-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. \n\nWithout 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](https://products.aspose.app/slides/import/pdf-to-powerpoint) that allows people to convert their PDF documents to PowerPoint Presentation online.\n\n>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++](https://products.aspose.com/slides/cpp/), [Aspose.Slides for Java](https://products.aspose.com/slides/java/) and [Aspose.Slides for .NET](https://products.aspose.com/slides/net/), respectively.\n\n## Slides API Features\n\nAspose.Slides for Python via .NET provides these popular features:\n- Loading, opening, and viewing presentations \n- Editing presentations\n- Converting presentations to PDF, Word, JPG, HTML, GIF, SVG, and many other formats\n- Rendering and printing presentations\n- Encrypting and decrypting presentations; password-protecting presentations and removing passwords\n- Manipulating presentation entities, such as master slides, shapes, charts, picture frames, audio frames, video frames, OLE, VBA macros, animations, etc.\n\n## Supported File Formats\n\nWith Aspose.Slides for Python via .NET, developers and applications can load presentations in these formats (and also save files in them): \n\n\n|**Microsoft presentation formats**|**OpenOffice presentation formats**|**Other file formats**|\n| :- | :- | :- |\n|Microsoft PowerPoint 97|ODP|PDF|\n|Microsoft PowerPoint 2000|OTP|TIFF|\n|Microsoft PowerPoint XP| |EMF|\n|Microsoft PowerPoint 2003| |XPS|\n|Microsoft PowerPoint 2007| |JPEG|\n|Microsoft PowerPoint 2010| |PNG|\n|Microsoft PowerPoint 2013| |GIF|\n|Microsoft PowerPoint 2016| |BMP|\n|Microsoft PowerPoint 2019| |SVG|\n|Microsoft PowerPoint for MAC| |SWF|\n|Office 365| |XAML|\n|||HTML|\n\n\n## Platform Independence\n\nAspose.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. \n\n## Get Started\n\nReady to try Aspose.Slides for Python via .NET?\n\nFetch the package and install **Aspose.Slides**. Run this command: `pip install aspose.slides`\n\nIf you already have **Aspose.Slides** installed and want to get the latest version, \nyou have to run `pip install --upgrade aspose.slides` instead. \n\nCheck out Aspose.Slides for Python for .NET [documentation](http://docs.aspose.com/slides/python-net/)).  \n\n## Create a Presentation (PPTX file) from scratch in Python\n\n```py\nimport aspose.slides as slides\n\n# Instantiate a Presentation object that represents a presentation file\nwith slides.Presentation() as presentation:\n    slide = presentation.slides[0]\n    slide.shapes.add_auto_shape(slides.ShapeType.LINE, 50, 150, 300, 0)\n    presentation.save(\"NewPresentation_out.pptx\", slides.export.SaveFormat.PPTX)\n\n```\n\n## Convert a Presentation to PDF\n\n```py\nimport aspose.slides as slides\n\n# Instantiate a Presentation object that represents a PPT file\npresentation = slides.Presentation(\"PowerPoint.ppt\")\n\n# Save the presentation as PDF\npresentation.save(\"PPT-to-PDF.pdf\", slides.export.SaveFormat.PDF)\n```\n\n## Import PDF and Save it as a Presentation\n\n```py\nimport aspose.slides as slides\n\nwith slides.Presentation() as pres:\n    pres.slides.remove_at(0)\n    pres.slides.add_from_pdf(\"welcome-to-powerpoint.pdf\")\n    pres.save(\"OutputPresentation.pptx\", slides.export.SaveFormat.PPTX)\n```\n\n\n[Product Page](https://products.aspose.com/slides/python-net/) | [Docs](https://docs.aspose.com/slides/python-net/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://docs.aspose.com/slides/python-net/api-reference/) | [Blog](https://blog.aspose.com/category/slides/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/slides) | [Release Notes](https://releases.aspose.com/slides/python-net/release-notes/2024/aspose-slides-for-python-net-24-5-release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\n",
    "bugtrack_url": null,
    "license": "https://company.aspose.com/legal/eula",
    "summary": "Aspose.Slides for Python via .NET is a presentation file formats processing library for working with Microsoft PowerPoint files without using Microsoft PowerPoint.",
    "version": "24.5.0",
    "project_urls": {
        "API Reference": "https://reference.aspose.com/slides/python-net/",
        "Blog": "https://blog.aspose.com/category/slides/",
        "Demos": "https://products.aspose.com/slides/conversion/",
        "Docs": "https://docs.aspose.com/slides/python-net/",
        "Free Support": "https://forum.aspose.com/c/slides",
        "Homepage": "https://products.aspose.com/slides/python-net/",
        "Release Notes": "https://releases.aspose.com/slides/python-net/release-notes/2024/aspose-slides-for-python-net-24-5-release-notes/",
        "Search": "https://search.aspose.com/",
        "Temporary License": "https://purchase.aspose.com/temporary-license"
    },
    "split_keywords": [
        "ppt",
        " pptx",
        " potx",
        " pot",
        " pps",
        " ppsx",
        " odt",
        " import",
        " export",
        " convert",
        " edit",
        " pdf",
        " xps",
        " swf",
        " svg",
        " html",
        " html5",
        " powerpoint",
        " presentation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "601ad5a9f10169a685ccd91ffd7722a999aa9d23861043b5473daba11579e772",
                "md5": "5f5bc7b0479302b66a1739a60391d2d4",
                "sha256": "cca8a90f0613211b6c9cbdeb721b2f722e4f2f762fe3c59db1c282d156d2a1ea"
            },
            "downloads": -1,
            "filename": "Aspose.Slides-24.5.0-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5f5bc7b0479302b66a1739a60391d2d4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 77156542,
            "upload_time": "2024-05-15T22:32:29",
            "upload_time_iso_8601": "2024-05-15T22:32:29.574706Z",
            "url": "https://files.pythonhosted.org/packages/60/1a/d5a9f10169a685ccd91ffd7722a999aa9d23861043b5473daba11579e772/Aspose.Slides-24.5.0-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d6cdd92756c1e8f887f9af0ffbac56b3adc65a12f6a2f09488866e05044cbd83",
                "md5": "a416a5873968c343321796c4b073e617",
                "sha256": "996b37cd8c18aa4c44e7c4f8707d17d9507b5db612516dbc1b7e5dc218b001d4"
            },
            "downloads": -1,
            "filename": "Aspose.Slides-24.5.0-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "a416a5873968c343321796c4b073e617",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 55513533,
            "upload_time": "2024-05-15T22:32:47",
            "upload_time_iso_8601": "2024-05-15T22:32:47.343357Z",
            "url": "https://files.pythonhosted.org/packages/d6/cd/d92756c1e8f887f9af0ffbac56b3adc65a12f6a2f09488866e05044cbd83/Aspose.Slides-24.5.0-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7555552989326e49c56babe1aa66610e1f3220c0606eeebb879d8dacf2eaf823",
                "md5": "ec41cc84c7e7b61afe420e8bfcabca0c",
                "sha256": "d7790f6f37683bc36e6a51f90ac99991cdac70b809cb2ede9a2b53668f932d94"
            },
            "downloads": -1,
            "filename": "Aspose.Slides-24.5.0-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ec41cc84c7e7b61afe420e8bfcabca0c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 88970482,
            "upload_time": "2024-05-15T22:33:03",
            "upload_time_iso_8601": "2024-05-15T22:33:03.985136Z",
            "url": "https://files.pythonhosted.org/packages/75/55/552989326e49c56babe1aa66610e1f3220c0606eeebb879d8dacf2eaf823/Aspose.Slides-24.5.0-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b42e5c7658969cb2db57c70d4981cdc0a7104a79a250d7631288aab29dcd2c36",
                "md5": "68e08e0675f727152da04b6e8640d118",
                "sha256": "f85748478097e772276862a8e5de6dfd89283dadcab35e59097f1a5ec5c98f07"
            },
            "downloads": -1,
            "filename": "Aspose.Slides-24.5.0-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "68e08e0675f727152da04b6e8640d118",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 57646802,
            "upload_time": "2024-05-15T22:33:12",
            "upload_time_iso_8601": "2024-05-15T22:33:12.355275Z",
            "url": "https://files.pythonhosted.org/packages/b4/2e/5c7658969cb2db57c70d4981cdc0a7104a79a250d7631288aab29dcd2c36/Aspose.Slides-24.5.0-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e02b2252733e2e71a1c88585a4232fa5adf0a1bdfbb2839aeceab5975a40db56",
                "md5": "f0bf65677ab2626ab96054f6479ead30",
                "sha256": "56906698daaf3de3c8c91ccf5f73278e3bc25ba4853d85b448ed5651aee51cef"
            },
            "downloads": -1,
            "filename": "Aspose.Slides-24.5.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "f0bf65677ab2626ab96054f6479ead30",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 65345348,
            "upload_time": "2024-05-15T22:33:19",
            "upload_time_iso_8601": "2024-05-15T22:33:19.324446Z",
            "url": "https://files.pythonhosted.org/packages/e0/2b/2252733e2e71a1c88585a4232fa5adf0a1bdfbb2839aeceab5975a40db56/Aspose.Slides-24.5.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 22:32:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose.slides"
}
        
Elapsed time: 0.27166s