{"id":45974298,"url":"https://github.com/flipdot/money-utils","last_synced_at":"2026-02-28T16:02:54.638Z","repository":{"id":30441562,"uuid":"116986801","full_name":"flipdot/money-utils","owner":"flipdot","description":"Automatic reporting system for small clubs analyzing member fees and drink sales.","archived":false,"fork":false,"pushed_at":"2026-02-23T00:50:50.000Z","size":752,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-02-23T02:05:45.654Z","etag":null,"topics":["fints","hbci","verein"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flipdot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-01-10T17:08:00.000Z","updated_at":"2026-02-22T21:24:43.000Z","dependencies_parsed_at":"2023-10-03T10:11:52.759Z","dependency_job_id":"56d4fa06-7a8b-4ec8-a8d8-37924cbb899a","html_url":"https://github.com/flipdot/money-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flipdot/money-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipdot%2Fmoney-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipdot%2Fmoney-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipdot%2Fmoney-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipdot%2Fmoney-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flipdot","download_url":"https://codeload.github.com/flipdot/money-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipdot%2Fmoney-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29941798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fints","hbci","verein"],"created_at":"2026-02-28T16:02:54.113Z","updated_at":"2026-02-28T16:02:54.614Z","avatar_url":"https://github.com/flipdot.png","language":"Python","readme":"# Money-Utils\n\nAutomatic reporting system for small clubs analyzing member fees and drink sales.\n\nMonitors money transfers to an account and filters them according to various patterns to report information.\n\n## Features\n\n- Track member fee payments and automatic membership status\n- Allows drink account fillup via SEPA bank transfers\n- Track expenses and income for drink sales\n- Manage member information\n\n## Developer Setup\n\n\u003e **Note**:  \n\u003e If all you want is run the service, please head down to the\n\u003e **[Deployment](#deployment)** section.\n\n- If you're on Debian, you will need some more packages:\n\n  ```bash\n  apt install python3-dev build-essential\n  ```\n\n- Enable lingering services for your user:\n\n  ```bash\n  sudo loginctl enable-linger $USER\n  ```\n\n- Copy `config.example.py` to `config.py` and customize contents according to your likings.\n  - insert your account information (`blz`, `user`, `pin`, `iban`)\n  - figure out your FinTS information (`product_id` \u0026 `fints_url`)\n    - https://www.hbci-zka.de/register/prod_register.htm\n  - set `bind_host` and `port`\n  - set `db_path`\n  - for flipdot members: [check teh forumz](TODO)\n\nThe following script will:\n\n- Make a virtualenv and install dependencies from [pyproject.toml](pyproject.toml)\n- Setup a systemd-user-service `money.service`\n\n  ```bash\n  ./setup.sh\n  ```\n\n- Make a database:\n\n  ```bash\n  mkdir -p data\n  ./manage.py migrate\n  ./manage.py createsuperuser\n  ```\n\n- Run Cron jobs to import TXs\n  - this will:\n    - import transactions from your bank\n    - analyze member fees\n\n  ```bash\n  ./manage.py runcrons\n  ```\n\n- Start server:\n\n  ```bash\n  ./manage.py runserver\n\n  # or, enable and start the systemd service:\n  systemctl --user enable --now money\n  ```\n\n- go to http://localhost:5002/ and enjoy the stats!\n\nDeployment in dev setup:\n\n- Edit `uwsgi.ini`\n\n- Run:\n\n  ```bash\n  ./manage.py collectstatic\n  ./webserver\n  ```\n\n## Deployment\n\nDo these steps:\n\n```bash\nexport SOURCE_COMMIT=$(git describe --always --no-abbrev)\ndocker-compose build\n\ndocker-compose up\n\n## in another window:\ndocker-compose exec money ./manage.py migrate\ndocker-compose exec money ./manage.py cratesuperuser\n```\n\n## Member Management\n\nOnce the server is running, go to http://localhost:8000/admin.\nLog in, and click on \"Members\".\nAdd some members. The only fields you will have to fill out:\n\n- First Name\n- Last Name (if you know it)\n- Nickname (if you know it)\n- Email (if you know it)\n- Fee (if it isn't one of the standard fees from [fee_util.py](schema/fee_util.py))\n\nThese properties will be used to find the member fee transactions.\nAll the other fields will be filled by the analysis.\n\nAfter adding some members, do `./manage.py runcrons` again to analyze their fees.\n\n## License\n\nGPLv3. Other licenses available upon request.\n\n---\n---\n\n# BELOW LEGACY\n\n## `/recharges.json`\nLists drinks-recharge events according to the pattern `drinks \u003cuid\u003e \u003cinfo\u003e`, where\n- uid is the LDAP user ID\n- info is some additional text, commonly \"username random-string\"\n\nThe random string at the end is used to differentiate recharges happening on the same day, since SEPA does not generate unique transaction IDs.\nInstead, it considers the 5-tuple (date, IBAN from, IBAN to, amount, transaction text) as unique key.\n\n## [load_transactions.py](load_transactions.py)\n\nloads new transactions from the bank.\n\n## [members.py](members.py)\n\nperforms member fee analysis.\n\n## [member_report.py](member_report.py)\n\ndisplays an oldschool ASCII report of paid member fees in the last 12 months.\n\n## [clear_analysis.py](clear_analysis.py)\n\nclears all analyzed data from database (except for Fee_Entries).\nCan be used to rescue the database from botched data if you're messing with the [members.py](members.py) script.\n\n## [hbci_client.py](hbci_client.py)\n\nWrapper for the python-fints library.\n\n\n---\nOld stuff:\n\n## [drinks.py](drinks.py)\n\nold report: loads transactions and drinks-recharges using an ad-hoc pickle cache defined in [cache.py](cache.py).\n\nLegacy; has been integrated into django app on `/recharges.py`\n\n[webserver](webserver): small flask webserver to do nothing but serve the output of drinks.py as JSON.\n\nCan be started as systemd service, using [money.service](money.service).\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipdot%2Fmoney-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflipdot%2Fmoney-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipdot%2Fmoney-utils/lists"}