medpro


Namemedpro JSON
Version 1.0.14 PyPI version JSON
download
home_pagehttps://github.com/ldallolio/medpro
SummaryMedcoupling based post processing tools
upload_time2024-03-17 13:15:01
maintainer
docs_urlNone
authorLuca Dall Olio
requires_python
licenseMIT
keywords medpro medcoupling
VCS
bugtrack_url
requirements medcoupling numpy
Travis-CI
coveralls test coverage
            MEDPro (MED post PROcessing)
============================

[![image](https://codecov.io/gh/ldallolio/medpro/branch/main/graph/badge.svg)](https://codecov.io/gh/ldallolio/medpro)

Medcoupling based post processing tools

This project has been created to simplify the manipulation of
[MED](https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/med-file.html)
files.

Code examples:

    import medpro

    # Read a med file, extract mesh, field, group information
    fp = medpro.MEDFilePost("./tests/examples/box_with_depl.rmed")
    mesh = fp.meshes_by_name["mesh"]
    g1 = mesh.get_group_by_name("G1")
    depl_evol = fp.fieldevols_by_name["reslin__DEPL"]

    # Extract a subpart of a field based on a group 
    depl_g1 = depl_evol.extract_group("G1")

    # Create a new MED file, write it back
    fpnew = medpro.MEDFilePost()
    fpnew.add_fieldevol(depl_g1)
    fpnew.write("/tmp/output.rmed")

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ldallolio/medpro",
    "name": "medpro",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "medpro,medcoupling",
    "author": "Luca Dall Olio",
    "author_email": "luca.dallolio@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d3/c8/360e2bf32c954a54999fdf7605b34c251b4a8679e6b48b818eb72c3f767a/medpro-1.0.14.tar.gz",
    "platform": null,
    "description": "MEDPro (MED post PROcessing)\n============================\n\n[![image](https://codecov.io/gh/ldallolio/medpro/branch/main/graph/badge.svg)](https://codecov.io/gh/ldallolio/medpro)\n\nMedcoupling based post processing tools\n\nThis project has been created to simplify the manipulation of\n[MED](https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/med-file.html)\nfiles.\n\nCode examples:\n\n    import medpro\n\n    # Read a med file, extract mesh, field, group information\n    fp = medpro.MEDFilePost(\"./tests/examples/box_with_depl.rmed\")\n    mesh = fp.meshes_by_name[\"mesh\"]\n    g1 = mesh.get_group_by_name(\"G1\")\n    depl_evol = fp.fieldevols_by_name[\"reslin__DEPL\"]\n\n    # Extract a subpart of a field based on a group \n    depl_g1 = depl_evol.extract_group(\"G1\")\n\n    # Create a new MED file, write it back\n    fpnew = medpro.MEDFilePost()\n    fpnew.add_fieldevol(depl_g1)\n    fpnew.write(\"/tmp/output.rmed\")\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Medcoupling based post processing tools",
    "version": "1.0.14",
    "project_urls": {
        "Homepage": "https://github.com/ldallolio/medpro"
    },
    "split_keywords": [
        "medpro",
        "medcoupling"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2810840afb8969b06e1d43f1790406fdfc8d25beb48bd1aea2c458cdfe82d358",
                "md5": "a620adbff2f8a11f0cbd647a4085f393",
                "sha256": "f5983cb7a61019af9c0d73f721ec560a9277ee2402ffe55d9c66b427f0387021"
            },
            "downloads": -1,
            "filename": "medpro-1.0.14-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a620adbff2f8a11f0cbd647a4085f393",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 9281,
            "upload_time": "2024-03-17T13:14:58",
            "upload_time_iso_8601": "2024-03-17T13:14:58.977028Z",
            "url": "https://files.pythonhosted.org/packages/28/10/840afb8969b06e1d43f1790406fdfc8d25beb48bd1aea2c458cdfe82d358/medpro-1.0.14-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3c8360e2bf32c954a54999fdf7605b34c251b4a8679e6b48b818eb72c3f767a",
                "md5": "db44756e8637fe6d4d6fc65e0241f3dd",
                "sha256": "2095330e86c30239e3219d5a78e028fd992a4588d999f97553d0193980fb64e9"
            },
            "downloads": -1,
            "filename": "medpro-1.0.14.tar.gz",
            "has_sig": false,
            "md5_digest": "db44756e8637fe6d4d6fc65e0241f3dd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 26679,
            "upload_time": "2024-03-17T13:15:01",
            "upload_time_iso_8601": "2024-03-17T13:15:01.212129Z",
            "url": "https://files.pythonhosted.org/packages/d3/c8/360e2bf32c954a54999fdf7605b34c251b4a8679e6b48b818eb72c3f767a/medpro-1.0.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 13:15:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ldallolio",
    "github_project": "medpro",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "circle": true,
    "appveyor": true,
    "requirements": [
        {
            "name": "medcoupling",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        }
    ],
    "lcname": "medpro"
}
        
Elapsed time: 0.43797s