Finalized the this month script, which will be sent weekly via text to me and necessary parties. The last month and new_month_check transactions are also cleaned up and working. The next tasks are to sunset the import of moneyed as reading the actual-py docs, I found that I can do transactions.get_amount() which will return a decimal formatted number instead of needing to change the strings, etc. Will also need to clean up the files so they are more organized for public release.
This commit is contained in:
15
min_test.py
Normal file
15
min_test.py
Normal file
@ -0,0 +1,15 @@
|
||||
from dotenv import load_dotenv
|
||||
from actual import Actual
|
||||
import os
|
||||
|
||||
load_dotenv()
|
||||
|
||||
|
||||
print("hold onto your butts")
|
||||
with Actual(
|
||||
base_url=os.getenv('BASEURL'),
|
||||
password=os.getenv('PASSWORD'),
|
||||
encryption_password=None, # Optional: Password for the file encryption. Will not use it if set to None.
|
||||
file=os.getenv('FILE')
|
||||
) as actual:
|
||||
print(actual)
|
||||
Reference in New Issue
Block a user