aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/utils/namespaces.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2022-10-31 14:14:57 +0100
committerMatthias Baumgartner <dev@igsor.net>2022-10-31 14:14:57 +0100
commit9389c741bdbbca9adbff6099d440706cd63deac4 (patch)
tree48ee0e912e2f19f51bd684d790f0bcc2d906e887 /bsie/utils/namespaces.py
parentd4023fa972af379a4235f51783954671de974372 (diff)
parent2da348c638ac5058d5acf09ab5df323ee04503d5 (diff)
downloadbsie-9389c741bdbbca9adbff6099d440706cd63deac4.tar.gz
bsie-9389c741bdbbca9adbff6099d440706cd63deac4.tar.bz2
bsie-9389c741bdbbca9adbff6099d440706cd63deac4.zip
Merge branch 'mb/extractors' into develop
Diffstat (limited to 'bsie/utils/namespaces.py')
-rw-r--r--bsie/utils/namespaces.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/bsie/utils/namespaces.py b/bsie/utils/namespaces.py
new file mode 100644
index 0000000..67ccc71
--- /dev/null
+++ b/bsie/utils/namespaces.py
@@ -0,0 +1,25 @@
+"""Default namespaces used throughout BSIE.
+
+Part of the bsie module.
+A copy of the license is provided with the project.
+Author: Matthias Baumgartner, 2022
+"""
+# imports
+import typing
+
+# bsie imports
+from . import bsfs as _bsfs
+
+# constants
+bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity#')
+bsfs = _bsfs.Namespace('http://bsfs.ai/schema/')
+bsm = _bsfs.Namespace('http://bsfs.ai/schema/meta#')
+
+# export
+__all__: typing.Sequence[str] = (
+ 'bse',
+ 'bsfs',
+ 'bsm',
+ )
+
+## EOF ##