Price-parser

Latest version: v0.3.4

Safety actively analyzes 623144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.4

------------------

* Improved parsing of prices without digits before a decimal point ('.75'),
https://github.com/scrapinghub/price-parser/pull/42
* Fix parsing of price with non-breaking spaces
https://github.com/scrapinghub/price-parser/pull/43

0.3.3

------------------

* Fixed installation issue on some Windows machines.

0.3.2

------------------

* Improved Korean and Japanese currency detection.
* Declare Python 3.8 support.

0.3.1

------------------

* Redundant $ signs are no longer returned as a part of currency, e.g.
for ``SGD$ 100`` currency would be ``SGD``, not ``SGD$``.

0.3.0

------------------

* New ``Price.fromstring`` argument ``decimal_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.

0.2.4

------------------

* Declare price-parser as providing type annotations (pep-561). This enables
better type checking for projects using price-parser.
* improved test coverage

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.