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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file stringtopy-0.4.tar.gz.

File metadata

  • Download URL: stringtopy-0.4.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for stringtopy-0.4.tar.gz
Algorithm Hash digest
SHA256 92f448fd7dd78a9180bc73ff0ecf94dcd5839caa8647557f45423a0c60aa71c7
MD5 ba61501d2fbfb0bc9d2b4965c058b2af
BLAKE2b-256 5e3de82e553a5735dc1f5d07dc9537da7a0c30b7450b1348cf4a3fbccd7fe6f0

See more details on using hashes here.

File details

Details for the file stringtopy-0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: stringtopy-0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for stringtopy-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d838a50c8754e2687e05784c40954720b188ce4ce2357bbd369acc3fa1bcab54
MD5 e13641dfeae759ab64472ccbd580ed2d
BLAKE2b-256 d0da37a5a92c99947b497a453489e4f07f178ab90eedd8f0c243c0fea63ecc53

See more details on using hashes here.

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