Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Periodic Table Database

This project contains a PostgreSQL database of chemical elements and a bash script to query element information.

Files

  • element.sh - Bash script to query element information
  • periodic_table.sql - Database dump file

Usage

Run the script with an atomic number, symbol, or element name:

./element.sh 1
./element.sh H
./element.sh Hydrogen

Database Structure

The database contains three tables:

  • elements - atomic number, symbol, and name
  • properties - atomic mass, melting point, boiling point, and type
  • types - element types (metal, nonmetal, metalloid)

Examples

# Query by atomic number
./element.sh 1

# Query by symbol
./element.sh H

# Query by name
./element.sh Hydrogen

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages