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/b7/e1/b5ff6c1ab8303e4099bdadf428d40b91be3393c86b48ae6f05328ae712ee/aspose-diagram-24.12.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.12.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": "69644bc7cbfc6befbbf709c752235bfcda601c6f8bf8fb252d1cd383c8ffbee4",
"md5": "c245e94b2c155bd56989547fa148357e",
"sha256": "321928895a86e56651605d65f480112510785cfaa3a443a368801d58c8c43c33"
},
"downloads": -1,
"filename": "aspose_diagram-24.12.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c245e94b2c155bd56989547fa148357e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 3676974,
"upload_time": "2024-12-13T07:32:29",
"upload_time_iso_8601": "2024-12-13T07:32:29.951506Z",
"url": "https://files.pythonhosted.org/packages/69/64/4bc7cbfc6befbbf709c752235bfcda601c6f8bf8fb252d1cd383c8ffbee4/aspose_diagram-24.12.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b7e1b5ff6c1ab8303e4099bdadf428d40b91be3393c86b48ae6f05328ae712ee",
"md5": "99d7d5db25a4750d704eb70cccca4e94",
"sha256": "8296ff4167b83d32861252cf318b8545b7a80b9b9cb97e50588612aa54009c01"
},
"downloads": -1,
"filename": "aspose-diagram-24.12.0.tar.gz",
"has_sig": false,
"md5_digest": "99d7d5db25a4750d704eb70cccca4e94",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 3704888,
"upload_time": "2024-12-13T07:33:04",
"upload_time_iso_8601": "2024-12-13T07:33:04.567639Z",
"url": "https://files.pythonhosted.org/packages/b7/e1/b5ff6c1ab8303e4099bdadf428d40b91be3393c86b48ae6f05328ae712ee/aspose-diagram-24.12.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-13 07:33:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aspose-diagram"
}