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.2a0.tar.gz
.
File metadata
- Download URL: umlars_translator-0.0.2a0.tar.gz
- Upload date:
- Size: 69.9 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 | 51075a24c8e937491c750a4c0d0806bb07b4c14926c451bd86849c2b16432ba2 |
|
MD5 | 4b391207895479ca7cfe0f2043f4b6d2 |
|
BLAKE2b-256 | f84b7a1fee94895f4d34fd1793ae10f59618b5ff37e6a447447cde257dfc78c6 |
File details
Details for the file umlars_translator-0.0.2a0-py3-none-any.whl
.
File metadata
- Download URL: umlars_translator-0.0.2a0-py3-none-any.whl
- Upload date:
- Size: 107.8 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 | 0a079be9ee367472d3fdf5002da77a68f8098eab2575d1b61f76a0a0bab2a214 |
|
MD5 | b8176d5b8de4c7981dd80b18feb3e9da |
|
BLAKE2b-256 | a2bd44671895a4ebfda5705bcbb32ce3104099c8435c0b18c9320583e556b235 |