Thanks to the work of Matthew Humphreys (NIOZ, the Netherlands), the marine carbonate system calculations with CO2SYS (original package written in MATLAB) are now available in the Python and Julia programming languages. You can download the code and access the full documentation from the respective GitHub repositories.
#Python: https://github.com/mvdh7/PyCO2SYS
#Julia: https://github.com/mvdh7/CO2System.jl