{"id":16701978,"url":"https://github.com/versilov/pi","last_synced_at":"2025-07-09T06:06:56.755Z","repository":{"id":62429375,"uuid":"325085729","full_name":"versilov/pi","owner":"versilov","description":"Pretty Inspect for Elixir.","archived":false,"fork":false,"pushed_at":"2020-12-29T17:49:58.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T06:06:11.704Z","etag":null,"topics":["elixir","inspect","pretty"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/versilov.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":"2020-12-28T18:23:10.000Z","updated_at":"2021-09-01T13:55:21.000Z","dependencies_parsed_at":"2022-11-01T20:09:40.268Z","dependency_job_id":null,"html_url":"https://github.com/versilov/pi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/versilov/pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versilov%2Fpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versilov%2Fpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versilov%2Fpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versilov%2Fpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/versilov","download_url":"https://codeload.github.com/versilov/pi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versilov%2Fpi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264403799,"owners_count":23602621,"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":["elixir","inspect","pretty"],"created_at":"2024-10-12T18:46:22.759Z","updated_at":"2025-07-09T06:06:56.700Z","avatar_url":"https://github.com/versilov.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PI\n\n[![hex.pm version](https://img.shields.io/hexpm/v/ex_pi.svg)](https://hex.pm/packages/ex_pi)\n\nPretty Inspect pi() function for puts-style debugging\n\nIt prints timestamp, file with line and function, from which was called.\nBy default inspected expression is used as label.\nThe output is colorized.\nReturns inspected value, so can be seamlessly used in pipes.\n\nAll these features help to identify easily the place, from which the inspect was called.\n\n## Usage\n\n```elixir\n  defmodule MyModule do\n    use PI\n\n    def func(variable_name) do\n      variable_name\n      |\u003e pi()\n      |\u003e process_arg()\n    end\n\n    # ...\n  end\n```\n\nWhich will output in console, when MyModule.func/1 is called:\n\n```\n22:15:58 [my_module.ex:6: MyModule.func/1]\nvariable_name: \"argument_value\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversilov%2Fpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fversilov%2Fpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversilov%2Fpi/lists"}