talira

configparser_ex

Parse INI-style config files in Elixir, like Python's configparser

open sourceBSD-3-Clausefree

configparser_ex is an Elixir library that parses config files in the Windows INI style that Python's configparser reads, returning sections as maps of keys and values. It aims to replicate Python's module, though not every feature, and its README suggests Elixir's built-in Config module for most other uses.

Problems it solves

  • read an INI config file from my Elixir app
  • share a config file between Python and Elixir programs
  • parse configparser-style settings in Elixir

Features

  • parses INI-style files into maps of sections and key-value pairs
  • follows Python configparser's file format

Limitations

  • Doesn't re-implement every feature of Python's configparser.1