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.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stringtopy-0.4.tar.gz
(30.4 kB
view hashes)
Built Distribution
Close
Hashes for stringtopy-0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d838a50c8754e2687e05784c40954720b188ce4ce2357bbd369acc3fa1bcab54 |
|
MD5 | e13641dfeae759ab64472ccbd580ed2d |
|
BLAKE2b-256 | d0da37a5a92c99947b497a453489e4f07f178ab90eedd8f0c243c0fea63ecc53 |