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 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.7.4.tar.gz (45.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyxtuml-0.7.4.tar.gz
Algorithm Hash digest
SHA256 02c9e3df8f6919bbd448ea6a4d26f8d3ac07865802549f50b67a32a04b25e12e
MD5 aeb0ba8313a7bedbd708ec769694d107
BLAKE2b-256 09f48fe3a850250e97cc3d83c2fb9bf7a47a942680154bc02ae4a4a54cd58f32

See more details on using hashes here.

Supported by

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