Skip to main content

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

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

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

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

jpype.shutdownJVM()

Product Page | Documentation | Blog | API Reference | Code Samples | Free Support | Temporary License | EULA

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aspose-diagram-24.6.0.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aspose_diagram-24.6.0-py3-none-any.whl (3.5 MB view details)

Uploaded Python 3

File details

Details for the file aspose-diagram-24.6.0.tar.gz.

File metadata

  • Download URL: aspose-diagram-24.6.0.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for aspose-diagram-24.6.0.tar.gz
Algorithm Hash digest
SHA256 0fe6075ad1cead364819b14cf5e17fd2c38ff13f1648c67bb058f6ff3950edf5
MD5 cfe467fa28a5e71445b6fb572e8a9961
BLAKE2b-256 633478641d4d7dbbdc94b7d55cc15c78a5a81c90e082a4e9bed64728a9c4a354

See more details on using hashes here.

File details

Details for the file aspose_diagram-24.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aspose_diagram-24.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 705551f2fccb1c8ec614c6d0aef37f8446167cd8a49df5063485674985820626
MD5 c25e0769db034428e36061fbcd57152e
BLAKE2b-256 ccf02724cbca51cfa8d6bf4d9b3b2370fa5c54a3dc931d7a7313a97afb7c748f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page