Skip to main content

Aspose.Diagram for Python via .NET is a scalable and feature-rich API to process visio files using Python. API offers Visio file creation, manipulation, conversion and rendering. Developers can format pages to the most granular level, create and manipulate shape, render pages, shapes to PDF and images, and much more - all without any dependency on Microsoft Office or Visio application.

Project description

Product Page | Docs | Demos | Blog | Code Samples | Free Support | Temporary License | EULA

Try our free online apps demonstrating some of the most popular Aspose.diagram functionality.

Aspose.Diagram for Python via .Net 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 and manipulate shape, render pages, shapes to PDF and images, and much more - all without any dependency on Microsoft Office or Visio application.

Diagram API Features

Aspose.Diagram offers a wide arrange of features for creating, reading, manipulating and saving visio files:

  • 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.

Performance and Scalability

Aspose.Diagram for Python via .NET is designed to perform equally well on the server or client-side. Aspose.Diagram for Python via .NET is a single .NET library that can be deployed with any .NET application by simply copying it. You do not have to worry about other services or modules.

Supported Document Formats

Aspose.Diagram for Python supports a wide range of formats for loading and saving documents<https://docs.aspose.com/diagram/python-net/supported-file-formats/>, some of them are listed below:

Microsoft Visio: VSD, VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM, VSSM Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, SVG, TIFF, GIF, EMF Web: HTML

Detect Diagram Format Programming Sample

from aspose.diagram import *
# For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-.NET
# Detect the format of a diagram file
fileFormatInfo = FileFormatUtil.detectFileFormat(test.vsdx")
# Display the file format
print("File Format: " + str(fileFormatInfo))

Creating a diagram Document: Programming Samples

from aspose.diagram import *
# For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-.NET
# The path to the documents directory.
#Initialize a Diagram class
diagram = Diagram()
# Save diagram in the VSDX format
diagram.save("CreateNewVisio_out.vsdx", SaveFileFormat.VSDX)

Create a PDF with a Diagram

from aspose.diagram import *
# Load an exiting Visio diagram
vsdDiagram = Diagram("Drawing1.vsd")

# Save as PDF
vsdDiagram.save("SaveDiagramToPDFwithAspose_out.pdf", SaveFileFormat.PDF)

Product Page | Docs | Demos | Blog | Code Samples | Free Support | Temporary License | EULA

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

aspose_diagram_python-26.5.0-py3-none-macosx_10_14_x86_64.whl (50.2 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

aspose_diagram_python-26.5-py3-none-win_amd64.whl (47.9 MB view details)

Uploaded Python 3Windows x86-64

aspose_diagram_python-26.5-py3-none-win32.whl (41.7 MB view details)

Uploaded Python 3Windows x86

aspose_diagram_python-26.5-py3-none-macosx_11_0_arm64.whl (45.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file aspose_diagram_python-26.5.0-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for aspose_diagram_python-26.5.0-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3f90c9792a5e6e2d4dd8fb5b068b8241c52a6bd228b284f57b9d220b4273f95e
MD5 07988913f59b96c35d7ded08a63c65ac
BLAKE2b-256 c15f50a31804bd880ff62eb2d522f894f55eef85c1637dbda1b390e3d26dcad0

See more details on using hashes here.

File details

Details for the file aspose_diagram_python-26.5-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_diagram_python-26.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d0ca99ac6a55a8bfdfc82d8892da161cce1032f6e1e4c0aee871297359d56e86
MD5 8cb16ec45f06cd2ccf508621c9a79151
BLAKE2b-256 597528d50013f14828e79a30daf2dce3289c1d28e815ab181877566c60239442

See more details on using hashes here.

File details

Details for the file aspose_diagram_python-26.5-py3-none-win32.whl.

File metadata

File hashes

Hashes for aspose_diagram_python-26.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 407a3465c22a6752821b477200305b72396947b35c406ef40e70b418a5093678
MD5 20855c1db5c62d7398038b15dbc9e170
BLAKE2b-256 211481c4c7f16b5f320149abe96a34fdc517a989f636f3482abdcea7854707a0

See more details on using hashes here.

File details

Details for the file aspose_diagram_python-26.5-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aspose_diagram_python-26.5-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0f8c6ea3090d6ee02309af8d46290e38ab5ee341cb587b9ec632da0347ba3e81
MD5 79e066f2d813081a8467e6b7ba381441
BLAKE2b-256 e67fb922760f7f7dafcd978cd1004d39cf48af2aa9750c640e778f3cd9c32add

See more details on using hashes here.

File details

Details for the file aspose_diagram_python-26.5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aspose_diagram_python-26.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 721c7a34c807fe18ead7f504ec3112a1edb52c0f4bfac079804c46c7bff673aa
MD5 686b47f978dca2c77173a91f185c9b62
BLAKE2b-256 f441b63accd1b6b12284f2e7633d9727963739b417bbad0661b7aed8a3619c7a

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 Pingdom Monitoring Sentry Error logging StatusPage Status page