aap-utils 0.1.16__tar.gz → 0.1.18__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.
- {aap_utils-0.1.16 → aap_utils-0.1.18}/PKG-INFO +1 -2
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils/register.py +4 -5
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils.egg-info/PKG-INFO +1 -2
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils.egg-info/requires.txt +0 -1
- {aap_utils-0.1.16 → aap_utils-0.1.18}/setup.py +2 -3
- {aap_utils-0.1.16 → aap_utils-0.1.18}/README.md +0 -0
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils/__init__.py +0 -0
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils.egg-info/SOURCES.txt +0 -0
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils.egg-info/dependency_links.txt +0 -0
- {aap_utils-0.1.16 → aap_utils-0.1.18}/aap_utils.egg-info/top_level.txt +0 -0
- {aap_utils-0.1.16 → aap_utils-0.1.18}/pyproject.toml +0 -0
- {aap_utils-0.1.16 → aap_utils-0.1.18}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aap_utils
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.18
|
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,4 +8,3 @@ 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
|
@@ -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
|
|
@@ -62,12 +61,12 @@ def create_url(domain_name = "aiplatform.vcntt.tech"):
|
|
62
61
|
return url, transformed_namespace
|
63
62
|
|
64
63
|
|
65
|
-
def get_args():
|
66
|
-
kcn_params = "config.yaml"
|
64
|
+
def get_args(kcn_params = "config.yaml", config_dir="configs"):
|
67
65
|
|
68
66
|
# Get the absolute path of the folder where run.py is located
|
69
|
-
run_py_dir =
|
70
|
-
config_path = os.path.join(run_py_dir,
|
67
|
+
run_py_dir = os.path.abspath(os.getcwd()) # Absolute path to the running script's directory
|
68
|
+
config_path = os.path.join(run_py_dir, config_dir) # Absolute path to "configs/"
|
69
|
+
|
71
70
|
|
72
71
|
overrides = []
|
73
72
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aap_utils
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.18
|
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,4 +8,3 @@ 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
|
@@ -2,14 +2,13 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="aap_utils", # The name of your library
|
5
|
-
version="0.1.
|
5
|
+
version="0.1.18",
|
6
6
|
description="A Python library for registering an IP address for AAP",
|
7
7
|
author="Minh Dang",
|
8
8
|
author_email="danghoangminh86@gmail.com",
|
9
9
|
packages=find_packages(), # Auto-find packages in the directory
|
10
10
|
install_requires=[
|
11
|
-
"requests", # Any external dependencies (e.g., 'requests')
|
12
|
-
"pathlib",
|
11
|
+
"requests", # Any external dependencies (e.g., 'requests')
|
13
12
|
],
|
14
13
|
classifiers=[
|
15
14
|
"Programming Language :: Python :: 3",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|