{ "info": { "author": "Gijs Kant", "author_email": "gijs@thehyve.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "=============================\nClaML reader\n=============================\n\n|Build status| |codecov|\n\n.. |Build status| image:: https://travis-ci.org/thehyve/python_claml.svg?branch=master\n :target: https://travis-ci.org/thehyve/python_claml/branches\n.. |codecov| image:: https://codecov.io/gh/thehyve/python_claml/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/thehyve/python_claml\n\nA ClaML reader for Python.\nGenerated from the ClaML.dtd file from the DIMDI_, using PyXB_.\n\n\nFeatures\n--------\n\nReads classification files in ClaML format (XML) into Python objects.\nSee ``_ for a usage example.\n\n\nResources\n---------\n- van der Haring EJ, Bro\u00ebnhorst S, ten Napel H, Weber S, Schopen M, Zanstra PE. `ClaML: a standard for the electronic publication of classification coding schemes`_\n- `ISO 13120:2013`_ Health informatics -- Syntax to represent the content of healthcare classification systems -- Classification Markup Language (ClaML),\n now superseded by `ISO 13120:2019`_.\n- DIMDI_ (Deutsche Institut f\u00fcr Medizinische Dokumentation und Information) `ICD-10-GM`_ download: icd10gm2019syst-claml.zip_\n\n.. _`ISO 13120:2013`: https://www.iso.org/standard/52952.html\n.. _`ISO 13120:2019`: https://www.iso.org/standard/69318.html\n.. _`ClaML: a standard for the electronic publication of classification coding schemes`: https://www.ncbi.nlm.nih.gov/pubmed/17108612\n.. _DIMDI: https://www.dimdi.de\n.. _`ICD-10-GM`: https://www.dimdi.de/dynamic/de/klassifikationen/downloads/?dir=icd-10-gm\n.. _icd10gm2019syst-claml.zip: https://www.dimdi.de/dynamic/.downloads/klassifikationen/icd-10-gm/version2019/icd10gm2019syst-claml.zip\n\n.. _PyXB: http://pyxb.sourceforge.net\n\n\nUsage\n-----\n\nTo use ClaML reader in a project:\n\n.. code-block:: python\n\n import python_claml\n\n\nExample\n^^^^^^^\n\nRead and parse the contents of a ClaML file and print all class codes:\n\n.. code-block:: python\n\n with open(file_name, 'r') as input_file:\n # Read file contents\n contents = input_file.read()\n # Parse ClaML document\n classification: ClaML = claml.CreateFromDocument(contents)\n for cls in classification.Class:\n print(cls.code)\n\n\nDevelopment\n-----------\n\nThe code was generated using the following commands:\n\n.. code-block:: bash\n\n pyxbgen --schema-root=../resources -u ClaML.xsd -m python_claml.claml\n\n\nInstall\n^^^^^^^\n\nFrom the package index:\n\n.. code-block:: bash\n\n pip install python-claml\n\nor from source:\n\n.. code-block:: bash\n\n git clone https://github.com/thehyve/python_claml.git\n cd python_claml\n pip install .\n\n\nTest\n^^^^\n\n.. code-block:: bash\n\n python setup.py test\n\n\nLicense\n-------\n\nCopyright (c) 2019 The Hyve B.V.\n\nThe ClaML reader is licensed under the MIT License. See the file ``_.\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thehyve/python_claml", "keywords": "python_claml", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-claml", "package_url": "https://pypi.org/project/python-claml/", "platform": "", "project_url": "https://pypi.org/project/python-claml/", "project_urls": { "Homepage": "https://github.com/thehyve/python_claml" }, "release_url": "https://pypi.org/project/python-claml/0.1.0/", "requires_dist": [ "wheel (>=0.22)", "pyxb (>=1.2.6)" ], "requires_python": ">=3.6.0", "summary": "A ClaML reader for Python.", "version": "0.1.0" }, "last_serial": 5451902, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fbc246ca3ab9ee75bc19fa45a2d31a3b", "sha256": "134f198fe796d3073475ab5bda1242245a66126056944c032ee030446966bf32" }, "downloads": -1, "filename": "python_claml-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fbc246ca3ab9ee75bc19fa45a2d31a3b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 18459, "upload_time": "2019-05-10T14:55:43", "url": "https://files.pythonhosted.org/packages/a2/ba/02f2e0bcb92896374d77ad8686a7b2e967ce6415c1d952330c4db0c123d0/python_claml-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa42103fef94c3e979853a8bfccc705e", "sha256": "940cf77daa9f8c0ea6157199b28740a1047315b769d08f91ef382cccd09509be" }, "downloads": -1, "filename": "python_claml-0.1.0.tar.gz", "has_sig": false, "md5_digest": "aa42103fef94c3e979853a8bfccc705e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 19210, "upload_time": "2019-05-10T14:55:45", "url": "https://files.pythonhosted.org/packages/4a/9f/c99557ae680a4da9a432b4df2c3ee1e1af2b6dad8794945963cde0e594f7/python_claml-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fbc246ca3ab9ee75bc19fa45a2d31a3b", "sha256": "134f198fe796d3073475ab5bda1242245a66126056944c032ee030446966bf32" }, "downloads": -1, "filename": "python_claml-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fbc246ca3ab9ee75bc19fa45a2d31a3b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 18459, "upload_time": "2019-05-10T14:55:43", "url": "https://files.pythonhosted.org/packages/a2/ba/02f2e0bcb92896374d77ad8686a7b2e967ce6415c1d952330c4db0c123d0/python_claml-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa42103fef94c3e979853a8bfccc705e", "sha256": "940cf77daa9f8c0ea6157199b28740a1047315b769d08f91ef382cccd09509be" }, "downloads": -1, "filename": "python_claml-0.1.0.tar.gz", "has_sig": false, "md5_digest": "aa42103fef94c3e979853a8bfccc705e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 19210, "upload_time": "2019-05-10T14:55:45", "url": "https://files.pythonhosted.org/packages/4a/9f/c99557ae680a4da9a432b4df2c3ee1e1af2b6dad8794945963cde0e594f7/python_claml-0.1.0.tar.gz" } ] }