Skip to main content

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

Documentation Status Build Status Coverage Status Version License Wheel Format Supported versions Supported implemntations PyPI

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


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)

Uploaded Source

Built Distribution

stringtopy-0.4-py2.py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page