neuronum 1.7.1__tar.gz → 1.7.2__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.

Potentially problematic release.


This version of neuronum might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neuronum
3
- Version: 1.7.1
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 = { # define token 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 # token expiration time in min (int, float or 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)
@@ -283,10 +283,11 @@ Contracts are predefined token-based rules to automate service exchange and auth
283
283
  Create a Contract:
284
284
  ```python
285
285
  descr = "Test Contract" # short description (max 25 characters)
286
- details = { # define token details
286
+ details = { # token details
287
287
  "price_in_eur": False, # token price in EUR (int, float or False)
288
288
  "max_usage": False, # max number of uses (int or False)
289
- "validity_in_min": False # token expiration time in min (int, float or False)
289
+ "validity_in_min": False, # token expiration time in min (int, float or False)
290
+ "expiration_date": False # expiration date (DD-MM-YYYY or False)
290
291
  }
291
292
  partners = ["id::cell", "id::cell"]
292
293
  contractID = cell.create_contract(descr, details, partners)
@@ -397,8 +397,6 @@ def stop_node():
397
397
  click.echo("Node stopped successfully!")
398
398
  except FileNotFoundError:
399
399
  click.echo("Error: No active node process found.")
400
- except Exception as e:
401
- click.echo(f"Error stopping node: {e}")
402
400
 
403
401
 
404
402
  @click.command()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neuronum
3
- Version: 1.7.1
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 = { # define token 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 # token expiration time in min (int, float or 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)
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neuronum',
5
- version='1.7.1',
5
+ version='1.7.2',
6
6
  author='Neuronum Cybernetics',
7
7
  author_email='welcome@neuronum.net',
8
8
  description='Official client library to interact with the Neuronum Network',
File without changes
File without changes
File without changes
File without changes
File without changes