Skip to content

0.3.7

Compare
Choose a tag to compare
@kalaspuff kalaspuff released this 28 Nov 21:12
· 531 commits to master since this release
9719241
  • Monetary amounts can also be exported to dict as well as created with dict value inputs, which can be great to for example transport a monetary value in JSON.
  • To return a dict from a stockholm.Money object it can either be casted to dict (dict(money)) or by using money.asdict().
  • Monetary amounts can also be created using dict input either by using Money.from_dict(input_dict) or by calling the constructor directly with dict input such as Money(dict_input).