truefoundry 0.0.1.dev0__py3-none-any.whl → 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.
Potentially problematic release.
This version of truefoundry might be problematic. Click here for more details.
- truefoundry/cli/__main__.py +9 -4
- truefoundry/ml/__init__.py +4 -1
- {truefoundry-0.0.1.dev0.dist-info → truefoundry-0.1.0.dist-info}/METADATA +1 -1
- truefoundry-0.1.0.dist-info/RECORD +9 -0
- truefoundry-0.0.1.dev0.dist-info/RECORD +0 -9
- {truefoundry-0.0.1.dev0.dist-info → truefoundry-0.1.0.dist-info}/WHEEL +0 -0
- {truefoundry-0.0.1.dev0.dist-info → truefoundry-0.1.0.dist-info}/entry_points.txt +0 -0
truefoundry/cli/__main__.py
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import os
|
|
2
1
|
import sys
|
|
3
2
|
|
|
4
3
|
import click
|
|
5
|
-
from mlfoundry.cli.commands import download
|
|
6
4
|
from servicefoundry.cli import create_servicefoundry_cli
|
|
7
5
|
|
|
6
|
+
MLFOUNDRY_INSTALLED = True
|
|
7
|
+
try:
|
|
8
|
+
from mlfoundry.cli.commands import download
|
|
9
|
+
except ImportError:
|
|
10
|
+
MLFOUNDRY_INSTALLED = False
|
|
11
|
+
|
|
8
12
|
|
|
9
13
|
@click.group()
|
|
10
14
|
def ml():
|
|
@@ -16,9 +20,10 @@ def main():
|
|
|
16
20
|
# If the status is omitted or None, it defaults to zero (i.e., success).
|
|
17
21
|
# If the status is an integer, it will be used as the system exit status.
|
|
18
22
|
# If it is another kind of object, it will be printed and the system exit status will be one (i.e., failure).
|
|
19
|
-
ml.add_command(download)
|
|
20
23
|
cli = create_servicefoundry_cli()
|
|
21
|
-
|
|
24
|
+
if MLFOUNDRY_INSTALLED:
|
|
25
|
+
ml.add_command(download)
|
|
26
|
+
cli.add_command(ml)
|
|
22
27
|
sys.exit(cli())
|
|
23
28
|
|
|
24
29
|
|
truefoundry/ml/__init__.py
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
truefoundry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
truefoundry/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
truefoundry/cli/__main__.py,sha256=AOayL_PxcWZ8Qn2fGX_JMvlyd2bhKImFYolxJZh2WI4,794
|
|
4
|
+
truefoundry/deploy/__init__.py,sha256=rY-AcjgSmu0r072rdUNpRkMmDFC7hH9drF5_pIN5jnw,29
|
|
5
|
+
truefoundry/ml/__init__.py,sha256=SJiI5QimXJETfME2x0iXz8gPn6C22YNiLiEdHIV1g7c,151
|
|
6
|
+
truefoundry-0.1.0.dist-info/METADATA,sha256=rtCM_lgZWLs6j0lNBLtLMN84EZ9EscUBvalpDO0AEgY,648
|
|
7
|
+
truefoundry-0.1.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
8
|
+
truefoundry-0.1.0.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
|
|
9
|
+
truefoundry-0.1.0.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
truefoundry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
truefoundry/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
truefoundry/cli/__main__.py,sha256=fsnLhYXaO-GfXiwc9sTmLtxMJBMbGfkea0oqhEyEzQA,679
|
|
4
|
-
truefoundry/deploy/__init__.py,sha256=rY-AcjgSmu0r072rdUNpRkMmDFC7hH9drF5_pIN5jnw,29
|
|
5
|
-
truefoundry/ml/__init__.py,sha256=S-rpTKmq_mmucPJlMb4bIo95Ag8h2vwBoZn3ObIPrSg,24
|
|
6
|
-
truefoundry-0.0.1.dev0.dist-info/METADATA,sha256=KeCzDFP1CC5L-3NLr28aBXtT_peDMZkYwix5uVqlu2o,653
|
|
7
|
-
truefoundry-0.0.1.dev0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
8
|
-
truefoundry-0.0.1.dev0.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
|
|
9
|
-
truefoundry-0.0.1.dev0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|