-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PENGSOL-483: Add the script that fills the DWH Excel sheet.
- Loading branch information
Dawid Makar
committed
Dec 19, 2024
1 parent
432336e
commit ae8ae5a
Showing
3 changed files
with
540 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Excel DWH filler | ||
|
||
This script is used to fill the Excel file with data from DWH. | ||
|
||
## Requirements | ||
- Python 3.10+ | ||
- The packages listed in the requirements file. You can install them with: | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
- The DWH Excel template. Paste it to the same directory as the script, and name it `template.xlsx`. | ||
|
||
## Usage | ||
|
||
Run the script from CLI with the following command: | ||
```bash | ||
python excel_sheets_filler.py --output_file=JO-GL.xlsx --db_url=XX.XXX.XX.XXX --db_name=PUTDBNAMEHERE --db_username=PUTDBUSERNAMEHERE --db_password=PUTPASSWORDHERE --site=JO-GL | ||
``` | ||
|
||
Remember to replace the placeholders with the actual values: the database URL, database name, database username, database password, and site name. |
Oops, something went wrong.