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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page