aspose-slides-java


Nameaspose-slides-java JSON
Version 24.4.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-04-18 16:15:44
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/ec/c0/61314a10c4446e2c748d2d8daa138cfef42cae3a98c5037c62d1c91b06d2/aspose-slides-java-24.4.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.4.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-4-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": "94db628208efacfcb54e098457e528e7585edf3401c27fe3bbb5a666756c7569",
                "md5": "4e55b9ad62e911040840a60d37032134",
                "sha256": "e2ea9e6942935c1aeca4a490eb03de4f9de3a1837e34f191d07a3511a654b06c"
            },
            "downloads": -1,
            "filename": "aspose_slides_java-24.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4e55b9ad62e911040840a60d37032134",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<=3.12,>=3.7",
            "size": 27379821,
            "upload_time": "2024-04-18T16:15:40",
            "upload_time_iso_8601": "2024-04-18T16:15:40.999260Z",
            "url": "https://files.pythonhosted.org/packages/94/db/628208efacfcb54e098457e528e7585edf3401c27fe3bbb5a666756c7569/aspose_slides_java-24.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ecc061314a10c4446e2c748d2d8daa138cfef42cae3a98c5037c62d1c91b06d2",
                "md5": "b96b9303a58afea382f79ff4ccb29d55",
                "sha256": "ddbf5027b0e45d88de3a1254967dfc5f74cd0461aa636a45ca457edf3375651d"
            },
            "downloads": -1,
            "filename": "aspose-slides-java-24.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b96b9303a58afea382f79ff4ccb29d55",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<=3.12,>=3.7",
            "size": 28109704,
            "upload_time": "2024-04-18T16:15:44",
            "upload_time_iso_8601": "2024-04-18T16:15:44.635660Z",
            "url": "https://files.pythonhosted.org/packages/ec/c0/61314a10c4446e2c748d2d8daa138cfef42cae3a98c5037c62d1c91b06d2/aspose-slides-java-24.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-18 16:15:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-slides-java"
}
        
Elapsed time: 0.28401s