aspose-slides-java


Nameaspose-slides-java JSON
Version 24.5.0 PyPI version JSON
download
home_pagehttps://products.aspose.com/slides/python-java/
SummaryA powerful library for manipulating and converting PowerPoint (PPT, PPTX, ODT, OTP, POT, POTX, PPS, PPSX) files.
upload_time2024-05-21 13:29:31
maintainerNone
docs_urlNone
authorAspose
requires_python<=3.12,>=3.7
licensehttps://company.aspose.com/legal/eula
keywords ppt pptx potx pot pps ppsx odt otp 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://products.aspose.com/slides/images/aspose_slides-for-python-via-java-banner.png)

[Product Page](https://products.aspose.com/slides/python-java/) | [Docs](https://docs.aspose.com/slides/python-java/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://reference.aspose.com/slides/python-java/) | [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-java/release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)

[Aspose.Slides for Python via Java](https://products.aspose.com/slides/python-java/) 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 .NET, Java, C++, PHP and JavaScript languages, we recommend you get [Aspose.Slides for .NET](https://products.aspose.com/slides/net/), [Aspose.Slides for Java](https://products.aspose.com/slides/java/), [Aspose.Slides for C++](https://products.aspose.com/slides/cpp/), [Aspose.Slides for PHP via Java](https://products.aspose.com/slides/php-java/) and [Aspose.Slides for Node.js via Java](https://products.aspose.com/slides/nodejs-java/), respectively.

## Slides API Features

Aspose.Slides for Python via Java 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.

## Platform Independence

Aspose.Slides for Python via Java is platform-independent API and can be used on any platform (Windows, Linux and MacOS) where **Python**, **Java** and **jpype1 bridge** are installed.

## Get Started

Ready to try Aspose.Slides for Python via Java?

Please read detailed installation instructions - [Installing Aspose.Slides for Python for Java](https://docs.aspose.com/slides/python-java/installation/)

Fetch the package and install **aspose-slides-java**. Run this command: `pip install aspose-slides-java`

If you already have **aspose-slides-java** package installed and want to get the latest version,   
you have to run `pip install --upgrade aspose-slides-java` instead. 

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

```py
import jpype
import asposeslides

jpype.startJVM()

from asposeslides.api import Presentation, ShapeType, SaveFormat

# Instantiate a Presentation object
presentation = Presentation()

# Select first slide
slide = presentation.getSlides().get_Item(0)

# Add new Line shape to slide
slide.getShapes().addAutoShape(ShapeType.Line, 50, 150, 300, 0)

# Save the presentation as PPTX
presentation.save("newPresentation.pptx", SaveFormat.Pptx)

jpype.shutdownJVM()
```

## Convert a Presentation to PDF

```py
import jpype
import asposeslides

jpype.startJVM()

from asposeslides.api import Presentation, SaveFormat

# Instantiate a Presentation object that represents a PPTX file
presentation = Presentation("presentation.pptx")

# Save the presentation as PDF
presentation.save("outputPDF.pdf", SaveFormat.Pdf)

jpype.shutdownJVM()
```

## Import PDF and Save it as a Presentation

```py
import jpype
import asposeslides

jpype.startJVM()

from asposeslides.api import Presentation, SaveFormat

# Instantiate a Presentation object that represents a PPTX file
presentation = Presentation()

# Remove the first slide from a presentation
presentation.getSlides().removeAt(0)

# Import the contents of a PDF file into a presentation.
presentation.getSlides().addFromPdf("welcome-to-powerpoint.pdf")

# Save the presentation as PPTX
presentation.save("outputPresentation.pptx", SaveFormat.Pptx)

jpype.shutdownJVM()
```


[Product Page](https://products.aspose.com/slides/python-java/) | [Docs](https://docs.aspose.com/slides/python-java/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://reference.aspose.com/slides/python-java/) | [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-java/release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)


            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/slides/python-java/",
    "name": "aspose-slides-java",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<=3.12,>=3.7",
    "maintainer_email": null,
    "keywords": "ppt, pptx, potx, pot, pps, ppsx, odt, otp, import, export, convert, edit, pdf, xps, swf, svg, html, html5, powerpoint, presentation",
    "author": "Aspose",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/52/b8/b7f300d8903e58f4471224ce65ce26492882e29200eb539f925db16fb519/aspose-slides-java-24.5.0.tar.gz",
    "platform": "Operating System :: Microsoft :: Windows",
    "description": "# Presentation Manipulation Python API\r\n\r\n![banner](https://products.aspose.com/slides/images/aspose_slides-for-python-via-java-banner.png)\r\n\r\n[Product Page](https://products.aspose.com/slides/python-java/) | [Docs](https://docs.aspose.com/slides/python-java/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://reference.aspose.com/slides/python-java/) | [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-java/release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)\r\n\r\n[Aspose.Slides for Python via Java](https://products.aspose.com/slides/python-java/) 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. \r\n\r\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.\r\n\r\n>Aspose.Slides for Python requires you to use python programming language. For .NET, Java, C++, PHP and JavaScript languages, we recommend you get [Aspose.Slides for .NET](https://products.aspose.com/slides/net/), [Aspose.Slides for Java](https://products.aspose.com/slides/java/), [Aspose.Slides for C++](https://products.aspose.com/slides/cpp/), [Aspose.Slides for PHP via Java](https://products.aspose.com/slides/php-java/) and [Aspose.Slides for Node.js via Java](https://products.aspose.com/slides/nodejs-java/), respectively.\r\n\r\n## Slides API Features\r\n\r\nAspose.Slides for Python via Java provides these popular features:\r\n- Loading, opening, and viewing presentations \r\n- Editing presentations\r\n- Converting presentations to PDF, Word, JPG, HTML, GIF, SVG, and many other formats\r\n- Rendering and printing presentations\r\n- Encrypting and decrypting presentations; password-protecting presentations and removing passwords\r\n- Manipulating presentation entities, such as master slides, shapes, charts, picture frames, audio frames, video frames, OLE, VBA macros, animations, etc.\r\n\r\n## Platform Independence\r\n\r\nAspose.Slides for Python via Java is platform-independent API and can be used on any platform (Windows, Linux and MacOS) where **Python**, **Java** and **jpype1 bridge** are installed.\r\n\r\n## Get Started\r\n\r\nReady to try Aspose.Slides for Python via Java?\r\n\r\nPlease read detailed installation instructions - [Installing Aspose.Slides for Python for Java](https://docs.aspose.com/slides/python-java/installation/)\r\n\r\nFetch the package and install **aspose-slides-java**. Run this command: `pip install aspose-slides-java`\r\n\r\nIf you already have **aspose-slides-java** package installed and want to get the latest version,   \r\nyou have to run `pip install --upgrade aspose-slides-java` instead. \r\n\r\n## Create a Presentation (PPTX) from scratch in Python\r\n\r\n```py\r\nimport jpype\r\nimport asposeslides\r\n\r\njpype.startJVM()\r\n\r\nfrom asposeslides.api import Presentation, ShapeType, SaveFormat\r\n\r\n# Instantiate a Presentation object\r\npresentation = Presentation()\r\n\r\n# Select first slide\r\nslide = presentation.getSlides().get_Item(0)\r\n\r\n# Add new Line shape to slide\r\nslide.getShapes().addAutoShape(ShapeType.Line, 50, 150, 300, 0)\r\n\r\n# Save the presentation as PPTX\r\npresentation.save(\"newPresentation.pptx\", SaveFormat.Pptx)\r\n\r\njpype.shutdownJVM()\r\n```\r\n\r\n## Convert a Presentation to PDF\r\n\r\n```py\r\nimport jpype\r\nimport asposeslides\r\n\r\njpype.startJVM()\r\n\r\nfrom asposeslides.api import Presentation, SaveFormat\r\n\r\n# Instantiate a Presentation object that represents a PPTX file\r\npresentation = Presentation(\"presentation.pptx\")\r\n\r\n# Save the presentation as PDF\r\npresentation.save(\"outputPDF.pdf\", SaveFormat.Pdf)\r\n\r\njpype.shutdownJVM()\r\n```\r\n\r\n## Import PDF and Save it as a Presentation\r\n\r\n```py\r\nimport jpype\r\nimport asposeslides\r\n\r\njpype.startJVM()\r\n\r\nfrom asposeslides.api import Presentation, SaveFormat\r\n\r\n# Instantiate a Presentation object that represents a PPTX file\r\npresentation = Presentation()\r\n\r\n# Remove the first slide from a presentation\r\npresentation.getSlides().removeAt(0)\r\n\r\n# Import the contents of a PDF file into a presentation.\r\npresentation.getSlides().addFromPdf(\"welcome-to-powerpoint.pdf\")\r\n\r\n# Save the presentation as PPTX\r\npresentation.save(\"outputPresentation.pptx\", SaveFormat.Pptx)\r\n\r\njpype.shutdownJVM()\r\n```\r\n\r\n\r\n[Product Page](https://products.aspose.com/slides/python-java/) | [Docs](https://docs.aspose.com/slides/python-java/) | [Demos](https://products.aspose.app/slides/family) | [API Reference](https://reference.aspose.com/slides/python-java/) | [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-java/release-notes/) | [Temporary License](https://purchase.aspose.com/temporary-license)\r\n\r\n",
    "bugtrack_url": null,
    "license": "https://company.aspose.com/legal/eula",
    "summary": "A powerful library for manipulating and converting PowerPoint (PPT, PPTX, ODT, OTP, POT, POTX, PPS, PPSX) files.",
    "version": "24.5.0",
    "project_urls": {
        "API Reference": "https://reference.aspose.com/slides/python-java/",
        "Blog": "https://blog.aspose.com/category/slides/",
        "Docs": "https://docs.aspose.com/slides/python-java/",
        "Free Support": "https://forum.aspose.com/c/slides",
        "Homepage": "https://products.aspose.com/slides/python-java/",
        "Release Notes": "https://releases.aspose.com/slides/python-java/release-notes/2024/aspose-slides-for-python-via-java-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",
        " otp",
        " import",
        " export",
        " convert",
        " edit",
        " pdf",
        " xps",
        " swf",
        " svg",
        " html",
        " html5",
        " powerpoint",
        " presentation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "55cf8a345a776f3b68206fa5aa51a2840f560db8394fc9accf7a39431cd3e819",
                "md5": "6fd46244fa4a34020e15ae4308009c0e",
                "sha256": "f066a8faf5ab9bdfa8f623fa5e3e94b0b6d7df511f150cf8bce481ec4014f532"
            },
            "downloads": -1,
            "filename": "aspose_slides_java-24.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6fd46244fa4a34020e15ae4308009c0e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<=3.12,>=3.7",
            "size": 27394372,
            "upload_time": "2024-05-21T13:29:28",
            "upload_time_iso_8601": "2024-05-21T13:29:28.272650Z",
            "url": "https://files.pythonhosted.org/packages/55/cf/8a345a776f3b68206fa5aa51a2840f560db8394fc9accf7a39431cd3e819/aspose_slides_java-24.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "52b8b7f300d8903e58f4471224ce65ce26492882e29200eb539f925db16fb519",
                "md5": "61ebc4f2635604e5d734bfce6fc75c0c",
                "sha256": "8a980d966ca348c8bf039597e17af5840ad75bed8c05205fc3f969bedb316968"
            },
            "downloads": -1,
            "filename": "aspose-slides-java-24.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "61ebc4f2635604e5d734bfce6fc75c0c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<=3.12,>=3.7",
            "size": 28121944,
            "upload_time": "2024-05-21T13:29:31",
            "upload_time_iso_8601": "2024-05-21T13:29:31.795767Z",
            "url": "https://files.pythonhosted.org/packages/52/b8/b7f300d8903e58f4471224ce65ce26492882e29200eb539f925db16fb519/aspose-slides-java-24.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-21 13:29:31",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-slides-java"
}
        
Elapsed time: 0.25056s