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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92f448fd7dd78a9180bc73ff0ecf94dcd5839caa8647557f45423a0c60aa71c7
|
|
| MD5 |
ba61501d2fbfb0bc9d2b4965c058b2af
|
|
| BLAKE2b-256 |
5e3de82e553a5735dc1f5d07dc9537da7a0c30b7450b1348cf4a3fbccd7fe6f0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d838a50c8754e2687e05784c40954720b188ce4ce2357bbd369acc3fa1bcab54
|
|
| MD5 |
e13641dfeae759ab64472ccbd580ed2d
|
|
| BLAKE2b-256 |
d0da37a5a92c99947b497a453489e4f07f178ab90eedd8f0c243c0fea63ecc53
|