Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit daa1e5c

Browse files
committed
Add Version 1.2.0
1 parent 0e256b8 commit daa1e5c

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- uses: actions/checkout@v2
1313
name: Checkout code
1414

15-
- name: Set up Python 3.9
15+
- name: Set up Python 3.13.1
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: 3.9
18+
python-version: 3.13.1
1919

2020
- name: Install local modules
2121
run: |
@@ -30,7 +30,9 @@ jobs:
3030
3131
- name: Run the script for testing
3232
run: |
33+
python -m lu77U_SHA256.Main --help
3334
python -m lu77U_SHA256.Main -t "Hell0 W0rld!!! Th!s !s myself lu77_u" -d -a
35+
python -m lu77U_SHA256.Main --text_from_file ./Sample_Text -d -a
3436
3537
- name: Build source distribution and wheel
3638
run: |

Sample_Text

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Hell0 W0rld!!!
2+
Th!s !s myself lu77_u

lu77U_SHA256/Main.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
type=click.Path(exists=True),
1515
help='Path to a file to read input from.'
1616
)
17-
@click.option(
18-
'-f', '--file',
19-
is_flag=True,
20-
help='This option is under construction.'
21-
)
2217
@click.option(
2318
'-a', '--animation',
2419
is_flag=True,
@@ -30,11 +25,7 @@
3025
help='Enable Debugging - Printing the intermediate steps'
3126
)
3227

33-
def main(text, text_from_file, file, animation, debug):
34-
if file:
35-
click.echo("The '--file' option is under construction.")
36-
return
37-
28+
def main(text, text_from_file, animation, debug):
3829
if text:
3930
input_string = text
4031
elif text_from_file:

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
setup(
44
name="lu77U-SHA256",
5-
version="1.1.6",
6-
author="Sam MG Harish",
7-
home_page="https://github.com/sam-mg/Python-SHA-256-Implementation",
5+
version="1.2.0",
6+
author="Sam MG Harish (lu77_u)",
7+
author_email="sammgharish@gmail.com",
8+
url = "https://github.com/sam-mg/Python-SHA-256-Implementation",
89
license="Apache Software License 2.0",
910
description="An Fully Manual SHA-256 Hasher",
11+
long_description=open('README.md').read(),
12+
long_description_content_type='text/markdown',
1013
packages=find_packages(),
1114
classifiers=[
1215
"Programming Language :: Python :: 3",
@@ -19,4 +22,4 @@
1922
"lu77U-SHA256 = lu77U_SHA256.Main:main"
2023
]
2124
}
22-
)
25+
)

0 commit comments

Comments
 (0)