Install & Compatibility
Where this runs
tested against v0.1.11 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 90.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 4.0s · import 0.000s · 87MB
91MB installed
● package 91MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
CellInput
✓ from castepinput import CellInput
✗ from castepinput import CastepInput
ParamInput
✓ from castepinput import ParamInput
✗ from castepinput import CastepInput
Block
✓ from castepinput import Block
✗ from castepinput import CastepInput
Read a .cell file, modify a block, and write it back.
from castepinput import CastepInput
# Parse an existing .cell file
with open('example.cell', 'r') as f:
content = f.read()
cell = CastepInput(content)
print(cell.blocks) # dict of blocks
# Modify and write back
cell.blocks['blockname'] = [['value1', 'value2']]
with open('output.cell', 'w') as f:
f.write(str(cell))
Upgrade
Version history
0.1.11latest on PyPI · released Apr 17, 2026
Audit
Dependencies
No dependency data recorded yet.