path_module VS inih

Compare path_module vs inih and see what are their differences.

path_module

Simple and lightweight pathname parser for C. This module helps to parse dirname, basename, filename and file extension . (by PrajwalCH)

inih

Simple .INI file parser in C, good for embedded systems (by benhoyt)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
path_module inih
11 3
2 2,307
- -
7.3 4.4
over 2 years ago 14 days ago
C C
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

inih

Posts with mentions or reviews of inih. We have used some of these posts to build our list of alternatives and similar projects.
  • Simply Parse in C
    1 project | news.ycombinator.com | 19 Jul 2023
    This looks interesting. I created and maintain a library for INI parsing that got surprisingly popular -- it's tiny, so is good for embedded systems. This API has a very similar feel to mine, including the callback for every key/value pair with a void* userdata. https://github.com/benhoyt/inih
  • Include library with meson
    1 project | /r/C_Programming | 31 Mar 2022
    I don't know if it's the best place to post that but on the meson subreddit there is not much people. I want to include the library INIH (which use meson too) to my project but I don't know how.
  • How to set the max characters in fscanf to be a variable or macro?
    1 project | /r/C_Programming | 22 Aug 2021
    One simple format is INI, which has the benefit of being simple and ubiquitous. It has rules for quoting and whitespace. It's human readable and human editable. ini.h is a very simple INI parser library, but there are loads of them.

What are some alternatives?

When comparing path_module and inih you can also consider the following projects:

libconfini - Yet another INI parser

calculator-c-parser - A simple implementation of a parser and its use to calculate simple mathematical expressions

tree-sitter-tlaplus - A tree-sitter grammar for TLA⁺ and PlusCal

libvncserver - LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.

totalcross - TotalCross is a Software Development Kit that helps cross platform application development. Currently supported platforms are: Windows, Wince, Android, iOS, Linux and Linux ARM for embedded systems.

libhydrogen - A lightweight, secure, easy-to-use crypto library suitable for constrained environments.