crudini
A utility for manipulating ini files
Decision gist · record as of 2026-08-14
Yes, if you need a lightweight, dependency-minimal command-line tool for INI file manipulation in scripts or automation. The low install friction, stable maturity, and no known vulnerabilities make it reliable for system administration tasks. The GPLv2 license is a consideration for proprietary use. Not necessary if you're writing Python code that can use iniparse directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with a single runtime dependency (iniparse).
- Maintenance is aging—last release was 485 days ago—but the repository remains active and the package is marked Production/Stable.
License · maintenance · safety
GPLv2 (copyleft) — GPLv2 copyleft license: any derivative work or modification must be distributed under the same license. Suitable for internal tools and open-source projects, but may restrict commercial or proprietary use.
last release 2025-04-16 (485 days) · last repo commit 2025-06-03 · 490 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 156,730 downloads/mo, #10,776 on PyPI
Alternatives
Verify before relying
pip install crudini
# Set a parameter in a config file
crudini --set config.ini section parameter value
# Get a parameter
crudini --get config.ini section parameter- Whether the package works with modern Python versions beyond 2 and 3 (classifiers list both but requires_python is unspecified)
What it is and what it does
crudini is a standalone command-line tool for manipulating INI configuration files without writing code. It wraps the iniparse library to provide get, set, delete, and merge operations on INI sections and parameters, with support for global parameters, list values, and multiple output formats (shell-parseable, ini, lines). It's typically used in shell scripts, deployment automation, and system administration tasks where configuration files need to be read or modified programmatically.
The tool handles edge cases like leading whitespace, section spacing, and list delimiters through command-line options. It can read from stdin, write to stdout or files, and perform multiple operations atomically. Because it's a single executable utility rather than a library, it's invoked as a subprocess from scripts or automation frameworks rather than imported into Python code.
Use it for
- Automate configuration file updates in deployment or provisioning scripts without manual editing.
- Extract configuration values from INI files in shell scripts using shell-parseable output format.
- Merge configuration changes from environment variables or other INI files into a config file.
- Validate or reformat INI files to enforce consistent spacing and section layout.
- Compare two INI files by extracting and sorting their parameters for diff-based analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a lightweight, dependency-minimal command-line tool for INI file manipulation in scripts or automation.
The low install friction, stable maturity, and no known vulnerabilities make it reliable for system administration tasks. The GPLv2 license is a consideration for proprietary use. Not necessary if you're writing Python code that can use iniparse directly.
Install
crudini on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (iniparse). Maintenance is aging—last release was 485 days ago—but the repository remains active and the package is marked Production/Stable.
License in practice
GPLv2 copyleft license: any derivative work or modification must be distributed under the same license. Suitable for internal tools and open-source projects, but may restrict commercial or proprietary use.
Quickstart
pip install crudini
# Set a parameter in a config file
crudini --set config.ini section parameter value
# Get a parameter
crudini --get config.ini section parameter
Verify before relying
- Whether the package works with modern Python versions beyond 2 and 3 (classifiers list both but requires_python is unspecified)
Package facts
| License | GPLv2 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageiniparse |
| Maintenance | Aging 485 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 156,730 / month, #10,776 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: GNU General Public License v2 (GPLv2)Programming Language :: Python :: 2Programming Language :: Python :: 3Topic :: System :: Systems AdministrationTopic :: Utilities |
Evidence: crudini-0.9.6-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ini file editor command line”
- crudinicrudini is a command-line utility for reading, writing, and modifying…
- pyconfiguratorParses command-line arguments and INI configuration files into a…
- imperfectParses and edits configparser-compatible INI files while preserving…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also iniparse · j2cli · imperfect · click-configfile · config-formatter · jinjanator · INITools · ConfigUpdater · perky · configobj