This visualizer is a tool that can be used to track and analyze all your PayPal expenditures.
This project was used as a way to try out many more advanced python features such as:
- functools.reduce()
- map()
- dict and list comprehensions
BeautifulSoup library is used for HTML Parsing, while all visualization is done using Matplotlib.
To run this notebook follow these steps
- First clone the repository:
git clone https://github.com/bjoernpl/PaypalTransactionVisualizer.git
- Navigate to the directory:
cd PaypalTransactionVisualizer
- Create a virtual environment with
conda create --name payment_visualizer
- Activate environment with
conda activate payment_visualizer
- Install requirements with
python3 - m pip install -r requirements.txt
- Install jupyter notebook in conda env
conda install jupyter
- Launch the notebook with
jupyter notebook src/TransactionVisualizer.ipynb
- Exchange the html in
payments.html
with you PayPal transaction html - Run all cells to see the results
- Log in to your account at paypal.com
- Navigate to paypal.com/myaccount/transactions
- Choose the time frame you want to analyze
- Right-click the completed transactions section and select
inspect
- Right-click
<ul class="transactionList js_transactionList">
- Select
Edit as html
followed byctrl+a ctrl+c
- Replace all text in
payments.html
with the copied text