Skip to content

asnimansari/periodictable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Periodic Table

This is a simple Rust CLI tool to display information about the elements of the periodic table.

Installation

You can install the tool by running the following command:

cargo install periodicelements

Sample Usage

Syntax

periodicelements <element full name> 

Example

periodicelements Oxygen

Output

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Property                 β”‚ Value             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Atomic Number            β”‚ 8                 β”‚
β”‚ Symbol                   β”‚ O                 β”‚
β”‚ Atomic Mass              β”‚ 15.999            β”‚
β”‚ Neutron Count            β”‚ 8                 β”‚
β”‚ Proton Count             β”‚ 8                 β”‚
β”‚ Electron Count           β”‚ 8                 β”‚
β”‚ Period                   β”‚ 2                 β”‚
β”‚ Group                    β”‚ 16                β”‚
β”‚ Phase                    β”‚ gas               β”‚
β”‚ Radioactive              β”‚ None              β”‚
β”‚ Natural                  β”‚ yes               β”‚
β”‚ Metal                    β”‚ None              β”‚
β”‚ Nonmetal                 β”‚ yes               β”‚
β”‚ Metalloid                β”‚ None              β”‚
β”‚ Element Type             β”‚ nonmetal          β”‚
β”‚ Atomic Radius            β”‚ None              β”‚
β”‚ Electronegativity        β”‚ 3.44              β”‚
β”‚ First Ionization         β”‚ 13.6181           β”‚
β”‚ Density                  β”‚ 0.00143           β”‚
β”‚ Melting Point            β”‚ 50.5              β”‚
β”‚ Boiling Point            β”‚ 90.2              β”‚
β”‚ Number of Isotopes       β”‚ 8                 β”‚
β”‚ Discoverer               β”‚ Priestley/Scheele β”‚
β”‚ Year                     β”‚ 1774              β”‚
β”‚ Specific Heat            β”‚ 0.918             β”‚
β”‚ Number of Shells         β”‚ 2                 β”‚
β”‚ Number of Valence        β”‚ 6                 β”‚
β”‚ Electronic Configuration β”‚ [He] 2s2 2p4      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

About

Rust CLI tool to get periodic table element info

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages