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.
- {vikash_python_library-0.1.0 → vikash_python_library-0.1.1}/PKG-INFO +1 -1
- {vikash_python_library-0.1.0 → vikash_python_library-0.1.1}/pyproject.toml +3 -3
- {vikash_python_library-0.1.0 → vikash_python_library-0.1.1}/src/vikash_python_library/__init__.py +3 -1
- {vikash_python_library-0.1.0 → vikash_python_library-0.1.1}/README.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "vikash-python-library"
|
|
3
|
-
version = "0.1.
|
|
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 = "
|
|
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"
|
{vikash_python_library-0.1.0 → vikash_python_library-0.1.1}/src/vikash_python_library/__init__.py
RENAMED
|
@@ -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()
|
|
File without changes
|