vsdx
vsdx - A python library for processing .vsdx files
Decision gist · record as of 2026-08-14
Yes, if you need to automate Visio file manipulation without Visio installed. The low install friction, permissive license, and broad Python version support make it straightforward to adopt. The aging maintenance status (222 days since last release) is a minor concern for long-term stability, but the repository is active and no security vulnerabilities are known. Verify that the feature set covers your specific use case before committing to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction: pure Python wheel with only two runtime dependencies (Jinja2 and deprecation).
- Maintenance status is aging—last release 222 days ago—but the repository is active and not archived, with recent commits as of 2026-01-04.
License · maintenance · safety
permissive license (permissive) — Permissive license treatment means you can use this in commercial and proprietary projects without copyleft obligations.
last release 2026-01-04 (222 days) · last repo commit 2026-01-04 · 103 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 160,732 downloads/mo, #10,653 on PyPI
Alternatives
Verify before relying
from vsdx import VisioFile
with VisioFile('my_file.vsdx') as vis:
shape = vis.pages[0].find_shape_by_text('Shape to remove')
if shape:
shape.remove()
vis.save_vsdx('updated.vsdx')- Whether the package handles all Visio file format variations and edge cases reliably in production use.
- Performance characteristics when working with large or complex .vsdx files.
- Completeness of Jinja2 template support for complex conditional and loop scenarios.
What it is and what it does
vsdx is a Python library for reading and writing Microsoft Visio .vsdx files without requiring Visio itself. It lets you programmatically find, modify, and remove shapes, read and set shape properties and data, and work with pages and connectors. The library also supports templating: you can embed Jinja2 code into a .vsdx file and render it with context data to generate new diagrams dynamically.
The package depends on Jinja2 for template rendering and the deprecation library for API lifecycle management. It supports Python 3.8 through 3.14 and is classified as Beta. The library is useful for automation workflows where you need to generate or modify Visio diagrams from data, extract information from existing diagrams, or build diagram-generation pipelines without manual intervention.
Use it for
- Automate diagram generation from templates and data sources for reports or documentation.
- Extract shape text and properties from existing .vsdx files for data processing or migration.
- Programmatically modify Visio diagrams by finding and updating specific shapes or connectors.
- Build CI/CD pipelines that generate or update architecture or flowchart diagrams from configuration.
- Create batch operations to remove, duplicate, or reorganize shapes across multiple Visio files.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to automate Visio file manipulation without Visio installed.
The low install friction, permissive license, and broad Python version support make it straightforward to adopt. The aging maintenance status (222 days since last release) is a minor concern for long-term stability, but the repository is active and no security vulnerabilities are known. Verify that the feature set covers your specific use case before committing to production.
Install
vsdx on PyPI
Before you install
Low install friction: pure Python wheel with only two runtime dependencies (Jinja2 and deprecation). Maintenance status is aging—last release 222 days ago—but the repository is active and not archived, with recent commits as of 2026-01-04.
License in practice
Permissive license treatment means you can use this in commercial and proprietary projects without copyleft obligations.
Quickstart
from vsdx import VisioFile
with VisioFile('my_file.vsdx') as vis:
shape = vis.pages[0].find_shape_by_text('Shape to remove')
if shape:
shape.remove()
vis.save_vsdx('updated.vsdx')
Verify before relying
- Whether the package handles all Visio file format variations and edge cases reliably in production use.
- Performance characteristics when working with large or complex .vsdx files.
- Completeness of Jinja2 template support for complex conditional and loop scenarios.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesJinja2deprecation |
| Maintenance | Aging 222 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 160,732 / month, #10,653 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: vsdx-0.6.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “visio file processing python”
- vsdxvsdx reads, modifies, and creates Microsoft Visio .vsdx files…
- chunkr-aiA Python client for the Chunkr document intelligence API that uploads…
- segyioSegyio reads and writes SEG-Y formatted seismic data files, providing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also Jinja2 · branca · pylnk3 · jinja-cli · Mako · copier-template-extensions · django-jinja · html5tagger · envtpl · copier-templates-extensions