Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A command line program for retrieving information about periodic table of elements.
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
lib
res
src
.gitignore
.gitmodules
CMakeLists.txt
README.md
pte_bash_completion

README.md

Extremely simple program for retrieving element information.

Usage

Examples

pte 1
pte 1 2 3
pte H
pte Er I C H
pte carbon

Developing

Updating Element Information

All information on the elements is retrieved from elements.h, which is generated by json-to-H.sh. json-to-H.sh uses elements.json to generate the elements.h file. So, any element information should be added to elements.json. The procedure that should be taken when updating element information is as follows:

  1. modify elements.json
  2. cd res/
  3. ./json-to-H.sh

Building

  1. git clone git://github.com/erichschroeter/pte.git
  2. cd pte
  3. git submodule init
  4. git submodule update
  5. mkdir build
  6. cd build/
  7. cmake ..
  8. make
Something went wrong with that request. Please try again.