aap-utils 0.1.4__tar.gz → 0.1.6__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.
@@ -1,15 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aap_utils
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: A Python library for registering an IP address for AAP
5
- Home-page: UNKNOWN
6
5
  Author: Minh Dang
7
6
  Author-email: danghoangminh86@gmail.com
8
- License: UNKNOWN
9
- Platform: UNKNOWN
10
7
  Classifier: Programming Language :: Python :: 3
11
8
  Classifier: License :: OSI Approved :: MIT License
12
9
  Classifier: Operating System :: OS Independent
13
-
14
- UNKNOWN
15
-
10
+ Requires-Dist: requests
@@ -1 +1,2 @@
1
1
  from .register import register_demo
2
+ from .register import get_args
@@ -1,15 +1,10 @@
1
1
  Metadata-Version: 2.1
2
- Name: aap-utils
3
- Version: 0.1.4
2
+ Name: aap_utils
3
+ Version: 0.1.6
4
4
  Summary: A Python library for registering an IP address for AAP
5
- Home-page: UNKNOWN
6
5
  Author: Minh Dang
7
6
  Author-email: danghoangminh86@gmail.com
8
- License: UNKNOWN
9
- Platform: UNKNOWN
10
7
  Classifier: Programming Language :: Python :: 3
11
8
  Classifier: License :: OSI Approved :: MIT License
12
9
  Classifier: Operating System :: OS Independent
13
-
14
- UNKNOWN
15
-
10
+ Requires-Dist: requests
@@ -2,7 +2,6 @@ README.md
2
2
  pyproject.toml
3
3
  setup.py
4
4
  aap_utils/__init__.py
5
- aap_utils/init_kcn.py
6
5
  aap_utils/register.py
7
6
  aap_utils.egg-info/PKG-INFO
8
7
  aap_utils.egg-info/SOURCES.txt
@@ -2,7 +2,7 @@ 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.4",
5
+ version="0.1.6",
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",
@@ -1,19 +0,0 @@
1
- import os
2
- from hydra import initialize, compose
3
- from omegaconf import OmegaConf, DictConfig
4
- kcn_params = "config.yaml"
5
- config_path="configs/"
6
- overrides = []
7
-
8
- if os.environ.get('KCN_PARAMS') and os.environ.get('KCN_PARAMS') != '':
9
- full_path = os.getenv('KCN_PARAMS')
10
- full_path = "../" + full_path
11
- config_path = os.path.dirname(full_path)
12
- kcn_params = os.path.basename(full_path) # Extract the filename
13
-
14
- if os.environ.get('KCN_OVERRIDES') and os.environ.get('KCN_OVERRIDES') != '':
15
- overrides_env = os.getenv("KCN_OVERRIDES")
16
- overrides = overrides_env.split('|') if overrides_env else []
17
-
18
- with initialize(version_base=None, config_path=config_path):
19
- args = compose(config_name=kcn_params)
File without changes
File without changes
File without changes