- Improved parsing of prices without digits before a decimal point ('.75'), scrapinghub#42
- Fix parsing of price with non-breaking spaces scrapinghub#43
- Fixed installation issue on some Windows machines.
- Improved Korean and Japanese currency detection.
- Declare Python 3.8 support.
- Redundant $ signs are no longer returned as a part of currency, e.g.
for
SGD$ 100
currency would beSGD
, notSGD$
.
- New
Price.fromstring
argumentdecimal_separator
allows to override decimal separator for the cases where it is known (i.e. disable decimal separator detection); - NTD and RBM unofficial currency names are added;
- quantifiers in regular expressions are made non-greedy, which provides a small speedup;
- test improvements.
- Declare price-parser as providing type annotations (pep-561). This enables better type checking for projects using price-parser.
- improved test coverage
- Follow-up for 0.2.2 release: improved parsing of prices with 4+ digits after a decimal separator.
- Fixed parsing of prices with 4+ digits after a decimal separator.
- 23 additional currency symbols are added;
A$
alias for Australian Dollar is added.
Added support for currencies replaced by euro.
Minor packaging fixes.
Initial release.