ChemiCLI is A CLI for getting information about the periodic table of elements, with information somewhat based on the information on PTable, hence some measurements may not be the most precise in terms of the known values for certain properties, i.e the standard atomic weight of hydrogen is [1.00784, 1.00811]
, but is 1.008
on PTable.
To install ChemiCLI, you'll need to have Rust and Cargo installed. If you don't have them yet, you can install Rust via rustup.
Run git clone https://github.com/overoxidize/chemicli.git
in your terminal to install it.
chemicli.exe element <ATOMIC_SYMBOL> [OPTIONS]
<ATOMIC_SYMBOL>
: The atomic symbol of the element you want to query.
-n, --atomic-number
: Include the atomic number of the given element.-w, --atomic-weight
: Include the atomic weight of the given element.-l, --energy-levels
: Include the energy levels of the given element.-e, --electronegativity
: Include the electronegativity of the given element.-s, --series
: Include the series of the given element.-d, --date-discovered
: Include the discovery date of the given element.-D, --discoverer
: Include the discoverer of the given element.-g, --group
: Include the group of the given element.-p, --period
: Include the period of the given element.-h, --help
: Print help.
-
To query the atomic number of oxygen:
chemicli.exe element O -n
-
To query the atomic weight and group of iron:
chemicli.exe element Fe -w -g
ChemiCLI uses a local JSON object containing information about the chemical elements. This JSON object is based on the periodic table and is stored within the application.
- Add
mtl
command, i.echem mtl ...
, to query about metals.- Add
sg
(subgroup) subcommand, i.echem mtl -sg
for a list of sub-groups of metals, such as alkali earth metals, and lanthanides.
- Add