PySMWSync

From BITPlan Wiki
Revision as of 22:21, 3 March 2023 by Wf (talk | contribs)
Jump to navigation Jump to search

OsProject

OsProject
id  pySMWSync
state  active
owner  WolfgangFahl
title  pySMWSync
url  https://github.com/WolfgangFahl/pySMWsync
version  0.0.2
description  synchronize Semantic MediaWiki content e.g. with wikidata
date  2023-03-03
since  2023-03-03
until  


Installation

pip install pySMWSync
# alternatively if your pip is not a python3 pip
pip3 install pySMWSync 
# local install from source directory of pySMWSync 
pip install .

upgrade

pip install pySMWSync  -U
# alternatively if your pip is not a python3 pip
pip3 install pySMWSync -U


Usage

Command line

smwsync

smwsync -h                 
usage: smwsync [-h] [-a] [--context CONTEXT] [-d] [-t TARGET] [-u] [--topic TOPIC] [--props] [-V]

pySMWSync - ('synchronize Semantic MediaWiki content e.g. with wikidata',)(v0.0.1,2023-03-03)

options:
  -h, --help            show this help message and exit
  -a, --about           show about info [default: False]
  --context CONTEXT     context to generate from [default: CrSchema]
  -d, --debug           show debug info [default: False]
  -t TARGET, --target TARGET
                        wikiId of the target wiki [default: ceur-ws]
  -u, --update          update the local cache
  --topic TOPIC         the topic to work with [default: Scholar]
  --props               show the properties
  -V, --version         show program's version number and exit