heroalgorithm 0.1.0__tar.gz → 0.1.1__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.
- {heroalgorithm-0.1.0/src/heroalgorithm.egg-info → heroalgorithm-0.1.1}/PKG-INFO +1 -1
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/pyproject.toml +1 -1
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/__init__.py +1 -1
- heroalgorithm-0.1.1/src/heroalgorithm/__main__.py +9 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/cli.py +19 -5
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1/src/heroalgorithm.egg-info}/PKG-INFO +1 -1
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/SOURCES.txt +1 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/LICENSE +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/README.md +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/setup.cfg +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/README.md +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/dataset/data.csv +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/notebook.ipynb +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/solution.py +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/README.md +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/dataset/housing.csv +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/notebook.ipynb +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/solution.py +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/README.md +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/dataset/iris.csv +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/notebook.ipynb +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/solution.py +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/README.md +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/config.py +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/downloader.py +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/dependency_links.txt +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/entry_points.txt +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/top_level.txt +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/tests/test_cli.py +0 -0
- {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/tests/test_downloader.py +0 -0
|
@@ -51,11 +51,18 @@ def run_install(
|
|
|
51
51
|
quiet: bool = False,
|
|
52
52
|
) -> int:
|
|
53
53
|
"""
|
|
54
|
-
Executes assignment extraction.
|
|
54
|
+
Executes assignment extraction. Prominently displays the storage path.
|
|
55
55
|
"""
|
|
56
56
|
target_info = f" ({subject})" if subject else ""
|
|
57
|
+
target_path = destination.resolve()
|
|
58
|
+
|
|
57
59
|
if not quiet:
|
|
58
|
-
print(
|
|
60
|
+
print("\n" + "=" * 60)
|
|
61
|
+
print(f"📦 HeroAlgorithm v{__version__}")
|
|
62
|
+
print("📁 STORAGE LOCATION:")
|
|
63
|
+
print(f" {target_path}")
|
|
64
|
+
print("=" * 60)
|
|
65
|
+
print(f"⚡ Status: Storing AIML problem sheets{target_info}...")
|
|
59
66
|
|
|
60
67
|
try:
|
|
61
68
|
# If a remote GitHub repository is specified, fetch from GitHub
|
|
@@ -84,10 +91,10 @@ def run_install(
|
|
|
84
91
|
)
|
|
85
92
|
|
|
86
93
|
except HeroAlgorithmError as e:
|
|
87
|
-
print(f"❌ Error: {e}")
|
|
94
|
+
print(f"\n❌ Error: {e}")
|
|
88
95
|
return 1
|
|
89
96
|
except Exception as e:
|
|
90
|
-
print(f"❌ Unexpected error: {e}")
|
|
97
|
+
print(f"\n❌ Unexpected error: {e}")
|
|
91
98
|
return 1
|
|
92
99
|
|
|
93
100
|
if not extracted:
|
|
@@ -98,11 +105,18 @@ def run_install(
|
|
|
98
105
|
return 0
|
|
99
106
|
|
|
100
107
|
if not quiet:
|
|
101
|
-
print(
|
|
108
|
+
print("-" * 60)
|
|
109
|
+
print(f"✅ SUCCESS: {len(extracted)} files stored successfully!")
|
|
110
|
+
print(f"\n📂 Open this location in your terminal:")
|
|
111
|
+
print(f" cd {target_path}")
|
|
112
|
+
print(f"\n📂 Open this folder in File Explorer:")
|
|
113
|
+
print(f" explorer {target_path}")
|
|
114
|
+
print("=" * 60 + "\n")
|
|
102
115
|
|
|
103
116
|
return 0
|
|
104
117
|
|
|
105
118
|
|
|
119
|
+
|
|
106
120
|
def handle_download(args: argparse.Namespace) -> int:
|
|
107
121
|
destination = get_destination(args.output)
|
|
108
122
|
repo = get_repo(args.repo)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/dataset/data.csv
RENAMED
|
File without changes
|
{heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/notebook.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/dataset/housing.csv
RENAMED
|
File without changes
|
{heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/notebook.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/dataset/iris.csv
RENAMED
|
File without changes
|
{heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/notebook.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|