aspose-diagram


Nameaspose-diagram JSON
Version 25.7.0 PyPI version JSON
download
home_pagehttps://products.aspose.com/diagram/python-java
SummaryA powerful library for working with Microsoft Visio files VDX, VSD,VSDX,VSSX,VSTX, VTX, XPS, HTML, SVG
upload_time2025-07-15 02:41:00
maintainerNone
docs_urlNone
authorAspose
requires_python>=3.5
licenseNone
keywords visio vsd vdx vsdx vdw to pdf jpg png html svg xps vstx vssx
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Python Visio API
================

Aspose.Diagram for Python via Java is a scalable and feature-rich API to
process visio files using Python. API offers Visio file creation,
manipulation, conversion, & rendering. Developers can format pages to
the most granular level, create & manipulate shape, render pages, shapes
to PDF & images, and much more - all without any dependency on Microsoft
Office or Visio application.

Python Visio API Features
-------------------------

-  Create visio files via API.
-  Convert shapes to images or PDF.
-  Manage comments & hyperlinks.
-  Convert pages to PDF, XPS & SVG formats.
-  Inter-convert files to popular visio formats.

Read Visio Files
----------------

**Microsoft Visio:**\ VSD,VSS,VST,VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM,
VSSM

Save Visio Files As
-------------------

**Microsoft Visio:** VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM, VSSM **Fixed
Layout:** PDF, XPS **Images:** JPEG, PNG, BMP, SVG, TIFF, GIF, EMF
**Web:** HTML

Create Visio File from Scratch using Python
-------------------------------------------

.. code:: python

    import jpype
    import asposediagram
    jpype.startJVM()
    from asposediagram.api import *

    diagram = Diagram()
    diagram.save("output.vsdx", SaveFileFormat.VSDX)

    jpype.shutdownJVM()

Convert Visio VSDX File to PDF using Python
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: python

    import jpype
    import asposediagram
    jpype.startJVM()
    from asposediagram.api import *

    diagram = Diagram("input.vsdx")
    diagram.save("output.pdf",SaveFileFormat.PDF)

    jpype.shutdownJVM()

`Product Page <https://products.aspose.com/diagram/python-java>`__ \|
`Documentation <https://docs.aspose.com/display/diagrampythonjava/Home>`__
\| `Blog <https://blog.aspose.com/category/diagram/>`__ \| `API
Reference <https://apireference.aspose.com/diagram/python>`__ \| `Code
Samples <https://github.com/aspose-diagram/Aspose.Diagram-for-Java>`__
\| `Free Support <https://forum.aspose.com/c/diagram>`__ \| `Temporary
License <https://purchase.aspose.com/temporary-license>`__ \|
`EULA <https://company.aspose.com/legal/eula>`__

            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/diagram/python-java",
    "name": "aspose-diagram",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": null,
    "keywords": "Visio, VSD, VDX, VSDX, VDW, to, PDF, JPG, PNG, HTML, SVG, XPS, VSTX, VSSX",
    "author": "Aspose",
    "author_email": "diagram@aspose.com",
    "download_url": "https://files.pythonhosted.org/packages/20/43/53d760394004600662bf709dc6be3cce0b1da4e2959c15fe1e066f9eca21/aspose_diagram-25.7.0.tar.gz",
    "platform": "Operating System :: MacOS :: MacOS X",
    "description": "Python Visio API\r\n================\r\n\r\nAspose.Diagram for Python via Java is a scalable and feature-rich API to\r\nprocess visio files using Python. API offers Visio file creation,\r\nmanipulation, conversion, & rendering. Developers can format pages to\r\nthe most granular level, create & manipulate shape, render pages, shapes\r\nto PDF & images, and much more - all without any dependency on Microsoft\r\nOffice or Visio application.\r\n\r\nPython Visio API Features\r\n-------------------------\r\n\r\n-  Create visio files via API.\r\n-  Convert shapes to images or PDF.\r\n-  Manage comments & hyperlinks.\r\n-  Convert pages to PDF, XPS & SVG formats.\r\n-  Inter-convert files to popular visio formats.\r\n\r\nRead Visio Files\r\n----------------\r\n\r\n**Microsoft Visio:**\\ VSD,VSS,VST,VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM,\r\nVSSM\r\n\r\nSave Visio Files As\r\n-------------------\r\n\r\n**Microsoft Visio:** VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM, VSSM **Fixed\r\nLayout:** PDF, XPS **Images:** JPEG, PNG, BMP, SVG, TIFF, GIF, EMF\r\n**Web:** HTML\r\n\r\nCreate Visio File from Scratch using Python\r\n-------------------------------------------\r\n\r\n.. code:: python\r\n\r\n    import jpype\r\n    import asposediagram\r\n    jpype.startJVM()\r\n    from asposediagram.api import *\r\n\r\n    diagram = Diagram()\r\n    diagram.save(\"output.vsdx\", SaveFileFormat.VSDX)\r\n\r\n    jpype.shutdownJVM()\r\n\r\nConvert Visio VSDX File to PDF using Python\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n.. code:: python\r\n\r\n    import jpype\r\n    import asposediagram\r\n    jpype.startJVM()\r\n    from asposediagram.api import *\r\n\r\n    diagram = Diagram(\"input.vsdx\")\r\n    diagram.save(\"output.pdf\",SaveFileFormat.PDF)\r\n\r\n    jpype.shutdownJVM()\r\n\r\n`Product Page <https://products.aspose.com/diagram/python-java>`__ \\|\r\n`Documentation <https://docs.aspose.com/display/diagrampythonjava/Home>`__\r\n\\| `Blog <https://blog.aspose.com/category/diagram/>`__ \\| `API\r\nReference <https://apireference.aspose.com/diagram/python>`__ \\| `Code\r\nSamples <https://github.com/aspose-diagram/Aspose.Diagram-for-Java>`__\r\n\\| `Free Support <https://forum.aspose.com/c/diagram>`__ \\| `Temporary\r\nLicense <https://purchase.aspose.com/temporary-license>`__ \\|\r\n`EULA <https://company.aspose.com/legal/eula>`__\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A powerful library for working with Microsoft Visio files VDX, VSD,VSDX,VSSX,VSTX, VTX, XPS, HTML, SVG",
    "version": "25.7.0",
    "project_urls": {
        "Homepage": "https://products.aspose.com/diagram/python-java"
    },
    "split_keywords": [
        "visio",
        " vsd",
        " vdx",
        " vsdx",
        " vdw",
        " to",
        " pdf",
        " jpg",
        " png",
        " html",
        " svg",
        " xps",
        " vstx",
        " vssx"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "045c5c5ea8a4c530fec964f9f55098b2f9b659a1c5f595c28e8da5f9ce536856",
                "md5": "eadca16a88cb9117dd998628130ef1dd",
                "sha256": "e1a2e79bc685c2a2403ab62aeaac57a2d8ca96257c1e758cdfb5cfe1aee5fe0d"
            },
            "downloads": -1,
            "filename": "aspose_diagram-25.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eadca16a88cb9117dd998628130ef1dd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 3712425,
            "upload_time": "2025-07-15T02:40:57",
            "upload_time_iso_8601": "2025-07-15T02:40:57.421501Z",
            "url": "https://files.pythonhosted.org/packages/04/5c/5c5ea8a4c530fec964f9f55098b2f9b659a1c5f595c28e8da5f9ce536856/aspose_diagram-25.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "204353d760394004600662bf709dc6be3cce0b1da4e2959c15fe1e066f9eca21",
                "md5": "9fd4a13bbfed9942544e716a1ce478ba",
                "sha256": "6c8e8df1ad3236295880ed032cfef83a8504dfaa66ec6aa8ef078a01c6a79b3d"
            },
            "downloads": -1,
            "filename": "aspose_diagram-25.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9fd4a13bbfed9942544e716a1ce478ba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 3740158,
            "upload_time": "2025-07-15T02:41:00",
            "upload_time_iso_8601": "2025-07-15T02:41:00.269615Z",
            "url": "https://files.pythonhosted.org/packages/20/43/53d760394004600662bf709dc6be3cce0b1da4e2959c15fe1e066f9eca21/aspose_diagram-25.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-15 02:41:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-diagram"
}
        
Elapsed time: 0.47866s