vikash-python-library 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: vikash-python-library
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Add your description here
5
5
  Author: Vikash kumar
6
6
  Author-email: Vikash kumar <23f2000729@ds.study.iitm.ac.in>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "vikash-python-library"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -10,8 +10,8 @@ requires-python = ">=3.10"
10
10
  dependencies = []
11
11
 
12
12
  [project.scripts]
13
- python-library = "python_library:main"
13
+ python-library = "vikash_python_library:main"
14
14
 
15
15
  [build-system]
16
16
  requires = ["uv_build>=0.11.18,<0.12.0"]
17
- build-backend = "uv_build"
17
+ build-backend = "uv_build"
@@ -10,17 +10,19 @@ def multiply(numbers):
10
10
  return result
11
11
 
12
12
  def main():
13
- parser = argparse.ArgumentParser()
13
+ parser = argparse.ArgumentParser(description="Perform Maths Action using list of numbers")
14
14
 
15
15
  parser.add_argument(
16
16
  "operation",
17
17
  choices=["add", "multiply"]
18
+ help='Operation to perform add and multiplication'
18
19
  )
19
20
 
20
21
  parser.add_argument(
21
22
  "numbers",
22
23
  nargs="+",
23
24
  type=float
25
+ help="Number to perform the operation on"
24
26
  )
25
27
 
26
28
  my_arg = parser.parse_args()