aspose-diagram


Nameaspose-diagram JSON
Version 24.11.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_time2024-11-18 09:01:57
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/c7/79/8c6c82b2689a5f247d1970845915e2669792955b1644d314ef034afbe3f8/aspose-diagram-24.11.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": "24.11.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": "8f7c9b41ea33b46bf15be4211a6074efc59c0f714978239bbbdaa3ea1d58e507",
                "md5": "3b0b206f3232f49f9149e5b38546fc14",
                "sha256": "816fb03a37a331e22ccf7882a2397addbc7a48cf133178032d8b9b3a799cbd4a"
            },
            "downloads": -1,
            "filename": "aspose_diagram-24.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3b0b206f3232f49f9149e5b38546fc14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 3666831,
            "upload_time": "2024-11-18T09:01:55",
            "upload_time_iso_8601": "2024-11-18T09:01:55.011832Z",
            "url": "https://files.pythonhosted.org/packages/8f/7c/9b41ea33b46bf15be4211a6074efc59c0f714978239bbbdaa3ea1d58e507/aspose_diagram-24.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7798c6c82b2689a5f247d1970845915e2669792955b1644d314ef034afbe3f8",
                "md5": "b2611f4dd5ca3b6ad0625368661d8243",
                "sha256": "5a1a3fb99094aa6a51df2a0a557a60c67b9ba680aed800f0f992f13927bdafd1"
            },
            "downloads": -1,
            "filename": "aspose-diagram-24.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b2611f4dd5ca3b6ad0625368661d8243",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 3694660,
            "upload_time": "2024-11-18T09:01:57",
            "upload_time_iso_8601": "2024-11-18T09:01:57.462394Z",
            "url": "https://files.pythonhosted.org/packages/c7/79/8c6c82b2689a5f247d1970845915e2669792955b1644d314ef034afbe3f8/aspose-diagram-24.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 09:01:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-diagram"
}
        
Elapsed time: 3.07832s