Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 395daf7

Browse files
committed
chore: update urls
1 parent 231b17d commit 395daf7

File tree

7 files changed

+13
-15
lines changed

7 files changed

+13
-15
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020-present, Sean Breckenridge
3+
Copyright (c) 2020-present, purarue
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## mint
22

3-
Wrapper script/code to interact with [`mintable`](https://github.com/kevinschaich/mintable/). I use this as part of my personal [HPI](https://github.com/seanbreckenridge/HPI-personal) modules
3+
Wrapper script/code to interact with [`mintable`](https://github.com/kevinschaich/mintable/). I use this as part of my personal [HPI](https://github.com/purarue/HPI-personal) modules
44

55
Requires:
66

@@ -14,11 +14,11 @@ I use [`plaid`](http://plaid.com/) to get the account information, and export th
1414

1515
`./mint setup` prompts me to setup any accounts, and sets up a git-tracked data directory for my account balances/transactions.
1616

17-
For the `csv-export-setup` step of `./mint setup`, where `<THIS_DIR>` is the absolute path to this repo on my file system; I enter: `/home/sean/data/mint/transactions.csv` and `/home/sean/data/mint/data/balances.csv`. Then, should set `MINT_DATA="${HOME}/data/mint"` to point the python code at that as your data source.
17+
For the `csv-export-setup` step of `./mint setup`, where `<THIS_DIR>` is the absolute path to this repo on my file system; I enter: `/home/username/data/mint/transactions.csv` and `/home/username/data/mint/data/balances.csv`. Then, should set `MINT_DATA="${HOME}/data/mint"` to point the python code at that as your data source.
1818

1919
After `./mint fetch`, if the data directory has untracked changes, it adds a commit to the local git repo, so that I never lose any of the data, when `plaid` stops returning old transactions.
2020

21-
I run `./mint fetch` is run in the background once [every few hours](https://github.com/seanbreckenridge/HPI/blob/master/jobs/linux/mint.job)
21+
I run `./mint fetch` is run in the background once [every few hours](https://github.com/purarue/HPI/blob/master/jobs/linux/mint.job)
2222

2323
---
2424

@@ -45,7 +45,7 @@ This:
4545
To install as an editable package (so changes to the code/filters/transforms immediately update):
4646

4747
```
48-
git clone https://github.com/seanbreckenridge/mint && cd ./mint/budget
48+
git clone https://github.com/purarue/mint && cd ./mint/budget
4949
pip install -e .
5050
python3 -m budget
5151
```

budget/budget/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def accounts(graph: bool, repl: bool, df: bool, debug: bool) -> None:
6262
if df:
6363
snapshots = cleaned_snapshots_df()
6464
else:
65-
# TODO(sean): fix timestamp
6665
snapshots = list(cleaned_snapshots()) # type: ignore[assignment,arg-type]
6766
IPython.embed()
6867
sys.exit(0)

budget/setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
setup(
77
name="budget",
88
version="0.1.0",
9-
url="https://github.com/seanbreckenridge/mint",
10-
author="Sean Breckenridge",
11-
author_email="[email protected]",
9+
url="https://github.com/purarue/mint",
10+
author="purarue",
1211
description=("""code to interact with/visualize mintable exports"""),
1312
license="MIT",
1413
packages=find_packages(include=["budget"]),

scripts/fix_bank.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import csv
22

33
disc = []
4-
with open("/home/sean/Repos/mint/data/raw/bank_history.csv") as f:
4+
with open("/home/username/Repos/mint/data/raw/bank_history.csv") as f:
55
cf = csv.reader(f)
66
for line in cf:
77
disc.append(line)
88
acc_name = "Checking"
99
disc = disc[1:]
1010
fixed = [[d[0], -1 * float(d[-2]), d[1], acc_name, d[3]] for d in disc]
11-
with open("/home/sean/Repos/mint/data/old_transactions.csv", "a") as f:
11+
with open("/home/username/Repos/mint/data/old_transactions.csv", "a") as f:
1212
cs = csv.writer(f)
1313
for l in fixed:
1414
cs.writerow(l)

scripts/fix_credit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import csv
22

33
disc = []
4-
with open("/home/sean/Repos/mint/data/raw/credit_history.csv") as f:
4+
with open("/home/username/Repos/mint/data/raw/credit_history.csv") as f:
55
cf = csv.reader(f)
66
for line in cf:
77
disc.append(line)
@@ -16,7 +16,7 @@ def fix_date(dstr):
1616

1717

1818
fixed = [[fix_date(d[0]), d[2], d[1], account_name, d[3]] for d in disc]
19-
with open("/home/sean/Repos/mint/data/old_transactions.csv", "a") as f:
19+
with open("/home/username/Repos/mint/data/old_transactions.csv", "a") as f:
2020
cs = csv.writer(f)
2121
for l in fixed:
2222
cs.writerow(l)

scripts/fix_paypal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import csv
22

33
disc = []
4-
with open("/home/sean/Repos/mint/data/raw/paypal.csv") as f:
4+
with open("/home/username/Repos/mint/data/raw/paypal.csv") as f:
55
cf = csv.reader(f)
66
header = next(cf)
77
for line in cf:
@@ -21,7 +21,7 @@
2121
col = [fixed_date, -1 * float(ds[7]), ds[3], acc_name, ds[4]]
2222
fixed_disc.append(col)
2323

24-
with open("/home/sean/Repos/mint/data/old_transactions.csv", "a") as f:
24+
with open("/home/username/Repos/mint/data/old_transactions.csv", "a") as f:
2525
cs = csv.writer(f)
2626
for l in fixed_disc:
2727
cs.writerow(l)

0 commit comments

Comments
 (0)