pyargman


Namepyargman JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummaryA Python module like argumentparser for managing comandline arguments,
upload_time2025-08-01 17:22:11
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords cli arguments manager alternative
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyargman

**pyargman** is a lightweight Python module for managing command-line arguments,


## Features

- **Simple API** for building command-line arguments
- **Supports duplicate and boolean arguments**
- **Easy conversion to CLI list or string format**

## Installation

Install pyargman using pip:

```bash
pip install pyargman
```
install from github

```
git clone https://github.com/its-me-abi/pyargman.git
cd pyargman
```

## Quick Start

Below is an example demonstrating how to use pyargman to manage and convert CLI arguments:

```python
from pyargman import ArgManager

# Initialize argument manager for a CLI command (e.g., "java")
a = ArgManager("java")

# Add arguments
a.set_arg("--helo_duplicate", 1)
a.set_arg("--helo_duplicate", 2)  # Supports duplicate arguments
a.set_arg("--helo_boolean_value", True)  # Argument without a value
a.set_arg("script_path_like", True)

# Convert arguments to list and string formats
print("Converted to CLI list:", a.tolist())
print("Converted to CLI string:", a.toString())
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Author

Developed and maintained by [its-me-abi](https://github.com/its-me-abi).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyargman",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "cli, arguments, manager, alternative",
    "author": null,
    "author_email": "keralaboy <keralaboypypi@keralaboy.anonaddy.com>",
    "download_url": "https://files.pythonhosted.org/packages/36/d5/2e2042d4aab88707ee57fa11c26e35b0e7369213bde4bb577a6aee19330e/pyargman-0.0.2.tar.gz",
    "platform": null,
    "description": "# pyargman\r\n\r\n**pyargman** is a lightweight Python module for managing command-line arguments,\r\n\r\n\r\n## Features\r\n\r\n- **Simple API** for building command-line arguments\r\n- **Supports duplicate and boolean arguments**\r\n- **Easy conversion to CLI list or string format**\r\n\r\n## Installation\r\n\r\nInstall pyargman using pip:\r\n\r\n```bash\r\npip install pyargman\r\n```\r\ninstall from github\r\n\r\n```\r\ngit clone https://github.com/its-me-abi/pyargman.git\r\ncd pyargman\r\n```\r\n\r\n## Quick Start\r\n\r\nBelow is an example demonstrating how to use pyargman to manage and convert CLI arguments:\r\n\r\n```python\r\nfrom pyargman import ArgManager\r\n\r\n# Initialize argument manager for a CLI command (e.g., \"java\")\r\na = ArgManager(\"java\")\r\n\r\n# Add arguments\r\na.set_arg(\"--helo_duplicate\", 1)\r\na.set_arg(\"--helo_duplicate\", 2)  # Supports duplicate arguments\r\na.set_arg(\"--helo_boolean_value\", True)  # Argument without a value\r\na.set_arg(\"script_path_like\", True)\r\n\r\n# Convert arguments to list and string formats\r\nprint(\"Converted to CLI list:\", a.tolist())\r\nprint(\"Converted to CLI string:\", a.toString())\r\n```\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\r\n\r\n## Author\r\n\r\nDeveloped and maintained by [its-me-abi](https://github.com/its-me-abi).\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python module like argumentparser for managing comandline  arguments,",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/its-me-abi/pyargman"
    },
    "split_keywords": [
        "cli",
        " arguments",
        " manager",
        " alternative"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "63c6e051226933ad792b9b49863dd738875f18ad523cb32519368d1713a64fae",
                "md5": "9b7d89d0a8d337d90eaa369b0ff3851b",
                "sha256": "e52a413b58fb378cc0a699c211120884ff1dc7f33a15f247d734fe9939547e8f"
            },
            "downloads": -1,
            "filename": "pyargman-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9b7d89d0a8d337d90eaa369b0ff3851b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3364,
            "upload_time": "2025-08-01T17:22:10",
            "upload_time_iso_8601": "2025-08-01T17:22:10.421023Z",
            "url": "https://files.pythonhosted.org/packages/63/c6/e051226933ad792b9b49863dd738875f18ad523cb32519368d1713a64fae/pyargman-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "36d52e2042d4aab88707ee57fa11c26e35b0e7369213bde4bb577a6aee19330e",
                "md5": "66dbdacac286ed05c64ab16f492df8e6",
                "sha256": "e87e71b36ffd1cc210b2ea0de9bc17779b4a88dc2d6d255e8ff637ee2d15433d"
            },
            "downloads": -1,
            "filename": "pyargman-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "66dbdacac286ed05c64ab16f492df8e6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3032,
            "upload_time": "2025-08-01T17:22:11",
            "upload_time_iso_8601": "2025-08-01T17:22:11.554788Z",
            "url": "https://files.pythonhosted.org/packages/36/d5/2e2042d4aab88707ee57fa11c26e35b0e7369213bde4bb577a6aee19330e/pyargman-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 17:22:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "its-me-abi",
    "github_project": "pyargman",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyargman"
}
        
Elapsed time: 2.64722s