argvsucks


Nameargvsucks JSON
Version 0.230725.7 PyPI version JSON
download
home_page
Summary
upload_time2023-10-15 19:15:02
maintainer
docs_urlNone
authordavips
requires_python>=3.7,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![test](https://github.com/argvsucks/argvsucks/workflows/test/badge.svg)
[![codecov](https://codecov.io/gh/argvsucks/argvsucks/branch/main/graph/badge.svg)](https://codecov.io/gh/argvsucks/argvsucks)
<a href="https://pypi.org/project/argvsucks">
<img src="https://img.shields.io/pypi/v/argvsucks.svg?label=release&color=blue&style=flat-square" alt="pypi">
</a>
![Python version](https://img.shields.io/badge/python-3.7+-blue.svg)
[![license: GPL v3](https://img.shields.io/badge/License-MIT-blue.svg)](https://en.wikipedia.org/wiki/MIT_License)

[![API documentation](https://img.shields.io/badge/API-autogenerated-a030a0.svg)](https://argvsucks.github.io/argvsucks)
[![Downloads](https://static.pepy.tech/badge/argvsucks)](https://pepy.tech/project/argvsucks)
![PyPI - Downloads](https://img.shields.io/pypi/dm/argvsucks)

# argvsucks { argv to dict }
[Latest Release](https://pypi.org/project/argvsucks) |
[Current Code](https://github.com/argvsucks/argvsucks) |
[API Documentation](https://argvsucks.github.io/argvsucks)

## Installation
### ...as a standalone lib
```bash
# Set up a virtualenv. 
python3 -m venv venv
source venv/bin/activate

# Install from PyPI...
pip install --upgrade pip
pip install -U argvsucks

# ...or, install from updated source code.
pip install git+https://github.com/argvsucks/argvsucks
```

### ...from source
```bash
git clone https://github.com/argvsucks/argvsucks
cd argvsucks
poetry install
```

## Examples

**Usage**
<details>
<p>

```python3
from argvsucks import handle_command_line

dct = handle_command_line(["program ยทยทยท", "start", "end=0", "finish", "n=5", "name=Foo", "lst=a,b,c"], n=int, start=False, end=bool, lst=list)
print(dct)
"""
{'start': True, 'end': False, 'finish': True, 'n': 5, 'name': 'Foo', 'lst': ['a', 'b', 'c']}
"""
```


</p>
</details>


### Versioning
While the version scheme has a meaningful calendar component (`minor=yymmdd`), it is still compatible with semantic versioning.
For instance, the version `0.230215.1` means `major=0`, `minor=230215`, `micro/patch=1`. Notes:
 * While `major=0`, some compatibility-breaking changes may occur.
 * From `major=1` onwards, compatibility-breaking changes increment it, and update the minor version to reflect the release date.
 * New (non breaking) features update only the minor version to reflect the release date.
 * Bug fixes (including compatibility-breaking ones) increment only the micro version.

### Contributing
#### Donation
Currently there are no established forms of donation.
Expenses:
  * Programming hours
  * Support
  * Custom features
  * Domain name maintenance yearly costs

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "argvsucks",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "davips",
    "author_email": "dpsabc@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4f/0d/37984cc454ff77b2c3ef574763ab1edcb253d69cfcc3461a1d7828733657/argvsucks-0.230725.7.tar.gz",
    "platform": null,
    "description": "![test](https://github.com/argvsucks/argvsucks/workflows/test/badge.svg)\n[![codecov](https://codecov.io/gh/argvsucks/argvsucks/branch/main/graph/badge.svg)](https://codecov.io/gh/argvsucks/argvsucks)\n<a href=\"https://pypi.org/project/argvsucks\">\n<img src=\"https://img.shields.io/pypi/v/argvsucks.svg?label=release&color=blue&style=flat-square\" alt=\"pypi\">\n</a>\n![Python version](https://img.shields.io/badge/python-3.7+-blue.svg)\n[![license: GPL v3](https://img.shields.io/badge/License-MIT-blue.svg)](https://en.wikipedia.org/wiki/MIT_License)\n\n[![API documentation](https://img.shields.io/badge/API-autogenerated-a030a0.svg)](https://argvsucks.github.io/argvsucks)\n[![Downloads](https://static.pepy.tech/badge/argvsucks)](https://pepy.tech/project/argvsucks)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/argvsucks)\n\n# argvsucks { argv to dict }\n[Latest Release](https://pypi.org/project/argvsucks) |\n[Current Code](https://github.com/argvsucks/argvsucks) |\n[API Documentation](https://argvsucks.github.io/argvsucks)\n\n## Installation\n### ...as a standalone lib\n```bash\n# Set up a virtualenv. \npython3 -m venv venv\nsource venv/bin/activate\n\n# Install from PyPI...\npip install --upgrade pip\npip install -U argvsucks\n\n# ...or, install from updated source code.\npip install git+https://github.com/argvsucks/argvsucks\n```\n\n### ...from source\n```bash\ngit clone https://github.com/argvsucks/argvsucks\ncd argvsucks\npoetry install\n```\n\n## Examples\n\n**Usage**\n<details>\n<p>\n\n```python3\nfrom argvsucks import handle_command_line\n\ndct = handle_command_line([\"program \u00b7\u00b7\u00b7\", \"start\", \"end=0\", \"finish\", \"n=5\", \"name=Foo\", \"lst=a,b,c\"], n=int, start=False, end=bool, lst=list)\nprint(dct)\n\"\"\"\n{'start': True, 'end': False, 'finish': True, 'n': 5, 'name': 'Foo', 'lst': ['a', 'b', 'c']}\n\"\"\"\n```\n\n\n</p>\n</details>\n\n\n### Versioning\nWhile the version scheme has a meaningful calendar component (`minor=yymmdd`), it is still compatible with semantic versioning.\nFor instance, the version `0.230215.1` means `major=0`, `minor=230215`, `micro/patch=1`. Notes:\n * While `major=0`, some compatibility-breaking changes may occur.\n * From `major=1` onwards, compatibility-breaking changes increment it, and update the minor version to reflect the release date.\n * New (non breaking) features update only the minor version to reflect the release date.\n * Bug fixes (including compatibility-breaking ones) increment only the micro version.\n\n### Contributing\n#### Donation\nCurrently there are no established forms of donation.\nExpenses:\n  * Programming hours\n  * Support\n  * Custom features\n  * Domain name maintenance yearly costs\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.230725.7",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e91e7573b31b1e37007f2f249c2a02ad6b726fc227e99b11aa89bb2e3825913",
                "md5": "c627c7df643e8e547ec20fc9d577cf2f",
                "sha256": "1d0d431301cd8f97ae18b0d6a27ca453247686d263d3cc38ebf753324365adf3"
            },
            "downloads": -1,
            "filename": "argvsucks-0.230725.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c627c7df643e8e547ec20fc9d577cf2f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 3589,
            "upload_time": "2023-10-15T19:15:00",
            "upload_time_iso_8601": "2023-10-15T19:15:00.773698Z",
            "url": "https://files.pythonhosted.org/packages/7e/91/e7573b31b1e37007f2f249c2a02ad6b726fc227e99b11aa89bb2e3825913/argvsucks-0.230725.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f0d37984cc454ff77b2c3ef574763ab1edcb253d69cfcc3461a1d7828733657",
                "md5": "61c91e865af5ab43631a42a3e678a030",
                "sha256": "8af130f115172f58382eca22fc2ea27929162d72640f854f2c41225fb61c886a"
            },
            "downloads": -1,
            "filename": "argvsucks-0.230725.7.tar.gz",
            "has_sig": false,
            "md5_digest": "61c91e865af5ab43631a42a3e678a030",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 3024,
            "upload_time": "2023-10-15T19:15:02",
            "upload_time_iso_8601": "2023-10-15T19:15:02.679253Z",
            "url": "https://files.pythonhosted.org/packages/4f/0d/37984cc454ff77b2c3ef574763ab1edcb253d69cfcc3461a1d7828733657/argvsucks-0.230725.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-15 19:15:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "argvsucks"
}
        
Elapsed time: 0.12080s