pyxtuml is a python library for parsing, manipulating, and generating BridgePoint xtUML models.
Dependencies
For people running Ubuntu, all dependencies are available via apt-get:
$ sudo apt-get install python2.7 python-ply
Installation
Install from pypi:
$ python -m pip install pyxtuml
Or fetch the source from github:
$ git clone https://github.com/john-tornblom/pyxtuml.git $ cd pyxtuml $ python setup.py prepare $ python setup.py install
Optionally, you can also execute a test suite:
$ python setup.py test
Usage example
The examples folder contains a few scripts which demonstrate how pyxtuml may be used.
The following command will create an empty metamodel and populate it with some sample data:
$ python examples/create_external_entity.py > test.sql
Copy the SQL statements saved in test.sql to your clipboard, and paste them into the BridgePoint editor with a project selected in the project explorer.
If you are on a more recent GNU/Linux system, you can also pipe the output directly to your clipboard without bouncing via disk:
$ python examples/create_external_entity.py | xclip -selection clipboard
Reporting bugs
If you encounter problems with pyxtuml, please file a github issue. If you plan on sending pull request which affect more than a few lines of code, please file an issue before you start to work on you changes. This will allow us to discuss the solution properly before you commit time and effort.
License
pyxtuml is licensed under the GPLv3, see LICENSE for more information.
Release files for pyxtuml 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyxtuml-0.3.0.tar.gz | 22.5 kB | Details |
Release files / pyxtuml-0.3.0.tar.gz
| Download URL | pyxtuml-0.3.0.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a319fe9c9feaa7abfa46bc43742b87a14f91227f2ca246a9c0109cb59b10c1e0
|
|
BLAKE2b-256 checksum How to use checksums |
9bb9d0eed08042186415a8638125ca7c1d31bf609b272edf9c303f315f337683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |