str2bool3


Namestr2bool3 JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/sam-fakhreddine/str2bool3
SummaryConvert string to boolean (Forked from SymonSoft/str2bool)
upload_time2023-10-17 22:14:03
maintainer
docs_urlNone
authorSam Fakhreddine
requires_python
license
keywords str2bool bool boolean convert yes no true false
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # str2bool3 v1.0.0

## About
Convert string to boolean.
Library recognizes "yes", "true", "y", "t", "1" as True, and "no", "false", "n", "f", "0" as False.
Case insensitive.

## Installation

    $ pip install str2bool3

## Examples
Here's a basic example:

    >>> from str2bool3 import str2bool
    >>> print(str2bool('Yes'))
    True

## License
BSD

forked from symonsoft/str2bool

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sam-fakhreddine/str2bool3",
    "name": "str2bool3",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "str2bool,bool,boolean,convert,yes,no,true,false",
    "author": "Sam Fakhreddine",
    "author_email": "sam.fakhreddine@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1d/7e/ba7278ca86e6e8fa9ffc681561ba8422301dd4ef3b1f3ce2f0bdb299f7e4/str2bool3-1.0.2.tar.gz",
    "platform": null,
    "description": "# str2bool3 v1.0.0\n\n## About\nConvert string to boolean.\nLibrary recognizes \"yes\", \"true\", \"y\", \"t\", \"1\" as True, and \"no\", \"false\", \"n\", \"f\", \"0\" as False.\nCase insensitive.\n\n## Installation\n\n    $ pip install str2bool3\n\n## Examples\nHere's a basic example:\n\n    >>> from str2bool3 import str2bool\n    >>> print(str2bool('Yes'))\n    True\n\n## License\nBSD\n\nforked from symonsoft/str2bool\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Convert string to boolean (Forked from SymonSoft/str2bool)",
    "version": "1.0.2",
    "project_urls": {
        "Download": "https://github.com/sam-fakhreddine/str2bool3/archive/refs/tags/1.0.2.tar.gz",
        "Homepage": "https://github.com/sam-fakhreddine/str2bool3"
    },
    "split_keywords": [
        "str2bool",
        "bool",
        "boolean",
        "convert",
        "yes",
        "no",
        "true",
        "false"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4971c1b426280347d0b10dec4c4275755c319fedf6c92324d12ae0d730102db3",
                "md5": "0a7b0279ab2b82f7a3760a1a85a1af05",
                "sha256": "18d3fac572fc7372cc14ef0b7d39c6c8fb9d5f3c23a8666d99e4c692e2782334"
            },
            "downloads": -1,
            "filename": "str2bool3-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a7b0279ab2b82f7a3760a1a85a1af05",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2997,
            "upload_time": "2023-10-17T22:14:02",
            "upload_time_iso_8601": "2023-10-17T22:14:02.010366Z",
            "url": "https://files.pythonhosted.org/packages/49/71/c1b426280347d0b10dec4c4275755c319fedf6c92324d12ae0d730102db3/str2bool3-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d7eba7278ca86e6e8fa9ffc681561ba8422301dd4ef3b1f3ce2f0bdb299f7e4",
                "md5": "6df64dcbc8c61eb71483ec9fb816cb3a",
                "sha256": "7ec7b97d1a4646f7e62a58a98052c1df3a6ed22cae18e8b44dd9529c2faf7e2d"
            },
            "downloads": -1,
            "filename": "str2bool3-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "6df64dcbc8c61eb71483ec9fb816cb3a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2850,
            "upload_time": "2023-10-17T22:14:03",
            "upload_time_iso_8601": "2023-10-17T22:14:03.502192Z",
            "url": "https://files.pythonhosted.org/packages/1d/7e/ba7278ca86e6e8fa9ffc681561ba8422301dd4ef3b1f3ce2f0bdb299f7e4/str2bool3-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-17 22:14:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sam-fakhreddine",
    "github_project": "str2bool3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "str2bool3"
}
        
Elapsed time: 0.18986s