sigmaepsilon.solid.material


Namesigmaepsilon.solid.material JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/sigma-epsilon/sigmaepsilon.solid.material
SummaryMaterial models for solid structures in Python.
upload_time2024-04-25 17:19:06
maintainerBence Balogh
docs_urlNone
authorBence Balogh
requires_python<3.12,>=3.10
licenseMIT
keywords engineering mechanics solid mechanics python numerical methods material models material properties material testing material characterization material science
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # **SigmaEpsilon.Solid.Material** - Classes and algorithms for solids in Python

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/sigma-epsilon/sigmaepsilon.solid.material/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/sigma-epsilon/sigmaepsilon.solid.material/tree/main)
[![codecov](https://codecov.io/gh/sigma-epsilon/sigmaepsilon.solid.material/graph/badge.svg?token=7JKJ3HHSX3)](https://codecov.io/gh/sigma-epsilon/sigmaepsilon.solid.material)
[![Documentation Status](https://readthedocs.org/projects/sigmaepsilonsolidmaterial/badge/?version=latest)](https://sigmaepsilonsolidmaterial.readthedocs.io/en/latest/?badge=latest)
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://badge.fury.io/py/sigmaepsilon.solid.material.svg)](https://pypi.org/project/sigmaepsilon.solid.material)
[![Python](https://img.shields.io/badge/python-3.10%E2%80%923.11-blue)](https://www.python.org)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Requirements Status](https://dependency-dash.repo-helper.uk/github/sigma-epsilon/sigmaepsilon.solid.material/badge.svg)](https://dependency-dash.repo-helper.uk/github/sigma-epsilon/sigmaepsilon.solid.material)

> **Note**
> Here and there, implementation of the performance critical parts of the library rely on the JIT-compilation capabilities of Numba. This means that the library performs well even for large scale problems, on the expense of a longer first call.

## What is sigmaepsilon.solid.material?

It is part of the `sigmaepsilon.solid` namespace, a set of namespace pacakes dedicated to different areas of solid mechanics. In this namespace, `sigmaepsilon.solid.material` is responsible for calculations related to mechanical investingations of solid materials. Similar to `sectionproperties`, but we are extending the possibilities by supporting similar functionality for membranes, plates, shells and 3d solids as well, for general anisotropy and utilization with a customizable failure mechanism. For 1d members we rely on `sectionproperties`.

### Highlights

* Classes to handle linear elastic materials of all kinds.
* Elastic stiffness calculations for all kinds of models like Uflyand-Mindlin shells, Kirchhoff-Love shells, Timoshenko-Ehrenfest and Euler-Bernoulli beams, 3d bodies, etc.
* Utilization calculations.
* Fitting of failure models to observed data.
* NumPy-compilant data classes to handle stiffness, strains and stresses.
* Fast and efficient code with GPU support.
* Tight integration with popular Python libraries such as NumPy, SciPy, xarray, etc.

## Documentation

The [documentation](https://sigmaepsilonsolidmaterial.readthedocs.io/en/latest/) is built with [Sphinx](https://www.sphinx-doc.org/en/master/) using the [PyData Sphinx Theme](https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html) and hosted on [ReadTheDocs](https://readthedocs.org/). Check it out for the user guide, an ever growing set of examples, and API Reference.

## Installation

sigmaepsilon.solid.material can be installed from PyPI using `pip` on Python >= 3.10:

```console
>>> pip install sigmaepsilon.solid.material
```

or chechkout with the following command using GitHub CLI

```console
gh repo clone sigma-epsilon/sigmaepsilon.solid.material
```

and install from source by typing

```console
>>> pip install .
```

If you want to run the tests, you can install the package along with the necessary optional dependencies like this

```console
>>> pip install ".[test]"
```

If want to execute on the GPU, you need to manually install the necessary requirements. Numba is a direct dependency, so even in this case you have to care about having the prover version of the cuda toolkit installed. For this, you need to know the version of the cuda compute engine, which depends on the version of GPU card you are having.

### Development mode

If you are a developer and want to install the library in development mode, the suggested way is by using this command:

```console
>>> pip install "-e .[test, dev]"
```

### Checking your installation

You should be able to import sigmaepsilon.mesh from the Python prompt:

```console
$ python
Python 3.10.2 (tags/v3.10.2:3d8993a, May  3 2023, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sigmaepsilon.solid.material
>>> sigmaepsilon.solid.material.__version__
'1.0.0'
```

## Testing and coverage

The following command runs all tests and creates a html report in a folder named `htmlcov` (the settings are governed by the `.coveragerc` file):

```console
python -m pytest --cov-report html --cov-config=.coveragerc --cov sigmaepsilon.solid.material
```

Open `htmlcov/index.html` to see the results.

## Changes and versioning

See the [changelog](CHANGELOG.md), for the most notable changes between releases.

The project adheres to [semantic versioning](https://semver.org/).

## How to contribute?

Contributions are currently expected in any the following ways:

* finding bugs
  If you run into trouble when using the library and you think it is a bug, feel free to raise an issue.
* feedback
  All kinds of ideas are welcome. For instance if you feel like something is still shady (after reading the user guide), we want to know. Be gentle though, the development of the library is financially not supported yet.
* feature requests
  Tell us what you think is missing (with realistic expectations).
* examples
  If you've done something with the library and you think that it would make for a good example, get in touch with the developers and we will happily inlude it in the documention.
* sharing is caring
  If you like the library, share it with your friends or colleagues so they can like it too.

In all cases, read the [contributing guidelines](CONTRIBUTING.md) before you do anything.

## Acknowledgements

**A lot of the packages mentioned on this document here and the introduction have a citable research paper. If you use them in your work through sigmaepsilon.mesh, take a moment to check out their documentations and cite their papers.**

Also, funding of these libraries is partly based on the size of the community they are able to support. If what you are doing strongly relies on these libraries, don't forget to press the :star: button to show your support.

## License

This package is licensed under the [MIT license](LICENSE.txt).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sigma-epsilon/sigmaepsilon.solid.material",
    "name": "sigmaepsilon.solid.material",
    "maintainer": "Bence Balogh",
    "docs_url": null,
    "requires_python": "<3.12,>=3.10",
    "maintainer_email": "bencebalogh@sigmaepsilon.com",
    "keywords": "engineering, mechanics, solid mechanics, Python, numerical methods, material models, material properties, material testing, material characterization, material science",
    "author": "Bence Balogh",
    "author_email": "bencebalogh@sigmaepsilon.com",
    "download_url": "https://files.pythonhosted.org/packages/ce/a1/2344528e3fbd278b0cf466373d8f73adf47c42c17c120db5aea29b94a938/sigmaepsilon_solid_material-1.0.1.tar.gz",
    "platform": null,
    "description": "# **SigmaEpsilon.Solid.Material** - Classes and algorithms for solids in Python\n\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/sigma-epsilon/sigmaepsilon.solid.material/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/sigma-epsilon/sigmaepsilon.solid.material/tree/main)\n[![codecov](https://codecov.io/gh/sigma-epsilon/sigmaepsilon.solid.material/graph/badge.svg?token=7JKJ3HHSX3)](https://codecov.io/gh/sigma-epsilon/sigmaepsilon.solid.material)\n[![Documentation Status](https://readthedocs.org/projects/sigmaepsilonsolidmaterial/badge/?version=latest)](https://sigmaepsilonsolidmaterial.readthedocs.io/en/latest/?badge=latest)\n[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPI](https://badge.fury.io/py/sigmaepsilon.solid.material.svg)](https://pypi.org/project/sigmaepsilon.solid.material)\n[![Python](https://img.shields.io/badge/python-3.10%E2%80%923.11-blue)](https://www.python.org)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Requirements Status](https://dependency-dash.repo-helper.uk/github/sigma-epsilon/sigmaepsilon.solid.material/badge.svg)](https://dependency-dash.repo-helper.uk/github/sigma-epsilon/sigmaepsilon.solid.material)\n\n> **Note**\n> Here and there, implementation of the performance critical parts of the library rely on the JIT-compilation capabilities of Numba. This means that the library performs well even for large scale problems, on the expense of a longer first call.\n\n## What is sigmaepsilon.solid.material?\n\nIt is part of the `sigmaepsilon.solid` namespace, a set of namespace pacakes dedicated to different areas of solid mechanics. In this namespace, `sigmaepsilon.solid.material` is responsible for calculations related to mechanical investingations of solid materials. Similar to `sectionproperties`, but we are extending the possibilities by supporting similar functionality for membranes, plates, shells and 3d solids as well, for general anisotropy and utilization with a customizable failure mechanism. For 1d members we rely on `sectionproperties`.\n\n### Highlights\n\n* Classes to handle linear elastic materials of all kinds.\n* Elastic stiffness calculations for all kinds of models like Uflyand-Mindlin shells, Kirchhoff-Love shells, Timoshenko-Ehrenfest and Euler-Bernoulli beams, 3d bodies, etc.\n* Utilization calculations.\n* Fitting of failure models to observed data.\n* NumPy-compilant data classes to handle stiffness, strains and stresses.\n* Fast and efficient code with GPU support.\n* Tight integration with popular Python libraries such as NumPy, SciPy, xarray, etc.\n\n## Documentation\n\nThe [documentation](https://sigmaepsilonsolidmaterial.readthedocs.io/en/latest/) is built with [Sphinx](https://www.sphinx-doc.org/en/master/) using the [PyData Sphinx Theme](https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html) and hosted on [ReadTheDocs](https://readthedocs.org/). Check it out for the user guide, an ever growing set of examples, and API Reference.\n\n## Installation\n\nsigmaepsilon.solid.material can be installed from PyPI using `pip` on Python >= 3.10:\n\n```console\n>>> pip install sigmaepsilon.solid.material\n```\n\nor chechkout with the following command using GitHub CLI\n\n```console\ngh repo clone sigma-epsilon/sigmaepsilon.solid.material\n```\n\nand install from source by typing\n\n```console\n>>> pip install .\n```\n\nIf you want to run the tests, you can install the package along with the necessary optional dependencies like this\n\n```console\n>>> pip install \".[test]\"\n```\n\nIf want to execute on the GPU, you need to manually install the necessary requirements. Numba is a direct dependency, so even in this case you have to care about having the prover version of the cuda toolkit installed. For this, you need to know the version of the cuda compute engine, which depends on the version of GPU card you are having.\n\n### Development mode\n\nIf you are a developer and want to install the library in development mode, the suggested way is by using this command:\n\n```console\n>>> pip install \"-e .[test, dev]\"\n```\n\n### Checking your installation\n\nYou should be able to import sigmaepsilon.mesh from the Python prompt:\n\n```console\n$ python\nPython 3.10.2 (tags/v3.10.2:3d8993a, May  3 2023, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import sigmaepsilon.solid.material\n>>> sigmaepsilon.solid.material.__version__\n'1.0.0'\n```\n\n## Testing and coverage\n\nThe following command runs all tests and creates a html report in a folder named `htmlcov` (the settings are governed by the `.coveragerc` file):\n\n```console\npython -m pytest --cov-report html --cov-config=.coveragerc --cov sigmaepsilon.solid.material\n```\n\nOpen `htmlcov/index.html` to see the results.\n\n## Changes and versioning\n\nSee the [changelog](CHANGELOG.md), for the most notable changes between releases.\n\nThe project adheres to [semantic versioning](https://semver.org/).\n\n## How to contribute?\n\nContributions are currently expected in any the following ways:\n\n* finding bugs\n  If you run into trouble when using the library and you think it is a bug, feel free to raise an issue.\n* feedback\n  All kinds of ideas are welcome. For instance if you feel like something is still shady (after reading the user guide), we want to know. Be gentle though, the development of the library is financially not supported yet.\n* feature requests\n  Tell us what you think is missing (with realistic expectations).\n* examples\n  If you've done something with the library and you think that it would make for a good example, get in touch with the developers and we will happily inlude it in the documention.\n* sharing is caring\n  If you like the library, share it with your friends or colleagues so they can like it too.\n\nIn all cases, read the [contributing guidelines](CONTRIBUTING.md) before you do anything.\n\n## Acknowledgements\n\n**A lot of the packages mentioned on this document here and the introduction have a citable research paper. If you use them in your work through sigmaepsilon.mesh, take a moment to check out their documentations and cite their papers.**\n\nAlso, funding of these libraries is partly based on the size of the community they are able to support. If what you are doing strongly relies on these libraries, don't forget to press the :star: button to show your support.\n\n## License\n\nThis package is licensed under the [MIT license](LICENSE.txt).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Material models for solid structures in Python.",
    "version": "1.0.1",
    "project_urls": {
        "Documentation": "https://sigmaepsilonsolidmaterial.readthedocs.io/en/latest/?badge=latest",
        "Homepage": "https://github.com/sigma-epsilon/sigmaepsilon.solid.material",
        "Repository": "https://github.com/sigma-epsilon/sigmaepsilon.solid.material"
    },
    "split_keywords": [
        "engineering",
        " mechanics",
        " solid mechanics",
        " python",
        " numerical methods",
        " material models",
        " material properties",
        " material testing",
        " material characterization",
        " material science"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f1222e41c47a7dfeaeda2ccc08b81476b421b9754e339580d75954d2ac0ea80",
                "md5": "5587588268c61673a99e0b68924addf0",
                "sha256": "f1bcde5f89b09fe6f8fcd28b65f48a03533e83f9d5099936dc9d492c131e6f27"
            },
            "downloads": -1,
            "filename": "sigmaepsilon_solid_material-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5587588268c61673a99e0b68924addf0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.10",
            "size": 60599,
            "upload_time": "2024-04-25T17:19:04",
            "upload_time_iso_8601": "2024-04-25T17:19:04.810900Z",
            "url": "https://files.pythonhosted.org/packages/8f/12/22e41c47a7dfeaeda2ccc08b81476b421b9754e339580d75954d2ac0ea80/sigmaepsilon_solid_material-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cea12344528e3fbd278b0cf466373d8f73adf47c42c17c120db5aea29b94a938",
                "md5": "8512c643194ced0fb6e05caaf72b0f59",
                "sha256": "c07d08e59bad1c1a2f3fb70b807d3cb45f0f0309c89190c7787c6f95fec5e668"
            },
            "downloads": -1,
            "filename": "sigmaepsilon_solid_material-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8512c643194ced0fb6e05caaf72b0f59",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.10",
            "size": 42666,
            "upload_time": "2024-04-25T17:19:06",
            "upload_time_iso_8601": "2024-04-25T17:19:06.409456Z",
            "url": "https://files.pythonhosted.org/packages/ce/a1/2344528e3fbd278b0cf466373d8f73adf47c42c17c120db5aea29b94a938/sigmaepsilon_solid_material-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-25 17:19:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sigma-epsilon",
    "github_project": "sigmaepsilon.solid.material",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": false,
    "circle": true,
    "requirements": [],
    "lcname": "sigmaepsilon.solid.material"
}
        
Elapsed time: 0.25889s