Giter Club home page Giter Club logo

qianji_excel's Introduction

钱迹账单整理辅助脚本

本脚本工具支持将 支付宝,微信,建设银行三种 excel 账单自动整理成符合钱迹模板要求的 excel 文件,整理后的 excel 文件可以在钱迹 app(或 PC 端)一键导入。

为什么做这个?还不是因为懒。由于懒得在每笔消费后打开 app 记账,一般都是下月初导出上月的支付宝微信等 excel 账单整理成钱迹模板导入,但是手动复制粘贴整理成钱迹模板 excel 又太费时于是写了这个脚本。

除了提取已有账单数据整理写入到符合钱迹模板的 excel 文件外,本脚本还支持在 json 文件里配置关键字到分类的映射,也就是如果你的账单条目中的“备注”一栏包含了 json 中配置的关键字的话,会自动填入对应的分类。

生成的 excel 文件内容截图:

json 配置

{
  "食堂": "三餐",
  "麦当劳": "三餐",
  "滴滴": "打车",
  "摩拜": "交通",
  "铁路12306": "火车"
}

已知问题

  1. 同名 excel 账单打开时无法写入新数据;
  2. 建设银行的 xlsx 格式文件要另存问 cvs 格式才能正确解析;
  3. pandas 升级到2.0(具体哪个版本未确认)以上之后,部分数据无法写入,后期会修复。

qianji_excel's People

Contributors

hcz017 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.