partial_fstring


Namepartial_fstring JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/partial_fstring
SummaryPython fstring-based template interpolation.
upload_time2025-02-19 07:43:07
maintainerNone
docs_urlNone
authorChenyangGao
requires_python<4.0,>=3.10
licenseMIT
keywords fstring template
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python fstring-based template interpolation.

## Installation

You can install from [pypi](https://pypi.org/project/partial_fstring/)

```console
pip install -U partial_fstring
```

## Usage

```python
from partial_fstring import parse, render

block = parse("<{a}>{b}")
block.render({"b": 1}) # get '1'

# OR
render("<{a}>{b}", {"b": 1})
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/partial_fstring",
    "name": "partial_fstring",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "fstring, template",
    "author": "ChenyangGao",
    "author_email": "wosiwujm@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/17/4d/41e944b0cb9830bb6aa38bc764f7e4f04feeaef9c4ca3046735d3bc6b2c6/partial_fstring-0.0.1.tar.gz",
    "platform": null,
    "description": "# Python fstring-based template interpolation.\n\n## Installation\n\nYou can install from [pypi](https://pypi.org/project/partial_fstring/)\n\n```console\npip install -U partial_fstring\n```\n\n## Usage\n\n```python\nfrom partial_fstring import parse, render\n\nblock = parse(\"<{a}>{b}\")\nblock.render({\"b\": 1}) # get '1'\n\n# OR\nrender(\"<{a}>{b}\", {\"b\": 1})\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python fstring-based template interpolation.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/partial_fstring",
        "Repository": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/partial_fstring"
    },
    "split_keywords": [
        "fstring",
        " template"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "91877a3f348522ef94115a17867d5f13e8a20429d9204de1be419551206fad08",
                "md5": "c986d8c3bc004130d1e258191c3b42af",
                "sha256": "3a93107e8b29870612ade62e3515f8358fac7ca8380282ba5aaca6765c65aa98"
            },
            "downloads": -1,
            "filename": "partial_fstring-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c986d8c3bc004130d1e258191c3b42af",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 5808,
            "upload_time": "2025-02-19T07:43:05",
            "upload_time_iso_8601": "2025-02-19T07:43:05.652672Z",
            "url": "https://files.pythonhosted.org/packages/91/87/7a3f348522ef94115a17867d5f13e8a20429d9204de1be419551206fad08/partial_fstring-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "174d41e944b0cb9830bb6aa38bc764f7e4f04feeaef9c4ca3046735d3bc6b2c6",
                "md5": "8618a93419f78d501bf3126f734ddba2",
                "sha256": "b64f4d40920232e877f9524fe93caec3ecd5217513863bbdc907179e37069289"
            },
            "downloads": -1,
            "filename": "partial_fstring-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8618a93419f78d501bf3126f734ddba2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 4484,
            "upload_time": "2025-02-19T07:43:07",
            "upload_time_iso_8601": "2025-02-19T07:43:07.946412Z",
            "url": "https://files.pythonhosted.org/packages/17/4d/41e944b0cb9830bb6aa38bc764f7e4f04feeaef9c4ca3046735d3bc6b2c6/partial_fstring-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-19 07:43:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ChenyangGao",
    "github_project": "web-mount-packs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "partial_fstring"
}
        
Elapsed time: 2.09677s