Crates.io | periodicelements |
lib.rs | periodicelements |
version | 0.1.2 |
source | src |
created_at | 2022-11-20 12:19:43.713238 |
updated_at | 2022-11-20 12:40:58.362487 |
description | A periodic information tool |
homepage | https://github.com/asnimansari/periodictable |
repository | https://github.com/asnimansari/periodictable |
max_upload_size | |
id | 719092 |
size | 104,696 |
This is a simple Rust CLI tool to display information about the elements of the periodic table.
You can install the tool by running the following command:
cargo install periodicelements
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 │
└──────────────────────────┴───────────────────┘