Skip to main content

vsdx - A python library for processing .vsdx files

Project description

vsdx - A python library for processing Visio .vsdx files

Note: this is an early release with limited functionality

example: from vsdx import VisioFile

open a visio file

with VisioFile('my_file.vsdx') as vis: # get page shapes collection shapes = vis.page_objects[0].shapes # get shape to remove by its text value s = shapes[0].find_shape_by_text('Shape to remove') # type: VisioFile.Shape # remove the shape if found if s: s.remove() # save a new copy vis.save_vsdx(filename[:-5] + '_shape_removed.vsdx')

Please refer to tests/test.py for usage examples

Project details


Download files

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

Source Distribution

vsdx-0.2.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

vsdx-0.2-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page