{"id":22837408,"url":"https://github.com/hubtou/libmanconf","last_synced_at":"2026-05-08T04:14:07.031Z","repository":{"id":57453842,"uuid":"464486594","full_name":"HubTou/libmanconf","owner":"HubTou","description":"library for handling man(1) and manpath(1) configuration files","archived":false,"fork":false,"pushed_at":"2022-03-06T22:22:49.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T21:48:46.880Z","etag":null,"topics":["learning-python","learning-unix","library","mdoc","pnu-project","python","shell","unix"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HubTou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-28T13:08:59.000Z","updated_at":"2022-03-06T22:28:48.000Z","dependencies_parsed_at":"2022-08-29T06:51:27.789Z","dependency_job_id":null,"html_url":"https://github.com/HubTou/libmanconf","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubTou%2Flibmanconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubTou%2Flibmanconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubTou%2Flibmanconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubTou%2Flibmanconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HubTou","download_url":"https://codeload.github.com/HubTou/libmanconf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246412807,"owners_count":20773050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["learning-python","learning-unix","library","mdoc","pnu-project","python","shell","unix"],"created_at":"2024-12-12T23:16:44.735Z","updated_at":"2026-05-08T04:14:06.981Z","avatar_url":"https://github.com/HubTou.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\npip install [pnu-libmanconf](https://pypi.org/project/pnu-libmanconf/)\n\n# LIBMANCONF(3)\n\n## NAME\nlibmanconf — library for handling man(1) and manpath(1) configuration files\n\n## SYNOPSIS\nimport **libmanconf**\n\nString, String, List *libmanconf*.**read_man_conf_files**(Integer *debug_level* = 0, String *manpath_so_far* = '')\n\n## DESCRIPTION\nThe **read_man_conf_files()** function reads the configuration files located at \"/etc/man.conf\" and \"/usr/local/etc/man.d/\\*.conf\"\nto configure the manual search path, locales and utility set used by man(1) and related utilities.\n\nThe function takes an optional argument *debug_level* with an integer value from 0 (default) to 3,\nto print increasingly detailed information on standard error output.\n\nIt can also take another optional argument *manpath_so_far* with a colon separated string of already added directories to the manual path,\nin order to check for duplicate entries.\n\nIt returns a triplet consisting of:\n* a string containing colon separated existing MANPATH directories\n* a string containing colon separated locales (for example, \"fr_FR.UTF-8:ja_JP.eucJP\")\n* a list containing processors (for example, \\[\"TBL_JA=/usr/local/bin/gtbl\", \"NROFF_JA=/usr/local/bin/groff -man -dlang=ja_JP.eucJP\"\\])\n\n## SEE ALSO\n[apropos(1)](https://www.freebsd.org/cgi/man.cgi?query=apropos\u0026sektion=1),\n[man(1)](https://www.freebsd.org/cgi/man.cgi?query=man\u0026sektion=1),\n[man.conf(5)](https://www.freebsd.org/cgi/man.cgi?query=man.conf\u0026sektion=5),\n[manpath(1)](https://www.freebsd.org/cgi/man.cgi?query=manpath\u0026sektion=1),\n[whatis(1)](https://www.freebsd.org/cgi/man.cgi?query=whatis\u0026sektion=1)\n\n## STANDARDS\nThe **libmanconf** library is not a standard UNIX one.\n\nIt tries to follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide for [Python](https://www.python.org/) code.\n\n## PORTABILITY\nTo be tested under Windows.\n\n## HISTORY\nThis library was made for the [PNU project](https://github.com/HubTou/PNU) to factor code for the man(1) and manpath(1) commands.\n\n## LICENSE\nIt is available under the [3-clause BSD license](https://opensource.org/licenses/BSD-3-Clause).\n\n## AUTHORS\n[Hubert Tournier](https://github.com/HubTou)\n\nThe man.conf(5) manual page is largely based on the one written for [FreeBSD](https://www.freebsd.org/) by [Gordon Tetlow](https://github.com/tetlowgm).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubtou%2Flibmanconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubtou%2Flibmanconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubtou%2Flibmanconf/lists"}