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/ef/85/b1e242420d67353c06dbd3bb82477396b7e67a463a3f87bf889c9f69166b/aspose-diagram-24.4.0.tar.gz",
"platform": "Operating System :: MacOS :: MacOS X",
"description": "Python Visio API\n================\n\nAspose.Diagram for Python via Java is a scalable and feature-rich API to\nprocess visio files using Python. API offers Visio file creation,\nmanipulation, conversion, & rendering. Developers can format pages to\nthe most granular level, create & manipulate shape, render pages, shapes\nto PDF & images, and much more - all without any dependency on Microsoft\nOffice or Visio application.\n\nPython Visio API Features\n-------------------------\n\n- Create visio files via API.\n- Convert shapes to images or PDF.\n- Manage comments & hyperlinks.\n- Convert pages to PDF, XPS & SVG formats.\n- Inter-convert files to popular visio formats.\n\nRead Visio Files\n----------------\n\n**Microsoft Visio:**\\ VSD,VSS,VST,VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM,\nVSSM\n\nSave Visio Files As\n-------------------\n\n**Microsoft Visio:** VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM, VSSM **Fixed\nLayout:** PDF, XPS **Images:** JPEG, PNG, BMP, SVG, TIFF, GIF, EMF\n**Web:** HTML\n\nCreate Visio File from Scratch using Python\n-------------------------------------------\n\n.. code:: python\n\n import jpype\n import asposediagram\n jpype.startJVM()\n from asposediagram.api import *\n\n diagram = Diagram()\n diagram.save(\"output.vsdx\", SaveFileFormat.VSDX)\n\n jpype.shutdownJVM()\n\nConvert Visio VSDX File to PDF using Python\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n import jpype\n import asposediagram\n jpype.startJVM()\n from asposediagram.api import *\n\n diagram = Diagram(\"input.vsdx\")\n diagram.save(\"output.pdf\",SaveFileFormat.PDF)\n\n jpype.shutdownJVM()\n\n`Product Page <https://products.aspose.com/diagram/python-java>`__ \\|\n`Documentation <https://docs.aspose.com/display/diagrampythonjava/Home>`__\n\\| `Blog <https://blog.aspose.com/category/diagram/>`__ \\| `API\nReference <https://apireference.aspose.com/diagram/python>`__ \\| `Code\nSamples <https://github.com/aspose-diagram/Aspose.Diagram-for-Java>`__\n\\| `Free Support <https://forum.aspose.com/c/diagram>`__ \\| `Temporary\nLicense <https://purchase.aspose.com/temporary-license>`__ \\|\n`EULA <https://company.aspose.com/legal/eula>`__\n\n\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.4.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": "49c9f1099495582dfe710fbe4bcaa57476147f0d2db80971da1984df003a54bb",
"md5": "db10ec159be2175e3734d88126f71a81",
"sha256": "1d8bee52794e360d7811e683a72f04c91a2517daca706f553974cc57c58cc554"
},
"downloads": -1,
"filename": "aspose_diagram-24.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "db10ec159be2175e3734d88126f71a81",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 3455350,
"upload_time": "2024-04-11T08:26:24",
"upload_time_iso_8601": "2024-04-11T08:26:24.081679Z",
"url": "https://files.pythonhosted.org/packages/49/c9/f1099495582dfe710fbe4bcaa57476147f0d2db80971da1984df003a54bb/aspose_diagram-24.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ef85b1e242420d67353c06dbd3bb82477396b7e67a463a3f87bf889c9f69166b",
"md5": "c2367cd749620c85f5205a1e85a272de",
"sha256": "6c22171ef8e03e1be4663d01201332c131404427d2bfc638ef7b30ad5c24581b"
},
"downloads": -1,
"filename": "aspose-diagram-24.4.0.tar.gz",
"has_sig": false,
"md5_digest": "c2367cd749620c85f5205a1e85a272de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 3482145,
"upload_time": "2024-04-11T08:26:28",
"upload_time_iso_8601": "2024-04-11T08:26:28.157325Z",
"url": "https://files.pythonhosted.org/packages/ef/85/b1e242420d67353c06dbd3bb82477396b7e67a463a3f87bf889c9f69166b/aspose-diagram-24.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-11 08:26:28",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aspose-diagram"
}