hoostus / beancount-ynab Goto Github PK
View Code? Open in Web Editor NEWImporter from YNAB to beancount
License: Other
Importer from YNAB to beancount
License: Other
This might be an edge case since my production budget is years old and has undergone several major changes, but my Budget.yfull has two masterCategories where subCategories is null:
{
"entityType": "masterCategory",
"expanded": true,
"name": "New Master Category",
"type": "OUTFLOW",
"deleteable": true,
"subCategories": null,
"isTombstone": true,
"entityVersion": "A-282",
"entityId": "5ADFC5F6-B872-385F-3508-75CBA92A4703",
"sortableIndex": 268435455
},
{
"entityType": "masterCategory",
"expanded": true,
"name": "Income",
"type": "INFLOW",
"deleteable": false,
"subCategories": null,
"entityVersion": "H-1533",
"entityId": "MasterCategory/__Income__",
"sortableIndex": 1073741823
},
This causes get_categories()
to fail unless a check is inserted before calling entity_dict(m['subCategories'])
.
See PR #4: find_devices_with_full_knowledge()
is returning an empty list where A.ydevice should match. I noticed this issue with my live *.ynab4 file and build a series of tests to bear it out.
You might not always want to import everything. For instance, maybe you only want to start importing things from 2017 onwards.
in import.py, I changed line 51 to show this:
ynab = json.load(open(filename, encoding='utf-8-sig'))
Small change, but I think it's worth supporting other character sets in some way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.