Difference between revisions of "Dcm"

From BITPlan Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|title=dynamic competence map
 
|title=dynamic competence map
 
|url=https://github.com/WolfgangFahl/dcm/
 
|url=https://github.com/WolfgangFahl/dcm/
|version=0.0.1
+
|version=0.0.2
 
|description=dynamic competence map
 
|description=dynamic competence map
|date=2023-11-06
+
|date=2023-11-08
 
|since=2023-11-06
 
|since=2023-11-06
 
}}
 
}}
 +
 
= Motivation =
 
= Motivation =
{{Link|target=SkillsWheel}}
+
{{Link|target=Skills Wheel}}
 +
= Demo =
 +
* https://dcm.wikidata.dbis.rwth-aachen.de/
 +
* http://dcm.bitplan.com
 +
 
 +
{{pip|dynamic-competence-map}}
 +
== Usage ==
 +
<source lang='bash' highlight='1'>
 +
dcm -h
 +
usage: dcm [-h] [-a] [-c] [-d] [--debugServer DEBUGSERVER] [--debugPort DEBUGPORT]
 +
          [--debugRemotePath DEBUGREMOTEPATH] [--debugLocalPath DEBUGLOCALPATH]
 +
          [-l] [-i INPUT] [-rol] [--host HOST] [--port PORT] [-s] [-V] [-v]
 +
          [-rp ROOT_PATH]
 +
 
 +
python based visualization of dynamic competence maps
 +
 
 +
options:
 +
  -h, --help            show this help message and exit
 +
  -a, --about          show about info [default: False]
 +
  -c, --client          start client [default: False]
 +
  -d, --debug          show debug info [default: False]
 +
  --debugServer DEBUGSERVER
 +
                        remote debug Server
 +
  --debugPort DEBUGPORT
 +
                        remote debug Port
 +
  --debugRemotePath DEBUGREMOTEPATH
 +
                        remote debug Server path mapping - remotePath - path on
 +
                        debug server
 +
  --debugLocalPath DEBUGLOCALPATH
 +
                        remote debug Server path mapping - localPath - path on
 +
                        machine where python runs
 +
  -l, --local          run with local file system access [default: False]
 +
  -i INPUT, --input INPUT
 +
                        input file
 +
  -rol, --render_on_load
 +
                        render on load [default: False]
 +
  --host HOST          the host to serve / listen from [default: localhost]
 +
  --port PORT          the port to serve from [default: 8885]
 +
  -s, --serve          start webserver [default: False]
 +
  -V, --version        show program's version number and exit
 +
  -v, --verbose        show verbose output [default: False]
 +
  -rp ROOT_PATH, --root_path ROOT_PATH
 +
                        path to example json files [default: /Users/wf/Documents/p
 +
                        yworkspace/dcm/.venv/lib/python3.10/site-
 +
                        packages/dcm_examples]
 +
</source>
 +
= DCM Online Service =
 +
{{#mermaid:flowchart LR
 +
    YAML[YAML Input: Lehrplan] --> DCM{DCM Online Service}
 +
    JSON[JSON Input: Kompetenzen] --> DCM
 +
    DCM --> SVG[SVG Output]
 +
    SVG -.-> Popups[Optional JavaScript Popups]
 +
 
 +
    YAML -->LP[CompetenceTree,\n CompetenceAspect,\n CompetenceArea,\n CompetenceFacet]
 +
    JSON -->K[Learner,\n Achievement,\n CompetenceElement]
 +
 
 +
 +
    LP -. generalizes .-> CompetenceElement
 +
    K -. uses .-> CompetenceElement
 +
 
 +
    classDef input fill:#e6e6e6,stroke:#333,stroke-width:2px;
 +
    classDef process fill:#bde0f0,stroke:#333,stroke-width:4px;
 +
    classDef output fill:#e6e6e6,stroke:#333,stroke-width:2px;
 +
    classDef optional fill:#F0EAD6,stroke:#333,stroke-width:2px;
 +
 
 +
    class YAML,JSON input;
 +
    class DCM process;
 +
    class SVG output;
 +
    class Popups optional;
 +
 
 +
}}
 +
= Example SVG =
 +
https://wiki.bitplan.com/images/wiki/8/88/1116e424-b4f9-45a2-acc1-c5d54350daea_competence_map_json_empty.svg

Latest revision as of 13:04, 2 March 2024

OsProject

OsProject
id  dcm
state  active
owner  WolfgangFahl
title  dynamic competence map
url  https://github.com/WolfgangFahl/dcm/
version  0.0.2
description  dynamic competence map
date  2023-11-08
since  2023-11-06
until  

Motivation

Skills Wheel

Demo


Installation

pip install dynamic-competence-map
# alternatively if your pip is not a python3 pip
pip3 install dynamic-competence-map 
# local install from source directory of dynamic-competence-map 
pip install .

upgrade

pip install dynamic-competence-map  -U
# alternatively if your pip is not a python3 pip
pip3 install dynamic-competence-map -U


Usage

dcm -h
usage: dcm [-h] [-a] [-c] [-d] [--debugServer DEBUGSERVER] [--debugPort DEBUGPORT]
           [--debugRemotePath DEBUGREMOTEPATH] [--debugLocalPath DEBUGLOCALPATH]
           [-l] [-i INPUT] [-rol] [--host HOST] [--port PORT] [-s] [-V] [-v]
           [-rp ROOT_PATH]

python based visualization of dynamic competence maps

options:
  -h, --help            show this help message and exit
  -a, --about           show about info [default: False]
  -c, --client          start client [default: False]
  -d, --debug           show debug info [default: False]
  --debugServer DEBUGSERVER
                        remote debug Server
  --debugPort DEBUGPORT
                        remote debug Port
  --debugRemotePath DEBUGREMOTEPATH
                        remote debug Server path mapping - remotePath - path on
                        debug server
  --debugLocalPath DEBUGLOCALPATH
                        remote debug Server path mapping - localPath - path on
                        machine where python runs
  -l, --local           run with local file system access [default: False]
  -i INPUT, --input INPUT
                        input file
  -rol, --render_on_load
                        render on load [default: False]
  --host HOST           the host to serve / listen from [default: localhost]
  --port PORT           the port to serve from [default: 8885]
  -s, --serve           start webserver [default: False]
  -V, --version         show program's version number and exit
  -v, --verbose         show verbose output [default: False]
  -rp ROOT_PATH, --root_path ROOT_PATH
                        path to example json files [default: /Users/wf/Documents/p
                        yworkspace/dcm/.venv/lib/python3.10/site-
                        packages/dcm_examples]

DCM Online Service

Example SVG

https://wiki.bitplan.com/images/wiki/8/88/1116e424-b4f9-45a2-acc1-c5d54350daea_competence_map_json_empty.svg