8000 Support the new spreadsheet format by kmadisa · Pull Request #27 · kmadisa/mind-your-stonks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support the new spreadsheet format #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Dec 8, 2019

Conversation

kmadisa
Copy link
Owner
@kmadisa kmadisa commented Dec 8, 2019

The script now writes the data to the spreadsheet with the new formatted tables. The script will update the sheets accordingly with the current date. These updates include:

  • Update the Opening Balance on the first day of the month.
  • Updates the Closing Balance on the last day of the month.
  • Adds an entry of the current balance everyday to the table.

This change ensures that we no longer have a long table of rows, but have smaller tables for each month.

Signed-off-by: kmadisa <katleho.madisa47@gmail.com>
Added a picture of the new spreadsheet and updated the description of the fields in the spreadsheet.
* Removing the use of the python-gspread-sheets package and using gspread instead.
* Adding logic to update the opening and closing balance of each sheet depending on the day of the month.

Signed-off-by: kmadisa <katleho.madisa47@gmail.com>
Signed-off-by: kmadisa <katleho.madisa47@gmail.com>
Signed-off-by: kmadisa <katleho.madisa47@gmail.com>
Signed-off-by: kmadisa <katleho.madisa47@gmail.com>
Signed-off-by: kmadisa <katleho.madisa47@gmail.com>
@kmadisa
Copy link
Owner Author
kmadisa commented Dec 8, 2019

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
           

Complexity increasing per file
==============================
- scripts/query_balance.py  9
         

See the complete overview on Codacy

@kmadisa kmadisa merged commit fd51d8e into master Dec 8, 2019
@kmadisa kmadisa deleted the user/kmadisa/Support-new-spreadsheet-format branch December 8, 2019 19:59
@kmadisa kmadisa added the enhancement New feature or request label Dec 9, 2019
@kmadisa kmadisa self-assigned this Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0