synapse-sdk 1.0.0a41__py3-none-any.whl → 1.0.0a42__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 synapse-sdk might be problematic. Click here for more details.

@@ -66,7 +66,7 @@ WORKDIR /home/user/app
66
66
 
67
67
  RUN pip install --no-cache-dir pip -U && \\
68
68
  pip install --no-cache-dir uvicorn
69
-
69
+
70
70
  RUN apt-get update && \\
71
71
  apt-get install -y git nmap ffmpeg libsm6 libxext6 libgl1-mesa-glx && \\
72
72
  rm -rf /var/lib/apt/lists/*
@@ -78,9 +78,15 @@ RUN apt-get update && \\
78
78
  rm -rf /var/lib/apt/lists/* && \\
79
79
  apt-get clean
80
80
 
81
- COPY . /home/user/app
81
+ COPY requiments_default.txt .
82
+
83
+ COPY requirements.txt .
84
+
85
+ RUN pip install --no-cache-dir -r requirements_default.txt
82
86
 
83
- RUN pip install --no-cache-dir -r requirements.txt
87
+ RUN pip install --no-cache-dir -U -r requirements.txt
88
+
89
+ COPY . .
84
90
 
85
91
  EXPOSE 7860
86
92
 
@@ -90,12 +96,12 @@ CMD ["python", "app.py"]
90
96
 
91
97
  def check_requirements(self):
92
98
  default_packages = ['gradio', 'synapse-sdk', 'python-nmap']
99
+ with open(self.working_directory / 'requirements_default.txt', 'a') as f:
100
+ f.write('\n' + '\n'.join(default_packages))
101
+
93
102
  if self.requirements_file is None:
94
- with open(self.working_directory / 'requirements.txt', 'a') as f:
95
- f.write('\n' + '\n'.join(default_packages))
96
- else:
97
- with open(self.requirements_file, 'a') as f:
98
- f.write('\n' + '\n'.join(default_packages[1:]))
103
+ with open(self.working_directory / 'requirements.txt', 'a'):
104
+ pass
99
105
 
100
106
  def build_docker_image(self, path_dockerfile):
101
107
  self.run.log('deploy', 'Start building docker image')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: synapse-sdk
3
- Version: 1.0.0a41
3
+ Version: 1.0.0a42
4
4
  Summary: synapse sdk
5
5
  Author-email: datamaker <developer@datamaker.io>
6
6
  License: MIT
@@ -68,7 +68,7 @@ synapse_sdk/plugins/categories/export/templates/plugin/export.py,sha256=39XLGo8u
68
68
  synapse_sdk/plugins/categories/neural_net/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  synapse_sdk/plugins/categories/neural_net/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
70
  synapse_sdk/plugins/categories/neural_net/actions/deployment.py,sha256=y2LrS-pwazqRI5O0q1NUy45NQYsBj6ykbrXnDMs_fqE,1987
71
- synapse_sdk/plugins/categories/neural_net/actions/gradio.py,sha256=246hZyiRb8z2JtohbEOFW2QN56vli_3LciexEmQYX7w,4444
71
+ synapse_sdk/plugins/categories/neural_net/actions/gradio.py,sha256=nflEUKk7kbuGRk-PwVV7lhhXNftxQGaX6wSvB37Dgmc,4506
72
72
  synapse_sdk/plugins/categories/neural_net/actions/inference.py,sha256=0a655ELqNVjPFZTJDiw4EUdcMCPGveUEKyoYqpwMFBU,1019
73
73
  synapse_sdk/plugins/categories/neural_net/actions/test.py,sha256=JY25eg-Fo6WbgtMkGoo_qNqoaZkp3AQNEypJmeGzEog,320
74
74
  synapse_sdk/plugins/categories/neural_net/actions/train.py,sha256=kve6iTCg2kUeavMQTR2JFuoYDu-QWZFFlB58ZICQtdM,5406
@@ -134,9 +134,9 @@ synapse_sdk/utils/storage/providers/__init__.py,sha256=x7RGwZryT2FpVxS7fGWryRVpq
134
134
  synapse_sdk/utils/storage/providers/gcp.py,sha256=i2BQCu1Kej1If9SuNr2_lEyTcr5M_ncGITZrL0u5wEA,363
135
135
  synapse_sdk/utils/storage/providers/s3.py,sha256=W94rQvhGRXti3R4mYP7gmU5pcyCQpGFIBLvxxqLVdRM,2231
136
136
  synapse_sdk/utils/storage/providers/sftp.py,sha256=_8s9hf0JXIO21gvm-JVS00FbLsbtvly4c-ETLRax68A,1426
137
- synapse_sdk-1.0.0a41.dist-info/licenses/LICENSE,sha256=bKzmC5YAg4V1Fhl8OO_tqY8j62hgdncAkN7VrdjmrGk,1101
138
- synapse_sdk-1.0.0a41.dist-info/METADATA,sha256=Txz9DmdCWS8KzIWa2XEpLM0YYOzlCgcTQUXtDYxCw0c,1203
139
- synapse_sdk-1.0.0a41.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
140
- synapse_sdk-1.0.0a41.dist-info/entry_points.txt,sha256=VNptJoGoNJI8yLXfBmhgUefMsmGI0m3-0YoMvrOgbxo,48
141
- synapse_sdk-1.0.0a41.dist-info/top_level.txt,sha256=ytgJMRK1slVOKUpgcw3LEyHHP7S34J6n_gJzdkcSsw8,12
142
- synapse_sdk-1.0.0a41.dist-info/RECORD,,
137
+ synapse_sdk-1.0.0a42.dist-info/licenses/LICENSE,sha256=bKzmC5YAg4V1Fhl8OO_tqY8j62hgdncAkN7VrdjmrGk,1101
138
+ synapse_sdk-1.0.0a42.dist-info/METADATA,sha256=4YCxPnhmqxZat_YxP1p9sRp5qUiKEi8zHUu-6LY67Io,1203
139
+ synapse_sdk-1.0.0a42.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
140
+ synapse_sdk-1.0.0a42.dist-info/entry_points.txt,sha256=VNptJoGoNJI8yLXfBmhgUefMsmGI0m3-0YoMvrOgbxo,48
141
+ synapse_sdk-1.0.0a42.dist-info/top_level.txt,sha256=ytgJMRK1slVOKUpgcw3LEyHHP7S34J6n_gJzdkcSsw8,12
142
+ synapse_sdk-1.0.0a42.dist-info/RECORD,,