Skip to main content

Class Model Description Wiki Template Generator

Here we take an *.xcm file (Executable Class Model) as input and output a set of class and relationship description markdown files into a local Github wiki directory.

This saves a lot of typing and cut and paste creating the wiki documentation of an Executable UML class model.

Let's say you have a file named elevator.xcm in the current working directory

Just do this:

% wikigen -m elevator.xcm -w ev_wiki

-m specifies the path to your xcm file

-w specifies the target wiki directory, it will be created if it does not exist

Any files in the target directory will be overwritten each time you run the command.

There are some debug options, version etc.

Type:

% wikigen -help

To get the most up to date list of options

Installation

I recommend creating a virtual environment with python 3.13

(download python 3.13 and ensure that this is the current version)

% python3 venv wiki_env

Activate the environment

% source wiki_env/bin/activate

Then with that environment activated (as indicated by the parenthesis before the shell prompt below):

(wikigen) % pip install xcm-wiki-gen

Now you've got the package installed in your environment. At this point you can deactivate your environment if you like:

(wikigen) % deactivate

%

Later you can always reactivate the environment and upgrade to the latest version with:

% source wiki_env/bin/activate

(wikigen) % pip install xcm-wiki-gen -U

The binary command is in wiki_env/bin directory. To elminate the need to go back and keep activating the environment, just create a symbolic link to the command whereever you keep your local bin files. I do this:

% cd ~/bin

% ln -s wiki_env/bin/wikigen .

Now open a new terminal window (or refresh your shell environment) and the command should be available. A quick test is just to check the version.

% wikigen -V

Blueprint Class Model Wiki Generator version: 0.1.2

%

Metadata

Release files for xcm-wiki-gen 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xcm-wiki-gen 0.1.3
File Size Uploaded
xcm_wiki_gen-0.1.3.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xcm-wiki-gen 0.1.3
File Interpreter ABI Platform
xcm_wiki_gen-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / xcm_wiki_gen-0.1.3.tar.gz

Download URL xcm_wiki_gen-0.1.3.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6fc802d409a3ffdfe2b5b6f14264cfb4a4d35665d62adaf87551cc306dc78e6f
BLAKE2b-256 checksum
How to use checksums
20ad3de5c77f5d40fad208db4860a9b7bc56a2e2f035e60ae2047e9aea279653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / xcm_wiki_gen-0.1.3-py3-none-any.whl

Download URL xcm_wiki_gen-0.1.3-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e30f5b760ba4f38ca3d7a2868f908486b3590dc03999c38006f083b65f2aabf1
BLAKE2b-256 checksum
How to use checksums
1af88b2170ce0d791a5f98849cc899061c8fb52c51e1e6c0707b94b0287c9c59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page