strinpy


Namestrinpy JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/am230/strinpy
SummaryReact like string builder
upload_time2023-07-12 04:24:24
maintainer
docs_urlNone
authoram230
requires_python
licenseMIT Licence
keywords string
VCS
bugtrack_url
requirements jsbeautifier strbuilder
Travis-CI No Travis.
coveralls test coverage No coveralls.
            React like string builder
=========================

.. image:: https://img.shields.io/github/license/mashape/apistatus.svg
   :target: http://opensource.org/licenses/MIT
.. image:: https://badge.fury.io/py/strinpy.svg
    :target: https://badge.fury.io/py/strinpy

Usage
-----

.. code:: python

    import strinpy

    condition = True
    output = strinpy.build([
        'text',
        condition and 'condition text',
        condition and ['condition text list'],
        condition and (lambda: 'supplier text'),
        [
            'text list',
            [
                'in text list'
            ]
        ]
    ])
    print(output)
    """
    text
    condition text     
    condition text list
    supplier text      
    text list
    in text list
    """

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/am230/strinpy",
    "name": "strinpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "string",
    "author": "am230",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/fd/96/307e29b9bef2ef773be6e9fa00dfd25ee2e02ebb07309cf74fbb7ed9990a/strinpy-0.0.4.tar.gz",
    "platform": "any",
    "description": "React like string builder\n=========================\n\n.. image:: https://img.shields.io/github/license/mashape/apistatus.svg\n   :target: http://opensource.org/licenses/MIT\n.. image:: https://badge.fury.io/py/strinpy.svg\n    :target: https://badge.fury.io/py/strinpy\n\nUsage\n-----\n\n.. code:: python\n\n    import strinpy\n\n    condition = True\n    output = strinpy.build([\n        'text',\n        condition and 'condition text',\n        condition and ['condition text list'],\n        condition and (lambda: 'supplier text'),\n        [\n            'text list',\n            [\n                'in text list'\n            ]\n        ]\n    ])\n    print(output)\n    \"\"\"\n    text\n    condition text     \n    condition text list\n    supplier text      \n    text list\n    in text list\n    \"\"\"\n",
    "bugtrack_url": null,
    "license": "MIT Licence",
    "summary": "React like string builder",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/am230/strinpy"
    },
    "split_keywords": [
        "string"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fd96307e29b9bef2ef773be6e9fa00dfd25ee2e02ebb07309cf74fbb7ed9990a",
                "md5": "29182461e4893881af4e7743c152c0c8",
                "sha256": "b7cb8897b67c745a545b3bc2e18b34336632b8c6169e36e254b3ccbafba189ac"
            },
            "downloads": -1,
            "filename": "strinpy-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "29182461e4893881af4e7743c152c0c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2724,
            "upload_time": "2023-07-12T04:24:24",
            "upload_time_iso_8601": "2023-07-12T04:24:24.614325Z",
            "url": "https://files.pythonhosted.org/packages/fd/96/307e29b9bef2ef773be6e9fa00dfd25ee2e02ebb07309cf74fbb7ed9990a/strinpy-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-12 04:24:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "am230",
    "github_project": "strinpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "jsbeautifier",
            "specs": []
        },
        {
            "name": "strbuilder",
            "specs": []
        }
    ],
    "lcname": "strinpy"
}
        
Elapsed time: 0.28420s