Difference between revisions of "PySMWSync"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
|since=2023-03-03 | |since=2023-03-03 | ||
}} | }} | ||
+ | {{pip|pySMWSync}} | ||
+ | = Usage = | ||
+ | == Command line == | ||
+ | === smwsync === | ||
+ | <source lang='bash'> | ||
+ | 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 | ||
+ | |||
+ | </source> |
Revision as of 14:59, 3 March 2023
OsProject
OsProject | |
---|---|
id | pySMWSync |
state | active |
owner | WolfgangFahl |
title | pySMWSync |
url | https://github.com/WolfgangFahl/pySMWsync |
version | 0.0.1 |
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