Skip to content

Periodic Table Info — Documentation

A command-line reference that prints the elements of the periodic table grouped by family.

Periodic-Table-Info/
├── main.py       prints the table, then prompts for an element
├── elements.py   element_print_out() — the table itself
├── print.py      a module-level copy of the same output, imported by nothing
└── docs/         this documentation

Pages

What works, and what does not

Works: printing the element list, grouped by family, with atomic numbers and symbols.

Does not:

The element lookup Every input returns the "not an element" error, including the example the error itself gives
Lanthanides The heading prints; no elements follow it
Actinides No section at all
Elements 113–118 Still named Uut, Uup, Uus, Uuo — placeholders IUPAC replaced in 2016

All recorded in internal/known-issues.md.

Two entry points, two behaviours

How you run it What happens
python main.py Prints the table, then prompts
periodic-table-info (PyPI) Prints the table and exits — no prompt

The console script points at elements:element_print_out, which is the table-printing function alone. The prompt exists only in main.py, which the installed package does not run.

So the pip and Docker paths are a strictly smaller program than the source one. See Installation.

As a reference

Worth being plain: a periodic table that omits the lanthanides and actinides and uses element names withdrawn in 2016 should not be relied on for anything that matters. The grouping and the first 112 elements are correct.