Install & Compatibility
Where this runs
tested against v0.9.6 · 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 · 18.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
None
✓ # crudini is a command-line tool, not importable as a library
✗ from crudini import ...
crudini is designed as a CLI tool and has no public Python API; attempting to import it will fail.
Use subprocess to invoke crudini; it has no Python importable API.
import subprocess
import tempfile
import os
content = """[section]
key = value
"""
with tempfile.NamedTemporaryFile(mode='w', suffix='.ini', delete=False) as f:
f.write(content)
fname = f.name
try:
subprocess.run(['crudini', '--get', fname, 'section', 'key'], check=True, capture_output=True, text=True)
print('Get succeeds')
except subprocess.CalledProcessError as e:
print('Error:', e.stderr)
finally:
os.unlink(fname)
crudini --version
Upgrade
Version history
0.9.6latest on PyPI · released Apr 16, 2025
Audit
Dependencies
python-iniparserequiredREQUIRED: used under the hood for ini parsing