Commit graph

  • 5a73d3d8f8 historical: Move normalize_rate and _pretty_rate to base Formatter. master Brett Smith 2020-05-20 16:02:47 -0400
  • 77393ee80f tests: Make consistent rate test a little more robust. Brett Smith 2020-05-20 15:35:27 -0400
  • c9382a2604 historical: Fix the rate ordering with two dates. Brett Smith 2020-05-20 15:20:37 -0400
  • ae3e4617d3 historical: Always format rates with the same precision. Brett Smith 2020-05-19 15:56:19 -0400
  • 8dede9d139 historical: Swap Ledger and Beancount formatters in the class hierarchy. Brett Smith 2020-05-19 15:27:04 -0400
  • c3fd55ec15 historical: Beancount can handle commas in amounts. Brett Smith 2020-05-19 15:22:00 -0400
  • e158eae7d9 gitignore: Modernize. Brett Smith 2020-05-17 14:12:15 -0400
  • 30e9f1c1e8 setup: Version 2.0 for all the recent changes. Brett Smith 2020-05-17 14:10:17 -0400
  • 5573caf7ee oxrlib_example: Update for Beancount. Brett Smith 2020-05-17 14:08:59 -0400
  • 3a3afb7978 historical: Add Beancount output format. Brett Smith 2020-05-17 14:01:40 -0400
  • 7c11ae408c tests: Prep historical tests for parametrizing on output format. Brett Smith 2020-05-17 12:54:05 -0400
  • 2d753c31aa historical: Add support for from_date arg. Brett Smith 2020-05-17 12:13:10 -0400
  • 71893ace4d tests: Historical tests use more flexible rate matching. Brett Smith 2020-05-17 10:44:03 -0400
  • fb2114896d historical: Normalize class instantiation for formatters. Brett Smith 2020-05-16 16:56:29 -0400
  • 80fd49a98a historical: Introduce --output-format option. Brett Smith 2020-05-16 15:07:20 -0400
  • 27dbe14b94 config: Accept a source date for displaying rates. Brett Smith 2020-05-16 14:17:01 -0400
  • 9b6d562d46 tests: Stop calling fixtures directly. Brett Smith 2020-05-06 14:48:27 -0400
  • a3cc41a5cf tests: Run with oxrlib's decimal context. Brett Smith 2017-12-31 10:04:37 -0500
  • 3b732505fa main: Decimal context sets the state of all traps. Brett Smith 2017-12-31 09:03:05 -0500
  • cb17033279 config: Only try to load the default config file if it exists. Brett Smith 2017-09-07 10:00:56 -0400
  • f7a57ded86 historical: Add comments to explain the precision-finding code. Brett Smith 2017-07-06 10:17:08 -0400
  • d0f5f1547c config: Error out when historical arguments are ambiguous. Brett Smith 2017-06-29 17:16:45 -0400
  • b270db02e8 historical: Ledger conversions show enough rate precision to stay balanced. Brett Smith 2017-06-29 16:54:16 -0400
  • 8ab2373ba1 config: Assume abbreviated dates are in the past. Brett Smith 2017-06-22 15:54:24 -0400
  • 419f52abe3 Fix typo in variable name Martin Michlmayr 2017-05-22 18:18:49 +0200
  • 97222c2f75 setup: New version for recent changes. Brett Smith 2017-06-09 13:22:37 -0400
  • 936237eceb config: Nicer determination of default currency for converting/signing. Brett Smith 2017-06-09 13:22:12 -0400
  • dfac0cf853 config: Improve wording consistency of date format help. Brett Smith 2017-06-09 13:14:06 -0400
  • baa2e883cd config: historical command accepts just two currency arguments. Brett Smith 2017-06-09 12:00:14 -0400
  • 55f5833aa0 historical: Add a setting to denominate Ledger conversions. Brett Smith 2017-06-09 11:06:51 -0400
  • 992c91fc90 config: Nicer implementation of date parsing. Brett Smith 2017-06-08 12:07:21 -0400
  • 385a492ae7 config: More flexible date parsing. Brett Smith 2017-06-08 09:52:47 -0400
  • 17ff9a8b71 setup.py: Add oxrlib.commands package. Brett Smith 2017-06-01 14:01:11 -0400
  • 0b6edde60c README: Markup fixes throughout. Brett Smith 2017-05-22 11:24:43 -0400
  • c8000a8a74 config: Print usage if no subcommand is given. Brett Smith 2017-05-19 10:21:33 -0400
  • b1fda6a647 config: Touch up historical --help output throughout. Brett Smith 2017-05-19 10:05:53 -0400
  • 9be9b07a8d historical: Add Ledger output formatting. Brett Smith 2017-05-18 13:47:46 -0400
  • 5b7f2b92a1 rate: Make sure to parse ints as Decimal objects too. Brett Smith 2017-05-18 13:33:32 -0400
  • ec3b9e83f8 historical: Format amounts according to currency convention. Brett Smith 2017-05-17 17:38:45 -0400
  • 84bc0c7e84 tests: Rename TestCacheFile to avoid pytest warnings. Brett Smith 2017-05-17 17:33:15 -0400
  • 348b82e087 .gitignore: setup.py: Integrate pytest to run tests. Brett Smith 2017-05-17 17:21:43 -0400
  • a6e46b0cca Documentation: Add README and example config. Brett Smith 2017-05-17 16:23:56 -0400
  • 63b0ad3c76 Configuration: Improve --help output throughout. Brett Smith 2017-05-17 15:34:51 -0400
  • 5fb01151d1 .gitignore: Ignore egg-info. Brett Smith 2017-05-17 15:31:24 -0400
  • 8e5cb0642f CacheWriter: Update tests for previous open file change. Brett Smith 2017-05-17 15:29:21 -0400
  • 08840e6757 setup.py: Start script. Brett Smith 2017-05-17 14:42:22 -0400
  • cff18d9d96 LICENSE: Add license. Brett Smith 2017-05-17 14:40:50 -0400
  • b49356bcb6 __main__: Start module to run the tool. Brett Smith 2017-05-17 14:40:43 -0400
  • 3b5a563ef6 historical: Write results to cache when appropriate. Brett Smith 2017-05-17 12:56:19 -0400
  • 7ae8c359e0 CacheFile opens the file immediately. Brett Smith 2017-05-17 12:52:37 -0400
  • cdc748c14f config: Fix type of path passed to cache classes. Brett Smith 2017-05-17 12:52:02 -0400
  • 620816fe72 config: Fix date_from type return value. Brett Smith 2017-05-17 12:45:19 -0400
  • f9c045a63e historical: Switch to relative import. Brett Smith 2017-05-17 12:36:04 -0400
  • 18f7ea7038 Configuration: Set up CacheWriter. Brett Smith 2017-05-17 12:29:50 -0400
  • 351811bb30 LoaderChain: Add should_cache() method. Brett Smith 2017-05-17 12:27:20 -0400
  • 08073f752b Configuration: Parse more conversion arguments for historical subcommand. Brett Smith 2017-05-17 11:32:05 -0400
  • 667c214e91 historical: Add main code for historical subcommand. Brett Smith 2017-05-17 08:48:40 -0400
  • 9d47238245 rate: Add Rate.convert method. Brett Smith 2017-05-16 12:26:32 -0400
  • 0120e4ce5a config: Begin Configuration class. Brett Smith 2017-05-16 08:45:12 -0400
  • 6a416b162d cache: Add CacheWriter.save_rate method. Brett Smith 2017-05-12 13:48:21 -0400
  • 2d482bb7b0 cache: Add CacheWriter class. Brett Smith 2017-05-12 13:27:45 -0400
  • eba27c16ae cache: Refactor out CacheBase from FileCache. Brett Smith 2017-05-12 10:15:12 -0400
  • 4cbd890992 errors: Start module. Brett Smith 2017-05-12 08:12:21 -0400
  • 1927a18120 loaders: Add LoaderChain. Brett Smith 2017-05-12 07:40:27 -0400
  • 10b0a818d7 loaders: Add OXRAPIRequest. Brett Smith 2017-05-09 14:51:00 -0400
  • 7912a37074 tests: Let FileCache tests be in their own file. Brett Smith 2017-05-09 11:17:53 -0400
  • 744479013d loaders: Introduce common exceptions. Brett Smith 2017-05-09 10:35:20 -0400
  • d1ba2dbc6a loaders: Initial commit. Brett Smith 2017-05-09 10:32:23 -0400
  • a181166311 rate: Initial commit. Brett Smith 2017-05-09 09:56:08 -0400