elemenpy

CircleCI
Codacy Badge
Codacy Badge

Hello! elements.py is a small Python periodic table module that is used for calling certain information about an element.

Installation

  1. Install Python and pip here, if they are not installed already.
  2. Go to your command-line interface of choice and write the command pip install elemenpy.

Usage

Elemenpy needs to be imported with the usage of import elements at the top of the Python file.

Functions:

Coming soon!

Examples of usage:

from elements import elements

print(elements.symbol(1)) # should be H
print(elements.name(27)) # should be Cobalt
print(elements.mass(59)) # should be 140.9077

GitHub

View Github