neuronum 1.7.1__py3-none-any.whl → 1.7.2__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 neuronum might be problematic. Click here for more details.
- cli/main.py +0 -2
- {neuronum-1.7.1.dist-info → neuronum-1.7.2.dist-info}/METADATA +4 -3
- neuronum-1.7.2.dist-info/RECORD +10 -0
- neuronum-1.7.1.dist-info/RECORD +0 -10
- {neuronum-1.7.1.dist-info → neuronum-1.7.2.dist-info}/LICENSE +0 -0
- {neuronum-1.7.1.dist-info → neuronum-1.7.2.dist-info}/WHEEL +0 -0
- {neuronum-1.7.1.dist-info → neuronum-1.7.2.dist-info}/entry_points.txt +0 -0
- {neuronum-1.7.1.dist-info → neuronum-1.7.2.dist-info}/top_level.txt +0 -0
cli/main.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: neuronum
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
4
4
|
Summary: Official client library to interact with the Neuronum Network
|
|
5
5
|
Home-page: https://neuronum.net
|
|
6
6
|
Author: Neuronum Cybernetics
|
|
@@ -303,10 +303,11 @@ Contracts are predefined token-based rules to automate service exchange and auth
|
|
|
303
303
|
Create a Contract:
|
|
304
304
|
```python
|
|
305
305
|
descr = "Test Contract" # short description (max 25 characters)
|
|
306
|
-
details = { #
|
|
306
|
+
details = { # token details
|
|
307
307
|
"price_in_eur": False, # token price in EUR (int, float or False)
|
|
308
308
|
"max_usage": False, # max number of uses (int or False)
|
|
309
|
-
"validity_in_min": False
|
|
309
|
+
"validity_in_min": False, # token expiration time in min (int, float or False)
|
|
310
|
+
"expiration_date": False # expiration date (DD-MM-YYYY or False)
|
|
310
311
|
}
|
|
311
312
|
partners = ["id::cell", "id::cell"]
|
|
312
313
|
contractID = cell.create_contract(descr, details, partners)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
cli/main.py,sha256=R0qdrTLstaYVA1I_mknrl8VpFRAkjCcrY45QXFg5qhs,17819
|
|
3
|
+
neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
|
|
4
|
+
neuronum/neuronum.py,sha256=91lOreL7TeD8VWdDCtS2xu7MO34taI4HEYr-Lpv6L9Y,17019
|
|
5
|
+
neuronum-1.7.2.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
|
|
6
|
+
neuronum-1.7.2.dist-info/METADATA,sha256=3USLy4kwOja3yGILOUY-MB1RMOZp5t3GTa3xyQKInuc,13101
|
|
7
|
+
neuronum-1.7.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
8
|
+
neuronum-1.7.2.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
|
|
9
|
+
neuronum-1.7.2.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
|
|
10
|
+
neuronum-1.7.2.dist-info/RECORD,,
|
neuronum-1.7.1.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cli/main.py,sha256=hjo8-q9M_DUm7_Xe2ynb6L6wIMq2jfWnlp1oH5tBQD4,17896
|
|
3
|
-
neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
|
|
4
|
-
neuronum/neuronum.py,sha256=91lOreL7TeD8VWdDCtS2xu7MO34taI4HEYr-Lpv6L9Y,17019
|
|
5
|
-
neuronum-1.7.1.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
|
|
6
|
-
neuronum-1.7.1.dist-info/METADATA,sha256=nDYzJ4gJGP9ZGX_3S0EEVyE0j7e64td3HH9wUkOrsTw,13000
|
|
7
|
-
neuronum-1.7.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
8
|
-
neuronum-1.7.1.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
|
|
9
|
-
neuronum-1.7.1.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
|
|
10
|
-
neuronum-1.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|