ethernity-cloud-sdk-py 0.2.4__tar.gz → 0.2.6__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.
- {ethernity_cloud_sdk_py-0.2.4/ethernity_cloud_sdk_py.egg-info → ethernity_cloud_sdk_py-0.2.6}/PKG-INFO +1 -1
- ethernity_cloud_sdk_py-0.2.6/ethernity_cloud_sdk_py/commands/__pycache__/init.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/init.py +9 -8
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/__pycache__/image_registry.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/image_registry.py +2 -3
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6/ethernity_cloud_sdk_py.egg-info}/PKG-INFO +1 -1
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/setup.py +1 -1
- ethernity_cloud_sdk_py-0.2.4/ethernity_cloud_sdk_py/commands/__pycache__/init.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/LICENSE +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/MANIFEST.in +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/README.md +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/__init__.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/cli.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__init__.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__pycache__/__init__.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__pycache__/build.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__pycache__/config.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__pycache__/private_key.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__pycache__/publish.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/__pycache__/spinner.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/build.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/config.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/private_key.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/publish.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/__init__.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/__pycache__/__init__.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/__pycache__/build.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/__pycache__/ipfs_client.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/__pycache__/publish.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/__pycache__/runner.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/Dockerfile +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/Dockerfile.base +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/Dockerfile.base.tpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/Dockerfile.tpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/scripts/binary-fs-build.sh +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/cert1-ca1-clean.crt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/cert1-ca1-clean.key +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/enclave_pub_cert.pem +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/input.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/payload.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/public-cert-clean.pem +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/result.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/app/transaction.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/etny_crypto.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/etny_exec.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/image_registry.abi +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/key_generation.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/models.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/pox.abi +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/securelock.py.tmpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build/securelock/src/swift_stream_service.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/build.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/ipfs_client.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/publish.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/IPFS_DOCKER_COMPOSE_HASH.ipfs +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/IPFS_HASH.ipfs +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/PUBLIC_KEY.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/__init__.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/__pycache__/__init__.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/__pycache__/public_key_service.cpython-311.pyc +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/cert.pem +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/certificate.trustedzone.crt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/docker-compose-final.yml +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/docker-compose-final.yml.tmpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/docker-compose-swift-stream.yml.tmpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/docker-compose.yml +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/docker-compose.yml.tmpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/etny-pynity-test.yaml.tpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/etny-securelock-test.yaml +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/etny-securelock-test.yaml.tpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/etny-trustedzone-test.yaml.tpl +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/image_registry.abi +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/image_registry_runner.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/key.pem +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/predecessor.json +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/pynithy/run/public_key_service.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/commands/spinner.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/templates/src/ethernity_task.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/templates/src/serverless/Dockerfile.serverless +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/templates/src/serverless/__init__.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/templates/src/serverless/backend.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/templates/src/serverless/requirements.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py.egg-info/SOURCES.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py.egg-info/dependency_links.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py.egg-info/entry_points.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py.egg-info/requires.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py.egg-info/top_level.txt +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/setup.cfg +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/tests/__init__.py +0 -0
- {ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/tests/test_example.py +0 -0
|
Binary file
|
|
@@ -92,6 +92,7 @@ def print_intro():
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
def main():
|
|
95
|
+
initialize_config('.config.json')
|
|
95
96
|
print_intro()
|
|
96
97
|
project_name = get_project_name()
|
|
97
98
|
print()
|
|
@@ -134,16 +135,16 @@ def main():
|
|
|
134
135
|
config.write("SERVICE_TYPE", service_type)
|
|
135
136
|
|
|
136
137
|
|
|
137
|
-
image_registry = ImageRegistry()
|
|
138
|
+
#image_registry = ImageRegistry()
|
|
138
139
|
|
|
139
|
-
print(f"Running script image_registry...")
|
|
140
|
+
#print(f"Running script image_registry...")
|
|
140
141
|
#print(os.getcwd())
|
|
141
142
|
|
|
142
|
-
image_registry.main(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
)
|
|
143
|
+
#image_registry.main(
|
|
144
|
+
# blockchain_network.replace(" ", "_"),
|
|
145
|
+
# project_name.replace(" ", "-"),
|
|
146
|
+
# "v3",
|
|
147
|
+
#)
|
|
147
148
|
|
|
148
149
|
print()
|
|
149
150
|
ipfs_service_options = ["Ethernity (best effort)", "Custom IPFS"]
|
|
@@ -212,7 +213,7 @@ def main():
|
|
|
212
213
|
config.write("BLOCKCHAIN_NETWORK", blockchain_network.replace(" ", "_"))
|
|
213
214
|
config.write("IPFS_ENDPOINT", custom_url)
|
|
214
215
|
config.write("IPFS_TOKEN", ipfs_token or "")
|
|
215
|
-
config.write("VERSION", "
|
|
216
|
+
config.write("VERSION", "0")
|
|
216
217
|
|
|
217
218
|
config.write(
|
|
218
219
|
"TRUSTED_ZONE_IMAGE",
|
|
Binary file
|
|
@@ -20,8 +20,7 @@ config.load()
|
|
|
20
20
|
class ImageRegistry:
|
|
21
21
|
def __init__(self, private_key=None):
|
|
22
22
|
try:
|
|
23
|
-
|
|
24
|
-
self.private_key = private_key
|
|
23
|
+
self.private_key = private_key
|
|
25
24
|
self.blockchain_network = config.read("BLOCKCHAIN_NETWORK")
|
|
26
25
|
self.project_name = config.read("PROJECT_NAME")
|
|
27
26
|
self.enclave_name_securelock = self.project_name
|
|
@@ -65,7 +64,7 @@ class ImageRegistry:
|
|
|
65
64
|
# if "Bloxberg" in BLOCKCHAIN_NETWORK or "Polygon" in BLOCKCHAIN_NETWORK:
|
|
66
65
|
# self.provider.middleware_onion.inject(geth_poa_middleware, layer=0)
|
|
67
66
|
|
|
68
|
-
if private_key:
|
|
67
|
+
if self.private_key:
|
|
69
68
|
self.acct = Account().from_key(self.private_key)
|
|
70
69
|
self.provider.eth.default_account = self.acct.address
|
|
71
70
|
|
|
@@ -5,7 +5,7 @@ this_directory = Path(__file__).parent
|
|
|
5
5
|
long_description = (this_directory / "README.md").read_text()
|
|
6
6
|
setup(
|
|
7
7
|
name="ethernity-cloud-sdk-py",
|
|
8
|
-
version="0.2.
|
|
8
|
+
version="0.2.6",
|
|
9
9
|
url="https://github.com/ethernity-cloud/ethernity-cloud-sdk-py",
|
|
10
10
|
author="Ethernity Cloud Team",
|
|
11
11
|
author_email="contact@ethernity.cloud",
|
ethernity_cloud_sdk_py-0.2.4/ethernity_cloud_sdk_py/commands/__pycache__/init.cpython-311.pyc
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethernity_cloud_sdk_py-0.2.4 → ethernity_cloud_sdk_py-0.2.6}/ethernity_cloud_sdk_py/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|