moonproof 0.2.1__py3-none-win_amd64.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.
- moonproof/__init__.py +66 -0
- moonproof/_native.py +49105 -0
- moonproof/moonproof_ffi.dll +4 -0
- moonproof/sdk.py +1684 -0
- moonproof-0.2.1.dist-info/METADATA +40 -0
- moonproof-0.2.1.dist-info/RECORD +8 -0
- moonproof-0.2.1.dist-info/WHEEL +5 -0
- moonproof-0.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: moonproof
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: UniFFI bindings for Moonproof — IR-driven contract executor, RuntimeValue marshaling, ledger readers, providers, wallet, and contract lifecycle
|
|
5
|
+
Author: Salama Ashoush
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/salamaashoush/moonproof
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# moonproof (Python)
|
|
12
|
+
|
|
13
|
+
UniFFI bindings of [`moonproof-ffi`](../../../crates/ffi) for Python.
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from moonproof import ContractStateHandle, IrExecutable, RuntimeValue
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pip install moonproof==X.Y.Z
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Wheels are published for linux x86_64 and aarch64 (manylinux_2_28),
|
|
26
|
+
macOS x86_64 and arm64 (11.0+) and windows x86_64, each with the
|
|
27
|
+
platform's `libmoonproof_ffi` inside the `moonproof` package. The
|
|
28
|
+
generated loader opens it from the package directory, so no
|
|
29
|
+
`LD_LIBRARY_PATH` is needed. Any Python 3.10 or newer works: the
|
|
30
|
+
binding uses `ctypes`, not the CPython ABI.
|
|
31
|
+
|
|
32
|
+
## Local package
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
scripts/generate-ffi-packages.sh
|
|
36
|
+
pip install bindings/ffi/python
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The generated files (`moonproof/_native.py`, `moonproof/__init__.py`
|
|
40
|
+
and the cdylib) are gitignored.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
moonproof/__init__.py,sha256=0NPPSKI7pHmCvIidQgGiuwLdl8M9yeAbM3WV8A-iqbg,1691
|
|
2
|
+
moonproof/_native.py,sha256=WiTMo6xJncJH3Ct6GVoQ_iSLF5T7oA9AuNAomcsCFdI,2060718
|
|
3
|
+
moonproof/moonproof_ffi.dll,sha256=wFo2UUeutNs04jGOzvkjl3dG7mKSUiOzR9uCCZdXNDo,35442176
|
|
4
|
+
moonproof/sdk.py,sha256=NvxAr4Pw8cbz0h6eXkMp0syf23oWvMlw6qyYUQGrh4E,61035
|
|
5
|
+
moonproof-0.2.1.dist-info/METADATA,sha256=YN_HN_YUhRSDJMaorYrdUMqwxQfKR-0sDCROuXc57JQ,1169
|
|
6
|
+
moonproof-0.2.1.dist-info/WHEEL,sha256=bhMFZwp6VMtrbl2Ck6PlXryKaCggO1NzYn_HcFbBF1I,97
|
|
7
|
+
moonproof-0.2.1.dist-info/top_level.txt,sha256=OAFKHlqUFVNGNphNcb6kDVR_kDp7d-PsLxO8cRVPIDA,10
|
|
8
|
+
moonproof-0.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
moonproof
|