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.
Files changed (30) hide show
  1. {heroalgorithm-0.1.0/src/heroalgorithm.egg-info → heroalgorithm-0.1.1}/PKG-INFO +1 -1
  2. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/pyproject.toml +1 -1
  3. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/__init__.py +1 -1
  4. heroalgorithm-0.1.1/src/heroalgorithm/__main__.py +9 -0
  5. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/cli.py +19 -5
  6. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1/src/heroalgorithm.egg-info}/PKG-INFO +1 -1
  7. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/SOURCES.txt +1 -0
  8. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/LICENSE +0 -0
  9. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/README.md +0 -0
  10. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/setup.cfg +0 -0
  11. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/README.md +0 -0
  12. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/dataset/data.csv +0 -0
  13. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/notebook.ipynb +0 -0
  14. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-1/solution.py +0 -0
  15. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/README.md +0 -0
  16. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/dataset/housing.csv +0 -0
  17. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/notebook.ipynb +0 -0
  18. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-2/solution.py +0 -0
  19. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/README.md +0 -0
  20. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/dataset/iris.csv +0 -0
  21. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/notebook.ipynb +0 -0
  22. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/PS-3/solution.py +0 -0
  23. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/assignments/README.md +0 -0
  24. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/config.py +0 -0
  25. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm/downloader.py +0 -0
  26. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/dependency_links.txt +0 -0
  27. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/entry_points.txt +0 -0
  28. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/src/heroalgorithm.egg-info/top_level.txt +0 -0
  29. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/tests/test_cli.py +0 -0
  30. {heroalgorithm-0.1.0 → heroalgorithm-0.1.1}/tests/test_downloader.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: heroalgorithm
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Instant AI/ML lab problem sheets, datasets, notebooks, and algorithms vault.
5
5
  Author: HeroAlgorithm Maintainer
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "heroalgorithm"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "Instant AI/ML lab problem sheets, datasets, notebooks, and algorithms vault."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -2,5 +2,5 @@
2
2
  HeroAlgorithm - Instant AI/ML Lab Problem Sheets, Datasets & Code Manager.
3
3
  """
4
4
 
5
- __version__ = "0.1.0"
5
+ __version__ = "0.1.1"
6
6
  __all__ = ["__version__"]
@@ -0,0 +1,9 @@
1
+ """
2
+ Enables running heroalgorithm via `python -m heroalgorithm`.
3
+ """
4
+
5
+ import sys
6
+ from heroalgorithm.cli import main
7
+
8
+ if __name__ == "__main__":
9
+ sys.exit(main())
@@ -51,11 +51,18 @@ def run_install(
51
51
  quiet: bool = False,
52
52
  ) -> int:
53
53
  """
54
- Executes assignment extraction. Keeps verbose installation logs hidden.
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(f"📦 HeroAlgorithm: Organizing AIML Problem Sheets{target_info} into:\n {destination.resolve()}")
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(f"\n✅ Ready! {len(extracted)} files organized at:\n {destination.resolve()}\n")
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: heroalgorithm
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Instant AI/ML lab problem sheets, datasets, notebooks, and algorithms vault.
5
5
  Author: HeroAlgorithm Maintainer
6
6
  License-Expression: MIT
@@ -2,6 +2,7 @@ LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
4
  src/heroalgorithm/__init__.py
5
+ src/heroalgorithm/__main__.py
5
6
  src/heroalgorithm/cli.py
6
7
  src/heroalgorithm/config.py
7
8
  src/heroalgorithm/downloader.py
File without changes
File without changes
File without changes