{"id":17233273,"url":"https://github.com/marianoguerra/lpr","last_synced_at":"2025-04-14T01:53:10.144Z","repository":{"id":57518696,"uuid":"221662551","full_name":"marianoguerra/lpr","owner":"marianoguerra","description":"Local Process Registry: An ETS-backed process registry with an API that's a subset of https://github.com/ostinelli/syn","archived":false,"fork":false,"pushed_at":"2019-11-14T18:17:02.000Z","size":12,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T01:52:57.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marianoguerra.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":"2019-11-14T09:45:51.000Z","updated_at":"2019-11-20T22:00:52.000Z","dependencies_parsed_at":"2022-09-26T18:01:44.068Z","dependency_job_id":null,"html_url":"https://github.com/marianoguerra/lpr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianoguerra%2Flpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianoguerra%2Flpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianoguerra%2Flpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianoguerra%2Flpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marianoguerra","download_url":"https://codeload.github.com/marianoguerra/lpr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809032,"owners_count":21164895,"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":"2024-10-15T05:02:26.993Z","updated_at":"2025-04-14T01:53:10.117Z","avatar_url":"https://github.com/marianoguerra.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"lpr: Local Process Registry\n===========================\n\nLibrary to have a local process registry.\n\nUse\n---\n\nThe API is a subset of the [ostinelli/syn](https://github.com/ostinelli/syn) library.\n\n```erlang\n{ok, Ref} = lpr:start_link(),\nok = lpr:stop(Ref)\n\nok = lpr:register(Ref, Key, Pid)\nok = lpr:register(Ref, Key, Pid, Meta)\n{error, pid_already_registered} = lpr:register(Ref, Key, Pid)\n{error, taken} = lpr:register(Ref, Key, Pid)\n\nok = lpr:unregister(Ref, Key)\n{error, undefined} = lpr:unregister(Ref, Key)\n\nPid = lpr:find_by_key(Ref, Key)\n{Pid, Meta} = lpr:find_by_key(Ref, Key, with_meta)\n\nCount = lpr:registry_count(Ref)\n```\n\nBuild\n-----\n\n    $ rebar3 compile\n\nTest\n----\n\n    $ rebar3 test\n\nLicense\n-------\n\nApache License 2.0\n\nSee LICENSE file for details\n\nAuthor\n------\n\nMariano Guerra\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianoguerra%2Flpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarianoguerra%2Flpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianoguerra%2Flpr/lists"}