yors_pano_argv_parse


Nameyors_pano_argv_parse JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/ymc-github/panz/blob/main/packages/yors_pano_argv_parse/README.md
Summaryparse argv-like args in python
upload_time2024-12-24 02:04:50
maintainerNone
docs_urlNone
authoryemiancheng
requires_python<4.0,>=3.10
licenseLICENSE
keywords artist panz mono yors_pano_argv_parse
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- inject desc here -->
<!-- inject-desc -->

parse argv-like args in python

## Features

<!-- inject feat here -->

- feat(core): parse stro or stra to nano

## Usage

```bash
pip install yors_pano_argv_parse
```

## Demo

<!-- inject demo here -->

```py
# # from main import nanoargs
from yors_pano_argv_parse import nanoargs
if __name__ == "__main__":
    import sys
    if len(sys.argv) > 1:
        input_data = sys.argv[1:] if len(sys.argv) > 2 else sys.argv[1]
        parsed = nanoargs(input_data)
        print(f"Parsed argv: {parsed.argv}")
        print(f"Parsed flags: {parsed.flags}")
        print(f"Parsed extras: {parsed.extras}")
    else:
        print("Please provide command line arguments to parse.")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ymc-github/panz/blob/main/packages/yors_pano_argv_parse/README.md",
    "name": "yors_pano_argv_parse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "artist, panz, mono, yors_pano_argv_parse",
    "author": "yemiancheng",
    "author_email": "ymc.github@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/15/3b/1ac0c8f4baf2b9590c467856ad3cd37ba2d9b5dee1c5cceafbc284c1af33/yors_pano_argv_parse-0.1.0.tar.gz",
    "platform": null,
    "description": "<!-- inject desc here -->\n<!-- inject-desc -->\n\nparse argv-like args in python\n\n## Features\n\n<!-- inject feat here -->\n\n- feat(core): parse stro or stra to nano\n\n## Usage\n\n```bash\npip install yors_pano_argv_parse\n```\n\n## Demo\n\n<!-- inject demo here -->\n\n```py\n# # from main import nanoargs\nfrom yors_pano_argv_parse import nanoargs\nif __name__ == \"__main__\":\n    import sys\n    if len(sys.argv) > 1:\n        input_data = sys.argv[1:] if len(sys.argv) > 2 else sys.argv[1]\n        parsed = nanoargs(input_data)\n        print(f\"Parsed argv: {parsed.argv}\")\n        print(f\"Parsed flags: {parsed.flags}\")\n        print(f\"Parsed extras: {parsed.extras}\")\n    else:\n        print(\"Please provide command line arguments to parse.\")\n```\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": "parse argv-like args in python",
    "version": "0.1.0",
    "project_urls": {
        "Documentation": "https://github.com/ymc-github/panz/blob/main/packages/yors_pano_argv_parse/README.md",
        "Homepage": "https://github.com/ymc-github/panz/blob/main/packages/yors_pano_argv_parse/README.md",
        "Repository": "https://github.com/ymc-github/panz.git",
        "changelog": "https://github.com/ymc-github/panz/blob/main/packages/yors_pano_argv_parse/CHANGELOG.md"
    },
    "split_keywords": [
        "artist",
        " panz",
        " mono",
        " yors_pano_argv_parse"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d62493f9ea64437defa2cae2cf2dd6b5dec8f6402099f259448e38947961f844",
                "md5": "c8cce4afde7277e657019759795b9b4e",
                "sha256": "262646c25e1935a2c76655d2aa17e36970af63c7937ae0b66d4614192847085e"
            },
            "downloads": -1,
            "filename": "yors_pano_argv_parse-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c8cce4afde7277e657019759795b9b4e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 3825,
            "upload_time": "2024-12-24T02:04:49",
            "upload_time_iso_8601": "2024-12-24T02:04:49.200199Z",
            "url": "https://files.pythonhosted.org/packages/d6/24/93f9ea64437defa2cae2cf2dd6b5dec8f6402099f259448e38947961f844/yors_pano_argv_parse-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "153b1ac0c8f4baf2b9590c467856ad3cd37ba2d9b5dee1c5cceafbc284c1af33",
                "md5": "a7a60f50335ab02dff10366abf172587",
                "sha256": "41d61e2a07331b482958dc1840db59599319183f194dc727778095077d1fc445"
            },
            "downloads": -1,
            "filename": "yors_pano_argv_parse-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a7a60f50335ab02dff10366abf172587",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 3147,
            "upload_time": "2024-12-24T02:04:50",
            "upload_time_iso_8601": "2024-12-24T02:04:50.643884Z",
            "url": "https://files.pythonhosted.org/packages/15/3b/1ac0c8f4baf2b9590c467856ad3cd37ba2d9b5dee1c5cceafbc284c1af33/yors_pano_argv_parse-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-24 02:04:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ymc-github",
    "github_project": "panz",
    "github_not_found": true,
    "lcname": "yors_pano_argv_parse"
}
        
Elapsed time: 1.28847s