{"id":21734630,"url":"https://github.com/ansys/pymaterials-manager","last_synced_at":"2025-03-21T00:19:00.402Z","repository":{"id":152540591,"uuid":"574887603","full_name":"ansys/pymaterials-manager","owner":"ansys","description":"Python package to unify material management across the Ansys portfolio","archived":false,"fork":false,"pushed_at":"2025-03-19T14:44:04.000Z","size":5740,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-20T05:55:56.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://manager.materials.docs.pyansys.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansys.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-12-06T09:45:26.000Z","updated_at":"2025-03-19T14:37:54.000Z","dependencies_parsed_at":"2023-09-26T14:04:43.802Z","dependency_job_id":"9b195e2b-43fc-4499-a5a9-99a2bb8433df","html_url":"https://github.com/ansys/pymaterials-manager","commit_stats":null,"previous_names":["pyansys/pymaterials-manager"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpymaterials-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpymaterials-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpymaterials-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansys%2Fpymaterials-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansys","download_url":"https://codeload.github.com/ansys/pymaterials-manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244712035,"owners_count":20497429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T05:09:51.247Z","updated_at":"2025-03-21T00:19:00.396Z","avatar_url":"https://github.com/ansys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PyMaterials Manager\n===================\n|pyansys| |python| |pypi| |GH-CI| |codecov| |MIT| |black|\n\n.. |pyansys| image:: https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC\n   :target: https://docs.pyansys.com/\n   :alt: PyAnsys\n\n.. |python| image:: https://img.shields.io/pypi/pyversions/ansys-materials-manager\n   :target: https://pypi.org/project/ansys-materials-manager/\n   :alt: Python\n\n.. |pypi| image:: https://img.shields.io/pypi/v/ansys-materials-manager.svg?logo=python\u0026logoColor=white\n   :target: https://pypi.org/project/ansys-materials-manager\n   :alt: PyPI\n\n.. |codecov| image:: https://codecov.io/gh/ansys/pymaterials-manager/branch/main/graph/badge.svg\n   :target: https://codecov.io/gh/ansys/pymaterials-manager\n   :alt: Codecov\n\n.. |GH-CI| image:: https://github.com/ansys/pymaterials-manager/actions/workflows/ci_cd.yml/badge.svg\n   :target: https://github.com/ansys/pymaterials-manager/actions/workflows/ci_cd.yml\n   :alt: GH-CI\n\n.. |MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n   :target: https://opensource.org/licenses/MIT\n   :alt: MIT\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=flat\n   :target: https://github.com/psf/black\n   :alt: Black\n\n\nPyMaterials Manager is a Python package for unifying material management across the Ansys portfolio.\n\nPyMaterials Manager is currently a proof of concept, expect things to break.\nIt currently provides the following features:\n\n- It defines a Material Object that can have different material models\n- The supported material models can be read from a running PyMAPDL instance\n- The supported material models can written to a running PyMAPDL / pyFluent instance\n- Some supported material models can be read from a MatML XML file\n- Some supported material models can be written to a MatML XML file\n\n\nThe following material models are supported:\n\n- pyMAPDL\n    - Simple constant material properties\n    - Piecewise linear material properties\n    - Polynomial material properties\n    - Anisotropic Elasticity\n\n- pyFluent\n    - Simple constant material properties\n    - Ideal Gas properties\n\n\nInstallation\n------------\nInstall the ``ansys-materials-manager`` package with this code:\n\n.. code::\n\n   pip install ansys-materials-manager\n\nAlternatively, clone and install this package with this code:\n\n.. code::\n\n   git clone https://github.com/ansys/pymaterials-manager\n   cd pymaterials-manager\n   pip install .\n\nTesting\n-------\n\nThis project takes advantage of `tox`_. This tool is used to automate common\ndevelopment tasks (similar to Makefile), but it is oriented towards Python\ndevelopment. \n\nUse ``tox``\n^^^^^^^^^^^\n\n`tox`_ uses environments, which are similar to ``Makefile`` rules, to make it highly\ncustomizable. In fact, this tool creates its own virtual environment so that anything\nbeing tested is isolated from the project to guarantee the project's integrity.\n\nDescriptions follow of some of the most widely used environments:\n\n- **tox -e style**: Checks the code style of your project.\n- **tox -e py**: Runs your test suite.\n- **tox -e doc**: Builds the documentation of your project.\n\n\nPerform raw testing\n^^^^^^^^^^^^^^^^^^^\n\nIf required, you can call style commands (such as `black`_, `isort`_,\nand `flake8`_) or unit testing commands (such as `pytest`_) from the command\nline. However, calling these commands does not guarantee that your project\nis being tested in an isolated environment, which is the reason why tools\nlike `tox`_ exist.\n\n\nUse pre-commit\n^^^^^^^^^^^^^^\n\nThe style checks take advantage of `pre-commit`_. Developers are not forced but\nencouraged to install this tool by running this command:\n\n.. code:: bash\n\n    python -m pip install pre-commit \u0026\u0026 pre-commit install\n\nEvery time you stage some changes and try to commit them,\n``pre-commit`` only allows them to be committed if all defined hooks succeed.\n\nDocumentation and issues\n------------------------\n\nFor comprehensive information on PyMaterials Manager, see the latest release `documentation`_.\nOn the `PyMaterials Manager Issues`_ page, you can create issues to submit questions,\nreport bugs, and request new features. This is the best place to post questions and code.\n\nDistribution\n------------\n\nIf you want to create either source or wheel files, start by installing poetry and then \nexecuting the build module. To install poetry you should use the ``pipx`` installation\nmethod in the `poetry documentation`_.\n\n.. code:: bash\n\n    poetry install\n    poetry build\n    twine check ./dist\n\n.. LINKS AND REFERENCES\n.. _black: https://github.com/psf/black\n.. _flake8: https://flake8.pycqa.org/en/latest/\n.. _isort: https://github.com/PyCQA/isort\n.. _pip: https://pypi.org/project/pip/\n.. _pre-commit: https://pre-commit.com/\n.. _PyAnsys Developer's Guide: https://dev.docs.pyansys.com/\n.. _pytest: https://docs.pytest.org/en/stable/\n.. _Sphinx: https://www.sphinx-doc.org/en/master/\n.. _tox: https://tox.wiki/\n.. _PyMaterials Manager Issues: https://github.com/ansys/pymaterials-manager/issues\n.. _documentation: https://manager.materials.docs.pyansys.com/\n.. _poetry documentation: https://python-poetry.org/docs/#installing-with-pipx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansys%2Fpymaterials-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansys%2Fpymaterials-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansys%2Fpymaterials-manager/lists"}