aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-03-02 09:23:18 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-03-02 09:23:18 +0100
commit2f0f28a0c5490f53e71e55a3bc4667bbeeae49b1 (patch)
tree4c0c60035f2f4c580a2111ed61cfca3f12485579 /README.md
parentba6329bbe14c832d42773dee2fe30bd7669ca255 (diff)
downloadbsie-2f0f28a0c5490f53e71e55a3bc4667bbeeae49b1.tar.gz
bsie-2f0f28a0c5490f53e71e55a3bc4667bbeeae49b1.tar.bz2
bsie-2f0f28a0c5490f53e71e55a3bc4667bbeeae49b1.zip
readme and changelog
Diffstat (limited to 'README.md')
-rw-r--r--README.md55
1 files changed, 55 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..85cb68f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,55 @@
+
+# Black Star Information Extraction
+
+The Black Star Information Extraction (BSIE) package provides a pipeline
+to extract metadata and content-derived features from files and stores
+that information in a BSFS storage.
+
+## Installation
+
+You can install BSIE via pip:
+
+ $ pip install --extra-index-url https://pip.bsfs.io bsie
+
+
+## Development
+
+Set up a virtual environment:
+
+ $ virtualenv env
+ $ source env/bin/activate
+
+Install bsie as editable from the git repository:
+
+ $ git clone https://git.bsfs.io/bsie.git
+ $ cd bsie
+ $ pip install -e .
+
+Install the following additional packages besides BSIE:
+
+ $ pip install coverage mypy pylint
+ $ pip install rdflib requests types-PyYAML
+ $ pip install sphinx sphinx-copybutton furo
+ $ pip install build
+
+To ensure code style discipline, run the following commands:
+
+ $ coverage run ; coverage html ; xdg-open .htmlcov/index.html
+ $ pylint bsie
+ $ mypy
+
+To build the package, do:
+
+ $ python -m build
+
+To run only the tests (without coverage), run the following command from the **test folder**:
+
+ $ python -m unittest
+
+To build the documentation, run the following commands from the **doc folder**:
+
+ $ sphinx-apidoc -f -o source/api ../bsie/ --module-first -d 1 --separate
+ $ make html
+ $ xdg-open build/html/index.html
+
+