pylatt


Namepylatt JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://gitlab.com/benvial/pylatt
SummaryMechanical lattices
upload_time2023-06-09 15:27:30
maintainer
docs_urlNone
authorBenjamin Vial
requires_python>=3.6
licenseGPL-3.0-or-later
keywords lattices auto-differentiation linear algebra
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<a class="reference external image-reference" href="https://gitlab.com/benvial/pylatt/-/releases" target="_blank"><img alt="Release" src="https://img.shields.io/endpoint?url=https://gitlab.com/benvial/pylatt/-/jobs/artifacts/main/raw/logobadge.json?job=badge&labelColor=c9c9c9"></a> 
<a class="reference external image-reference" href="https://gitlab.com/benvial/pylatt/commits/main" target="_blank"><img alt="Release" src="https://img.shields.io/gitlab/pipeline/benvial/pylatt/main?logo=gitlab&labelColor=dedede&style=for-the-badge"></a> 
<a class="reference external image-reference" href="https://gitlab.com/benvial/pylatt/commits/main" target="_blank"><img alt="Release" src="https://img.shields.io/gitlab/coverage/benvial/pylatt/main?logo=python&logoColor=e9d672&style=for-the-badge"></a>
<a class="reference external image-reference" href="https://black.readthedocs.io/en/stable/" target="_blank"><img alt="Release" src="https://img.shields.io/badge/code%20style-black-dedede.svg?logo=python&logoColor=e9d672&style=for-the-badge"></a>
<a class="reference external image-reference" href="https://gitlab.com/benvial/pylatt/-/blob/main/LICENSE.txt" target="_blank"><img alt="Release" src="https://img.shields.io/badge/license-GPLv3-blue?color=aec2ff&logo=open-access&logoColor=aec2ff&style=for-the-badge"></a>


# PYLATT

**Numerical models of mechanical lattices (truss/frame structures)**

<!-- start elevator-pitch -->

- **Easy to use interface** --- define only the nodes and beams in the irreducible unit cell.
- **Calculation of phononic band diagrams** --- with utilities to define the path along the edges of the Brillouin zone.
- **Auto-diferentiable** --- allowing the optimization of discrete metamaterials.


<!-- end elevator-pitch -->


<!-- start installation -->

## Installation

### From Pypi

Simply run

```bash 
pip install pylatt
```
If you want more numerical backends (pytorch, autograd and jax), including 
auto-differentiation and GPU acceleration, install the full version:

```bash 
pip install pylatt[full]
```

### From source

Clone the repository

```bash 
git clone https://gitlab.com/benvial/pylatt.git
cd pylatt
```

Install the package locally

```bash 
pip install -e .
```

For the full version:

```bash 
pip install -e .[full]
```

### From gitlab

Basic:

```bash 
pip install -e git+https://gitlab.com/benvial/pylatt.git#egg=pylatt
```


Full:

```bash 
pip install -e git+https://gitlab.com/benvial/pylatt.git#egg=pylatt[full]
```

<!-- end installation -->

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/benvial/pylatt",
    "name": "pylatt",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "lattices,auto-differentiation,linear algebra",
    "author": "Benjamin Vial",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b7/5e/b9ff9e1cdbbe87f72f06813e68ed890f5df32f3c3806b11ded44ede6bab9/pylatt-1.0.0.tar.gz",
    "platform": null,
    "description": "\n<a class=\"reference external image-reference\" href=\"https://gitlab.com/benvial/pylatt/-/releases\" target=\"_blank\"><img alt=\"Release\" src=\"https://img.shields.io/endpoint?url=https://gitlab.com/benvial/pylatt/-/jobs/artifacts/main/raw/logobadge.json?job=badge&labelColor=c9c9c9\"></a> \n<a class=\"reference external image-reference\" href=\"https://gitlab.com/benvial/pylatt/commits/main\" target=\"_blank\"><img alt=\"Release\" src=\"https://img.shields.io/gitlab/pipeline/benvial/pylatt/main?logo=gitlab&labelColor=dedede&style=for-the-badge\"></a> \n<a class=\"reference external image-reference\" href=\"https://gitlab.com/benvial/pylatt/commits/main\" target=\"_blank\"><img alt=\"Release\" src=\"https://img.shields.io/gitlab/coverage/benvial/pylatt/main?logo=python&logoColor=e9d672&style=for-the-badge\"></a>\n<a class=\"reference external image-reference\" href=\"https://black.readthedocs.io/en/stable/\" target=\"_blank\"><img alt=\"Release\" src=\"https://img.shields.io/badge/code%20style-black-dedede.svg?logo=python&logoColor=e9d672&style=for-the-badge\"></a>\n<a class=\"reference external image-reference\" href=\"https://gitlab.com/benvial/pylatt/-/blob/main/LICENSE.txt\" target=\"_blank\"><img alt=\"Release\" src=\"https://img.shields.io/badge/license-GPLv3-blue?color=aec2ff&logo=open-access&logoColor=aec2ff&style=for-the-badge\"></a>\n\n\n# PYLATT\n\n**Numerical models of mechanical lattices (truss/frame structures)**\n\n<!-- start elevator-pitch -->\n\n- **Easy to use interface** --- define only the nodes and beams in the irreducible unit cell.\n- **Calculation of phononic band diagrams** --- with utilities to define the path along the edges of the Brillouin zone.\n- **Auto-diferentiable** --- allowing the optimization of discrete metamaterials.\n\n\n<!-- end elevator-pitch -->\n\n\n<!-- start installation -->\n\n## Installation\n\n### From Pypi\n\nSimply run\n\n```bash \npip install pylatt\n```\nIf you want more numerical backends (pytorch, autograd and jax), including \nauto-differentiation and GPU acceleration, install the full version:\n\n```bash \npip install pylatt[full]\n```\n\n### From source\n\nClone the repository\n\n```bash \ngit clone https://gitlab.com/benvial/pylatt.git\ncd pylatt\n```\n\nInstall the package locally\n\n```bash \npip install -e .\n```\n\nFor the full version:\n\n```bash \npip install -e .[full]\n```\n\n### From gitlab\n\nBasic:\n\n```bash \npip install -e git+https://gitlab.com/benvial/pylatt.git#egg=pylatt\n```\n\n\nFull:\n\n```bash \npip install -e git+https://gitlab.com/benvial/pylatt.git#egg=pylatt[full]\n```\n\n<!-- end installation -->\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "Mechanical lattices",
    "version": "1.0.0",
    "project_urls": {
        "Code": "https://gitlab.com/benvial/pylatt",
        "Documentation": "https://benvial.gitlab.io/pylatt",
        "Homepage": "https://gitlab.com/benvial/pylatt",
        "Issues": "https://gitlab.com/benvial/pylatt/issues"
    },
    "split_keywords": [
        "lattices",
        "auto-differentiation",
        "linear algebra"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8d991e621314ec4ee875106f7da2d8fde505f3876b546985f55dd17858822531",
                "md5": "62c994b85ddefdd48581700864ec0a75",
                "sha256": "b2cadecf9b06c835b587c95dc266b875d80bf33aa3c20ecc3dcb270355afd839"
            },
            "downloads": -1,
            "filename": "pylatt-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "62c994b85ddefdd48581700864ec0a75",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 28620,
            "upload_time": "2023-06-09T15:27:26",
            "upload_time_iso_8601": "2023-06-09T15:27:26.900722Z",
            "url": "https://files.pythonhosted.org/packages/8d/99/1e621314ec4ee875106f7da2d8fde505f3876b546985f55dd17858822531/pylatt-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b75eb9ff9e1cdbbe87f72f06813e68ed890f5df32f3c3806b11ded44ede6bab9",
                "md5": "f40dbb17c27ab0f01239f78120f4a1cc",
                "sha256": "067c6715c9a4ee6a3e401a5262ced63caa10b0498a4b11791ed6f8f4b9a3b353"
            },
            "downloads": -1,
            "filename": "pylatt-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f40dbb17c27ab0f01239f78120f4a1cc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 28989,
            "upload_time": "2023-06-09T15:27:30",
            "upload_time_iso_8601": "2023-06-09T15:27:30.707873Z",
            "url": "https://files.pythonhosted.org/packages/b7/5e/b9ff9e1cdbbe87f72f06813e68ed890f5df32f3c3806b11ded44ede6bab9/pylatt-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-09 15:27:30",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "benvial",
    "gitlab_project": "pylatt",
    "lcname": "pylatt"
}
        
Elapsed time: 0.95261s