Periodic Table
Data about chemical elements arranged in JSON format. The module also contains modules for accessing data in both Python and JavaScript/TypeScript.
1. Installation
1.1. JavaScript
The package can be installed from NPM as follow:
npm install @mat3ra/periodic-table
1.2. Python
pip install mat3ra-periodic-table
2. Usage
2.1. JavaScript
import {PERIODIC_TABLE, ChemicalElement} from "@mat3ra/periodic-table";
console.log(PERIODIC_TABLE.H);
const li = new ChemicalElement("Li");
console.log(li.atomicRadiusIn("bohr"));
2.2. Python
from mat3ra.periodic_table import PERIODIC_TABLE
from mat3ra.periodic_table.bonds import ELEMENT_BONDS
from mat3ra.periodic_table.colors import ELEMENT_COLORS
assert PERIODIC_TABLE["H"]["name"] == "Hydrogen"
assert PERIODIC_TABLE["H"]["atomic_radius_pm"] == 25
bond = next(b for b in ELEMENT_BONDS if b["elements"] == ["H", "O"])
assert bond["energy"]["value"] == 4.75721615
assert bond["energy"]["units"] == "eV"
assert bond["length"]["value"] == 0.96
assert bond["length"]["units"] == "angstrom"
assert ELEMENT_COLORS["H"] == "#FFFFFF" # white
3. Atomic Properties
name: element namesymbol: element symbolatomic_number: atomic numberatomic_mass: atomic mass in amuatomic_radius_pm: empirical atomic radius in pm by Slater (doi: 10.1063/1.1725697)covalent_radius_pm: covalent radius "2008 values" (doi: 10.1039/b801115j)van_der_Waal_radius_pm: van der Waals radius (doi: 10.1021/jp8111556, 10.1021/j100785a001)
4. Notes
- Colors are in CPK convention
5. Contributions
This repository is an open-source work-in-progress and we welcome contributions.
6. ToDos
- Add pre-commit hook to run
python build_modules.pybefore commit
7. Links
- Periodic table original source: GPeriodic, Open source Linux software: link
Metadata
Release files for mat3ra-periodic-table 2026.2.6.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mat3ra_periodic_table-2026.2.6.post0.tar.gz | 116.5 kB | Without provenance | Details for mat3ra_periodic_table-2026.2.6.post0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mat3ra_periodic_table-2026.2.6.post0-py3-none-any.whl | Python 3 | none | any | Details for mat3ra_periodic_table-2026.2.6.post0-py3-none-any.whl |
Total release size: 132.3 kB
Release files / mat3ra_periodic_table-2026.2.6.post0.tar.gz
| Download URL | mat3ra_periodic_table-2026.2.6.post0.tar.gz |
|---|---|
| Size | 116.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f306b1327e46a26faee4140d2f4d870db00e21706772f90de83ee823a62bb843
|
|
BLAKE2b-256 checksum How to use checksums |
92e08930de10f7d927afc1e4258aae9f7305de4212598d26d546fa18b35de008
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/8.7.1 pkginfo/1.12.1.2 requests/2.32.5 requests-toolbelt/1.0.0 tqdm/4.67.3 CPython/3.14.2
|
Release files / mat3ra_periodic_table-2026.2.6.post0-py3-none-any.whl
| Download URL | mat3ra_periodic_table-2026.2.6.post0-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d0bb13bb1be8f7832318ae94f9a4d1a46075036bfd10a327782c4ecaecb7b12
|
|
BLAKE2b-256 checksum How to use checksums |
639510e51c89eff7c1076ea004046bc338674b831264639d64b8af2437ca4d12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/8.7.1 pkginfo/1.12.1.2 requests/2.32.5 requests-toolbelt/1.0.0 tqdm/4.67.3 CPython/3.14.2
|
Security for mat3ra-periodic-table 2026.2.6.post0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.