isabl-cli 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
isabl_cli/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
isabl_cli/__init__.py ADDED
@@ -0,0 +1,25 @@
1
+ """isabl_cli module."""
2
+
3
+ from os.path import abspath
4
+ from os.path import dirname
5
+ from os.path import join
6
+
7
+ from isabl_cli.api import Analysis
8
+ from isabl_cli.api import Assembly
9
+ from isabl_cli.api import Experiment
10
+ from isabl_cli.api import create_instance
11
+ from isabl_cli.api import get_analyses
12
+ from isabl_cli.api import get_experiments
13
+ from isabl_cli.api import get_instance
14
+ from isabl_cli.api import get_instances
15
+ from isabl_cli.api import get_instances_count
16
+ from isabl_cli.api import get_projects
17
+ from isabl_cli.api import get_tree
18
+ from isabl_cli.api import get_trees
19
+ from isabl_cli.api import patch_instance
20
+ from isabl_cli.app import AbstractApplication
21
+ from isabl_cli.exceptions import MissingDataError
22
+ from isabl_cli.exceptions import ValidationError
23
+
24
+ with open(join(abspath(dirname(__file__)), "VERSION"), "r") as version_file:
25
+ __version__ = version_file.read().strip()
isabl_cli/__main__.py ADDED
@@ -0,0 +1,13 @@
1
+ """
2
+ Entrypoint module, in case you use `python -m isabl_cli`.
3
+
4
+ Why does this file exist, and why __main__? For more info, read:
5
+
6
+ - https://www.python.org/dev/peps/pep-0338/
7
+ - https://docs.python.org/3/using/cmdline.html#cmdoption-m
8
+ """
9
+
10
+ from isabl_cli.cli import main
11
+
12
+ if __name__ == "__main__":
13
+ main() # pylint: disable=no-value-for-parameter