stringtopy is a small library to convert strings to a specified type (e.g. int, float or bool), allowing more human friendly input similar to configparser.
stringtopy is a utility library to convert strings to different python (stdlib) objects. Examples of objects it can return include bool (converting yes/no, true/false etc.), float (allowing fractions) and int (allowing floating point notation to be used for large numbers).
Bug reports and suggestions should be filed at https://github.com/aragilar/stringtopy/issues.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for stringtopy-0.4-py2.py3-none-any.whl