Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: ./.github/actions/setup-python
- name: UnitTest
working-directory: ./python
run: python -m unittest discover ./test
run: pytest .
mypy:
timeout-minutes: 10
runs-on: ubuntu-latest
Expand Down
23 changes: 21 additions & 2 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,31 @@

- Python 3.14.4

## 2. Execution
## 2. Install Libraries via requirements.txt

```command
$ pip install -r requirements.txt
```

## 3. Execution

```command
$ cd ./python
$ python main.py
Provide your username(Default: hayat01sh1da): hayat01sh1da
Provide your preferred unit d(daily - default), w(weekly) or m: d
Provide the specific year you would like to create working report templates for(Default: the current year): 2024
```

## 4. Unit Test

```command
$ pytest
============================= test session starts ==============================
platform linux -- Python 3.14.4, pytest-9.0.3, pluggy-1.6.0
rootdir: /mnt/c/Users/binlh/Documents/development/template-creators/python
collected 8 items

test/test_application.py ........ [100%]

============================== 8 passed in 5.66s ===============================
```
Loading