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/71/19/8fb3d0654610cd0d5d181351266d81b4e4373e8c0da6e0ec465c122acda9/aspose_diagram-25.8.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.8.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": "e6b8c3942ec62f9b0fa28596887e2393e0f5e45e61a628b111b37403f7a1d0a0",
"md5": "62871e4cd2d2f5d1a5223ce7fcbdcf85",
"sha256": "5f7444154aa8eff7e51988032b1132f5eb804e94e306eaf3eee55c4bde6607f9"
},
"downloads": -1,
"filename": "aspose_diagram-25.8.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "62871e4cd2d2f5d1a5223ce7fcbdcf85",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 3717799,
"upload_time": "2025-08-19T09:16:36",
"upload_time_iso_8601": "2025-08-19T09:16:36.609171Z",
"url": "https://files.pythonhosted.org/packages/e6/b8/c3942ec62f9b0fa28596887e2393e0f5e45e61a628b111b37403f7a1d0a0/aspose_diagram-25.8.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "71198fb3d0654610cd0d5d181351266d81b4e4373e8c0da6e0ec465c122acda9",
"md5": "1b9eca5a8247a90d71852652a5ba2cad",
"sha256": "1383fa414774b8b38951fbe2bcd26ea91f5f5654c0db71eb4ed7cb4dfb4167c9"
},
"downloads": -1,
"filename": "aspose_diagram-25.8.0.tar.gz",
"has_sig": false,
"md5_digest": "1b9eca5a8247a90d71852652a5ba2cad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 3745473,
"upload_time": "2025-08-19T09:16:40",
"upload_time_iso_8601": "2025-08-19T09:16:40.012864Z",
"url": "https://files.pythonhosted.org/packages/71/19/8fb3d0654610cd0d5d181351266d81b4e4373e8c0da6e0ec465c122acda9/aspose_diagram-25.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-19 09:16:40",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aspose-diagram"
}