{"id":15620775,"url":"https://github.com/nschloe/materials","last_synced_at":"2025-09-14T20:55:18.495Z","repository":{"id":57439987,"uuid":"86552709","full_name":"nschloe/materials","owner":"nschloe","description":"Density, magnetic permeability etc. for a range of materials.","archived":false,"fork":false,"pushed_at":"2017-12-07T09:52:50.000Z","size":63,"stargazers_count":9,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T18:37:49.678Z","etag":null,"topics":["chemistry","engineering","physics","physics-simulation"],"latest_commit_sha":null,"homepage":null,"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/nschloe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-29T07:40:36.000Z","updated_at":"2025-04-15T14:48:32.000Z","dependencies_parsed_at":"2022-09-26T16:30:58.143Z","dependency_job_id":null,"html_url":"https://github.com/nschloe/materials","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nschloe/materials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fmaterials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fmaterials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fmaterials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fmaterials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nschloe","download_url":"https://codeload.github.com/nschloe/materials/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fmaterials/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267149758,"owners_count":24043461,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chemistry","engineering","physics","physics-simulation"],"created_at":"2024-10-03T09:02:30.738Z","updated_at":"2025-07-26T10:14:25.006Z","avatar_url":"https://github.com/nschloe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# materials\n\n[![Build Status](https://travis-ci.org/nschloe/materials.svg?branch=master)](https://travis-ci.org/nschloe/materials)\n[![codecov](https://codecov.io/gh/nschloe/materials/branch/master/graph/badge.svg)](https://codecov.io/gh/nschloe/materials)\n[![PyPi Version](https://img.shields.io/pypi/v/materials.svg)](https://pypi.python.org/pypi/materials)\n[![GitHub stars](https://img.shields.io/github/stars/nschloe/materials.svg?style=social\u0026label=Star\u0026maxAge=2592000)](https://github.com/nschloe/materials)\n\nmaterials is a database of physical and chemical data, possibly with\ntemperature dependence, of various more or less common materials. All data are\ngiven in SI units.\n\nFor example, to plot the density of various materials between 274 and 370 K\nyou can do\n```python\nimport materials\nimport matplotlib.pyplot as plt\nimport numpy\n\n\nT = numpy.linspace(274.0, 370.0, num=100)\n\nrho_air = materials.air.density(T)\nrho_argon = materials.argon.density(T)\nrho_copper = materials.copper.density(T)\nrho_water = materials.water.density(T)\n\nplt.semilogy(T, rho_copper, label='copper')\nplt.semilogy(T, rho_water, label='water')\nplt.semilogy(T, rho_argon, label='argon')\nplt.semilogy(T, rho_air, label='air')\n\nplt.title('densities')\nplt.xlabel('temperature (K)')\nplt.ylabel('density (kg/m^3)')\nplt.legend()\n\nplt.show()\n```\n\n![](https://nschloe.github.io/materials/density.png)\n\n\n### Installation\n\nmaterials is [available from the Python Package\nIndex](https://pypi.python.org/pypi/materials/), so simply type\n```\npip install -U materials\n```\nto install or upgrade.\n\n### Testing\n\nTo run the materials unit tests, check out this repository and type\n```\npytest\n```\n\n### Distribution\n\nTo create a new release\n\n1. bump the `__version__` number,\n\n2. publish to PyPi and GitHub:\n    ```\n    make publish\n    ```\n\n### License\n\nmaterials is published under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnschloe%2Fmaterials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnschloe%2Fmaterials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnschloe%2Fmaterials/lists"}