mloda-example-binary 0.1.0__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.
- example_binary/__init__.py +19 -0
- example_binary/bin/example_binary.exe +0 -0
- example_binary/py.typed +0 -0
- mloda_example_binary-0.1.0.dist-info/METADATA +11 -0
- mloda_example_binary-0.1.0.dist-info/RECORD +8 -0
- mloda_example_binary-0.1.0.dist-info/WHEEL +4 -0
- mloda_example_binary-0.1.0.dist-info/licenses/LICENSE +6 -0
- mloda_example_binary-0.1.0.dist-info/licenses/NOTICE +13 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""The example binary model for mloda, shipped as a platform wheel. Importing never fails; a
|
|
2
|
+
missing binary surfaces from ``binary_path``."""
|
|
3
|
+
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
import sys
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
__all__ = ["binary_path"]
|
|
10
|
+
|
|
11
|
+
_BINARY_NAME = "example_binary.exe" if sys.platform == "win32" else "example_binary"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def binary_path() -> Path:
|
|
15
|
+
"""Absolute path of the packaged binary; ``FileNotFoundError`` if the wheel is damaged or incomplete."""
|
|
16
|
+
path = Path(__file__).resolve().parent / "bin" / _BINARY_NAME
|
|
17
|
+
if not path.is_file():
|
|
18
|
+
raise FileNotFoundError(f"{_BINARY_NAME} is missing from {path.parent}; reinstall the wheel")
|
|
19
|
+
return path
|
|
Binary file
|
example_binary/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mloda-example-binary
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Classifier: Programming Language :: Python :: 3
|
|
5
|
+
Classifier: Programming Language :: Rust
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
License-File: NOTICE
|
|
8
|
+
Summary: Example binary model for mloda: a license-gated keyed hash shipped as a platform wheel
|
|
9
|
+
License-Expression: LicenseRef-Proprietary
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Project-URL: Repository, https://github.com/mloda-ai/mloda-binary-wrapper
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
example_binary/__init__.py,sha256=-bIEjOCVl2qLFcRL2uWZosEIGv827iMpzjlWYLm64KY,696
|
|
2
|
+
example_binary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
example_binary/bin/example_binary.exe,sha256=8Be6SLWDTKOF38vNAKebSxT7SrK0qmgiwgj2VAeG6r8,1364992
|
|
4
|
+
mloda_example_binary-0.1.0.dist-info/licenses/LICENSE,sha256=laHl60sfIkjsF29xHmv8VytWQzSRihCwni17YcEyT7c,305
|
|
5
|
+
mloda_example_binary-0.1.0.dist-info/licenses/NOTICE,sha256=HDTaEk4oRHwKK6gMAWUEu6g3mN7p4ArJXAud-Yem970,530
|
|
6
|
+
mloda_example_binary-0.1.0.dist-info/METADATA,sha256=Hah9-vccfPv6aioLAtx-Z4IR-kXMk8LcB3A1GdtQR5A,433
|
|
7
|
+
mloda_example_binary-0.1.0.dist-info/WHEEL,sha256=8Aej0W0a6Cz6apA3IzJrTnxLRVLAt-w0Oh8SA3Con_c,94
|
|
8
|
+
mloda_example_binary-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Copyright (c) 2026 mloda.ai. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software, including every binary built from it, is proprietary. Running a
|
|
4
|
+
shipped binary requires a license issued by mloda.ai. Redistribution,
|
|
5
|
+
modification, decompilation and reverse engineering are prohibited except as
|
|
6
|
+
that license permits.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
mloda-binary-wrapper
|
|
2
|
+
Copyright (c) 2026 mloda.ai. All rights reserved.
|
|
3
|
+
|
|
4
|
+
Core: this wheel is built from the stub core in this repository and bundles no
|
|
5
|
+
external core. A wheel built from an external core carries that core's LICENSE
|
|
6
|
+
and NOTICE below this line, verbatim.
|
|
7
|
+
|
|
8
|
+
Third-party Rust crates linked into the binary (direct dependencies; run
|
|
9
|
+
`cargo tree` for the full set):
|
|
10
|
+
|
|
11
|
+
- arrow-array, arrow-ipc, arrow-schema: Apache-2.0
|
|
12
|
+
- ed25519-dalek: BSD-3-Clause
|
|
13
|
+
- base64, blake2, serde, serde_json, time: MIT OR Apache-2.0
|