A python module that converts strings in the metric scientific notation to numerical data types.
This package is available at PyPI.
It is a very simple module that contains one function, made for a specific application, but i think that it can be useful for other people since i couldn't find anywhere a similar package.
You can import the module by calling the function parse_str.
The input is a string that contains the number in the metric scientific notation, like 1u -> 1e-6.
Example:
parse_str('1.2k')
Outuput: 1.2e3
It is compatible with all the metric system prefixes.
You can install this package by calling pip install scistringparser.