Skip to main content

A library to automate Visio operations.

Project description

visiopy

A library to automate Visio operations using Python.
Initially specialized as terminal in a Jupyter Notebook for fast batch editing Visio drawings.

Installation

pip install visiopy

Usage

List Open Documents

from visiopy import loaded_docs
loaded_docs()

Initialize Visio Application

from visiopy import vInit
vInit(0, globals_dict=globals())
print(c.visSectionUser)

Revision 2

The workflow is not straightforward enough.
I often forget the name loaded_docs. vDocs is a better name. It aligns with Init.
There should be no need to call vDocs. if vInit is called without arguments a dialog shall open, showing the loaded docs, additionally there should be a button to trigger a file picker to open a Visio file that is not yet loaded.
As I often work with templates instead of drawings, handling vstx and vstm should be added to the scope.

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

visiopy-0.2.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

visiopy-0.2.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file visiopy-0.2.1.tar.gz.

File metadata

  • Download URL: visiopy-0.2.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for visiopy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3e7daf4a7007f4c1eb200b9c90ad08a07e7101235907f8055be6b1589dee1846
MD5 dc49ff6cb88c5714c611b5acd9ebfc75
BLAKE2b-256 fffcf1ff4950866a370952e0f7401d2ca26a3646043058be5420d43c5ecba828

See more details on using hashes here.

File details

Details for the file visiopy-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: visiopy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for visiopy-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 436af64fd5ac43f3068c04dca44bbad87b8c4acc6f338d95f4dda6dc4a24245a
MD5 a0acbb92253f4bf8190aad6a0b83fefc
BLAKE2b-256 a36a1250bd4ada037ebf14890beb9a92aff5c8203aaab2c727bb20735dd48635

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