aap-utils 0.1.15__py3-none-any.whl → 0.1.17__py3-none-any.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.
- aap_utils/__init__.py +2 -1
- aap_utils/register.py +2 -2
- {aap_utils-0.1.15.dist-info → aap_utils-0.1.17.dist-info}/METADATA +1 -2
- aap_utils-0.1.17.dist-info/RECORD +6 -0
- aap_utils-0.1.15.dist-info/RECORD +0 -6
- {aap_utils-0.1.15.dist-info → aap_utils-0.1.17.dist-info}/WHEEL +0 -0
- {aap_utils-0.1.15.dist-info → aap_utils-0.1.17.dist-info}/top_level.txt +0 -0
aap_utils/__init__.py
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
from .register import register_demo
|
1
|
+
from .register import register_demo
|
2
|
+
from .register import get_args
|
aap_utils/register.py
CHANGED
@@ -2,7 +2,6 @@ import socket
|
|
2
2
|
import requests
|
3
3
|
import time
|
4
4
|
import os
|
5
|
-
from pathlib import Path
|
6
5
|
from hydra import initialize, compose, initialize_config_dir
|
7
6
|
from omegaconf import OmegaConf, DictConfig
|
8
7
|
|
@@ -66,9 +65,10 @@ def get_args():
|
|
66
65
|
kcn_params = "config.yaml"
|
67
66
|
|
68
67
|
# Get the absolute path of the folder where run.py is located
|
69
|
-
run_py_dir =
|
68
|
+
run_py_dir = os.path.abspath(os.getcwd()) # Absolute path to the running script's directory
|
70
69
|
config_path = os.path.join(run_py_dir, "configs") # Absolute path to "configs/"
|
71
70
|
|
71
|
+
|
72
72
|
overrides = []
|
73
73
|
|
74
74
|
if os.environ.get("KCN_PARAMS") and os.environ.get("KCN_PARAMS") != "":
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aap_utils
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.17
|
4
4
|
Summary: A Python library for registering an IP address for AAP
|
5
5
|
Author: Minh Dang
|
6
6
|
Author-email: danghoangminh86@gmail.com
|
@@ -8,5 +8,4 @@ Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
9
9
|
Classifier: Operating System :: OS Independent
|
10
10
|
Requires-Dist: requests
|
11
|
-
Requires-Dist: pathlib
|
12
11
|
|
@@ -0,0 +1,6 @@
|
|
1
|
+
aap_utils/__init__.py,sha256=QcqBOrCuKWHsW7wNycAyPJTPquUzw_dg8E98XTm7OUk,67
|
2
|
+
aap_utils/register.py,sha256=zY7XPCP7l31Kpo752iNhRiHpYDfxxYWRkgoz8CUw6pU,3472
|
3
|
+
aap_utils-0.1.17.dist-info/METADATA,sha256=30s4oqjg8_Dft9_fSC34BZtqCY7URpAGEKgdIV9rFlk,347
|
4
|
+
aap_utils-0.1.17.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
+
aap_utils-0.1.17.dist-info/top_level.txt,sha256=Qt5xmL8_0_jhMl9uA3lg-xnvs4nCEyVj1tBE4vnp36M,10
|
6
|
+
aap_utils-0.1.17.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
aap_utils/__init__.py,sha256=iN7GQizkWVefysHlKpDG6L35Dkfaur2x2uS2uXtUiN4,46
|
2
|
-
aap_utils/register.py,sha256=7Rgo1cN1kmuADCogNcTIflzh31dorOmMvVpMlMsy7K8,3445
|
3
|
-
aap_utils-0.1.15.dist-info/METADATA,sha256=0sCAONC2D_w7PPSk4Godz0aUNoHByaU_VGc4rPZlnNE,370
|
4
|
-
aap_utils-0.1.15.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
-
aap_utils-0.1.15.dist-info/top_level.txt,sha256=Qt5xmL8_0_jhMl9uA3lg-xnvs4nCEyVj1tBE4vnp36M,10
|
6
|
-
aap_utils-0.1.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|