python-libeconf
  • Usage
  • API
python-libeconf
  • Welcome to python-libeconf’s documentation!
  • View page source

Welcome to python-libeconf’s documentation!

python-libeconf is a Python Library which offers Python bindings for libeconf.

libeconf is a highly flexible and configurable library to parse and manage key=value configuration files. It reads configuration file snippets from different directories and builds the final configuration file for the application from it.

Contents

  • Usage
    • install
  • API
    • Functions to interact with config files
      • read_file()
      • read_file_with_callback()
      • new_key_file()
      • new_ini_file()
      • merge_files()
      • read_dirs()
      • read_dirs_with_callback()
      • read_dirs_history()
      • read_dirs_history_with_callback()
      • comment_tag()
      • set_comment_tag()
      • delimiter_tag()
      • set_delimiter_tag()
      • write_file()
      • get_path()
    • Functions for getting values
      • get_groups()
      • get_keys()
      • get_int_value()
      • get_uint_value()
      • get_float_value()
      • get_string_value()
      • get_bool_value()
    • Functions for getting values with defaults
      • get_int_value_def()
      • get_uint_value_def()
      • get_float_value_def()
      • get_string_value_def()
      • get_bool_value_def()
    • Functions for setting values
      • set_value()
      • set_int_value()
      • set_uint_value()
      • set_float_value()
      • set_string_value()
      • set_bool_value()
    • Functions for memory management
      • free_file()
    • Functions for handling error codes
      • err_string()
      • err_location()
Next

© Copyright 2023, Nico Krapp.

Built with Sphinx using a theme provided by Read the Docs.