inferencesh 0.1.7__py3-none-any.whl → 0.1.8__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 inferencesh might be problematic. Click here for more details.

inferencesh/sdk.py CHANGED
@@ -39,6 +39,7 @@ class File(BaseModel):
39
39
  def __init__(self, **data):
40
40
  super().__init__(**data)
41
41
  if self._is_url(self.path):
42
+ print(f"Downloading URL: {self.path}")
42
43
  self._download_url()
43
44
  elif not os.path.isabs(self.path):
44
45
  self.path = os.path.abspath(self.path)
@@ -58,6 +59,7 @@ class File(BaseModel):
58
59
  self._tmp_path = tmp_file.name
59
60
 
60
61
  # Download the file
62
+ print(f"Downloading URL: {original_url} to {self._tmp_path}")
61
63
  urllib.request.urlretrieve(original_url, self._tmp_path)
62
64
  self.path = self._tmp_path
63
65
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: inferencesh
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: inference.sh Python SDK
5
5
  Author: Inference Shell Inc.
6
6
  Author-email: "Inference Shell Inc." <hello@inference.sh>
@@ -0,0 +1,8 @@
1
+ inferencesh/__init__.py,sha256=pR0MXSJe41LgJkjGK-jhZR7LjqCFdRZtNTV6qcjYSTI,123
2
+ inferencesh/sdk.py,sha256=6g9gS0sDT8OOydHQ52ksoxiN1VIeGDt_JSwNICxzwlY,3697
3
+ inferencesh-0.1.8.dist-info/LICENSE,sha256=OsgqEWIh2el_QMj0y8O1A5Q5Dl-dxqqYbFE6fszuR4s,1086
4
+ inferencesh-0.1.8.dist-info/METADATA,sha256=22qGyQicpYlsPBG1MAL6q9wpn7JtuXIoNbBNi5xp3V0,2583
5
+ inferencesh-0.1.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
+ inferencesh-0.1.8.dist-info/entry_points.txt,sha256=6IC-fyozAqW3ljsMLGCXxJ0_ui2Jb-2fLHtoH1RTnEE,45
7
+ inferencesh-0.1.8.dist-info/top_level.txt,sha256=TSMHg3T1ThMl1HGAWmzBClwOYH1ump5neof9BfHIwaA,12
8
+ inferencesh-0.1.8.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- inferencesh/__init__.py,sha256=pR0MXSJe41LgJkjGK-jhZR7LjqCFdRZtNTV6qcjYSTI,123
2
- inferencesh/sdk.py,sha256=tvlI29zd1gMloqVVpn4s12NONhOAxKY6y7gEkMLEWlw,3576
3
- inferencesh-0.1.7.dist-info/LICENSE,sha256=OsgqEWIh2el_QMj0y8O1A5Q5Dl-dxqqYbFE6fszuR4s,1086
4
- inferencesh-0.1.7.dist-info/METADATA,sha256=LSwkjk4wIakU3oHnUQBSHbLaYzMwhBNNPgvgGMyT3is,2583
5
- inferencesh-0.1.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- inferencesh-0.1.7.dist-info/entry_points.txt,sha256=6IC-fyozAqW3ljsMLGCXxJ0_ui2Jb-2fLHtoH1RTnEE,45
7
- inferencesh-0.1.7.dist-info/top_level.txt,sha256=TSMHg3T1ThMl1HGAWmzBClwOYH1ump5neof9BfHIwaA,12
8
- inferencesh-0.1.7.dist-info/RECORD,,