Installation#
Install tagit via pip:
pip install --extra-index-url https://pip.bsfs.io tagit
This installs the tagit python package as well as the tagit.app command.
It is recommended to install tagit in a virtual environment (via virtualenv
).
Please note that you may have to separately install the BSIE
package into the same environment.
License#
This project is released under the terms of the 3-clause BSD License. By downloading or using the application you agree to the license’s terms and conditions.
Copyright (c) 2022, Matthias Baumgartner
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name tagit nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL MATTHIAS BAUMGARTNER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Demo#
The following commands install tagit, its dependencies, and the demo files,
then starts tagit. Of course, you can also do this in a virtualenv
:
mkdir bsfs-demo; cd bsfs-demo
pip install --extra-index-url https://pip.bsfs.io/ tagit
wget https://www.bsfs.io/demo/tagitrc -O .tagitrc
wget https://www.bsfs.io/demo/demo-triples.pkl -O demo-triples.pkl
wget https://www.bsfs.io/demo/demo-schema.pkl -O demo-schema.pkl
tagit
Or, you can run the demo in a docker container (although it will be relatively slow):
mkdir bsfs-demo; cd bsfs-demo
wget https://www.bsfs.io/demo/Dockerfile
docker build -t bsfs/demo .
xhost +local:*
docker run --rm --ipc=host -e DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix -it bsfs/demo
Source#
Check out our git repository:
git clone https://git.bsfs.io/tagit.git
You can further install tagit via the ususal setuptools commands from your tagit source directory:
python setup.py develop
For development, you also need to install some additional dependencies:
# code style discipline
pip install mypy coverage pylint
# documentation
pip install sphinx sphinx-copybutton sphinxcontrib-video furo
# packaging
pip install build