Skip to content

Releases: kalaspuff/stockholm

0.3.0

27 Nov 20:24
4ea8f5e
Compare
Choose a tag to compare
  • Money.from_sub_units(amount, currency) method is a classmethod which does the same thing as Money(amount, currency, from_sub_units=True). For example a 100 subunits of stockholm.Currency.SEK would result in a monetary amount of 1.00 SEK, while 100 subunits of stockholm.Currency.JPY would result in 100 JPY.

0.2.2

27 Nov 20:21
5f01852
Compare
Choose a tag to compare
  • Replaces is_cents with from_sub_units which is aware of number of digits in a BaseCurrency.

0.2.1

27 Nov 19:56
4538ce0
Compare
Choose a tag to compare
  • Added support for custom currency types with non-uppercase ticker symbols.

0.2.0

27 Nov 16:01
578d759
Compare
Choose a tag to compare
  • Restructured currency to also be able to fetch currencies directly on stockholm.Currency

0.1.1

26 Nov 21:31
bbc059d
Compare
Choose a tag to compare
  • Added get_currency(currency) method to stockholm.currency which returns a currency type that includes metadata about formatting and the default minimum decimals digits, etc.

0.1.0

25 Nov 21:36
cbb4cbf
Compare
Choose a tag to compare
  • First release with support for monetary amounts using currency types.
  • All ISO 4217 currency types available in stockholm.currency. All currencies uses official values for the default minimum decimal digit count.

0.0.10

25 Nov 21:33
4ac5325
Compare
Choose a tag to compare
0.0.10 Pre-release
Pre-release
0.0.10

0.0.9

24 Nov 21:55
56f83cc
Compare
Choose a tag to compare
0.0.9 Pre-release
Pre-release
0.0.9

0.0.8

24 Nov 21:38
b6da9ec
Compare
Choose a tag to compare
0.0.8 Pre-release
Pre-release
0.0.8

0.0.7

24 Nov 17:53
5299ad9
Compare
Choose a tag to compare
0.0.7 Pre-release
Pre-release
0.0.7