Generates a set of GitHub Wiki class and relationship description template markdown files from an input xcm (executable class model) file.
Project description
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
%
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xcm_wiki_gen-0.1.3.tar.gz.
File metadata
- Download URL: xcm_wiki_gen-0.1.3.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fc802d409a3ffdfe2b5b6f14264cfb4a4d35665d62adaf87551cc306dc78e6f
|
|
| MD5 |
09e3c8ec0ec3f5bd393be5b5fff92115
|
|
| BLAKE2b-256 |
20ad3de5c77f5d40fad208db4860a9b7bc56a2e2f035e60ae2047e9aea279653
|
File details
Details for the file xcm_wiki_gen-0.1.3-py3-none-any.whl.
File metadata
- Download URL: xcm_wiki_gen-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e30f5b760ba4f38ca3d7a2868f908486b3590dc03999c38006f083b65f2aabf1
|
|
| MD5 |
79f833ccfc8ea8c1d9e028ac7db64de4
|
|
| BLAKE2b-256 |
1af88b2170ce0d791a5f98849cc899061c8fb52c51e1e6c0707b94b0287c9c59
|