{"id":26119469,"url":"https://github.com/mbarbin/pplumbing","last_synced_at":"2025-09-09T13:44:32.318Z","repository":{"id":281542605,"uuid":"945520284","full_name":"mbarbin/pplumbing","owner":"mbarbin","description":"Utility libraries to use with Pp","archived":false,"fork":false,"pushed_at":"2025-03-09T20:02:59.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T20:26:03.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbarbin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-09T16:09:09.000Z","updated_at":"2025-03-09T20:24:09.000Z","dependencies_parsed_at":"2025-03-09T20:36:30.243Z","dependency_job_id":null,"html_url":"https://github.com/mbarbin/pplumbing","commit_stats":null,"previous_names":["mbarbin/pplombing"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbin%2Fpplumbing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbin%2Fpplumbing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbin%2Fpplumbing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbin%2Fpplumbing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbarbin","download_url":"https://codeload.github.com/mbarbin/pplumbing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242855940,"owners_count":20196357,"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":[],"created_at":"2025-03-10T12:55:07.348Z","updated_at":"2025-09-09T13:44:32.305Z","avatar_url":"https://github.com/mbarbin.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cp align=\"center\"\u003epplumbing\u003c/p\u003e\n  \u003cimg\n    src=\"./doc/static/img/pplumbing.jpg\"\n    width='216'\n    alt=\"Logo\"\n  /\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mbarbin/pplumbing/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/mbarbin/pplumbing/workflows/ci/badge.svg\" alt=\"CI Status\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://coveralls.io/github/mbarbin/pplumbing?branch=main\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/mbarbin/pplumbing/badge.svg?branch=main\" alt=\"Coverage Status\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n*pplumbing* defines a set of utility libraries to use with `pp`. It is compatible with `logs` and inspired by design choices used by *Dune* for user messages:\n\n- `Pp_tty` extends `pp` to build colored documents in the user's terminal using ANSI escape codes.\n\n- `Err` is an abstraction to report located errors and warnings to the user.\n\n- `Log` is an interface to `logs` using `Pp_tty` rather than `Format`.\n\n- `Log_cli` contains functions to work with `Err` on the side of end programs (such as a command line tools). It defines command line helpers to configure the `Err` library, while taking care of setting the `logs` and `fmt` style rendering.\n\n- `Cmdlang_cmdliner_runner` is a library for running command line programs specified with `cmdlang` with `cmdliner` as a backend and making opinionated choices, assuming your dependencies are using `Err`.\n\nThese libraries are meant to combine nicely into a small ecosystem of useful helpers to build CLIs in OCaml.\n\n## Links to plumbed projects\n\n- [cmdlang](https://github.com/mbarbin/cmdlang)\n- [cmdliner](https://github.com/dbuenzli/cmdliner)\n- [dune](https://github.com/ocaml/dune)\n- [fmt](https://github.com/dbuenzli/fmt)\n- [logs](https://github.com/dbuenzli/logs)\n- [pp](https://github.com/ocaml-dune/pp)\n\n## Experimental Status\n\n:construction: `pplumbing` is currently under construction. During this initial `0.0.X` experimental phase, the interfaces and behavior are subject to breaking changes.\n\n## Acknowledgements\n\n- We are thankful to the authors and contributors of the projects we use as dependencies.\n\n- We would like to thank the *Dune* developers for the user-facing error handling of Dune (`Stdune.User_message`), on which we based the error handling scheme used in `Err`. By adopting a similar approach, we aim to provide a consistent and unified user experience for OCaml users across different tools and libraries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbarbin%2Fpplumbing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbarbin%2Fpplumbing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbarbin%2Fpplumbing/lists"}