2026-02-18 23:56:46 +03:30
2026-02-18 23:56:46 +03:30
2026-02-18 23:56:46 +03:30
2026-02-18 23:56:46 +03:30

Parch SDK

C library and Python bindings for Parch Linux system integration.

Building

cd c
mkdir build && cd build
cmake ..
make
sudo make install

Uninstall

cd build
sudo make uninstall

Python Bindings

cd python
pip install .

Usage

#include <parch/parch.h>

int main(void) {
    if (parch_is_parch_linux()) {
        printf("Running on Parch Linux!\n");
    }
    return 0;
}

Modules

  • core - OS release info, profile detection
  • paths - XDG Base Directory handling
  • system - CPU, memory, system info
  • features - systemd, Wayland, X11, Flatpak, KDE, GNOME detection
  • display - Session type detection
  • sandbox - Container detection
  • packages - pacman/libalpm integration
  • config - INI config file handling
  • service - systemd service management
Description
No description provided
Readme 110 KiB
Languages
C 52.2%
Python 42%
CMake 2.6%
Roff 2.1%
Meson 1.1%