astreum 0.2.46__tar.gz → 0.2.47__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 astreum might be problematic. Click here for more details.

Files changed (60) hide show
  1. {astreum-0.2.46/src/astreum.egg-info → astreum-0.2.47}/PKG-INFO +1 -1
  2. {astreum-0.2.46 → astreum-0.2.47}/pyproject.toml +1 -1
  3. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_node.py +13 -4
  4. {astreum-0.2.46 → astreum-0.2.47/src/astreum.egg-info}/PKG-INFO +1 -1
  5. {astreum-0.2.46 → astreum-0.2.47}/LICENSE +0 -0
  6. {astreum-0.2.46 → astreum-0.2.47}/README.md +0 -0
  7. {astreum-0.2.46 → astreum-0.2.47}/setup.cfg +0 -0
  8. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/__init__.py +0 -0
  9. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/__init__.py +0 -0
  10. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/message.py +0 -0
  11. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/peer.py +0 -0
  12. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/ping.py +0 -0
  13. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/route.py +0 -0
  14. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/setup.py +0 -0
  15. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/util.py +0 -0
  16. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/__init__.py +0 -0
  17. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/account.py +0 -0
  18. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/accounts.py +0 -0
  19. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/block.py +0 -0
  20. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/chain.py +0 -0
  21. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/fork.py +0 -0
  22. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/genesis.py +0 -0
  23. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/receipt.py +0 -0
  24. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/setup.py +0 -0
  25. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/transaction.py +0 -0
  26. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/__init__.py +0 -0
  27. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/discovery.py +0 -0
  28. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/validation.py +0 -0
  29. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/verify.py +0 -0
  30. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/__init__.py +0 -0
  31. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/environment.py +0 -0
  32. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/expression.py +0 -0
  33. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/high_evaluation.py +0 -0
  34. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/low_evaluation.py +0 -0
  35. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/meter.py +0 -0
  36. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/parser.py +0 -0
  37. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/tokenizer.py +0 -0
  38. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_storage/__init__.py +0 -0
  39. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_storage/atom.py +0 -0
  40. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_storage/patricia.py +0 -0
  41. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/__init__.py +0 -0
  42. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/ed25519.py +0 -0
  43. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/quadratic_form.py +0 -0
  44. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/wesolowski.py +0 -0
  45. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/x25519.py +0 -0
  46. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/format.py +0 -0
  47. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/__init__.py +0 -0
  48. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/block.py +0 -0
  49. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/merkle.py +0 -0
  50. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/patricia.py +0 -0
  51. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/node.py +0 -0
  52. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/storage/__init__.py +0 -0
  53. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/storage/object.py +0 -0
  54. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/storage/setup.py +0 -0
  55. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/utils/bytes.py +0 -0
  56. {astreum-0.2.46 → astreum-0.2.47}/src/astreum/utils/integer.py +0 -0
  57. {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/SOURCES.txt +0 -0
  58. {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/dependency_links.txt +0 -0
  59. {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/requires.txt +0 -0
  60. {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: astreum
3
- Version: 0.2.46
3
+ Version: 0.2.47
4
4
  Summary: Python library to interact with the Astreum blockchain and its Lispeum virtual machine.
5
5
  Author-email: "Roy R. O. Okello" <roy@stelar.xyz>
6
6
  Project-URL: Homepage, https://github.com/astreum/lib
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "astreum"
3
- version = "0.2.46"
3
+ version = "0.2.47"
4
4
  authors = [
5
5
  { name="Roy R. O. Okello", email="roy@stelar.xyz" },
6
6
  ]
@@ -3,10 +3,19 @@ from typing import Dict, Optional
3
3
  import uuid
4
4
  import threading
5
5
 
6
- from ._storage.atom import Atom
7
- from ._lispeum import Env, Expr, low_eval, parse, tokenize, ParseError
8
-
9
- def bytes_touched(*vals: bytes) -> int:
6
+ from ._storage.atom import Atom
7
+ from ._lispeum import Env, Expr, Meter, low_eval, parse, tokenize, ParseError
8
+
9
+ __all__ = [
10
+ "Node",
11
+ "Env",
12
+ "Expr",
13
+ "Meter",
14
+ "parse",
15
+ "tokenize",
16
+ ]
17
+
18
+ def bytes_touched(*vals: bytes) -> int:
10
19
  """For metering: how many bytes were manipulated (max of operands)."""
11
20
  return max((len(v) for v in vals), default=1)
12
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: astreum
3
- Version: 0.2.46
3
+ Version: 0.2.47
4
4
  Summary: Python library to interact with the Astreum blockchain and its Lispeum virtual machine.
5
5
  Author-email: "Roy R. O. Okello" <roy@stelar.xyz>
6
6
  Project-URL: Homepage, https://github.com/astreum/lib
File without changes
File without changes
File without changes
File without changes
File without changes