aipmodel 0.2.0__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.
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.1
2
+ Name: aipmodel
3
+ Version: 0.2.0
4
+ Summary: A simple SDK for managing ML models
5
+ Home-page: https://github.com/AIP-MLOPS/model-registry
6
+ Author: AIP MLOPS Team
7
+ Author-email: mohmmadweb@gmail.com
8
+ Requires-Python: >=3.6
File without changes
@@ -0,0 +1 @@
1
+ from .registry import download_model, create_model, get_model, list_models
@@ -0,0 +1,11 @@
1
+ def download_model(model_id):
2
+ print(f"[SDK] Downloading model with ID: {model_id}")
3
+
4
+ def create_model(name):
5
+ print(f"[SDK] Creating model with name: {name}")
6
+
7
+ def get_model(model_id):
8
+ print(f"[SDK] Getting model with ID: {model_id}")
9
+
10
+ def list_models():
11
+ print("[SDK] Listing all models")
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.1
2
+ Name: aipmodel
3
+ Version: 0.2.0
4
+ Summary: A simple SDK for managing ML models
5
+ Home-page: https://github.com/AIP-MLOPS/model-registry
6
+ Author: AIP MLOPS Team
7
+ Author-email: mohmmadweb@gmail.com
8
+ Requires-Python: >=3.6
@@ -0,0 +1,9 @@
1
+ README.md
2
+ setup.py
3
+ aipmodel/__init__.py
4
+ aipmodel/registry.py
5
+ aipmodel.egg-info/PKG-INFO
6
+ aipmodel.egg-info/SOURCES.txt
7
+ aipmodel.egg-info/dependency_links.txt
8
+ aipmodel.egg-info/top_level.txt
9
+ tests/test_registry.py
@@ -0,0 +1 @@
1
+ aipmodel
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,13 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="aipmodel", # The name of the package that will be used to install it via pip
5
+ version="0.2.0", # Version number of the package
6
+ description="A simple SDK for managing ML models", # Short description of your package
7
+ author="AIP MLOPS Team", # Author's name
8
+ author_email="mohmmadweb@gmail.com", # Author's email address
9
+ url="https://github.com/AIP-MLOPS/model-registry", # URL to the GitHub repository
10
+ packages=find_packages(), # Automatically find packages to include
11
+ install_requires=[], # List dependencies here if your package has any
12
+ python_requires=">=3.6", # Python version requirement
13
+ )
@@ -0,0 +1,10 @@
1
+ from model_registry_sdk import download_model, create_model, get_model, list_models
2
+
3
+ def test_all():
4
+ download_model("model-123")
5
+ create_model("my-awesome-model")
6
+ get_model("model-123")
7
+ list_models()
8
+
9
+ if __name__ == "__main__":
10
+ test_all()