UML representation and analysis system - translation service
Project description
About
The aim of UMLARS Translator project is to enable simple interaction with UML diagrams using Python code. It allows manual translation between various XMI formats of UML model representation and modification using Python methods.
Reads XMI files data using built-in xml package and builds from them internal OOP representation of MOF-based objects. Currently supports Enterprise Architect XMI UML, compliant with OMG specification.
The main motivation behind this project is to provide a unification framework between various incosistent formats implemented by MDE tools vendors. It offers a convinient way to modify UML Diagrams using scripts written in high-level programming languages rather than manually interact with them using graphical editors.
Requirements
Python 3.10+
Installation
pip install umlars_translator
Dev Usage
- make setup: installs all dependencies
- make test: runs pytest tests
- make tox-test: runs tox tests
- make docs: serves documentation at localhost
- make docs-build: builds docs
- make export: exports dependencies to requirements.txt
- make publish: - publishes the package to PyPI
- make publish-test: - publishes the package to Test PyPI
- make clean: - cleans working directory
To quick-check, if translation was successful, use visitor for logging Python objects structure into the terminal.
python3 sandbox/visit_sample_1.py
Dev Usage
Published as Python package to test PyPi. Documented using mkdocs. Tested on multiple Python versions using tox.
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file umlars_translator-0.0.3.tar.gz
.
File metadata
- Download URL: umlars_translator-0.0.3.tar.gz
- Upload date:
- Size: 69.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6743e8c15bb31a80c2ad71285b58f3a4ec94996a86c998ea9f2e71c2258f0017 |
|
MD5 | db6d78b5672a8ad4c508a776ed2a7dc5 |
|
BLAKE2b-256 | deb713863de6ba86e869922448f01e72c4746863871f3c9a5de2a957f33de0a5 |
File details
Details for the file umlars_translator-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: umlars_translator-0.0.3-py3-none-any.whl
- Upload date:
- Size: 108.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff35f72a1170cff069132169ee44d511b70ba408a1a2ebeb572995b2c3d28fcf |
|
MD5 | 3d26653c7d8f5fdec37b9745a7cddf5c |
|
BLAKE2b-256 | e59d683cb4a569b896590e08b72217768aaf5a52b17eff355620e24e8ea15426 |