Skip to main content

Data for the Periodic Table of Elements

Project description

npm version PyPI version License: Apache

Periodic Table

Data about chemical elements arranged in JSON format. The module also contains a Element class for convenient access to unit conversion of atomic properties (see example below).

The package has a dual-nature as both a Python and a Node.js package.

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

console.log(PERIODIC_TABLE.H);

3. Atomic Properties

  • name: element name
  • symbol: element symbol
  • atomic_number: atomic number
  • atomic_mass: atomic mass in amu
  • atomic_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 python code to make this repository into a python package

7. Links

  1. Periodic table original source: GPeriodic, Open source Linux software: link

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mat3ra-periodic-table-2023.12.25.post4.tar.gz (83.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page