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.
- {astreum-0.2.46/src/astreum.egg-info → astreum-0.2.47}/PKG-INFO +1 -1
- {astreum-0.2.46 → astreum-0.2.47}/pyproject.toml +1 -1
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_node.py +13 -4
- {astreum-0.2.46 → astreum-0.2.47/src/astreum.egg-info}/PKG-INFO +1 -1
- {astreum-0.2.46 → astreum-0.2.47}/LICENSE +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/README.md +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/setup.cfg +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/message.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/peer.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/ping.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/route.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/setup.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_communication/util.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/account.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/accounts.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/block.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/chain.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/fork.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/genesis.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/receipt.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/setup.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/transaction.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/discovery.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/validation.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_consensus/workers/verify.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/environment.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/expression.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/high_evaluation.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/low_evaluation.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/meter.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/parser.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_lispeum/tokenizer.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_storage/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_storage/atom.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/_storage/patricia.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/ed25519.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/quadratic_form.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/wesolowski.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/crypto/x25519.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/format.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/block.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/merkle.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/models/patricia.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/node.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/storage/__init__.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/storage/object.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/storage/setup.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/utils/bytes.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum/utils/integer.py +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/SOURCES.txt +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/dependency_links.txt +0 -0
- {astreum-0.2.46 → astreum-0.2.47}/src/astreum.egg-info/requires.txt +0 -0
- {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.
|
|
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
|
|
@@ -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
|
-
|
|
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.
|
|
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
|
|
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
|