Skip to main content

Library for parsing, manipulating, and generating BridgePoint xtUML models

Project description

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.

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

pyxtuml-0.3.0.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file pyxtuml-0.3.0.tar.gz.

File metadata

  • Download URL: pyxtuml-0.3.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyxtuml-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a319fe9c9feaa7abfa46bc43742b87a14f91227f2ca246a9c0109cb59b10c1e0
MD5 7edc768cb97d4d24b65c613a8a7d3744
BLAKE2b-256 9bb9d0eed08042186415a8638125ca7c1d31bf609b272edf9c303f315f337683

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page