An opinionated script to gather, clean up and merge transactions from Banca Etica and PayPal.
Project description
ℹ️ About
I wrote this script to learn and practice with Python and pandas, while also getting something I really needed out of it.
⏬ Install
- Install uv
- Start a virtual environment:
uv venv - Install the package:
uv pip install bepp- append
-Uto install at the user level - append
--systemto install system-wide
- append
📊 Usage
| argument | type | default | description |
|---|---|---|---|
input/path/ |
string | Required | Input directory, containing the source CSV and Excel files. |
-d, --dry_run |
boolean | False | Run the script without changing or printing anything. |
-b, --backup |
boolean | False | Save one CSV backup per kind containing all the original transactions, with no modification. |
-c, --convert_to_eur |
boolean | False | Convert transactions in other currencies to €. Note: This heavily slows down the process! |
-m, --merge |
boolean | False | Merge the PayPal’s and Banca Etica’s transaction summaries in one unique CSV. |
-o, --output_dir |
string | input/path/+ bepp_export/ |
Specify an output directory. |
-p, --keep_pp_dupes |
boolean | False | Prevent from removing PayPal transactions in Banca Etica’s logs. |
Note: Bepp assumes that inside the specified directory all Excel files are Banca Etica’s “estratto conto” files, and all CSV files are PayPal transaction summaries.
♻️ License
Everything inside this repository is licensed under the GNU Affero General Public License, version 3.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bepp-0.0.2.tar.gz.
File metadata
- Download URL: bepp-0.0.2.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40f006bcf5fa321fbf6ecdbc25d5112989ea0e16f84c29623eb816f38fe8398f
|
|
| MD5 |
ea80d6d7609bae3847579ec9f8670fdc
|
|
| BLAKE2b-256 |
6dd7f54225029f26d99f57835208c8e6996b51abdce86a8dda29273895ddca47
|
File details
Details for the file bepp-0.0.2-py3-none-any.whl.
File metadata
- Download URL: bepp-0.0.2-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad33a1b88c556681c588a7c132c139abf2696d74c502511eeb9df74f0f8d5121
|
|
| MD5 |
b3ae90a9ce8c5c95578fe9fa24849142
|
|
| BLAKE2b-256 |
1eafa022c6f62682c0d624bf72556c9093860b791ab6f395c5a9d9ba55ee1f08
|