Difference between revisions of "Template:Pip"

From BITPlan Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
}}
 
}}
 
</includeonly>
 
</includeonly>
 +
= Usage =
 +
<source lang='bash'>
 +
ceur-spt h
 +
usage: ceur-spt [-h] [-a] [-b BASEPATH] [-bu BASEURL] [-d] [--host HOST]
 +
                [--port PORT] [-s] [-V]
 +
ceur-spt: error: unrecognized arguments: h
 +
wf@capri:~$ ceur-spt -h
 +
usage: ceur-spt [-h] [-a] [-b BASEPATH] [-bu BASEURL] [-d] [--host HOST]
 +
                [--port PORT] [-s] [-V]
 +
 +
Copyright 2023 contributors. All rights reserved.
 +
 +
  Licensed under the Apache License 2.0
 +
  https://www.apache.org/licenses/LICENSE-2.0
 +
 +
  Distributed on an "AS IS" basis without warranties
 +
  or conditions of any kind, either express or implied.
 +
 +
options:
 +
  -h, --help            show this help message and exit
 +
  -a, --about          show about info [default: False]
 +
  -b BASEPATH, --basepath BASEPATH
 +
                        the base path to the ceur-ws volumes [default:
 +
                        /home/wf/.local/lib/python3.10/site-packages/ceur-ws]
 +
  -bu BASEURL, --baseurl BASEURL
 +
                        the base url to use for the RESTFul metadata service
 +
                        [default: http://cvb.bitplan.com]
 +
  -d, --debug          show debug info [default: False]
 +
  --host HOST          the host to serve / listen from [default:
 +
                        capri.bitplan.com]
 +
  --port PORT          the port to serve from [default: 9990]
 +
  -s, --serve          start webserver [default: False]
 +
  -V, --version        show program's version number and exit
 +
</source>

Revision as of 07:59, 28 March 2023

This is a template to describe the installation procedure via pip for a python package

Usage

Example

{{pip|pyLodStorage}}


Installation

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

upgrade

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

Usage

ceur-spt h
usage: ceur-spt [-h] [-a] [-b BASEPATH] [-bu BASEURL] [-d] [--host HOST]
                [--port PORT] [-s] [-V]
ceur-spt: error: unrecognized arguments: h
wf@capri:~$ ceur-spt -h
usage: ceur-spt [-h] [-a] [-b BASEPATH] [-bu BASEURL] [-d] [--host HOST]
                [--port PORT] [-s] [-V]

Copyright 2023 contributors. All rights reserved.

  Licensed under the Apache License 2.0
  https://www.apache.org/licenses/LICENSE-2.0

  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied.

options:
  -h, --help            show this help message and exit
  -a, --about           show about info [default: False]
  -b BASEPATH, --basepath BASEPATH
                        the base path to the ceur-ws volumes [default:
                        /home/wf/.local/lib/python3.10/site-packages/ceur-ws]
  -bu BASEURL, --baseurl BASEURL
                        the base url to use for the RESTFul metadata service
                        [default: http://cvb.bitplan.com]
  -d, --debug           show debug info [default: False]
  --host HOST           the host to serve / listen from [default:
                        capri.bitplan.com]
  --port PORT           the port to serve from [default: 9990]
  -s, --serve           start webserver [default: False]
  -V, --version         show program's version number and exit


Usage

ceur-spt h
usage: ceur-spt [-h] [-a] [-b BASEPATH] [-bu BASEURL] [-d] [--host HOST]
                [--port PORT] [-s] [-V]
ceur-spt: error: unrecognized arguments: h
wf@capri:~$ ceur-spt -h
usage: ceur-spt [-h] [-a] [-b BASEPATH] [-bu BASEURL] [-d] [--host HOST]
                [--port PORT] [-s] [-V]

Copyright 2023 contributors. All rights reserved.

  Licensed under the Apache License 2.0
  https://www.apache.org/licenses/LICENSE-2.0

  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied.

options:
  -h, --help            show this help message and exit
  -a, --about           show about info [default: False]
  -b BASEPATH, --basepath BASEPATH
                        the base path to the ceur-ws volumes [default:
                        /home/wf/.local/lib/python3.10/site-packages/ceur-ws]
  -bu BASEURL, --baseurl BASEURL
                        the base url to use for the RESTFul metadata service
                        [default: http://cvb.bitplan.com]
  -d, --debug           show debug info [default: False]
  --host HOST           the host to serve / listen from [default:
                        capri.bitplan.com]
  --port PORT           the port to serve from [default: 9990]
  -s, --serve           start webserver [default: False]
  -V, --version         show program's version number and exit