shuffle-sdk 0.0.1__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Frikkylikeme
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.1
2
+ Name: shuffle_sdk
3
+ Version: 0.0.1
4
+ Summary: The SDK used for Shuffle
5
+ Home-page: https://github.com/shuffle/shuffle
6
+ Author: Fredrik Saito Odegaardstuen
7
+ Author-email: frikky@shuffler.io
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.7
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: requests
15
+
16
+ # app_sdk.py
17
+ This is the SDK used for apps to behave like they should.
18
+
19
+ ## If you want to update apps.. PS: downloads from docker hub do overrides.. :)
20
+ 1. Write your code & check if runtime works
21
+ 2. Build app_base image
22
+ 3. docker rm $(docker ps -aq) # Remove all stopped containers
23
+ 4. Delete the specific app's Docker image (docker rmi frikky/shuffle:...)
24
+ 5. Rebuild the Docker image (click load in GUI?)
25
+
26
+ ## Cloud updates
27
+ 1. Go to shuffle cloud on GCP
28
+ 2. Go to Cloud Storage
29
+ 3. Find shuffler.appspot.com
30
+ 4. Navigate to generated_apps/baseline
31
+ 5. Update SDK there. This will make all new apps run with the new SDK
32
+
33
+ ## Cloud app force-updates
34
+ 1. Run the "stitcher.go" program in the public shuffle-shared repository.
35
+
36
+ # LICENSE
37
+ Everything in here is MIT, not AGPLv3 as indicated by the license.
@@ -0,0 +1,22 @@
1
+ # app_sdk.py
2
+ This is the SDK used for apps to behave like they should.
3
+
4
+ ## If you want to update apps.. PS: downloads from docker hub do overrides.. :)
5
+ 1. Write your code & check if runtime works
6
+ 2. Build app_base image
7
+ 3. docker rm $(docker ps -aq) # Remove all stopped containers
8
+ 4. Delete the specific app's Docker image (docker rmi frikky/shuffle:...)
9
+ 5. Rebuild the Docker image (click load in GUI?)
10
+
11
+ ## Cloud updates
12
+ 1. Go to shuffle cloud on GCP
13
+ 2. Go to Cloud Storage
14
+ 3. Find shuffler.appspot.com
15
+ 4. Navigate to generated_apps/baseline
16
+ 5. Update SDK there. This will make all new apps run with the new SDK
17
+
18
+ ## Cloud app force-updates
19
+ 1. Run the "stitcher.go" program in the public shuffle-shared repository.
20
+
21
+ # LICENSE
22
+ Everything in here is MIT, not AGPLv3 as indicated by the license.
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,22 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='shuffle_sdk', # Name of the package
5
+ version='0.0.1', # Version number
6
+ description='The SDK used for Shuffle',
7
+ long_description=open('README.md').read(),
8
+ long_description_content_type='text/markdown',
9
+ author='Fredrik Saito Odegaardstuen',
10
+ author_email='frikky@shuffler.io',
11
+ url='https://github.com/shuffle/shuffle',
12
+ packages=find_packages(),
13
+ install_requires=[
14
+ 'requests',
15
+ ],
16
+ classifiers=[
17
+ 'Programming Language :: Python :: 3',
18
+ 'License :: OSI Approved :: MIT License',
19
+ 'Operating System :: OS Independent',
20
+ ],
21
+ python_requires='>=3.7', # Specify Python version requirements
22
+ )
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.1
2
+ Name: shuffle_sdk
3
+ Version: 0.0.1
4
+ Summary: The SDK used for Shuffle
5
+ Home-page: https://github.com/shuffle/shuffle
6
+ Author: Fredrik Saito Odegaardstuen
7
+ Author-email: frikky@shuffler.io
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.7
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: requests
15
+
16
+ # app_sdk.py
17
+ This is the SDK used for apps to behave like they should.
18
+
19
+ ## If you want to update apps.. PS: downloads from docker hub do overrides.. :)
20
+ 1. Write your code & check if runtime works
21
+ 2. Build app_base image
22
+ 3. docker rm $(docker ps -aq) # Remove all stopped containers
23
+ 4. Delete the specific app's Docker image (docker rmi frikky/shuffle:...)
24
+ 5. Rebuild the Docker image (click load in GUI?)
25
+
26
+ ## Cloud updates
27
+ 1. Go to shuffle cloud on GCP
28
+ 2. Go to Cloud Storage
29
+ 3. Find shuffler.appspot.com
30
+ 4. Navigate to generated_apps/baseline
31
+ 5. Update SDK there. This will make all new apps run with the new SDK
32
+
33
+ ## Cloud app force-updates
34
+ 1. Run the "stitcher.go" program in the public shuffle-shared repository.
35
+
36
+ # LICENSE
37
+ Everything in here is MIT, not AGPLv3 as indicated by the license.
@@ -0,0 +1,8 @@
1
+ LICENSE
2
+ README.md
3
+ setup.py
4
+ shuffle_sdk.egg-info/PKG-INFO
5
+ shuffle_sdk.egg-info/SOURCES.txt
6
+ shuffle_sdk.egg-info/dependency_links.txt
7
+ shuffle_sdk.egg-info/requires.txt
8
+ shuffle_sdk.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ requests