arqonhpo 0.3.3__cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.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.
- arqonhpo/__init__.py +11 -0
- arqonhpo/__main__.py +4 -0
- arqonhpo/_internal.cpython-312-powerpc64le-linux-gnu.so +0 -0
- arqonhpo/cli.py +38 -0
- arqonhpo-0.3.3.dist-info/METADATA +30 -0
- arqonhpo-0.3.3.dist-info/RECORD +8 -0
- arqonhpo-0.3.3.dist-info/WHEEL +5 -0
- arqonhpo-0.3.3.dist-info/entry_points.txt +2 -0
arqonhpo/__init__.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from ._internal import ArqonSolver, ArqonProbe
|
|
2
|
+
try:
|
|
3
|
+
from importlib import metadata as _metadata
|
|
4
|
+
|
|
5
|
+
__version__ = _metadata.version("arqonhpo")
|
|
6
|
+
except Exception: # pragma: no cover - fallback for editable/dev installs
|
|
7
|
+
__version__ = "unknown"
|
|
8
|
+
|
|
9
|
+
from .cli import main as cli_main
|
|
10
|
+
|
|
11
|
+
__all__ = ["ArqonSolver", "ArqonProbe", "cli_main", "__version__"]
|
arqonhpo/__main__.py
ADDED
|
Binary file
|
arqonhpo/cli.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import shutil
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def _find_repo_root(start: str) -> str | None:
|
|
7
|
+
current = os.path.abspath(start)
|
|
8
|
+
while True:
|
|
9
|
+
cargo_toml = os.path.join(current, "Cargo.toml")
|
|
10
|
+
cli_crate = os.path.join(current, "crates", "cli", "Cargo.toml")
|
|
11
|
+
if os.path.isfile(cargo_toml) and os.path.isfile(cli_crate):
|
|
12
|
+
return current
|
|
13
|
+
parent = os.path.dirname(current)
|
|
14
|
+
if parent == current:
|
|
15
|
+
return None
|
|
16
|
+
current = parent
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def main() -> None:
|
|
20
|
+
args = sys.argv[1:]
|
|
21
|
+
binary = shutil.which("arqonhpo-cli")
|
|
22
|
+
if binary:
|
|
23
|
+
os.execv(binary, [binary, *args])
|
|
24
|
+
|
|
25
|
+
cargo = shutil.which("cargo")
|
|
26
|
+
repo_root = _find_repo_root(os.getcwd())
|
|
27
|
+
if cargo and repo_root:
|
|
28
|
+
os.chdir(repo_root)
|
|
29
|
+
os.execv(cargo, [cargo, "run", "-p", "arqonhpo-cli", "--", *args])
|
|
30
|
+
|
|
31
|
+
sys.stderr.write(
|
|
32
|
+
"arqonhpo CLI not found. Install with 'cargo install --path crates/cli --bin arqonhpo-cli'\n"
|
|
33
|
+
)
|
|
34
|
+
sys.exit(1)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
if __name__ == "__main__":
|
|
38
|
+
main()
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: arqonhpo
|
|
3
|
+
Version: 0.3.3
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
7
|
+
Summary: High-performance hyperparameter optimization engine.
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
10
|
+
|
|
11
|
+
# ArqonHPO (Python)
|
|
12
|
+
|
|
13
|
+
Python bindings for ArqonHPO, a high-performance hyperparameter optimization engine.
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pip install arqonhpo
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Quickstart
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
python -m arqonhpo --help
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Project Home
|
|
28
|
+
|
|
29
|
+
See the main repository README for full documentation and examples.
|
|
30
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
arqonhpo/__init__.py,sha256=xnBYD-LQlKrKyDy63Uh_bq7_Bkf1zlrMYoZfkYAvk4Q,355
|
|
2
|
+
arqonhpo/__main__.py,sha256=MSmt_5Xg84uHqzTN38JwgseJK8rsJn_11A8WD99VtEo,61
|
|
3
|
+
arqonhpo/_internal.cpython-312-powerpc64le-linux-gnu.so,sha256=r26vGnSr4ZvMDRkofOOBZNL_XulhPfyvYmiVqYNCIGE,1447312
|
|
4
|
+
arqonhpo/cli.py,sha256=F1XJWSGGD1newfTHWtCTkoGS6FzzJ85ftITptPuNUmA,1027
|
|
5
|
+
arqonhpo-0.3.3.dist-info/METADATA,sha256=s5Tdt39ChFsKenkDJuYRYC5ATUXir8c6guBG_onNZUU,682
|
|
6
|
+
arqonhpo-0.3.3.dist-info/WHEEL,sha256=qwDhKaIiqiFOO-9vdjqn1s6gfU4heRxHMy95GnoMwLQ,149
|
|
7
|
+
arqonhpo-0.3.3.dist-info/entry_points.txt,sha256=n86h-NP5YGFd9KxXETuDSzCBZOembZbCYgtrGXSWezA,45
|
|
8
|
+
arqonhpo-0.3.3.dist-info/RECORD,,
|