Skip to content

Lookup properties of chemical elements from your bash or zsh terminal

License

Notifications You must be signed in to change notification settings

lambda-mechanic/CEL-CLI-Chemical-Element-Lookup

Repository files navigation

MIT Open License, 2022

Creator: River

Periodic Table Source: https://ptable.com/?lang=en#Properties

CHEM ELEMENT LOOKUP: v0.1 (CLI For Bash)

Installation Instructions

(1) Put CEL in your ~ folder

(2) Find your .bashrc file (or .zshrc if you use zshell). It may be in your ~/usr/bin/ or in your /home/usr/ or elsewhere

(3) Add a source by pasting this line somewhere in the document where you can easily locate it: source ~/CEL/.cel-cli-bash.sh

(4) Save the .bashrc or .zshrc file. This line of code makes it so that the content of the cel-cli-bash.sh file is run every time you open your terminal

How to Start the Program

After following the installation instructions, simply type the following command into your terminal from any location in your file system: cel-cli

Current Features:

  • Print all properties for any element in the terminal
  • Print one property of any element at a time (like atomic mass for gold)

Future Features

  • I might incorporate Typer (https://typer.tiangolo.com/)

  • Print list of all elements

  • Print list of all elements in any given series (like a list of the Alkaline Earth Metals)

  • Print list of all elements in a row

  • Print list of all elements in a group

  • Add heat capacity

  • Add electron shells/configurations

  • Add common polyatomic ions and their properties

  • Add critical points and triple points

  • Add state at room temperature

Program Commands (Replace Au with any element's symbol):

   ---------------------------------------------------------------------------------------
    Au = print out all below properties of Gold

    name Au = Gold

    series Au = print gold's series(Transition Metals)

    group Au = print group of gold

    row Au = print row of gold

    mass Au = print gold molar mass

    energy Au = print gold's energy levels

    neg Au = print gold's electronegativity

    melt Au = print gold's melting point

    boil Au = print gold's boiling point

    affinity Au = print gold's electron affinity

    fion Au = print gold's first ion energy

    rad Au = print gold's atomic radius

    num Au = print out gold atomic number

    
    --------------------------------------------------------------------------------------
    # Not Added Yet:
    series am, aem, lant, act, trm, ptm, met, rnm, ng = list all the elements in a series
    --------------------------------------------------------------------------------------

TEMPLATE FOR ELEMENTS:

Element Symbol

Element Name:

Series:

Group:

Row:

Atomic Mass(amu):

Energy Levels:

Electronegativity:

Melting Point(deg C):

Boiling Point(deg C):

Electron Affinity(kj/mol):

First Ion Energy(kj/mol):

Atomic Radius(pm):

Atomic Number:

Element Symbol Element Name: Series: Group: Row: Atomic Mass(amu): Energy Levels: Electronegativity: Melting Point(deg C): Boiling Point(deg C): Electron Affinity(kj/mol): First Ion Energy(kj/mol): Atomic Radius(pm): Atomic Number:

About

Lookup properties of chemical elements from your bash or zsh terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published