Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nakamura196/vsdx-rdf
a Python library for extracting RDF data from Visio files (.vsdx)
https://github.com/nakamura196/vsdx-rdf
python rdf visio
Last synced: 3 months ago
JSON representation
a Python library for extracting RDF data from Visio files (.vsdx)
- Host: GitHub
- URL: https://github.com/nakamura196/vsdx-rdf
- Owner: nakamura196
- License: apache-2.0
- Created: 2024-05-23T08:14:30.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T08:39:27.000Z (6 months ago)
- Last Synced: 2024-08-17T19:09:36.778Z (5 months ago)
- Topics: python, rdf, visio
- Language: Jupyter Notebook
- Homepage: https://nakamura196.github.io/vsdx-rdf/
- Size: 2.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
vsdx-rdf
================vsdx-rdf is a Python library for extracting RDF data from Visio files
(.vsdx). It is based on the [vsdx](https://pypi.org/project/vsdx/)
library, which is a Python library for reading and writing Visio files.## Install
``` sh
pip install git+https://github.com/nakamura196/vsdx-rdf.git
```## How to use
In the following example, we extract RDF data from a Visio file and
print it.``` python
INPUT_FILE = "./data/input/sample/ex.vsdx"
OUTPUT_FILE = "./data/output"Client.convert(INPUT_FILE, OUTPUT_FILE)
```Processing: ./data/input/sample/ex.vsdx
depth (int): Optional; the depth of the graph to download, 0 by default.
``` python
INPUT_FILE = "./data/input/sample/*.vsdx"
OUTPUT_FILE = "./data/output_extra"Client.convert(INPUT_FILE, OUTPUT_FILE, depth=1, verbose=False)
```Processing: ./data/input/sample/ex.vsdx