Explain INI code
Paste an .ini file and Vibe explains what each section and setting is for, which defaults every section shares and how a value like %(log_dir)s gets filled in.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe19 lines selected
Press Explain it for the sample, or paste your own code first.
What this INI sample shows
- sections and keys
[server]starts a section, and eachname = valueline below it belongs to that section until the next one. A line starting with;is a comment. Python'sconfigparserlisted the sections as['server', 'database', 'email']:[DEFAULT]isn't listed, because it's special.- [DEFAULT]
- Every section can see the keys in
[DEFAULT], unless it sets its own.[email]has nodebugline, so it got the defaultno, read asFalse;[server]setsdebug = yesand read asTrue.[email]also hadlog_dirwithout ever naming it. - %(name)s values
%(log_dir)sis filled in from another key, here the one in[DEFAULT].backup_filecame out as/var/log/invoicer/backup.log.- everything is text
- Every value is read as text:
portcame back as the string'8080'.getint,getfloatandgetbooleanconvert it, andgetbooleantookyesandno. Key names don't care about case, soPORTfoundport, but section names do: there was noSERVERsection.
Good to know
- Read with
configparserin Python 3.14. Other programs that read .ini files may follow different rules, so check the docs of the one reading yours. - A
%in a value has to be written%%. Withpassword = 50%off, reading it raisedInterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%off'.ConfigParser(interpolation=None)read it as50%off. - A missing file isn't an error:
read("nope.ini")returned[]and there were no sections. Check whatreadreturns. - The same key twice in one section stopped the read with
DuplicateOptionError.
Watch out: A comment at the end of a line becomes part of the value. port = 8080 ; dev only read as '8080 ; dev only', and getint failed with ValueError: invalid literal for int() with base 10: '8080 ; dev only'. Put comments on their own line, or pass inline_comment_prefixes=(";",), which read it as '8080'.
Explain INI code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open