Skip to content
πŸ‘¨β€πŸ”¬ A TUI periodic table and chemistry reference
Python
Branch: master
Clone or download
Latest commit 6a2092a Aug 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore removing pycache Nov 10, 2018
README.md Update README.md Aug 1, 2019
data.py
elements.py dynamically generated element information Feb 15, 2019
ptable.py fixed cmd eq balancer Mar 20, 2019
solve.py
substance.py fixed borked compound analyzer Feb 15, 2019

README.md

pTable

Your chemistry homework just got easier!

alt text pTable is a chemistry reference written in Python, which provides a quick way to perform common chemistry calculations and find useful facts and information.

Dependencies:

pTable uses a couple dependancies to work correctly. chempy and mendeleev are libraries for analytical chemistry calculations and element info, and npyscreen is a library for designing terminal applications. Install them for Python 3 like so:

sudo pip3 install chempy

sudo pip3 install npyscreen

sudo pip3 install mendeleev

Usage:

to run pTable, simply navigate to the pTable directory and run ptable.py.

For quick calculations without the GUI, you can use these console commands.

Usage: ptable [-options]

-h:   Show this message

-c:  Analyze a compound

-el: Analyze an element. pipe to grep to isolate info

-eq: Balance an equation (in quotes)

This program is a personal project, and I am only a chemistry student not an expert. Please feel free to suggest corrections and new features!

Known Issues:

  • Fixed screen size will break on different screens. Needs to be dynamically allocated.
  • Notepad is glitchy as heck. Will add persistance
You can’t perform that action at this time.