xmlpydict-parser


Namexmlpydict-parser JSON
Version 0.0.6 PyPI version JSON
download
home_page
Summaryxml to dictionary tool for python
upload_time2023-09-09 18:16:09
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords xml dictionary
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # xmlpydict 📑

[![XML Tests](https://github.com/MatthewAndreTaylor/xml-to-pydict/actions/workflows/tests.yml/badge.svg)](https://github.com/MatthewAndreTaylor/xml-to-pydict/actions/workflows/tests.yml)
[![PyPI versions](https://img.shields.io/badge/python-3.7%2B-blue)](https://github.com/MatthewAndreTaylor/xml-to-pydict)

## Requirements

- `python 3.7+`

## Installation

To install xmlpydict, using pip:

```bash
pip install xmlpydict
```

## Quickstart

```py
>>> from xmlpydict import parse
>>> parse("<package><xmlpydict language='python'/></package>")
{'package': {'xmlpydict': {'@language': 'python'}}}
>>> parse("<person name='Matthew'>Hello!</person>")
{'person': {'@name': 'Matthew', '#text': 'Hello!'}}
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "xmlpydict-parser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "xml,dictionary",
    "author": "",
    "author_email": "Matthew Taylor <matthew.taylor.andre@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/93/9e/1cec4fadb9e93412e9bc6b50e7a923409ad8d95b92edfcb684ab84d4012c/xmlpydict_parser-0.0.6.tar.gz",
    "platform": null,
    "description": "# xmlpydict \ud83d\udcd1\n\n[![XML Tests](https://github.com/MatthewAndreTaylor/xml-to-pydict/actions/workflows/tests.yml/badge.svg)](https://github.com/MatthewAndreTaylor/xml-to-pydict/actions/workflows/tests.yml)\n[![PyPI versions](https://img.shields.io/badge/python-3.7%2B-blue)](https://github.com/MatthewAndreTaylor/xml-to-pydict)\n\n## Requirements\n\n- `python 3.7+`\n\n## Installation\n\nTo install xmlpydict, using pip:\n\n```bash\npip install xmlpydict\n```\n\n## Quickstart\n\n```py\n>>> from xmlpydict import parse\n>>> parse(\"<package><xmlpydict language='python'/></package>\")\n{'package': {'xmlpydict': {'@language': 'python'}}}\n>>> parse(\"<person name='Matthew'>Hello!</person>\")\n{'person': {'@name': 'Matthew', '#text': 'Hello!'}}\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "xml to dictionary tool for python",
    "version": "0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/MatthewAndreTaylor/xml-to-pydict"
    },
    "split_keywords": [
        "xml",
        "dictionary"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e8be9a955fdd07c4f1a3defc82ef34d29b3efd4d3a972ddcfd3e5dda3a19b86f",
                "md5": "6e4faa50645812f5fe34d4933e75e745",
                "sha256": "4f9d13c9cad8d20317025b2d30f1743ef60e0512fec9980812bc11fea3a6b9b5"
            },
            "downloads": -1,
            "filename": "xmlpydict_parser-0.0.6-cp310-cp310-manylinux_2_34_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6e4faa50645812f5fe34d4933e75e745",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 123779,
            "upload_time": "2023-09-09T18:16:07",
            "upload_time_iso_8601": "2023-09-09T18:16:07.817606Z",
            "url": "https://files.pythonhosted.org/packages/e8/be/9a955fdd07c4f1a3defc82ef34d29b3efd4d3a972ddcfd3e5dda3a19b86f/xmlpydict_parser-0.0.6-cp310-cp310-manylinux_2_34_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "939e1cec4fadb9e93412e9bc6b50e7a923409ad8d95b92edfcb684ab84d4012c",
                "md5": "1d46fa8a2452f99e71ba1ebfd7bf745b",
                "sha256": "6b8eea0bf1fd52299c85ce21056f8e11c70a1d9c498eefc1951b4546027bfdaf"
            },
            "downloads": -1,
            "filename": "xmlpydict_parser-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "1d46fa8a2452f99e71ba1ebfd7bf745b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5734,
            "upload_time": "2023-09-09T18:16:09",
            "upload_time_iso_8601": "2023-09-09T18:16:09.051764Z",
            "url": "https://files.pythonhosted.org/packages/93/9e/1cec4fadb9e93412e9bc6b50e7a923409ad8d95b92edfcb684ab84d4012c/xmlpydict_parser-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-09 18:16:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MatthewAndreTaylor",
    "github_project": "xml-to-pydict",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "xmlpydict-parser"
}
        
Elapsed time: 0.10962s