Skip to content

Releases

Currency class redesign

Choose a tag to compare

@stared stared released this 25 Jan 12:30

Redesigned and refactored currencies so that each currency is an instance of Currency instead of a subclass. It improves both code clarity and allows us to define currencies as follows:

from currex import Currency

USD = Currency("USD")  # one dollar

money = Currency("USD", 100)  # USD(100.00)
money.to("EUR")  # EUR(95.30)

Improved interactive example and readme.

Display digits and code linting

Choose a tag to compare

@stared stared released this 08 Jan 14:19
v0.1.2

version 0.1.2

Installation and test misc fix

Choose a tag to compare

@stared stared released this 08 Jan 13:22
v0.1.1a

one more version fix

Initial release

Choose a tag to compare

@stared stared released this 03 Jan 17:22
v0.1.0

gha publish to pypi