thermo-calc
Wrapper around Thermo-calc's TC-Python SDK
Getting Started
Installation
uv add thermo-calc
Install tc-python package (Assumes Thermo-Calc is installed in default location)
tcalc install
If .whl file for Thermo-Calc is elsewhere, provide path as input argument.
Agent
Claude Code
- Install MCP tools and Agent
- Defaults to claude code
tcalc mcp install
- If updating, you will need to remove the previously existing MCP tools
claude mcp remove tc
Troubleshooting
Traffic Control (tc)
If tc or tc --help outputs something like this:
(thermo-calc) ppak@MAIL-10:/mnt/am/ppak/GitHub/thermo-calc$ tc
Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }
tc [-force] -batch filename
where OBJECT := { qdisc | class | filter | chain |
action | monitor | exec }
OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[aw] |
-o[neline] | -j[son] | -p[retty] | -c[olor]
-b[atch] [filename] | -n[etns] name | -N[umeric] |
-nm | -nam[es] | { -cf | -conf } path
-br[ief] }
its calling Traffic Control and use tcalc instead of tc
Installing TC-Python
If you get something like this:
(thermo-calc) ppak@MAIL-10:/mnt/am/ppak/GitHub/thermo-calc$ uv add ~/Thermo-Calc/2025b/SDK/TC-Python/TC_Python-2025.2-30-py3-none-any.whl
Resolved 65 packages in 191ms
Prepared 2 packages in 57ms
░░░░░░░░░░░░░░░░░░░░ [0/4] Installing wheels...
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
If the cache and target directories are on different filesystems, hardlinking may not be supported.
If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
error: Failed to install: tc_python-2025.2-30-py3-none-any.whl (tc-python==2025.2 (from file:///home/ppak/Thermo-Calc/2025b/SDK/TC-Python/TC_Python-2025.2-30-py3-none-any.whl))
Caused by: Wheel version does not match filename: 2025.2.30 != 2025.2
you need to change the - to a . by renaming TC_Python-2025.2-30-py3-none-any.whl to TC_Python-2025.2.30-py3-none-any.whl.
JAVA_HOME not found
You'll need to set this if you installed java via brew
echo export "JAVA_HOME=\$(/opt/homebrew/opt/openjdk)" >> ~/.zshrc
Metadata
Release files for thermo-calc 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thermo_calc-0.0.12.tar.gz | 27.9 kB | Without provenance | Details for thermo_calc-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thermo_calc-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for thermo_calc-0.0.12-py3-none-any.whl |
Total release size: 68.5 kB
Release files / thermo_calc-0.0.12.tar.gz
| Download URL | thermo_calc-0.0.12.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1c8b0f262087deae0bf4c7b86045aac17394f0a91a32df44788805760803d22
|
|
BLAKE2b-256 checksum How to use checksums |
949596e643267ad9a1901113f34cb2ef37cf49a0188d28d38fa3b2b869b3c385
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / thermo_calc-0.0.12-py3-none-any.whl
| Download URL | thermo_calc-0.0.12-py3-none-any.whl |
|---|---|
| Size | 40.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f723abe832aecc723a171131d3ab5c787657e6d539649ef20ac0d9a972119288
|
|
BLAKE2b-256 checksum How to use checksums |
69661cb15d98ca041b3384940dc7d69687684d1723e076696a3b1d80b6357bb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Security for thermo-calc 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.