{"id":22007087,"url":"https://github.com/exabyte-io/periodic-table","last_synced_at":"2026-05-09T19:40:21.044Z","repository":{"id":34304052,"uuid":"158300060","full_name":"Exabyte-io/periodic-table","owner":"Exabyte-io","description":"Data about chemical elements arranged in JSON format","archived":false,"fork":false,"pushed_at":"2024-03-14T19:45:09.000Z","size":274,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":10,"default_branch":"dev","last_synced_at":"2024-04-26T02:44:12.214Z","etag":null,"topics":["chemical-elements","cheminformatics","chemistry","data-science","materials","materials-informatics","periodic-table","periodic-table-of-elements"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@exabyte-io/periodic-table.js","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exabyte-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-19T22:48:29.000Z","updated_at":"2024-06-07T05:00:11.123Z","dependencies_parsed_at":"2023-09-24T10:28:13.391Z","dependency_job_id":"4c930b43-0235-4088-86fc-839d363c68b8","html_url":"https://github.com/Exabyte-io/periodic-table","commit_stats":{"total_commits":111,"total_committers":10,"mean_commits":11.1,"dds":0.6576576576576576,"last_synced_commit":"ebe0d9ef7f7179c7fd556c134c2e9a65530e02ec"},"previous_names":["exabyte-io/periodic-table","exabyte-io/periodic-table.js"],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exabyte-io%2Fperiodic-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exabyte-io%2Fperiodic-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exabyte-io%2Fperiodic-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exabyte-io%2Fperiodic-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exabyte-io","download_url":"https://codeload.github.com/Exabyte-io/periodic-table/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066676,"owners_count":20555427,"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":["chemical-elements","cheminformatics","chemistry","data-science","materials","materials-informatics","periodic-table","periodic-table-of-elements"],"created_at":"2024-11-30T01:17:05.001Z","updated_at":"2026-05-09T19:40:21.005Z","avatar_url":"https://github.com/Exabyte-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/%40exabyte-io%2Fperiodic-table.js.svg)](https://badge.fury.io/js/%40mat3ra%2Fperiodic-table)\n[![PyPI version](https://badge.fury.io/py/mat3ra-periodic-table.svg)](https://badge.fury.io/py/mat3ra-periodic-table)\n[![License: Apache](https://img.shields.io/badge/License-Apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n\n# Periodic Table\n\nData about chemical elements arranged in JSON format. The module also contains modules for accessing\ndata in both Python and JavaScript/TypeScript.\n\n## 1. Installation\n\n### 1.1. JavaScript\n\nThe package can be installed from NPM as follow:\n\n```bash\nnpm install @mat3ra/periodic-table\n\n```\n\n### 1.2. Python\n\n```bash\npip install mat3ra-periodic-table\n\n```\n\n\n## 2. Usage\n\n### 2.1. JavaScript\n\n```javascript\nimport {PERIODIC_TABLE, ChemicalElement} from \"@mat3ra/periodic-table\";\n\nconsole.log(PERIODIC_TABLE.H);\n\nconst li = new ChemicalElement(\"Li\");\nconsole.log(li.atomicRadiusIn(\"bohr\"));\n```\n\n### 2.2. Python\n\n```python\nfrom mat3ra.periodic_table import PERIODIC_TABLE\nfrom mat3ra.periodic_table.bonds import ELEMENT_BONDS\nfrom mat3ra.periodic_table.colors import ELEMENT_COLORS\n\nassert PERIODIC_TABLE[\"H\"][\"name\"] == \"Hydrogen\"\nassert PERIODIC_TABLE[\"H\"][\"atomic_radius_pm\"] == 25\n\nbond = next(b for b in ELEMENT_BONDS if b[\"elements\"] == [\"H\", \"O\"])\nassert bond[\"energy\"][\"value\"] == 4.75721615\nassert bond[\"energy\"][\"units\"] == \"eV\"\nassert bond[\"length\"][\"value\"] == 0.96\nassert bond[\"length\"][\"units\"] == \"angstrom\"\n\nassert ELEMENT_COLORS[\"H\"] == \"#FFFFFF\"  # white\n```\n\n\n## 3. Atomic Properties\n\n- `name`: element name\n- `symbol`: element symbol\n- `atomic_number`: atomic number\n- `atomic_mass`: atomic mass in amu\n- `atomic_radius_pm`: empirical atomic radius in pm by Slater (doi: [10.1063/1.1725697](https://doi.org/10.1063/1.1725697))\n- `covalent_radius_pm`: covalent radius \"2008 values\" (doi: [10.1039/b801115j](https://doi.org/10.1039/b801115j))\n- `van_der_Waal_radius_pm`: van der Waals radius (doi: [10.1021/jp8111556](https://doi.org/10.1021/jp8111556), [10.1021/j100785a001](https://doi.org/10.1021/j100785a001))\n\n\n## 4. Notes\n\n- Colors are in CPK convention\n\n\n## 5. Contributions\n\nThis repository is an [open-source](LICENSE.md) work-in-progress and we welcome contributions.\n\n\n## 6. ToDos\n\n- Add pre-commit hook to run `python build_modules.py` before commit\n\n\n## 7. Links\n\n1. Periodic table original source: GPeriodic, Open source Linux software: [link](http://gperiodic.seul.org/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexabyte-io%2Fperiodic-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexabyte-io%2Fperiodic-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexabyte-io%2Fperiodic-table/lists"}